|
|
|
@ -23,9 +23,34 @@
|
|
|
|
<g-empty />
|
|
|
|
<g-empty />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view v-if="recivesRecord && recivesRecord.length > 0"
|
|
|
|
<view v-if="recivesRecord && recivesRecord.length > 0"
|
|
|
|
class="g_flex_column_center"
|
|
|
|
class="g_flex_column_center m-rlist"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
11
|
|
|
|
<view class="" style="height: 10px;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="g_flex_row_between m-item g_h_60"
|
|
|
|
|
|
|
|
v-for="(item,index) in recivesRecord" :key="index"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="avatar-obj g_flex_none g_flex_column_center" style="height: 60px;overflow: hidden;border-radius: 50%;">
|
|
|
|
|
|
|
|
<image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/APP/default.svg" alt=""
|
|
|
|
|
|
|
|
mode="widthFix" style="width: 40px;border-radius: 50%;"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="info-obj g_flex_1 g_flex_column_center" style="margin: 0 10px;">
|
|
|
|
|
|
|
|
<view class="g_ell_1 g_fs_16 g_fw_600">
|
|
|
|
|
|
|
|
{{item.targetAgency.agencyName}}
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="g_ell_1 g_fs_14" style="color: #666;margin-top: 8px;">
|
|
|
|
|
|
|
|
{{item.desp || '-'}}
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="status-obj g_flex_none g_flex_column_center" >
|
|
|
|
|
|
|
|
<view class="g_flex_row_end">
|
|
|
|
|
|
|
|
<g-button type='primary' size='mini' btnText='通过' @clickBtn='handleSet(item,1)'></g-button>
|
|
|
|
|
|
|
|
<g-button type='delete' size='mini' btnText='拒绝' style="margin-left: 12px;" @clickBtn='handleSet(item,0)'></g-button>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 申请/发起 -->
|
|
|
|
<!-- 申请/发起 -->
|
|
|
|
@ -252,6 +277,42 @@ export default {
|
|
|
|
that.modalApplyData.isShow = false;
|
|
|
|
that.modalApplyData.isShow = false;
|
|
|
|
uni.navigateBack();
|
|
|
|
uni.navigateBack();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
handleSet($data,$type){
|
|
|
|
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
if($type == 1){
|
|
|
|
|
|
|
|
// 通过
|
|
|
|
|
|
|
|
uni.showModal({
|
|
|
|
|
|
|
|
content:'确认通过吗?',
|
|
|
|
|
|
|
|
success(res) {
|
|
|
|
|
|
|
|
if(res.confirm){
|
|
|
|
|
|
|
|
that.G.Get(that.api.person_applyTrue + '/' + $data.id,{},()=>{
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
|
|
icon:'success',
|
|
|
|
|
|
|
|
title:'已通过'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
that.getList();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
// 拒绝
|
|
|
|
|
|
|
|
uni.showModal({
|
|
|
|
|
|
|
|
content:'确认拒绝吗?',
|
|
|
|
|
|
|
|
success(res) {
|
|
|
|
|
|
|
|
if(res.confirm){
|
|
|
|
|
|
|
|
that.G.Get(that.api.person_applyFalse + '/' + $data.id,{},()=>{
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
|
|
icon:'error',
|
|
|
|
|
|
|
|
title:'已拒绝'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
that.getList();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|