From 6022ae5e24097c12e7d8e52c0529de2bb730018b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Mon, 24 Jan 2022 20:27:39 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzpg/step3.vue | 275 +++++++-- .../pages/creatProcess/bzpg/step4.vue | 556 ++++++++++++++++++ src/router/index.js | 9 + 3 files changed, 776 insertions(+), 64 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/bzpg/step4.vue diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index 9ead05378..c8b88baa9 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -1,4 +1,4 @@ - + @@ -341,7 +358,7 @@ import ProcessHeader from "process/components/ProcessHeader"; import ProcessFooter from "process/components/ProcessFooter"; import ProcessTitle from "process/components/ProcessTitle"; -import { changeAssigneeNew, inboundLiaisonDetail } from "api/process"; +import { changeAssigneeNew, inboundLiaisonDetail, saveTaskForPub } from "api/process"; export default { name: "bzpgStep3", @@ -352,7 +369,7 @@ export default { }, data(){ return { - active: '1', + active: "1", //折叠的标志,true为折叠,false为不折叠 foldFormFlag: false, drawerModal: false, @@ -360,33 +377,59 @@ export default { isTransfer: false, isSubmit: false, saveLoading: false, - ProjectModel: false, + projectModel: false, + modalshowflag: false, pageNo: 1, totalNo: 0, pageSizeNo: this.$store.getters.userInfo.configContent, - userId:this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.userId, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, - commentText: '', - drawerTitle: '', - projectGroup: '', //用来查询项目 + commentText: "", + drawerTitle: "", + projectGroup: "", //用来查询项目 listForm: {}, dataList: [], + projectDataList: [], + // projectDataList: [ + // { + // managementHostName: '', //管理主体 + // developmentHostName: '', //开发主体 + // categoryName: '', //项目细分类 + // projectStatus: '', //项目状态 + // projectName: '', //项目名称 + // projectNumber: '', //项目编号 + // uname: '', //项目经理 + // } + // ], detailData: [], nodeList: [], + nodeList2: [], selectProjectList: [], selectProjectGroupList: [], productData: [], //项目群下的项目 projectStatus: [], //项目状态下拉框 projectSearch: { - projectStatus: "", //项目状态 - }, + projectStatus: "" //项目状态 + } } }, mounted() { - this.getData() - this.processTable() - this.getProductData() + this.getData(); + this.processTable(); + this.getProductData(); + /** + * 获取项目群筛选项的值 + */ + this.$http.post("sarStandProjectLibrary/querySelect", {}, { + _this: this + }, res => { + res.data.statusList.forEach(item => { + if (item) { + this.projectStatus.push(item); //项目状态 + } + }); + }); }, methods: { getData() { @@ -406,22 +449,29 @@ export default { /** * @description: 动态表单读取 */ - getFormFieldList (item) { + getFormFieldList(item) { this.$nextTick(() => { - this.listForm = JSON.parse(JSON.stringify(item)) - this.listForm.prcNum = this.prcNum - this.listForm.prcName = this.prcName - this.listForm['id'] = item.id - this.listForm.dataList = item.dataList - this.dataList = item.dataList - this.projectGroup = item.dataList[0].projectGroup - this.dataList.distributePerson = item.dataList[0].distributePerson - this.listForm.breakdownList = item.breakdownList - }) + this.listForm = JSON.parse(JSON.stringify(item)); + this.listForm.prcNum = this.prcNum; + this.listForm.prcName = this.prcName; + this.listForm["id"] = item.id; + this.projectGroup = item.dataList[0].projectGroup; + }); + }, + choiceZRRS(row, type, index) { + this.nodeList2 = []; + this.lsIndex = index; + this.lsType = type; + if (row.unameId) { + this.nodeList2 = row.unameId.split(","); + } else { + this.nodeList2.push(row); + } + this.modalshowflag = true; }, //查询项目群下的项目 - getProductData(){ - this.$http.get('sarStandProjectLibrary/queryProjects',{ + getProductData() { + this.$http.get("sarStandProjectLibrary/queryProjects", { projectGroup: this.projectGroup, current: this.pageNo, PageSize: this.pageSizeNo, @@ -429,9 +479,9 @@ export default { }, { _this: this }, res => { - this.productData = res.data.records - this.totalNo = res.data.count - }) + this.productData = res.data.records; + this.totalNo = res.data.count; + }); }, //查询项目按钮 getProductDataBtn(){ @@ -463,31 +513,83 @@ export default { cancelButtonText: "取消", type: "warning" }).then(() => { - + this.selectProjectGroupList.map(item => { + let index; + index = this.dataList.findIndex(items => { + return items.projectNumber === item.projectNumber; + }); + if (index > -1) { + this.dataList.splice(index, 1); + } + }); + this.selectProjectGroupList = []; + this.$refs.selection.clearSelection(); }).catch(() => { }); } }, - cancelStand(){ - this.projectModel = false + cancelStand() { + this.projectModel = false; }, - okProject(){ - if(this.selectProjectList.length){ - - }else{ - this.$message.warning('请至少选择一条数据进行添加') - } + okProject() { + if (this.selectProjectList.length) { + let addFlag = true; + let projectNumbers = ""; + this.selectProjectList.forEach(item => { + projectNumbers += item.projectNumber; + projectNumbers += ","; + }); + if(this.dataList.length){ + this.dataList.forEach(item => { + if (item.projectNumber === projectNumbers) { + addFlag = false; + } + }); + } + if (addFlag) { + this.projectDataList = []; + let projectNames = "", projectNumbers = ""; + this.selectProjectList.forEach(items => { + projectNames += items.projectName; + projectNames += ","; + projectNumbers += items.projectNumber; + projectNumbers += ","; + }); + this.$set(this.projectDataList, "projectName", projectNames); + this.$set(this.projectDataList, "projectNumber", projectNumbers); + this.$set(this.projectDataList, "managementHostName", this.selectProjectList[0].managementHostName); + this.$set(this.projectDataList, "developmentHostName", this.selectProjectList[0].developmentHostName); + this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName); + this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus); + this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname); + this.dataList.push({ + projectName: this.projectDataList.projectName, + projectNumber: this.projectDataList.projectNumber, + managementHostName: this.projectDataList.managementHostName, + developmentHostName: this.projectDataList.developmentHostName, + categoryName: this.projectDataList.categoryName, + projectStatus: this.projectDataList.projectStatus, + uname: this.projectDataList.uname, + }) + } else { + this.$message.warning("请勿重复添加数据"); + } + this.projectModel = false; + this.$refs.projectTable.clearSelection(); + } else { + this.$message.warning("请至少选择一条数据进行添加"); + } }, - selectProject(data){ - this.selectProjectList = data + selectProject(data) { + this.selectProjectList = data; }, - pageChangeNo(page){ - this.pageNo = page - this.getProductData() + pageChangeNo(page) { + this.pageNo = page; + this.getProductData(); }, - pageSizeChangeNo(pageSize){ - this.pageSizeNo = pageSize - this.getProductData() + pageSizeChangeNo(pageSize) { + this.pageSizeNo = pageSize; + this.getProductData(); }, //tab发生变化 handleTabs(name) { @@ -495,7 +597,7 @@ export default { }, //折叠/展开基础信息方法 foldForm() { - this.foldFormFlag = !this.foldFormFlag + this.foldFormFlag = !this.foldFormFlag; }, // 点击查看 handlePreview(item) { @@ -509,28 +611,73 @@ export default { window.open(routeUrl.href, "_blank"); }, //提交 - handleSubmit(){ + handleSubmit() { + if (!this.dataList.length) { + this.$message.warning("请添加项目数据"); + } else if(this.dataList.length > 5) { + this.$message.warning('您最多只能选择五条数据') + }else{ + this.listForm.dataList = this.dataList; + this.listForm.commentText = this.commentText; + const json = JSON.stringify(this.listForm); + this.isSubmit = true; + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.taskIds, + userId: this.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }, e => { + }); + } }, - //驳回 - beforeBack(){ - + //保存 + handleSave() { + this.saveLoading = true; + this.listForm.dataList = this.dataList; + let _formData = new FormData(); + _formData.append("id", this.bpnId || ""); + _formData.append("prcType", "5"); + _formData.append("taskIds", this.taskIds); + _formData.append("json", JSON.stringify({ + form: this.listForm, + commentText: this.commentText + })); + saveTaskForPub(_formData).then(res => { + this.saveLoading = false; + this.$message.success("保存成功"); + this.bpnId = res.result; + }).catch(e => { + this.saveLoading = false; + }); + }, + checkedRole2(data) { + this.dataList[this.lsIndex].unameId = data[0].id; + this.dataList[this.lsIndex].uname = data[0].name; + this.modalshowflag = false; }, //确认转办 - checkedRole (data) { - this.assigneeNewLoading = true + checkedRole(data) { + this.assigneeNewLoading = true; changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 userId: this.$store.getters.userInfo.userId, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { - this.isTransfer = false + this.isTransfer = false; if (res.success) { - this.drawerModal = false - this.$message.success('调整成功') + this.drawerModal = false; + this.$message.success("调整成功"); this.$router.push("/processCenter"); - this.processNum() + this.processNum(); } else { this.$message.warning(res.message) } diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue new file mode 100644 index 000000000..505953b26 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue @@ -0,0 +1,556 @@ + + + + + + diff --git a/src/router/index.js b/src/router/index.js index 5c112b253..91dc27b14 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -547,6 +547,15 @@ const routes = [ title: '标准合规评估流程' } }, + { + path: '/bzpgStep4', + name: 'bzpgStep4', + component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step4.vue'), + meta: { + requireAuth: true, + title: '标准合规评估流程' + } + }, { path: '/xmpgStep1', name: 'xmpgStep1', From ce19812bf4575c9c2682d0fc6be4a8316fafc1c4 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Tue, 25 Jan 2022 10:55:22 +0800 Subject: [PATCH 02/11] commit --- src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue | 4 ++-- src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue | 4 ++-- src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue | 4 ++-- src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue index 97723e319..d47164285 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue @@ -94,12 +94,12 @@
生成汇总单 生成上报意见
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue index e30146ceb..ad935450d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue @@ -86,12 +86,12 @@
生成汇总单 生成上报意见
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue index c87546e05..f6c8d9ea3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue @@ -86,12 +86,12 @@
生成汇总单 生成上报意见
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue index a851a20d5..ef32a0454 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue @@ -86,12 +86,12 @@
生成汇总单 生成上报意见
From e191c4dffe9b7fe87592d923ee30e29167d7434e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 25 Jan 2022 11:40:41 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzpg/step1.vue | 20 +++++--------- .../pages/creatProcess/bzpg/step3.vue | 27 ++++++++++--------- .../pages/creatProcess/bzpg/step5.vue | 13 +++++++++ src/router/index.js | 9 +++++++ 4 files changed, 43 insertions(+), 26 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/bzpg/step5.vue diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue index e0cb7145e..e6ec3219a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue @@ -445,7 +445,8 @@ { if(!item.distributePerson || !item.projectGroupPeople){ this.$message.warning('请填写完整的人员信息') - }else{ + }else { this.isSubmit = true; - this.listForm.dataList = this.dataList + this.listForm.dataList = this.dataList; this.listForm.commentText = this.commentText; let json = Object.assign(this.listForm, this.roleForm); console.log(json); @@ -837,7 +829,7 @@ export default { this.$http.post("lawss/activiti/startProcessRollBack", { createUser: this.$store.getters.userInfo.userId, createUserName: this.$store.getters.userInfo.userName, - type: '5', + type: "5", json: JSON.stringify({ taskInfo: "选择已拆分标准", form: this.listForm, diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index c8b88baa9..1cea64f58 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -391,17 +391,7 @@ export default { listForm: {}, dataList: [], projectDataList: [], - // projectDataList: [ - // { - // managementHostName: '', //管理主体 - // developmentHostName: '', //开发主体 - // categoryName: '', //项目细分类 - // projectStatus: '', //项目状态 - // projectName: '', //项目名称 - // projectNumber: '', //项目编号 - // uname: '', //项目经理 - // } - // ], + breakdownList: [], //标准下的分解单数据 detailData: [], nodeList: [], nodeList2: [], @@ -456,6 +446,14 @@ export default { this.listForm.prcName = this.prcName; this.listForm["id"] = item.id; this.projectGroup = item.dataList[0].projectGroup; + this.$http.get('SarStandItems/sar-stand-items/findAllItems', { + ids: item.standId, + type: item.fileType + },{ + _this: this + }, res => { + this.breakdownList = res.data + }) }); }, choiceZRRS(row, type, index) { @@ -562,6 +560,7 @@ export default { this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName); this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus); this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname); + this.$set(this.projectDataList, "unameId", this.selectProjectList[0].projectManager); this.dataList.push({ projectName: this.projectDataList.projectName, projectNumber: this.projectDataList.projectNumber, @@ -570,6 +569,7 @@ export default { categoryName: this.projectDataList.categoryName, projectStatus: this.projectDataList.projectStatus, uname: this.projectDataList.uname, + unameId: this.projectDataList.unameId, }) } else { this.$message.warning("请勿重复添加数据"); @@ -618,9 +618,12 @@ export default { this.$message.warning('您最多只能选择五条数据') }else{ this.listForm.dataList = this.dataList; + this.listForm.breakdownList = this.breakdownList this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); - this.isSubmit = true; + // this.isSubmit = true; + console.log(json); + return this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue new file mode 100644 index 000000000..60a5fa44d --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 91dc27b14..9f3813bff 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -556,6 +556,15 @@ const routes = [ title: '标准合规评估流程' } }, + { + path: '/bzpgStep5', + name: 'bzpgStep5', + component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step5.vue'), + meta: { + requireAuth: true, + title: '标准合规评估流程' + } + }, { path: '/xmpgStep1', name: 'xmpgStep1', From b127c22f0498b87a16f6f47d628ac0c06ddd9a01 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Tue, 25 Jan 2022 13:01:53 +0800 Subject: [PATCH 04/11] commit --- .../pags/AddFileDetails.vue | 181 ++++++++++++++++++ .../pags/consultationDetails.vue | 48 +++-- src/router/index.js | 13 ++ 3 files changed, 230 insertions(+), 12 deletions(-) create mode 100644 src/pages/regulatoryRepository/standardForComments/pags/AddFileDetails.vue diff --git a/src/pages/regulatoryRepository/standardForComments/pags/AddFileDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/AddFileDetails.vue new file mode 100644 index 000000000..72f75e6e7 --- /dev/null +++ b/src/pages/regulatoryRepository/standardForComments/pags/AddFileDetails.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 212a98648..92bdf4bd1 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -250,6 +250,7 @@ export default { name: 'consultationDetails', data() { return { + freshClueNum: '', itermsConditionsFlag: false, itermsConditionsTitle: '', options: [], @@ -385,7 +386,7 @@ export default { }, //编辑 selectStandardPro(type, row) { - this.type = type + this.type = type if (type === 'edit') { this.id = row.id this.opiniontitle = '编辑意见内容' @@ -394,16 +395,34 @@ export default { this.opinionContent.oldText = row.oldText this.opinionContent.newText = row.newText this.opinionContent.cause = row.cause + this.isDialog = true } else { - this.id = '' - this.opiniontitle = '新增意见' - this.opinionContent.partCode = '' - this.opinionContent.reason = '' - this.opinionContent.oldText = '' - this.opinionContent.newText = '' - this.opinionContent.cause = '' + localStorage.setItem('freshClueNum', new Date().getTime()) + this.freshClueNum = localStorage.getItem('freshClueNum') || ''; + let routeData = this.$router.resolve({ + name: "AddFileDetails", + query: { + attId: this.fileInfoList[0].attId, + userId: this.$store.getters.userInfo.userId || '', + userName: this.$store.getters.userInfo.userName || '', + deptName: this.$store.getters.userInfo.institutionName || '', + deptId: this.$store.getters.userInfo.institutionId || '', + standId: JSON.parse(this.$route.query.item.files)[0].standId, + fileType: JSON.parse(this.$route.query.item.files)[0].standFileClassify, + ideaId: this.$route.query.item.id, + cid: this.$route.query.item.cid, + } + }); + window.open(routeData.href, '_blank') + // return + // this.id = '' + // this.opiniontitle = '新增意见' + // this.opinionContent.partCode = '' + // this.opinionContent.reason = '' + // this.opinionContent.oldText = '' + // this.opinionContent.newText = '' + // this.opinionContent.cause = '' } - this.isDialog = true }, //删除 deleteStand(id) { @@ -449,8 +468,8 @@ export default { cause: this.opinionContent.cause, userId: this.$store.getters.userInfo.userId || '', userName: this.$store.getters.userInfo.userName || '', - deptName: this.$store.getters.userInfo.orgName || '', - deptId: this.$store.getters.userInfo.orgId || '' + deptName: this.$store.getters.userInfo.institutionName || '', + deptId: this.$store.getters.userInfo.institutionId || '', } if (this.type === 'edit') { form.id = this.id @@ -498,6 +517,11 @@ export default { } }, mounted() { + window.addEventListener("storage", ev => { + if(ev.key === 'freshClueNum'){ + this.getList() + } + }) if (JSON.parse(this.$route.query.item.wkfiles).length) { this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles) } else { @@ -522,7 +546,7 @@ export default { this.getList() this.getIdeaKey() this.getFileInfo() - } + }, } diff --git a/src/router/index.js b/src/router/index.js index 91dc27b14..017157f29 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3729,6 +3729,19 @@ const routes = [ // menuId: '' } }, + { + path: '/AddFileDetails', + name: 'AddFileDetails', + component: () => + import('@/pages/regulatoryRepository/standardForComments/pags/AddFileDetails'), + meta: { + requireAuth: true, + title: '新增', + parentPath: '/standardForComments', + isBoolean: true, + // menuId: '' + } + }, { path: '/details', name: 'Details', From 82c9a6ac198f608ae0ceea5352b741c024b451fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 25 Jan 2022 13:33:32 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/bzpg/step3.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index 1cea64f58..a5a596550 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -621,9 +621,7 @@ export default { this.listForm.breakdownList = this.breakdownList this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); - // this.isSubmit = true; - console.log(json); - return + this.isSubmit = true; this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, From 38b22f21427eac11237686536c18076d5e0f5fea Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Tue, 25 Jan 2022 14:57:52 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../localProductsOrProjectLibrary/index.vue | 433 +++++++++--------- .../pages/details.vue | 31 +- 2 files changed, 235 insertions(+), 229 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index d9dda2b2c..0e0a09b4f 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -21,7 +21,7 @@ clearable > - +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @selection-change="handleSelectionChange"> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{ + this.$http.get("sys/dictype/getDicTypeListCode", {}, {_this: this}, res => { // this.xmztOptions = res.data.XMZT; this.scxxOptions = res.data.SCXX; this.countryList = res.data.COUNTRY; @@ -955,7 +957,7 @@ export default { } else { this.title = "编辑车型/项目库"; row.targetMarket = row.targetMarket.split(","); - this.localProEO = { ...row }; + this.localProEO = {...row}; // this.localProEO.id = row.id if (this.localProEO.energyKind != null && !(this.localProEO.energyKind instanceof Array)) { if (this.localProEO.energyKind === "") { @@ -1095,8 +1097,8 @@ export default { }, // 清空条件查询 clearAllSearch() { - this.localProTableSearch = { ...this.localProTableSearchDefault }; - this.projectLibrarySearch = { ...this.projectLibrarySearchDefault }; + this.localProTableSearch = {...this.localProTableSearchDefault}; + this.projectLibrarySearch = {...this.projectLibrarySearchDefault}; this.localProTableSearch.page = 1; this.getLocalProductTable(); }, @@ -1337,7 +1339,7 @@ export default { handleProcess(row) { // 项目清单确认流程 this.$router.push({ - name:'xmqdqrStep1-4', + name: 'xmqdqrStep1-4', query: { row } @@ -1402,7 +1404,7 @@ export default { }, // 取消或者关闭弹窗 resetReletionForm() { - this.relationTableSearch = { ...this.relationTableSearchDefault }; + this.relationTableSearch = {...this.relationTableSearchDefault}; // this.$refs['processForm'].clearValidate() this.$refs.RelectionMultipleTable.clearSelection(); this.reletionSelectNum = []; @@ -1432,7 +1434,7 @@ export default { this.$http.get("lawss/sarProductInfo/isOver", { productNo: this.localProEO.productNo, id: this.localProEO.id - }, { _this: this }, res => { + }, {_this: this}, res => { if (res.data) { callback(new Error("项目编号不能重复")); } else { @@ -1564,26 +1566,26 @@ export default { this.localProEO.productManagerShow = userNameList.join(","); }, selectSort() { - solostarData().then(res=>{ - res.data.MaintenanceProjectClassification.forEach((item, index)=>{ + solostarData().then(res => { + res.data.MaintenanceProjectClassification.forEach((item, index) => { this.projectData.push({ label: item, value: index }) }) - res.data.MaintenanceProjectStatus.forEach((item, index)=>{ + res.data.MaintenanceProjectStatus.forEach((item, index) => { this.projectStatus.push({ label: item, value: index }) }) - res.data.notMaintenanceProjectClassification.forEach((item, index)=>{ + res.data.notMaintenanceProjectClassification.forEach((item, index) => { this.notProjectData.push({ label: item, value: index }) }) - res.data.notMaintenanceProjectStatus.forEach((item, index)=>{ + res.data.notMaintenanceProjectStatus.forEach((item, index) => { this.notProjectStatus.push({ label: item, value: index @@ -1614,7 +1616,7 @@ export default { this.ifMaintaince = "Maintenance"; } else { this.ifMaintaince = this.$route.query.tabName; - if(this.ifMaintaince === "notMaintenance"){ + if (this.ifMaintaince === "notMaintenance") { this.localProTableSearch.prodectCode = this.ifMaintaince; } } @@ -1644,6 +1646,7 @@ export default { width: 100%; //height: calc(100% - 110px); height: calc(~'100% - 30px'); + .table_info { height: calc(70vh - 90px); } @@ -1654,7 +1657,7 @@ export default { } /deep/ .pagination { - position:inherit; + position: inherit; //position: unset; } @@ -1668,15 +1671,17 @@ export default { } } } + ///deep/ .el-table--scrollable-x .el-table__body-wrapper { // overflow-x: scroll; //} ///deep/.el-table__fixed { // height: 48px !important; //} -/deep/.el-table .el-table__body-wrapper { +/deep/ .el-table .el-table__body-wrapper { height: 84%; } + ::v-deep .el-drawer__header { & > span:first-child { outline: none !important; diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue index af3445f7f..7f0b3b962 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue @@ -10,9 +10,15 @@
- 产品平台: {{ localProEO.projectPlatfor }} - 项目编号: {{ localProEO.projectNumber }} - + + 管理主体: {{ localProEO.managementHostName || '-' }} + 开发主体: {{ localProEO.developmentHostName || '-' }} + 项目细分类:{{ localProEO.categoryName || '-' }} + 项目群: {{ localProEO.projectGroup }} + + + 项目编号: {{ localProEO.projectNumber }} +
{{ localProEO.projectName }} @@ -26,21 +32,16 @@
- 项目分类:{{ localProEO.projectClassification }} - + 项目状态: {{ localProEO.projectStatus }} + + 当前节点: {{ localProEO.currentNode }}
- 项目状态: {{ localProEO.projectStatus }} - 项目群: {{ localProEO.projectGroup }} - 当前节点: {{ localProEO.currentNode }} - 项目级别: {{ localProEO.projectLevel }} - - - 产品线: {{ localProEO.productLine }} - 项目经理: {{ localProEO.uname }} - 项目计划开始时间: 产品线: {{ localProEO.productLine }} --> + 项目经理: {{ localProEO.uname }} + 项目计划开始时间: {{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD') }} - 项目计划完成时间: 项目计划完成时间: {{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }}
From c9c662a8d35e17354c139311bd2e54539de6e618 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Tue, 25 Jan 2022 15:03:56 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E4=B8=8A=E4=B8=8B=E7=A7=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/projectAddEit.vue | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 58dff1bd3..9ec80823d 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -1223,6 +1223,31 @@ export default { this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)') } }, + // 上移 事件 + moveUp(index, row) { + if (index === 0) { + this.$message({ + message: '已经是列表中第一个素材!', + type: 'warning' + }) + } else { + let temp = this.sarAccessInfoList[index - 1] + this.$set(this.sarAccessInfoList, index - 1, this.sarAccessInfoList[index]) + this.$set(this.sarAccessInfoList, index, temp) + } + }, + moveDown(index) { + if (index === (this.sarAccessInfoList.length - 1)) { + this.$message({ + message: '已经是列表中最后一个素材!', + type: 'warning' + }) + } else { + let i = this.sarAccessInfoList[index + 1] + this.$set(this.sarAccessInfoList, index + 1, this.sarAccessInfoList[index]) + this.$set(this.sarAccessInfoList, index, i) + } + }, // 点击清单条目导入按钮事件 importmodalFlags() { this.importmodalFlag = true From d6c9db9d51726c7cab116d03bc740167c5d70e49 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Tue, 25 Jan 2022 15:36:12 +0800 Subject: [PATCH 08/11] =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E8=BD=A6=E5=9E=8B=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/projectAddEit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 9ec80823d..685f9298c 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -2100,7 +2100,7 @@ export default { // 责任部门数据字典 this.zrbmOptions = res.data.ZRBMCLASS // 能源类型数据字典 - this.CycxOptions = res.data.CLLX + this.CycxOptions = res.data.ENERGYTYPES this.categoryOptions = res.data.NYLXCLASS // 能源类型 // 适用车型数据字典 this.applyArcticOptions = res.data.PRODUCTTYPE From 16f24d0ed3476843c8a66f3d305fd865a0064a2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 25 Jan 2022 16:54:18 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home2/components/todoList/index.vue | 37 +- .../pages/creatProcess/bzpg/step3.vue | 3 + .../pages/creatProcess/bzpg/step4.vue | 151 ++- .../pages/creatProcess/bzpg/step5.vue | 1003 ++++++++++++++++- .../pages/creatProcess/bzpg/step6.vue | 13 + .../pages/creatProcess/bzpg/step7.vue | 13 + .../pages/creatProcess/bzpg/step8.vue | 13 + .../tabComponents/processCenter/index.vue | 27 +- src/router/index.js | 27 + 9 files changed, 1251 insertions(+), 36 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/bzpg/step6.vue create mode 100644 src/pages/processCenter/pages/creatProcess/bzpg/step7.vue create mode 100644 src/pages/processCenter/pages/creatProcess/bzpg/step8.vue diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index 4a4a57122..1e10f3f57 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -630,11 +630,11 @@ export default { }) } break - //项目合规评估流程 + //标准合规评估 case '5' : - if(row.taskInfo === '标准法规部业务经理审批'){ + if(row.taskInfo === '审核(标准法规业务经理)'){ this.$router.push({ - name: 'xmpgStep2', + name: 'bzpgStep2', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -643,9 +643,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '标准评估任务下发'){ + }else if(row.taskInfo === '项目分发(项目群负责人/标准法规工程师)'){ this.$router.push({ - name: 'xmpgStep3', + name: 'bzpgStep3', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -654,9 +654,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '合规性评估'){ + }else if(row.taskInfo === '任务分发(项目经理)'){ this.$router.push({ - name: 'xmpgStep4', + name: 'bzpgStep4', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -665,9 +665,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '分发责任人审核'){ + }else if(row.taskInfo === '合规评估(专业技术人员)'){ this.$router.push({ - name: 'xmpgStep5', + name: 'bzpgStep5', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -676,9 +676,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '汇总审核'){ + }else if(row.taskInfo === '审核(项目经理)'){ this.$router.push({ - name: 'xmpgStep6', + name: 'bzpgStep6', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -687,9 +687,20 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '标准法规部领导审核'){ + }else if(row.taskInfo === '审定(项目群负责人)'){ this.$router.push({ - name: 'xmpgStep7', + name: 'bzpgStep7', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '批准(标准法规部高级经理)'){ + this.$router.push({ + name: 'bzpgStep8', query: { taskIds: row.taskIds, prcId: row.prcId, diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index a5a596550..6564f6a57 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -453,6 +453,9 @@ export default { _this: this }, res => { this.breakdownList = res.data + this.breakdownList.map(item => { + delete item.termsConditions + }) }) }); }, diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue index 505953b26..b3ec93312 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step4.vue @@ -79,13 +79,30 @@ +
+
+ + 批量分发落实人 + +
+
+ + + + @@ -153,8 +169,17 @@ prop="zccssrq" align="center" width="160px" - label="在产车实施日期"> - + label="在产车实施日期"/> + + + @@ -267,6 +292,13 @@ 关闭 + + @@ -286,6 +318,8 @@ export default { data(){ return { active: '1', + activeName: 'first', + fileType: '', //条款文件类型 //折叠的标志,true为折叠,false为不折叠 foldFormFlag: false, drawerModal: false, @@ -293,17 +327,22 @@ export default { isTransfer: false, isSubmit: false, saveLoading: false, + modalshowflag: false, itermsConditionsFlag: false, userId:this.$store.getters.userInfo.userId, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, commentText: '', drawerTitle: '', + lsIndex: "", itermsConditionsTitle: '', listForm: {}, dataList: [], detailData: [], nodeList: [], + nodeList2: [], + projectTabName: [], + selectProject: [], } }, mounted() { @@ -311,6 +350,15 @@ export default { this.processTable() }, methods: { + handleClick(tab) { + let projectData = this.dataList + this.dataList = [] + projectData.forEach(item => { + if(item.projectName === tab.name){ + this.dataList.push(item) + } + }) + }, getData() { return new Promise((resolve, reject) => { inboundLiaisonDetail({ @@ -331,21 +379,34 @@ export default { getFormFieldList (item) { this.$nextTick(() => { this.listForm = JSON.parse(JSON.stringify(item)) + this.fileType = item.fileType this.listForm.prcNum = this.prcNum this.listForm.prcName = this.prcName this.listForm['id'] = item.id - this.listForm.dataList = item.dataList - this.dataList = item.dataList + this.dataList = item.resDats + item.resDats.forEach(item => { + if(!this.projectTabName.includes(item.projectName)){ + this.projectTabName.push(item.projectName) + } + }) + this.listForm.resDats = [] + this.listForm.breakdownList = [] this.dataList.distributePerson = item.dataList[0].distributePerson - this.listForm.breakdownList = item.breakdownList }) }, itermsConditionsClose () { this.itermsConditionsFlag = false }, itermsConditionsOpen (row) { + this.$http.get('SarStandItems/sar-stand-items/findItemById',{ + type:this.fileType, + ids: row.id + },{ + _this: this + }, res => { + this.itermsConditionsTitle = res.data[0].termsConditions.replace(/''/g, '\'') + }) this.itermsConditionsFlag = true - this.itermsConditionsTitle = row.replace(/''/g, '\'') }, //tab发生变化 handleTabs(name) { @@ -368,8 +429,11 @@ export default { }, //提交 handleSubmit(){ + this.dataList.map(item => { + delete item.termsConditions + }) this.listForm.commentText = this.commentText - this.listForm.stepFlag = '0' + this.listForm.dataList = this.dataList const json = JSON.stringify(this.listForm); this.isSubmit = true this.$http.post('lawss/activiti/completeTask', { @@ -465,6 +529,65 @@ export default { this.detailData = res }, e => {}) }, + selectProjectChange(data){ + this.selectProject = data + }, + choiceZRRS(row, type, index) { + this.type = type; + if (type === 1) { + this.nodeList2 = []; + this.lsIndex = index; + if (row.implementerId) { + this.nodeList2 = row.implementerId.split(","); + } else { + this.nodeList2.push(row); + } + this.modalshowflag = true; + } else if (type === 2) { + // 批量 + if (this.selectProject.length > 0) { + this.nodeList2 = []; + this.modalshowflag = true; + this.selectProject.forEach(item =>{ + if(item.implementerId){ + this.nodeList2 = item.implementerId.split(","); + } + }) + } else { + this.$message.warning("请选择要分发的数据"); + } + } + }, + checkedRole2(data) { + let idList = "",nameList = ""; + data.forEach(item => { + if (nameList.length) { + nameList += ","; + idList += ","; + } + idList += item.id; + nameList += item.name; + }); + if (this.type === 1) { + let projectList = JSON.parse(JSON.stringify(this.dataList)) + projectList[this.lsIndex].implementerId = idList; + projectList[this.lsIndex].implementer = nameList; + this.dataList = projectList + } else if (this.type === 2) { + let projectList = JSON.parse(JSON.stringify(this.dataList)) + projectList.forEach(item => { + this.selectProject.forEach(items => { + if (item.projectName === items.projectName && item.itemsNum === items.itemsNum) { + item.implementerId = idList; + item.implementer = nameList; + } + }); + }); + this.dataList = projectList + this.$refs.multipleTable.clearSelection(); + } + this.modalshowflag = false; + }, }, computed: { listNoDataText () { @@ -534,7 +657,7 @@ export default { .tableButton { position: absolute; - right: 0; + left: 0; top: 0; } @@ -548,7 +671,9 @@ export default { } } } - + /deep/.el-tabs__header{ + margin: 0; + } .demo-drawer-content { margin-top: 10px; } diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue index 60a5fa44d..82d9cc9c1 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue @@ -1,13 +1,1012 @@ + - diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step6.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step6.vue new file mode 100644 index 000000000..face62e72 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step6.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue new file mode 100644 index 000000000..f5307e9a6 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue new file mode 100644 index 000000000..1ad204b53 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index 334b7b9c1..e2fc878e5 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -900,9 +900,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '合规性评估'){ + }else if(row.taskInfo === '任务分发(项目经理)'){ this.$router.push({ - name: 'xmpgStep4', + name: 'bzpgStep4', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -911,9 +911,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '分发责任人审核'){ + }else if(row.taskInfo === '合规评估(专业技术人员)'){ this.$router.push({ - name: 'xmpgStep5', + name: 'bzpgStep5', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -922,9 +922,9 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '汇总审核'){ + }else if(row.taskInfo === '审核(项目经理)'){ this.$router.push({ - name: 'xmpgStep6', + name: 'bzpgStep6', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -933,9 +933,20 @@ export default { prcType: row.prcType } }) - }else if(row.taskInfo === '标准法规部领导审核'){ + }else if(row.taskInfo === '审定(项目群负责人)'){ this.$router.push({ - name: 'xmpgStep7', + name: 'bzpgStep7', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '批准(标准法规部高级经理)'){ + this.$router.push({ + name: 'bzpgStep8', query: { taskIds: row.taskIds, prcId: row.prcId, diff --git a/src/router/index.js b/src/router/index.js index b10d95503..2be48c1b8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -565,6 +565,33 @@ const routes = [ title: '标准合规评估流程' } }, + { + path: '/bzpgStep6', + name: 'bzpgStep6', + component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step6.vue'), + meta: { + requireAuth: true, + title: '标准合规评估流程' + } + }, + { + path: '/bzpgStep7', + name: 'bzpgStep7', + component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step7.vue'), + meta: { + requireAuth: true, + title: '标准合规评估流程' + } + }, + { + path: '/bzpgStep8', + name: 'bzpgStep8', + component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step8.vue'), + meta: { + requireAuth: true, + title: '标准合规评估流程' + } + }, { path: '/xmpgStep1', name: 'xmpgStep1', From 79752dcc1b141879c0a1086c16267981ec94c851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 25 Jan 2022 17:06:42 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E5=87=86?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E7=AC=AC=E4=B8=89=E6=AD=A5dataList=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzpg/step3.vue | 28 ++++++++----------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index 6564f6a57..3396723c3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -548,7 +548,6 @@ export default { }); } if (addFlag) { - this.projectDataList = []; let projectNames = "", projectNumbers = ""; this.selectProjectList.forEach(items => { projectNames += items.projectName; @@ -556,23 +555,16 @@ export default { projectNumbers += items.projectNumber; projectNumbers += ","; }); - this.$set(this.projectDataList, "projectName", projectNames); - this.$set(this.projectDataList, "projectNumber", projectNumbers); - this.$set(this.projectDataList, "managementHostName", this.selectProjectList[0].managementHostName); - this.$set(this.projectDataList, "developmentHostName", this.selectProjectList[0].developmentHostName); - this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName); - this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus); - this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname); - this.$set(this.projectDataList, "unameId", this.selectProjectList[0].projectManager); this.dataList.push({ - projectName: this.projectDataList.projectName, - projectNumber: this.projectDataList.projectNumber, - managementHostName: this.projectDataList.managementHostName, - developmentHostName: this.projectDataList.developmentHostName, - categoryName: this.projectDataList.categoryName, - projectStatus: this.projectDataList.projectStatus, - uname: this.projectDataList.uname, - unameId: this.projectDataList.unameId, + projectName: projectNames, + projectNumber: projectNumbers, + managementHostName: this.selectProjectList[0].managementHostName, + developmentHostName: this.selectProjectList[0].developmentHostName, + categoryName: this.selectProjectList[0].categoryName, + projectStatus: this.selectProjectList[0].projectStatus, + projectGroup: this.selectProjectList[0].projectGroup, + uname: this.selectProjectList[0].uname, + unameId: this.selectProjectList[0].projectManager, }) } else { this.$message.warning("请勿重复添加数据"); @@ -624,6 +616,8 @@ export default { this.listForm.breakdownList = this.breakdownList this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); + console.log(json); + return this.isSubmit = true; this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, From 3dab05e4d42dffd037a5012d02eb15eadf6fba47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 25 Jan 2022 18:04:16 +0800 Subject: [PATCH 11/11] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/bzpg/step3.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index 3396723c3..235b1ed63 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -616,8 +616,6 @@ export default { this.listForm.breakdownList = this.breakdownList this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); - console.log(json); - return this.isSubmit = true; this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds,