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

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}
@@ -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() {
//获取草稿的数据进行展示 //获取草稿的数据进行展示
@@ -19,23 +19,27 @@
@click="exportStandard" @click="exportStandard"
icon="export" icon="export"
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项" title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
>导出</el-button> >导出
</el-button>
<el-button <el-button
class="common-button-default" class="common-button-default"
round round
@click="seeProcessLast" @click="seeProcessLast"
>查看流程数据</el-button> >查看流程数据
</el-button>
<el-button <el-button
v-if="tzclrEnable" v-if="tzclrEnable"
class="common-button-default" class="common-button-default"
@click="adjustmentHandler" @click="adjustmentHandler"
round round
>调整处理人</el-button> >调整处理人
</el-button>
<el-button v-if="approveShow" <el-button v-if="approveShow"
class="common-button-default" class="common-button-default"
@click="approveHandler" @click="approveHandler"
round round
>汇总流程</el-button> >汇总流程
</el-button>
<!--临时屏蔽 start--> <!--临时屏蔽 start-->
<!--<el-button--> <!--<el-button-->
<!-- class="common-button-default"--> <!-- class="common-button-default"-->
@@ -276,6 +280,44 @@ export default {
} else if (prcType === '26') { } else if (prcType === '26') {
//企标制修订计划立项 1 //企标制修订计划立项 1
this.toProcessDetail('qbzxdlxStep1-1', row) this.toProcessDetail('qbzxdlxStep1-1', row)
} else if (prcType === '29') {
let data = []
this.detailData.forEach(res => {
if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') {
data.push(res)
}
})
this.$router.push({
path: '/policyConsultation',
query: {
taskIds: data[0].id,
prcNum: data[0].prcNum,
prcName: data[0].prcName,
prcType: data[0].prcType,
prcId: data[0].processInstanceId,
taskDefinitionKey: data[0].taskDefinitionKey,
operate: 'view',
}
})
} else if (prcType === '30') {
let data = []
this.detailData.forEach(res => {
if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') {
data.push(res)
}
})
this.$router.push({
path: '/policyComplianceReview',
query: {
taskIds: data[0].id,
prcNum: data[0].prcNum,
prcName: data[0].prcName,
prcType: data[0].prcType,
prcId: data[0].processInstanceId,
taskDefinitionKey: data[0].taskDefinitionKey,
operate: 'view',
}
})
} }
} }
}, },
@@ -292,7 +334,6 @@ export default {
row.taskInfo = row.name row.taskInfo = row.name
row.tabsName = this.$route.query.tabsName row.tabsName = this.$route.query.tabsName
let prcType = this.detailData[index].prcType // 流程类型 let prcType = this.detailData[index].prcType // 流程类型
console.log(prcType);
// 判断当前流程是否已全部办理完成 // 判断当前流程是否已全部办理完成
// this.detailData.map(item => { // this.detailData.map(item => {
// if (!item.endTime) { // if (!item.endTime) {
@@ -390,6 +431,32 @@ export default {
} else if (prcType === '12') { } else if (prcType === '12') {
//政策课题参会发起流程 //政策课题参会发起流程
this.toProcessDetail('zdrzbzORzchgxxmscStep1', row) this.toProcessDetail('zdrzbzORzchgxxmscStep1', row)
} else if (prcType === '29') {
this.$router.push({
path: '/policyConsultation',
query: {
taskIds: row.id,
prcNum: row.prcNum,
prcId: row.processInstanceId,
prcName: row.prcName,
prcType: row.prcType,
taskDefinitionKey: row.taskDefinitionKey,
operate: 'view',
}
})
} else if (prcType === '30') {
this.$router.push({
path: '/policyComplianceReview',
query: {
taskIds: row.id,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType,
prcId: row.processInstanceId,
taskDefinitionKey: row.taskDefinitionKey,
operate: 'view',
}
})
} }
} else { } else {
this.$message.warning('当前流程未全部办理完成,无法查看') this.$message.warning('当前流程未全部办理完成,无法查看')
@@ -1100,7 +1167,8 @@ export default {
_this: this _this: this
}, res => { }, res => {
this.detailData = res this.detailData = res
}, e => {}) }, e => {
})
}, },
...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']), ...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']),
processFlag(res) { processFlag(res) {
@@ -1181,11 +1249,11 @@ export default {
}, res => { }, res => {
this.approveShow = res[res.length - 1].isGather this.approveShow = res[res.length - 1].isGather
this.approveRowIndex = res[res.length - 1].index this.approveRowIndex = res[res.length - 1].index
}, e => {}) }, e => {
})
} }
}, },
components: { components: {},
},
props: {}, props: {},
computed: { computed: {
listNoDataText() { listNoDataText() {
@@ -1225,6 +1293,7 @@ export default {
//@import '~styles/mixins'; //@import '~styles/mixins';
#processDetails { #processDetails {
height: 100%; height: 100%;
.flow-chart { .flow-chart {
width: 100%; width: 100%;
height: 45%; height: 45%;
@@ -1234,12 +1303,14 @@ export default {
padding: 10px; padding: 10px;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
.flow-header { .flow-header {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
//.flex(); //.flex();
align-items: center; align-items: center;
position: absolute; position: absolute;
.flow-chart-title { .flow-chart-title {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
@@ -1247,15 +1318,18 @@ export default {
//.ellipsis(); //.ellipsis();
} }
} }
.flow-group { .flow-group {
width: 100%; width: 100%;
height: calc(~'100% - 30px'); height: calc(~'100% - 30px');
.process-img { .process-img {
//width: 100%; //width: 100%;
//height: 100%; //height: 100%;
} }
} }
} }
.flow-list { .flow-list {
width: 100%; width: 100%;
height: calc(~'55% - 55px'); height: calc(~'55% - 55px');