对接重点认证标准/政策合规性项目审查流程
This commit is contained in:
+3
@@ -230,6 +230,9 @@
|
||||
},
|
||||
computed:{
|
||||
showTableButton() {
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||
return true
|
||||
|
||||
+6
-1
@@ -13,7 +13,8 @@
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser"
|
||||
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>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -218,6 +219,10 @@
|
||||
}
|
||||
},
|
||||
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.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||
this.roleForm = {...this.roleForm}
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
<businessDivisionList v-if="isBusinessDivisionList" ref="businessDivisionListRef"/>
|
||||
<productPlanningList v-if="isProductPlanningList" ref="productPlanningListRef"/>
|
||||
</div>
|
||||
<el-collapse accordion>
|
||||
<el-collapse accordion v-if="showCommentText">
|
||||
<el-collapse-item title="意见填写">
|
||||
<div style="margin: 10px 0;">
|
||||
<el-input type="textarea"
|
||||
@@ -156,7 +156,7 @@
|
||||
style="padding-top: 20px">
|
||||
<approvalHistory/>
|
||||
</div>
|
||||
<ProcessFooter show-submit
|
||||
<ProcessFooter :show-submit="showSubmit"
|
||||
:show-save="showSave"
|
||||
:submitLoading="isSubmit"
|
||||
:rejectLoading="isReject"
|
||||
@@ -263,6 +263,12 @@
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
showSubmit() {
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
showPersonnel() {//显示人员信息
|
||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||
@@ -277,6 +283,9 @@
|
||||
return true
|
||||
},
|
||||
disabledXX() {//是否可以操作基础信息
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return true
|
||||
}
|
||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||
return false
|
||||
@@ -316,6 +325,9 @@
|
||||
},
|
||||
|
||||
showSave() { //是否展示保存
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey7' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') {
|
||||
@@ -325,6 +337,9 @@
|
||||
},
|
||||
|
||||
showTransfer() {//是否展示转办
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (!this.taskKey) {
|
||||
return false
|
||||
}
|
||||
@@ -332,6 +347,9 @@
|
||||
},
|
||||
|
||||
showReject() {//是否展示驳回
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey4' ||
|
||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey5' ||
|
||||
@@ -389,6 +407,12 @@
|
||||
}
|
||||
return false
|
||||
},
|
||||
showCommentText() {
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
//获取草稿的数据进行展示
|
||||
|
||||
+4
@@ -218,6 +218,10 @@
|
||||
}
|
||||
},
|
||||
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.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||
this.roleForm = {...this.roleForm}
|
||||
|
||||
+15
@@ -196,6 +196,9 @@
|
||||
},
|
||||
computed: {
|
||||
isNodeDisplay() {//是否展示新增和批量删除
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
||||
return true
|
||||
@@ -203,6 +206,9 @@
|
||||
return false
|
||||
},
|
||||
isGenerateSummary() {//是否展示生成汇总单和生成上报意见
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey13' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey14' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey15') {
|
||||
@@ -211,6 +217,9 @@
|
||||
return false
|
||||
},
|
||||
isExport() {//是否展示导出
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
||||
return true
|
||||
}
|
||||
@@ -236,6 +245,9 @@
|
||||
return false
|
||||
},
|
||||
isOperate() {//是否展示操作列
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
||||
@@ -244,6 +256,9 @@
|
||||
return false
|
||||
},
|
||||
showSelection() {//是否展示选择
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
||||
return true
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
</el-form>
|
||||
<solicitationList v-if="showSolicitation" ref="solicitationListRef"/>
|
||||
</div>
|
||||
<el-collapse accordion>
|
||||
<el-collapse accordion v-if="showCommentText">
|
||||
<el-collapse-item title="意见填写">
|
||||
<div style="margin: 10px 0;">
|
||||
<el-input type="textarea"
|
||||
@@ -232,7 +232,7 @@
|
||||
style="padding-top: 20px">
|
||||
<approvalHistory/>
|
||||
</div>
|
||||
<ProcessFooter show-submit
|
||||
<ProcessFooter :show-submit="showSubmit"
|
||||
:show-save="showSave"
|
||||
:submitLoading="isSubmit"
|
||||
:rejectLoading="isReject"
|
||||
@@ -383,7 +383,16 @@
|
||||
return '抄送'
|
||||
}
|
||||
},
|
||||
showSubmit(){
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
showSave() { //是否展示保存
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey3' || this.taskKey == 'PolicySolicitOpinionProcessKey7' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
||||
@@ -393,12 +402,18 @@
|
||||
return false
|
||||
},
|
||||
showTransfer() {//是否展示转办
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (!this.taskKey) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
showReject() {//是否展示驳回
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
|
||||
@@ -441,12 +456,21 @@
|
||||
return false
|
||||
},
|
||||
disabledXX() {
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return true
|
||||
}
|
||||
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
||||
this.taskKey == 'PolicySolicitOpinionProcessKey3') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
showCommentText(){
|
||||
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
//获取草稿的数据进行展示
|
||||
|
||||
@@ -19,23 +19,27 @@
|
||||
@click="exportStandard"
|
||||
icon="export"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
>导出</el-button>
|
||||
>导出
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
round
|
||||
@click="seeProcessLast"
|
||||
>查看流程数据</el-button>
|
||||
>查看流程数据
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="tzclrEnable"
|
||||
class="common-button-default"
|
||||
@click="adjustmentHandler"
|
||||
round
|
||||
>调整处理人</el-button>
|
||||
>调整处理人
|
||||
</el-button>
|
||||
<el-button v-if="approveShow"
|
||||
class="common-button-default"
|
||||
@click="approveHandler"
|
||||
round
|
||||
>汇总流程</el-button>
|
||||
>汇总流程
|
||||
</el-button>
|
||||
<!--临时屏蔽 start-->
|
||||
<!--<el-button-->
|
||||
<!-- class="common-button-default"-->
|
||||
@@ -276,6 +280,44 @@ export default {
|
||||
} else if (prcType === '26') {
|
||||
//企标制修订计划立项 1
|
||||
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.tabsName = this.$route.query.tabsName
|
||||
let prcType = this.detailData[index].prcType // 流程类型
|
||||
console.log(prcType);
|
||||
// 判断当前流程是否已全部办理完成
|
||||
// this.detailData.map(item => {
|
||||
// if (!item.endTime) {
|
||||
@@ -390,6 +431,32 @@ export default {
|
||||
} else if (prcType === '12') {
|
||||
//政策课题参会发起流程
|
||||
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 {
|
||||
this.$message.warning('当前流程未全部办理完成,无法查看')
|
||||
@@ -1100,7 +1167,8 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.detailData = res
|
||||
}, e => {})
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']),
|
||||
processFlag(res) {
|
||||
@@ -1181,11 +1249,11 @@ export default {
|
||||
}, res => {
|
||||
this.approveShow = res[res.length - 1].isGather
|
||||
this.approveRowIndex = res[res.length - 1].index
|
||||
}, e => {})
|
||||
}, e => {
|
||||
})
|
||||
}
|
||||
},
|
||||
components: {
|
||||
},
|
||||
components: {},
|
||||
props: {},
|
||||
computed: {
|
||||
listNoDataText() {
|
||||
@@ -1225,6 +1293,7 @@ export default {
|
||||
//@import '~styles/mixins';
|
||||
#processDetails {
|
||||
height: 100%;
|
||||
|
||||
.flow-chart {
|
||||
width: 100%;
|
||||
height: 45%;
|
||||
@@ -1234,12 +1303,14 @@ export default {
|
||||
padding: 10px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
.flow-header {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
//.flex();
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
|
||||
.flow-chart-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
@@ -1247,15 +1318,18 @@ export default {
|
||||
//.ellipsis();
|
||||
}
|
||||
}
|
||||
|
||||
.flow-group {
|
||||
width: 100%;
|
||||
height: calc(~'100% - 30px');
|
||||
|
||||
.process-img {
|
||||
//width: 100%;
|
||||
//height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.flow-list {
|
||||
width: 100%;
|
||||
height: calc(~'55% - 55px');
|
||||
|
||||
Reference in New Issue
Block a user