mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 16:02:52 +08:00
入司appntNode处理
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div class="mt10 flex justify-content-fe">
|
||||
<van-button v-if="item.isRevoke == 0" round size="small" class="mr5" type="danger" @click="revokeApply(item.baseId)">撤销申请</van-button>
|
||||
<van-button round size="small" class="mr5" type="danger" @click="goApprove(item.baseId)">审批</van-button>
|
||||
<van-button round size="small" class="mr5" type="danger" @click="goApprove(item.baseId, item.appntNode)">审批</van-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -152,8 +152,6 @@ export default {
|
||||
if (res.result == '0') {
|
||||
let resData = res.content.approveWaitPageInfo
|
||||
if (resData && resData.list.length > 0) {
|
||||
// 设置人员身份
|
||||
this.appntNode = node.type
|
||||
this.isSuccess = true
|
||||
for (let data of resData.list) {
|
||||
let exist = this.approveList.findIndex(item => {
|
||||
@@ -161,6 +159,7 @@ export default {
|
||||
})
|
||||
if (exist === -1) {
|
||||
node.type === 5 ? (data.canAddCertificateInfo = true) : (data.canAddCertificateInfo = false)
|
||||
data.appntNode = node.type
|
||||
this.approveList.push(data)
|
||||
}
|
||||
}
|
||||
@@ -233,14 +232,14 @@ export default {
|
||||
this.branchType === '1' ? this.getInnerDataList() : this.getOuterDataList()
|
||||
},
|
||||
//审批
|
||||
goApprove(baseId) {
|
||||
goApprove(baseId, appntNode) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + `/#/agentEenter/approve/BasicInfo/${baseId}/${this.branchType}/${this.approveName}/${this.appntNode}`,
|
||||
url: location.origin + `/#/agentEenter/approve/BasicInfo/${baseId}/${this.branchType}/${this.approveName}/${appntNode}`,
|
||||
pullRefresh: '1' //1:需要开启下拉刷新
|
||||
},
|
||||
routerInfo: { path: `/agentEenter/approve/BasicInfo/${baseId}/${this.branchType}/${this.approveName}/${this.appntNode}` }
|
||||
routerInfo: { path: `/agentEenter/approve/BasicInfo/${baseId}/${this.branchType}/${this.approveName}/${appntNode}` }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user