Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2022-02-10 20:41:41 +08:00
5 changed files with 42 additions and 30 deletions
+18 -7
View File
@@ -654,7 +654,7 @@ export default {
break break
//标准合规评估 //标准合规评估
case '5' : case '5' :
if(row.taskInfo === '审核(标准法规业务经理)'){ if(row.taskInfo === '审核1'){
this.$router.push({ this.$router.push({
name: 'bzpgStep2', name: 'bzpgStep2',
query: { query: {
@@ -665,7 +665,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '项目分发(项目群负责人/标准法规工程师)'){ }else if(row.taskInfo === '项目分发'){
this.$router.push({ this.$router.push({
name: 'bzpgStep3', name: 'bzpgStep3',
query: { query: {
@@ -676,7 +676,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '任务分发(项目经理)'){ }else if(row.taskInfo === '任务分发'){
this.$router.push({ this.$router.push({
name: 'bzpgStep4', name: 'bzpgStep4',
query: { query: {
@@ -687,7 +687,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '合规评估(专业技术人员)'){ }else if(row.taskInfo === '合规评估'){
this.$router.push({ this.$router.push({
name: 'bzpgStep5', name: 'bzpgStep5',
query: { query: {
@@ -698,7 +698,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '审核(项目经理)'){ }else if(row.taskInfo === '审核2'){
this.$router.push({ this.$router.push({
name: 'bzpgStep6', name: 'bzpgStep6',
query: { query: {
@@ -709,7 +709,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '审定(项目群负责人)'){ }else if(row.taskInfo === '审定'){
this.$router.push({ this.$router.push({
name: 'bzpgStep7', name: 'bzpgStep7',
query: { query: {
@@ -720,7 +720,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '批准(标准法规部高级经理)'){ }else if(row.taskInfo === '批准'){
this.$router.push({ this.$router.push({
name: 'bzpgStep8', name: 'bzpgStep8',
query: { query: {
@@ -731,6 +731,17 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '重新起草'){
this.$router.push({
name: 'bzpgStep1',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
} }
break break
//项目评估流程-项目 //项目评估流程-项目
@@ -434,10 +434,9 @@
newArr.push(arr[a]) newArr.push(arr[a])
} }
this.tableData = newArr this.tableData = newArr
this.form.hzfileId = data.hzfileId || data.form.hzfileId this.form.hzfileId = data.form ? data.form.hzfileId : (data.hzfileId ? hzfileId : '')
this.form.hzfileName = data.hzfileName || data.form.hzfileName this.form.hzfileName = data.form ? data.form.hzfileName : (data.hzfileName ? hzfileName : '')
this.newDocUser = data.form ? data.form.docUser : data.docUser this.newDocUser = data.form ? data.form.docUser : data.docUser
this.commentText5 = data.commentText5 || ''
this.json = data || data.form this.json = data || data.form
}).catch(e => { }).catch(e => {
}) })
@@ -662,7 +662,7 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList (item) {
console.log(item); item.commentText = ''
this.$nextTick(() => { this.$nextTick(() => {
this.hisListForm = JSON.parse(JSON.stringify(item)) this.hisListForm = JSON.parse(JSON.stringify(item))
this.listForm = JSON.parse(JSON.stringify(item)) this.listForm = JSON.parse(JSON.stringify(item))
@@ -346,6 +346,7 @@
></Role-tree> ></Role-tree>
<!-- 选择责任人--> <!-- 选择责任人-->
<Role-tree <Role-tree
check-box
is-title="选择项目经理" is-title="选择项目经理"
:is-visible.sync="modalshowflag" :is-visible.sync="modalshowflag"
@checkedRole="checkedRole2" @checkedRole="checkedRole2"
@@ -681,6 +682,7 @@ export default {
}); });
}, },
checkedRole2(data) { checkedRole2(data) {
console.log(data);
this.dataList[this.lsIndex].unameId = data[0].id; this.dataList[this.lsIndex].unameId = data[0].id;
this.dataList[this.lsIndex].uname = data[0].name; this.dataList[this.lsIndex].uname = data[0].name;
this.modalshowflag = false; this.modalshowflag = false;
@@ -782,7 +782,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '意见审批(经理、研发副总裁)') { } else if (row.taskInfo === '意见审批') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep4-1', name: 'bzzqyjStep4-1',
query: { query: {
@@ -793,7 +793,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '管理员(起草节点一个人)') { } else if (row.taskInfo === '管理员') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep4-2', name: 'bzzqyjStep4-2',
query: { query: {
@@ -815,7 +815,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '会签(选择会签人部长)') { } else if (row.taskInfo === '会签') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep6', name: 'bzzqyjStep6',
query: { query: {
@@ -826,7 +826,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '审核(李部、会签人部长)') { } else if (row.taskInfo === '审核') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep7', name: 'bzzqyjStep7',
query: { query: {
@@ -837,7 +837,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '审定(阚主任、技术委员会相关专委会主任/研究总院职能部门领导)' ) { } else if (row.taskInfo === '审定' ) {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep8', name: 'bzzqyjStep8',
query: { query: {
@@ -848,7 +848,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '批准(工程研究总院院长批准、标准法规主管副院长)') { } else if (row.taskInfo === '批准') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep9', name: 'bzzqyjStep9',
query: { query: {
@@ -900,7 +900,7 @@ export default {
break break
//标准合规评估 //标准合规评估
case '5' : case '5' :
if(row.taskInfo === '审核(标准法规业务经理)'){ if(row.taskInfo === '审核1'){
this.$router.push({ this.$router.push({
name: 'bzpgStep2', name: 'bzpgStep2',
query: { query: {
@@ -911,7 +911,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '项目分发(项目群负责人/标准法规工程师)'){ }else if(row.taskInfo === '项目分发'){
this.$router.push({ this.$router.push({
name: 'bzpgStep3', name: 'bzpgStep3',
query: { query: {
@@ -922,7 +922,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '任务分发(项目经理)'){ }else if(row.taskInfo === '任务分发'){
this.$router.push({ this.$router.push({
name: 'bzpgStep4', name: 'bzpgStep4',
query: { query: {
@@ -933,7 +933,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '合规评估(专业技术人员)'){ }else if(row.taskInfo === '合规评估'){
this.$router.push({ this.$router.push({
name: 'bzpgStep5', name: 'bzpgStep5',
query: { query: {
@@ -944,7 +944,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '审核(项目经理)'){ }else if(row.taskInfo === '审核2'){
this.$router.push({ this.$router.push({
name: 'bzpgStep6', name: 'bzpgStep6',
query: { query: {
@@ -955,7 +955,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '审定(项目群负责人)'){ }else if(row.taskInfo === '审定'){
this.$router.push({ this.$router.push({
name: 'bzpgStep7', name: 'bzpgStep7',
query: { query: {
@@ -966,7 +966,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '批准(标准法规部高级经理)'){ }else if(row.taskInfo === '批准'){
this.$router.push({ this.$router.push({
name: 'bzpgStep8', name: 'bzpgStep8',
query: { query: {
@@ -977,7 +977,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
}else if(row.taskInfo === '整改节点'){ }else if(row.taskInfo === '重新起草'){
this.$router.push({ this.$router.push({
name: 'bzpgStep1', name: 'bzpgStep1',
query: { query: {
@@ -1168,7 +1168,7 @@ export default {
} }
break break
case '9': case '9':
if (row.taskInfo === '选择执行人') { if (row.taskInfo === '选择责任人') {
this.$router.push({ this.$router.push({
name: 'bzjdStep2', name: 'bzjdStep2',
query: { query: {
@@ -1179,7 +1179,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '填写解读分析') { } else if (row.taskInfo === '解读') {
this.$router.push({ this.$router.push({
name: 'bzjdStep3', name: 'bzjdStep3',
query: { query: {
@@ -1190,7 +1190,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '责任人审核') { } else if (row.taskInfo === '审核') {
this.$router.push({ this.$router.push({
name: 'bzjdStep4', name: 'bzjdStep4',
query: { query: {
@@ -1201,7 +1201,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '工程师审核') { } else if (row.taskInfo === '管理员') {
this.$router.push({ this.$router.push({
name: 'bzjdStep5', name: 'bzjdStep5',
query: { query: {
@@ -1212,7 +1212,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '部长审批') { } else if (row.taskInfo === '批') {
this.$router.push({ this.$router.push({
name: 'bzjdStep6', name: 'bzjdStep6',
query: { query: {