From 6b39a40e20bf45ab13d69104cb60b37ce7651654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 2 Dec 2021 19:22:34 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home2/components/todoList/index.vue | 13 +- .../pages/creatProcess/xmqdqr/step2.vue | 30 +- .../pages/creatProcess/xmqdqr/step3.vue | 127 ++- .../pages/creatProcess/xmqdqr/step4.vue | 912 +++++++++++++----- .../tabComponents/processCenter/index.vue | 13 +- 5 files changed, 766 insertions(+), 329 deletions(-) diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index a5db7bae9..644525388 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -625,7 +625,7 @@ export default { prcType: row.prcType } }) - } else if (row.taskInfo === '标准法规部经理审批') { + } else if (row.taskInfo === '确认人确认') { this.$router.push({ name: 'xmqdqrStep3', query: { @@ -636,6 +636,17 @@ export default { prcType: row.prcType } }) + }else if(row.taskInfo === '产品工程经理汇总清单'){ + this.$router.push({ + name: 'xmqdqrStep4', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) } break case '14': diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue index 21c7f9d79..b4d4fd058 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue @@ -146,32 +146,6 @@ width="180px" > - - - - - - - -
@@ -653,8 +627,8 @@ @pageChange="handleSelectPageChange" @pageSizeChange="handleSelectPageSizeChange">
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue index d9a30164e..2180eccc0 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue @@ -2,7 +2,7 @@
- +
基础信息
@@ -60,7 +60,7 @@ :data="dataList" border ref="selection" - height="65%" + height="59%" @selection-change="selectStandChange" style="width: 100%; border:1px solid #ccc" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', @@ -139,31 +139,34 @@ > + label="标准是否涉及"> + - - - - + width="180" + label="备注"> + +
@@ -645,8 +648,8 @@ @pageChange="handleSelectPageChange" @pageSizeChange="handleSelectPageSizeChange">
@@ -678,13 +681,6 @@ - - { if(item.form === undefined){ this.qdform = JSON.parse(JSON.stringify(item)); this.qdform.prcNum = this.prcNum; this.qdform.prcName = this.prcName; this.qdform["id"] = item.id; - this.projectId = item.projectId; - //获取清单id 查询对应清单下的标准 - this.detailedId = item.detailedListId; - this.getStandData(); + this.dataList = item.dataList + this.dataList.forEach(item => { + this.$set(item, 'involve', 'involve') + this.$set(item, 'remarks', '') + }) + // this.projectId = item.projectId; + // //获取清单id 查询对应清单下的标准 + // this.detailedId = item.detailedListId; + // this.getStandData(); }else{ this.qdform = item.form this.dataList =item.form.dataList @@ -985,26 +987,43 @@ export default { this.saveLoading = false; }); }, + handleRemark(){ + this.dataList.map(item => { + if(item.involve === 'noInvolve'){ + comFlag + } + }) + }, //提交事件 handleSubmit() { - this.isSubmit = true; - this.qdform.commentText = this.commentText; - this.qdform.dataList = this.dataList - const json = JSON.stringify(this.qdform); - 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"); + let comFlag = 0 + this.dataList.map(item => { + if(item.involve === 'noInvolve' && item.remarks === ''){ + comFlag++ } - this.isSubmit = false; - }, e => { - }); + }) + if(comFlag > 0){ + this.$message.warning('请填写不涉及的备注信息') + }else{ + this.isSubmit = true; + this.qdform.commentText = this.commentText; + this.qdform.dataList = this.dataList + const json = JSON.stringify(this.qdform); + 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 => { + }); + } }, addList() { this.searchLawBtn() @@ -1181,6 +1200,10 @@ export default { this.dataList.push(item) } }) + this.dataList.forEach(item => { + this.$set(item, 'involve', 'involve') + this.$set(item, 'remarks', '') + }) this.standModel = false } }, diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue index 7c4768cf9..59f3abd9b 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue @@ -2,7 +2,7 @@
- +
基础信息
@@ -60,7 +60,7 @@ :data="dataList" border ref="selection" - height="65%" + height="59%" @selection-change="selectStandChange" style="width: 100%; border:1px solid #ccc" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', @@ -139,31 +139,34 @@ > + label="标准是否涉及"> + - - - - + width="180" + label="备注"> + +
@@ -252,163 +255,432 @@
-
-
-
- - - - - - - - - - - - - - - - - - - 查询 - - 清空 - - - -
- + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + 清空 + + + + 数据获取中 + + + + + +
+ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
- +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + +
- - - - - - - - - - - - - - + + + + + + + + + + + + + + + { if(item.form === undefined){ this.qdform = JSON.parse(JSON.stringify(item)); this.qdform.prcNum = this.prcNum; this.qdform.prcName = this.prcName; this.qdform["id"] = item.id; + this.dataList = item.dataList + this.dataList.forEach(item => { + this.$set(item, 'involve', 'involve') + this.$set(item, 'remarks', '') + }) // this.projectId = item.projectId; - //获取清单id 查询对应清单下的标准 - this.detailedId = item.detailedListId; + // //获取清单id 查询对应清单下的标准 + // this.detailedId = item.detailedListId; // this.getStandData(); - this.getStand(); }else{ this.qdform = item.form this.dataList =item.form.dataList this.detailedId = item.form.detailedListId; - this.getStand(); } }); }, //查询清单下的标准 - // getStandData() { - // this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, { - // _this: this - // }, res => { - // this.dataList = res.data.records; - // this.dataList.forEach(item => { - // // 责任部门转换 - // if (item.zrbm !== null || item.zrbm !== "") { - // let k = (item.zrbm || "").split(","); - // for (let i in this.zrbmOptions) { - // for (let m = 0; m < k.length; m++) { - // if (this.zrbmOptions[i].value === k[m]) { - // k[m] = this.zrbmOptions[i].label; - // } - // item.zrbm = k.join(","); - // } - // } - // } - // }); - // }); - // }, + getStandData() { + this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, { + _this: this + }, res => { + this.dataList = res.data.records; + this.dataList.forEach(item => { + // 责任部门转换 + if (item.zrbm !== null || item.zrbm !== "" ) { + let k = (item.zrbm || "").split(","); + for (let i in this.zrbmOptions) { + for (let m = 0; m < k.length; m++) { + if (this.zrbmOptions[i].value === k[m]) { + k[m] = this.zrbmOptions[i].label; + } + item.zrbm = k.join(","); + } + } + } + }); + this.dataList.map(item => { + if(item.zrbm === '[]'){ + item.zrbm = '' + } + }) + }); + }, // 接受按钮 handleAccept(){ this.isSubmit = true @@ -677,28 +987,46 @@ export default { this.saveLoading = false; }); }, + handleRemark(){ + this.dataList.map(item => { + if(item.involve === 'noInvolve'){ + comFlag + } + }) + }, //提交事件 handleSubmit() { - this.isSubmit = true; - this.qdform.commentText = this.commentText; - this.qdform.dataList = this.dataList - const json = JSON.stringify(this.qdform); - 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"); + let comFlag = 0 + this.dataList.map(item => { + if(item.involve === 'noInvolve' && item.remarks === ''){ + comFlag++ } - this.isSubmit = false; - }, e => { - }); + }) + if(comFlag > 0){ + this.$message.warning('请填写不涉及的备注信息') + }else{ + this.isSubmit = true; + this.qdform.commentText = this.commentText; + this.qdform.dataList = this.dataList + const json = JSON.stringify(this.qdform); + 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 => { + }); + } }, addList() { + this.searchLawBtn() this.standModel = true; }, //批量删除 @@ -726,8 +1054,9 @@ export default { } }, //添加标准勾选框数据 - selectStand(data) { - this.standList = data; + handleSelectTableChange (data) { + this.handleSelectTableList = data + console.log(this.handleSelectTableList); }, selectStandChange(data){ this.projectStand = data @@ -764,52 +1093,141 @@ export default { } }, + //手动查找的清空按钮 + clearLawBtn(){ + this.lawInfoTableLoading = true + this.handleSelectForm.lawNumber = '' + this.handleSelectForm.standNumber = '' + this.handleSelectForm.lawsNumber = '' + this.handleSelectForm.standCode = '' + //清空标准名称/政策名称的查询 + this.handleSelectForm.lawName = '' + this.handleSelectForm.standName = '' + this.handleSelectForm.numberName = '' + this.searchLawBtn() + }, //添加标准的查询按钮 - search() { - this.page = 1; - this.getStand(); - }, - clearSearch() { - this.standCommonlySearch = { - standSort: "", - standNumber: "", - standType: "" - }; - this.getStand(); - }, - pageChange(page) { - this.page = page; - this.getStand(); - }, - pageSizeChange(pageSize) { - this.pageSize = pageSize; - this.getStand(); - }, - //查询清单下的标准 - getStand() { - this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", { - id: this.detailedId, - page: this.page, - Size: this.pageSize, - ...this.standCommonlySearch - }, { - _this: this - }, res => { - if (res.data === null) { - this.standardData = ""; - this.totalDo = ""; - } - this.standardData = res.data.records; - this.standardData.forEach(item => { - if (item.zccssrqgj === "-" || item.zccssrqgj === 'null' || item.zccssrqgj === 'undefined') { - item.zccssrqgj = ""; + searchLawBtn(){ + this.lawInfoTableLoading = true + if (this.handleSelectForm.dataSource === 'INLAND'){ + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{ + _this: this + },res=>{ + console.log('国内标准库数据',res) + if (res.ok){ + this.lawInfoTable = res.data.list + this.handleSelectForm.total = res.data.count + if ((this.lawInfoTable.length === 0 || this.lawInfoTable === []) && this.handleSelectForm.page !== 1) { + this.lawInfoTableLoading = true + this.handleSelectPageChange(1) + }else { + this.lawInfoTableLoading = false + this.lawInfoTableLoading = false + } + }else { + this.$message.error(res.message) } - if (item.xcxssrqgj === "-" || item.xcxssrqgj === 'null' || item.xcxssrqgj === 'undefined' ) { - item.xcxssrqgj = ""; + },e=>{ + this.lawInfoTable = [] + this.handleSelectForm.total = 0 + }) + }else if(this.handleSelectForm.dataSource === 'FOREIGN'){ + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{ + _this: this + },res=>{ + if (res.ok){ + this.lawInfoTable = res.data.list + this.handleSelectForm.total = res.data.count + if ((this.lawInfoTable.length === 0 || this.lawInfoTable === []) && this.handleSelectForm.page !== 1) { + this.lawInfoTableLoading = true + this.handleSelectPageChange(1) + }else { + this.lawInfoTableLoading = false + } + }else { + this.$message.error(res.message) + this.lawInfoTableLoading = false } - }); - this.total = res.data.total; - }); + },e=>{ + this.lawInfoTable = [] + this.handleSelectForm.total = 0 + }) + }else if(this.handleSelectForm.dataSource === 'BUSINESS_STAND'){ + this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',this.handleSelectForm,{ + _this: this + },res=>{ + if (res.ok){ + this.lawInfoTable = res.data.list + this.handleSelectForm.total = res.data.count + if ((this.lawInfoTable.length === 0 || this.lawInfoTable === []) && this.handleSelectForm.page !== 1) { + this.lawInfoTableLoading = true + this.handleSelectPageChange(1) + }else { + this.lawInfoTableLoading = false + } + }else { + this.$message.error(res.message) + this.lawInfoTableLoading = false + } + },e=>{ + this.lawInfoTable = [] + this.handleSelectForm.total = 0 + }) + }else { + this.$message.warning('请先选择标准/政策来源') + } + }, + handleSelectConfirm(){ + if(this.handleSelectTableList.length < 1){ + this.$message.warning('请至少选择一条数据进行添加') + }else{ + this.standList.forEach(item =>{ + if(item.ssrq === "-"){ + item.ssrq = '' + } + if(item.zrbm === '[]'){ + item.zrbm ='' + } + }) + this.handleSelectTableList.map(item => { + let addIndex + addIndex = this.dataList.findIndex(items =>{ + return items.id === item.id + }) + if(addIndex > -1){ + this.$message.warning('请勿重复添加数据') + }else{ + this.dataList.push(item) + } + }) + this.dataList.forEach(item => { + this.$set(item, 'involve', 'involve') + this.$set(item, 'remarks', '') + }) + this.standModel = false + } + }, + dataSourceChange() { + this.handleSelectForm.page = 1 + this.lawInfoTableLoading = true + this.handleSelectForm.standType = this.handleSelectForm.dataSource + this.searchLawBtn() + }, + //根据标准编号的查询 + lawNumberSearch() { + this.handleSelectForm.standNumber = this.handleSelectForm.lawNumber + this.handleSelectForm.lawsNumber = this.handleSelectForm.lawNumber + this.handleSelectForm.standCode = this.handleSelectForm.lawNumber + }, + handleSelectPageChange(page){ + this.lawInfoTableLoading = true + this.handleSelectForm.page = page + this.searchLawBtn() + }, + handleSelectPageSizeChange(pageSize){ + this.lawInfoTableLoading = true + this.handleSelectForm.pageSize = pageSize + this.searchLawBtn() }, }, computed: { diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index 9ff4aa477..a5e03bd72 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -879,7 +879,7 @@ export default { prcType: row.prcType } }) - } else if(row.taskInfo === '标准法规部经理审批'){ + } else if(row.taskInfo === '确认人确认'){ this.$router.push({ name: 'xmqdqrStep3', query: { @@ -890,6 +890,17 @@ export default { prcType: row.prcType } }) + }else if(row.taskInfo === '产品工程经理汇总清单'){ + this.$router.push({ + name: 'xmqdqrStep4', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) } break case 'laws2': From b114d8a43a97e2fea7ab6bcfd8f31ac797f09619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 2 Dec 2021 19:27:48 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E6=94=B9=E5=8F=98=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 2cc363571..30298c95b 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -150,7 +150,7 @@ :loading="delLoading" size="mini" @click="deleteStand(2)" - v-btn-permission="'c09dc12531085e30e39bbdc6cb6116ba'">批量删除 + v-btn-permission="'dbaf9df2990a595c8abea28e68b1a681'">批量删除 Date: Thu, 2 Dec 2021 19:46:57 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BB=A3=E5=8A=9E?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=AD=97=E6=95=B0=E8=B6=85=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home2/components/todoList/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index 644525388..7626d2b83 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -10,7 +10,8 @@
  • - {{ item.prcName }} + {{ item.prcName }} + {{ item.prcName.substring(0,25)+'...' }}
From 76e635e1f21957a462f0f566d8d25e4a24e7e37a Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 2 Dec 2021 20:00:58 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E6=8A=A5=E6=89=B9=E7=A8=BF=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherStandardDetails/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 51d8dc21e..a9277a744 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3637,9 +3637,10 @@ export default { & > .files-title { width: calc(~'100% - 120px'); - min-height: 50px; - line-height: 50px; - font-size: 16px; + //报批稿撑开 + //min-height: 50px; + //line-height: 50px; + //font-size: 16px; color: #409EFF; & > a { @@ -3669,7 +3670,8 @@ export default { .decomposition-btn { position: absolute; - top: 10px; + //报批稿撑开 + //top: 10px; right: 0; padding: 0 10px; height: 30px; From d473f34df89f82251d652220d28779d1492e804e Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 2 Dec 2021 20:12:33 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8F=B7=E3=80=81=E6=96=87=E6=9C=AC=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E9=A2=9C=E8=89=B2=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherStandardDetails/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index a9277a744..913ed518e 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -46,7 +46,7 @@
-

+

{{ sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear @@ -106,7 +106,7 @@ - {{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }} + {{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}

{{ sarStandardsInfoEO.issueTime || '-' From e0a8bc57b253ef01d9c264571028ac7b384563b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 2 Dec 2021 20:17:07 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/xmqdqr/step3.vue | 1 + .../pages/creatProcess/xmqdqr/step4.vue | 24 ++++------------- .../pages/creatProcess/xmqdqr/step5.vue | 26 ------------------- 3 files changed, 6 insertions(+), 45 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue index 2180eccc0..764893fb9 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue @@ -1006,6 +1006,7 @@ export default { this.$message.warning('请填写不涉及的备注信息') }else{ this.isSubmit = true; + this.qdform.currentPerson = this.$store.getters.userInfo.userName; this.qdform.commentText = this.commentText; this.qdform.dataList = this.dataList const json = JSON.stringify(this.qdform); diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue index 59f3abd9b..4f15bd8ec 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue @@ -143,28 +143,12 @@ width="160px" align="center" label="标准是否涉及"> - - @@ -904,7 +888,6 @@ export default { }, //动态表单读取 getFormFieldList(item) { - console.log(item); this.$nextTick(() => { if(item.form === undefined){ this.qdform = JSON.parse(JSON.stringify(item)); @@ -913,8 +896,11 @@ export default { this.qdform["id"] = item.id; this.dataList = item.dataList this.dataList.forEach(item => { - this.$set(item, 'involve', 'involve') - this.$set(item, 'remarks', '') + if(item.involve === 'involve'){ + item.involve = '涉及' + }else if(item.involve === 'noInvolve'){ + item.involve = '不涉及' + } }) // this.projectId = item.projectId; // //获取清单id 查询对应清单下的标准 diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue index 85f9184d6..ca2543c73 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue @@ -132,32 +132,6 @@ width="180px" > - - - - - - - -

From 09b2e9572fdbe8145bb62b6dd9d67e64535c3f82 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 2 Dec 2021 20:32:18 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E6=B5=B7=E5=A4=96=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=9A=84=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherStandardDetails/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 913ed518e..9e7527983 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3606,7 +3606,7 @@ export default { .modular-content-p-name { display: inline-block; - width: 220px; + width: 213px; height: 43px; line-height: 43px; font-size: 16px; @@ -3620,10 +3620,10 @@ export default { .modular-content-p-val { display: inline-block; width: calc(~'100% - 225px'); - min-height: 50px; - line-height: 50px; - font-size: 16px; - color: #999999; + //min-height: 50px; + //line-height: 50px; + //font-size: 16px; + //color: #999999; word-break: break-all; //overflow: hidden; //white-space: nowrap; From db5ccdca741414cc3afb67b04a662b5f3563fcb5 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 2 Dec 2021 20:38:28 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=BD=93=E5=AE=9E=E6=96=BD=E6=97=A5=E6=9C=9F=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=B8=A6=E5=85=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/bzrk/step1.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index f0847398f..b54c9cb35 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -1874,9 +1874,9 @@ this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : '' console.log(this.form) - this.form.ssrq = this.$moment(this.form.ssrq).format("YYYY-MM-DD") - this.form.zccssrq = this.$moment(this.form.zccssrq).format("YYYY-MM-DD") - this.form.xcxssrq = this.$moment(this.form.xcxssrq).format("YYYY-MM-DD") + this.form.ssrq = this.form.ssrq?this.$moment(this.form.ssrq).format("YYYY-MM-DD"):null + this.form.zccssrq = this.form.zccssrq?this.$moment(this.form.zccssrq).format("YYYY-MM-DD"):null + this.form.xcxssrq = this.form.xcxssrq?this.$moment(this.form.xcxssrq).format("YYYY-MM-DD"):null this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = bringData.id