对接重点认证标准/政策合规性项目审查流程

This commit is contained in:
范强强
2023-10-27 14:52:15 +08:00
parent bf35873042
commit b0bf10b6b0
7 changed files with 1388 additions and 1239 deletions
@@ -230,6 +230,9 @@
}, },
computed:{ computed:{
showTableButton() { showTableButton() {
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') { this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
return true return true
@@ -13,7 +13,8 @@
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser" <el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser"
style="display: none;"></el-input> style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUserName" placeholder="流程发起人" <el-input :disabled="disabledXX" v-model="roleForm.prcCreateUserName"
placeholder="流程发起人"
disabled></el-input> disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
@@ -218,6 +219,10 @@
} }
}, },
mounted() { mounted() {
this.disabledXX = false
if (this.$route.query.operate && this.$route.query.operate == 'view') {
this.disabledXX = true
}
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
this.roleForm = {...this.roleForm} this.roleForm = {...this.roleForm}
@@ -284,7 +289,7 @@
} }
}) })
}, },
save(callback){ save(callback) {
callback && callback(this.roleForm) callback && callback(this.roleForm)
}, },
getData(item) { getData(item) {
@@ -317,8 +322,8 @@
prcCreateUser: row.prcCreateUser, prcCreateUser: row.prcCreateUser,
prcCreateUserName: row.prcCreateUserName, prcCreateUserName: row.prcCreateUserName,
csrUserIds:row.csrUserIds, csrUserIds: row.csrUserIds,
csrUserNames:row.csrUserNames csrUserNames: row.csrUserNames
} }
this.roleForm = {...this.roleForm} this.roleForm = {...this.roleForm}
}, },
@@ -136,7 +136,7 @@
<businessDivisionList v-if="isBusinessDivisionList" ref="businessDivisionListRef"/> <businessDivisionList v-if="isBusinessDivisionList" ref="businessDivisionListRef"/>
<productPlanningList v-if="isProductPlanningList" ref="productPlanningListRef"/> <productPlanningList v-if="isProductPlanningList" ref="productPlanningListRef"/>
</div> </div>
<el-collapse accordion> <el-collapse accordion v-if="showCommentText">
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input type="textarea" <el-input type="textarea"
@@ -156,7 +156,7 @@
style="padding-top: 20px"> style="padding-top: 20px">
<approvalHistory/> <approvalHistory/>
</div> </div>
<ProcessFooter show-submit <ProcessFooter :show-submit="showSubmit"
:show-save="showSave" :show-save="showSave"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:rejectLoading="isReject" :rejectLoading="isReject"
@@ -263,6 +263,12 @@
} }
}, },
computed: { computed: {
showSubmit() {
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
return true
},
showPersonnel() {//显示人员信息 showPersonnel() {//显示人员信息
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') { this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
@@ -277,6 +283,9 @@
return true return true
}, },
disabledXX() {//是否可以操作基础信息 disabledXX() {//是否可以操作基础信息
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return true
}
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') { this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
return false return false
@@ -316,6 +325,9 @@
}, },
showSave() { //是否展示保存 showSave() { //是否展示保存
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey7' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey7' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') { this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') {
@@ -325,6 +337,9 @@
}, },
showTransfer() {//是否展示转办 showTransfer() {//是否展示转办
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (!this.taskKey) { if (!this.taskKey) {
return false return false
} }
@@ -332,6 +347,9 @@
}, },
showReject() {//是否展示驳回 showReject() {//是否展示驳回
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' || if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey4' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey4' ||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey5' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey5' ||
@@ -389,6 +407,12 @@
} }
return false return false
}, },
showCommentText() {
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
return true
},
}, },
mounted() { mounted() {
//获取草稿的数据进行展示 //获取草稿的数据进行展示
@@ -218,6 +218,10 @@
} }
}, },
mounted() { mounted() {
this.disabledXX = false
if (this.$route.query.operate && this.$route.query.operate == 'view') {
this.disabledXX = true
}
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
this.roleForm = {...this.roleForm} this.roleForm = {...this.roleForm}
@@ -196,6 +196,9 @@
}, },
computed: { computed: {
isNodeDisplay() {//是否展示新增和批量删除 isNodeDisplay() {//是否展示新增和批量删除
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
this.taskKey == 'PolicySolicitOpinionProcessKey9') { this.taskKey == 'PolicySolicitOpinionProcessKey9') {
return true return true
@@ -203,6 +206,9 @@
return false return false
}, },
isGenerateSummary() {//是否展示生成汇总单和生成上报意见 isGenerateSummary() {//是否展示生成汇总单和生成上报意见
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey13' || if (this.taskKey == 'PolicySolicitOpinionProcessKey13' ||
this.taskKey == 'PolicySolicitOpinionProcessKey14' || this.taskKey == 'PolicySolicitOpinionProcessKey14' ||
this.taskKey == 'PolicySolicitOpinionProcessKey15') { this.taskKey == 'PolicySolicitOpinionProcessKey15') {
@@ -211,6 +217,9 @@
return false return false
}, },
isExport() {//是否展示导出 isExport() {//是否展示导出
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey12') { if (this.taskKey == 'PolicySolicitOpinionProcessKey12') {
return true return true
} }
@@ -236,6 +245,9 @@
return false return false
}, },
isOperate() {//是否展示操作列 isOperate() {//是否展示操作列
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
this.taskKey == 'PolicySolicitOpinionProcessKey9' || this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
this.taskKey == 'PolicySolicitOpinionProcessKey12') { this.taskKey == 'PolicySolicitOpinionProcessKey12') {
@@ -244,6 +256,9 @@
return false return false
}, },
showSelection() {//是否展示选择 showSelection() {//是否展示选择
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
this.taskKey == 'PolicySolicitOpinionProcessKey9') { this.taskKey == 'PolicySolicitOpinionProcessKey9') {
return true return true
@@ -212,7 +212,7 @@
</el-form> </el-form>
<solicitationList v-if="showSolicitation" ref="solicitationListRef"/> <solicitationList v-if="showSolicitation" ref="solicitationListRef"/>
</div> </div>
<el-collapse accordion> <el-collapse accordion v-if="showCommentText">
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input type="textarea" <el-input type="textarea"
@@ -232,7 +232,7 @@
style="padding-top: 20px"> style="padding-top: 20px">
<approvalHistory/> <approvalHistory/>
</div> </div>
<ProcessFooter show-submit <ProcessFooter :show-submit="showSubmit"
:show-save="showSave" :show-save="showSave"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:rejectLoading="isReject" :rejectLoading="isReject"
@@ -383,7 +383,16 @@
return '抄送' return '抄送'
} }
}, },
showSubmit(){
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
return true
},
showSave() { //是否展示保存 showSave() { //是否展示保存
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
this.taskKey == 'PolicySolicitOpinionProcessKey3' || this.taskKey == 'PolicySolicitOpinionProcessKey7' || this.taskKey == 'PolicySolicitOpinionProcessKey3' || this.taskKey == 'PolicySolicitOpinionProcessKey7' ||
this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' || this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
@@ -393,12 +402,18 @@
return false return false
}, },
showTransfer() {//是否展示转办 showTransfer() {//是否展示转办
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (!this.taskKey) { if (!this.taskKey) {
return false return false
} }
return true return true
}, },
showReject() {//是否展示驳回 showReject() {//是否展示驳回
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
if (this.taskKey == 'PolicySolicitOpinionProcessKey2' || if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
this.taskKey == 'PolicySolicitOpinionProcessKey4' || this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
this.taskKey == 'PolicySolicitOpinionProcessKey5' || this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
@@ -441,12 +456,21 @@
return false return false
}, },
disabledXX() { disabledXX() {
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return true
}
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' || if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
this.taskKey == 'PolicySolicitOpinionProcessKey3') { this.taskKey == 'PolicySolicitOpinionProcessKey3') {
return false return false
} }
return true return true
}, },
showCommentText(){
if (this.$route.query.operate && this.$route.query.operate == 'view') {
return false
}
return true
},
}, },
mounted() { mounted() {
//获取草稿的数据进行展示 //获取草稿的数据进行展示
File diff suppressed because it is too large Load Diff