cyl/master-apply
wangxia 11 hours ago
parent 3912e7a63f
commit 6510a4d62b

@ -464,7 +464,7 @@ export default {
let that = this; let that = this;
if (uni.getStorageSync("apply-token")) { if (uni.getStorageSync("apply-token")) {
that.G.Get(that.api.bind_getApplyNum, {}, (res) => { that.G.Get(that.api.bind_getApplyNum, {}, (res) => {
console.log("获取待处理数量:", res); // console.log("", res);
that.G.Get(that.api.person_applyNum, {}, (applyNum) => { that.G.Get(that.api.person_applyNum, {}, (applyNum) => {
if (res.approvePassHasNotRed + applyNum > 0) { if (res.approvePassHasNotRed + applyNum > 0) {
uni.setTabBarBadge({ uni.setTabBarBadge({

@ -84,7 +84,7 @@
@clickItem="handleClickNus" @clickItem="handleClickNus"
/> --> /> -->
</view> </view>
<view class="g_mt_10 g_position_rela" v-if="userInfo.admin || isTeamleader"> <view class="g_mt_10 g_position_rela u-skeleton" v-if="userInfo.admin || isTeamleader">
<view class="g_radius_50 g_text_c" style="position: absolute; right: 16px; top: 5px; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="applyNum > 0"> <view class="g_radius_50 g_text_c" style="position: absolute; right: 16px; top: 5px; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="applyNum > 0">
{{ applyNum }} {{ applyNum }}
</view> </view>

File diff suppressed because it is too large Load Diff

@ -82,9 +82,9 @@
<div class="g_flex_1"> <div class="g_flex_1">
<rh-button primaryColor='#00b666' btnText="已关注发单号" size="auto" @clickBtn="handleCancel" type="noStyle" class></rh-button> <rh-button primaryColor='#00b666' btnText="已关注发单号" size="auto" @clickBtn="handleCancel" type="noStyle" class></rh-button>
</div> </div>
<div class="g_ml_16 g_flex_1"> <!-- <div class="g_ml_16 g_flex_1">
<rh-button primaryColor='#00b666' btnText="联系客服" class="" type="noStyle" size="auto" @clickBtn="goIm"></rh-button> <rh-button primaryColor='#00b666' btnText="联系客服" class="" type="noStyle" size="auto" @clickBtn="goIm"></rh-button>
</div> </div> -->
<!-- <div style="width:calc((100vw - 50px) / 2);"> <!-- <div style="width:calc((100vw - 50px) / 2);">
<rh-button primaryColor='#00b666' btnText="联系客服" size="auto" type="disabled" class></rh-button> <rh-button primaryColor='#00b666' btnText="联系客服" size="auto" type="disabled" class></rh-button>
</div>--> </div>-->
@ -94,9 +94,9 @@
<div class="g_flex_1"> <div class="g_flex_1">
<rh-button primaryColor='#00b666' btnText="互相关注" size="auto" type="noStyle" @clickBtn="handleCancel" class></rh-button> <rh-button primaryColor='#00b666' btnText="互相关注" size="auto" type="noStyle" @clickBtn="handleCancel" class></rh-button>
</div> </div>
<div class="g_ml_16 g_flex_1"> <!-- <div class="g_ml_16 g_flex_1">
<rh-button primaryColor='#00b666' btnText="联系客服" class="" type="noStyle" size="auto" @clickBtn="goIm"></rh-button> <rh-button primaryColor='#00b666' btnText="联系客服" class="" type="noStyle" size="auto" @clickBtn="goIm"></rh-button>
</div> </div> -->
</div> </div>
<div style="width: calc(100vw - 40px)" v-else-if="(info.recordStatus == 3 || info.recordStatus == 4) && !isSelf"> <div style="width: calc(100vw - 40px)" v-else-if="(info.recordStatus == 3 || info.recordStatus == 4) && !isSelf">

@ -9,9 +9,9 @@
<view class="g_flex_1 g_mr_12"> <view class="g_flex_1 g_mr_12">
<rh-button primaryColor='#00b666' btnText="继续报名" type="primary" size="small_auto" @clickBtn="goReturn" /> <rh-button primaryColor='#00b666' btnText="继续报名" type="primary" size="small_auto" @clickBtn="goReturn" />
</view> </view>
<view class="g_flex_1"> <!-- <view class="g_flex_1">
<rh-button primaryColor='#00b666' btnText="联系客服" size="small_auto" @clickBtn="sendJobInfo" /> <rh-button primaryColor='#00b666' btnText="联系客服" size="small_auto" @clickBtn="sendJobInfo" />
</view> </view> -->
</view> </view>
<view class="g_flex_row_center"> <view class="g_flex_row_center">
<view class="g_c_sub g_mt_16 g_fs_14 g_text_c g_w_all g_fw_700" style="position: fixed; bottom: 56px; width: calc(100vw - 20px); left: 50%; transform: translateX(-50%)" hover-class="thover" @click="goList"></view> <view class="g_c_sub g_mt_16 g_fs_14 g_text_c g_w_all g_fw_700" style="position: fixed; bottom: 56px; width: calc(100vw - 20px); left: 50%; transform: translateX(-50%)" hover-class="thover" @click="goList"></view>

@ -231,11 +231,20 @@ export default {
}; };
this.G.Post(this.api.order_userApplyApprove, params, (res) => { this.G.Post(this.api.order_userApplyApprove, params, (res) => {
console.log(res); console.log(res);
that.applyList.forEach(() => { if (that.applyList.far.length > 0) {
if (that.currentUser.id == item.id) { that.applyList.far.forEach((item) => {
item.status = 1; if (that.currentUser.id == item.id) {
} item.status = 1;
}); }
});
}
if (that.applyList.near.length > 0) {
that.applyList.near.forEach((item) => {
if (that.currentUser.id == item.id) {
item.status = 1;
}
});
}
uni.showToast({ uni.showToast({
title: "操作成功", title: "操作成功",
icon: "none", icon: "none",

@ -4,7 +4,7 @@
<div class="g_flex_column_between" :style="{ 'min-height': `calc(100vh - ${0}px)` }"> <div class="g_flex_column_between" :style="{ 'min-height': `calc(100vh - ${0}px)` }">
<div class> <div class>
<div class="g_h_10"></div> <div class="g_h_10"></div>
<div class="g_flex_row_start g_bg_f g_mb_10" style="padding: 12px 16px" @click="goPage('/root/person/applyManage')" v-if="applyNum !== 0"> <div class="g_flex_row_start g_bg_f g_mb_10" style="padding: 12px 16px" @click="goPage('/root/person/applyManage')" v-if="applyNum == 0">
<div class="g_mr_16 g_w_48 g_h_48 t-icon t-icon-wodetuandui" style="background-repeat: no-repeat"></div> <div class="g_mr_16 g_w_48 g_h_48 t-icon t-icon-wodetuandui" style="background-repeat: no-repeat"></div>
<div> <div>
<div class="g_fs_18">新的成员</div> <div class="g_fs_18">新的成员</div>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save