新增判断

cyl/job_im
jscyl13849007907 6 hours ago
parent 78c3f8fd82
commit 817195aa45

@ -66,14 +66,14 @@
@clickItem="goPage('/root/bind/fensi')" @clickItem="goPage('/root/bind/fensi')"
/> />
</view> </view>
<view class="g_mt_10 g_position_rela u-skeleton" v-if="false"> <view class="g_mt_10 g_position_rela u-skeleton" v-if="applystatys == 1">
<g-panel-form-item <g-panel-form-item
:list="[ :list="[
{ {
icon: 'time-circle', icon: 'time-circle',
label: '申请关注', label: '申请关注',
result: '申请中', result: '已提交',
path: '/root/bind/viewim?id=1', path: ' ',
pRow: 0, pRow: 0,
rpl:0, rpl:0,
fpl:0, fpl:0,
@ -81,7 +81,6 @@
pColumn:16, pColumn:16,
}, },
]" ]"
@clickItem="goPage('/root/bind/viewim?id=1')"
/> />
</view> </view>
<view class="g_mt_10" v-if="userInfo.agencyId"> <view class="g_mt_10" v-if="userInfo.agencyId">
@ -247,6 +246,7 @@ export default {
onReady() {}, onReady() {},
data() { data() {
return { return {
applystatys:null,
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827', isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
themeColor: getApp().globalData.themeColor, themeColor: getApp().globalData.themeColor,
themeBackgroundColor: getApp().globalData.themeBackgroundColor, themeBackgroundColor: getApp().globalData.themeBackgroundColor,
@ -343,6 +343,7 @@ export default {
that.setUserInfo(); that.setUserInfo();
that.getResumeInfo(); that.getResumeInfo();
that.getData(); that.getData();
that.getinfoByLogin();
}); });
} else { } else {
that.pageSpeed = 1; that.pageSpeed = 1;
@ -357,6 +358,13 @@ export default {
} }
}, },
methods: { methods: {
getinfoByLogin(){
let that = this;
that.G.Get(that.api.get_infoByLogin + '/' + uni.getStorageSync("AGENCY_ID"), {}, (res) => {
console.log("getinfoByLogin", res);
that.applystatys = res;
});
},
getResumeInfo() { getResumeInfo() {
let that = this; let that = this;
that.G.Get(`/yishoudan/order/helper/check/neworder`, {}, (resorder) => { that.G.Get(`/yishoudan/order/helper/check/neworder`, {}, (resorder) => {

Loading…
Cancel
Save