12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //import * as WxJsApi from '@/utils/wxJsApi.js'
- import * as API from '@/apis/hr/my.js'
- import TabbarHr from '@/components/TabbarHr.vue'
- export default {
- data() {
- return {
- info:{
-
- },
- hr:{},
- isReady:false,
- src: '/static/img/head.png',
- background: {
- backgroundColor: '#2295ff',
- },
- }
- },
- components: {
- TabbarHr
- },
- onLoad(op){
- //this.id=op.id;
- },
- methods: {
- getInfo(){
- uni.showLoading({
- title: '加载中'
- })
- API.getAboutMe().then((res)=>{
- // this.company=res.data.company
- this.info=res.data;
- this.hr=res.data.hr;
- uni.hideLoading()
-
- }).catch(error => {
- uni.showToast({
-
- title:error
- })
- })
- },
-
- },onReady(){
- this.getInfo()
- this.isReady=true;
- },onShow(){
- if(this.isReady){
-
- }
- },
- }
|