//import * as WxJsApi from '@/utils/wxJsApi.js' import * as API from '@/apis/hr/news.js' export default { data() { return { company:{}, info:{}, isReady:false, } }, components: { }, onLoad(op){ this.id=op.id; }, methods: { getInfo(){ uni.showLoading({ title: '加载中' }) API.getLabourDetails(this.id).then((res)=>{ this.company=res.data; this.info=res.data.labourServices; uni.hideLoading() this.$nextTick(()=>{ var list =document.getElementsByClassName("resumeInfo-main")[0].getElementsByTagName("img"); for(var i=0;i { uni.showToast({ title:error }) }) }, },onReady(){ this.getInfo(); this.isReady=true; },onShow(){ if(this.isReady){ } }, }