[IMP]【自助入司流程优化】入司流程查看页面修改-将协议签署

This commit is contained in:
yuweiqi
2020-05-19 11:22:03 +08:00
parent 452ef0a622
commit 8d11e73b09

View File

@@ -12,7 +12,7 @@
<div class="relative nowrap pv5">
<div class="flex align-items-c text-center">
<div>
<div>自助入司资料上传</div>
<div>自助入司资料上传及签署协议</div>
<span v-if="proces.approvalStatus == '03'" class="grey">{{ proces.approvalDate }}{{ proces.approvalTime }}</span>
</div>
<van-button
@@ -21,7 +21,7 @@
class="ml15 ph10"
plain
type="primary"
>立即上传</van-button
>立即处理</van-button
>
</div>
</div>
@@ -99,34 +99,13 @@
></i>
</div>
</div>
<!-- 人员管理岗审批 销管审批-->
<!-- <div>
<div class="flex nowrap align-items-c text-center relative pv5">
<div class="relative">
<div>
人员管理岗审批
<van-tag
v-if="proces.approvalStatus == '02' || proces.approvalStatus == '03' || proces.approvalStatus == '21'"
class="w60 absolute approval-vag"
color="#cc6600"
plain
>审批中</van-tag
>
<van-tag v-if="proces.approvalStatus == '04'" class="w60 absolute approval-vag" color="'red'" plain>审批拒绝</van-tag>
<van-button v-if="proces.approvalStatus == '04'" @click="goSeeCause(9999)" class="ml15 ph10 absolute approval-button" plain type="primary"
>查看原因</van-button
>
</div>
</div>
</div>
</div> -->
<div
:class="[
'h60',
'flex',
'relative',
'border-right',
proces.approvalStatus == '05' || proces.approvalStatus == '06' || proces.approvalStatus == '07' || proces.approvalStatus == '08' ? 'active' : ''
ebizExamineApproveDtoList[ebizExamineApproveDtoList.length - 1].examineApproveResult == '1' ? 'active' : ''
]"
></div>
</div>
@@ -141,16 +120,20 @@
'radius50 ',
'inline-b',
'middle-circle',
proces.approvalStatus == '06' || proces.approvalStatus == '07' ? 'active' : ''
ebizExamineApproveDtoList[ebizExamineApproveDtoList.length - 1].examineApproveResult == '1' ? 'active' : ''
]"
></i>
</div>
<div class="nowrap text-center relative mt5" style="width:400%">
<span>签署协议</span>
<div v-if="proces.approvalStatus == '07'">{{ proces.signDate }}</div>
<van-button v-if="proces.approvalStatus == '06'" plain type="primary" @click="goSign" class="absolute left120 ph15">去签署</van-button>
<van-button v-if="proces.approvalStatus == '05'" plain class="absolute left120 ph15">协议正在生成</van-button>
<van-button v-if="proces.approvalStatus == '07'" plain type="primary" class="absolute left120 ph15" @click="seeShowPDF">查看协议</van-button>
<span>查看协议</span>
<van-button
v-if="ebizExamineApproveDtoList[ebizExamineApproveDtoList.length - 1].examineApproveResult == '1'"
plain
type="primary"
class="absolute left120 ph15"
@click="seeShowPDF"
>查看协议</van-button
>
</div>
</div>
</div>
@@ -208,13 +191,13 @@ export default {
that.ebizExamineApproveDtoList.push({ examineApproveStatus: '0' })
})
}
if (that.proces.ebizExamineApproveDtoList.length > 0) {
if (that.proces.ebizExamineApproveDtoList[that.proces.ebizExamineApproveDtoList.length - 1].examineApproveResult == '1') {
that.ebizExamineApproveDtoList.push({ examineApproveStatus: '1' })
} else {
that.ebizExamineApproveDtoList.push({ examineApproveStatus: '0' })
}
}
// if (that.proces.ebizExamineApproveDtoList.length > 0) {
// if (that.proces.ebizExamineApproveDtoList[that.proces.ebizExamineApproveDtoList.length - 1].examineApproveResult == '1') {
// that.ebizExamineApproveDtoList.push({ examineApproveStatus: '1' })
// } else {
// that.ebizExamineApproveDtoList.push({ examineApproveStatus: '0' })
// }
// }
if (that.approveMapping.length == that.ebizExamineApproveDtoList.length) {
that.approvalFlag = true
}