diff --git a/src/pages/localTool/standardWarning.vue b/src/pages/localTool/standardWarning.vue index 67ccce142..958c1cd4b 100644 --- a/src/pages/localTool/standardWarning.vue +++ b/src/pages/localTool/standardWarning.vue @@ -46,6 +46,7 @@ {{ scope.row.itemsName }} - + + + @@ -233,6 +256,8 @@ export default { name: "standardWarning", data() { return { + detailTextDialog: false, + detailText: '', selectedList: [], exportName: '', exportModelFlag: false, @@ -649,7 +674,12 @@ export default { // this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate() // this.field = field }, - ...mapMutations(["setDetailMap"]) + ...mapMutations(["setDetailMap"]), + + openDialog(text) { + this.detailText = text + this.detailTextDialog = true + } }, props: { reload: { @@ -1045,5 +1075,11 @@ export default { margin: 24px 0; } } + .textDialog { + /deep/ .el-dialog__body { + height: 400px; + overflow-y: auto; + } + } } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue index 930e18aa2..70855c5e0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue @@ -132,21 +132,6 @@ show-overflow-tooltip align="center"> - - - - + + + + - +

流程发起人

@@ -221,15 +221,15 @@
- + -

标准法规部部长

+

标准法规部高级经理

@@ -241,6 +241,7 @@ - +
+
+
无内容
+
+ { @@ -663,7 +669,7 @@ } this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { standHisId: this.form.oldNumber, - leftOrRight: 'RIGHT' + leftOrRight: 'LEFT' }, { _this: this }, res => { @@ -685,6 +691,10 @@ newItemId: id2, flag: 1 } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { _this: this }, res => { @@ -700,6 +710,7 @@ }) }, itemEdit (row, type, index) { + this.itermsConditions = row.itermsConditions let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -713,6 +724,8 @@ this.PLmodalTitle = '编辑' if (res.data.leftString === '' && res.data.rightString === '') { this.BDtext = true + } else if (!row.itemsId || !row.itemsId2) { + this.BDtext = true } else { this.BDtext = false this.leftData = res.data.leftString @@ -786,12 +799,12 @@ this.$http.get('lawss/sarStandCompareHis/page', { page: 1, pageSize: 9999, - newNumOrName: this.form.itemsNum + newNumOrName: this.form.itemsNum, + newFileType: this.form.fileType, }, { _this: this }, res => { this.standInfoList3 = res.data.list - console.log(res); }, e => { }) }, @@ -988,7 +1001,7 @@ if (type === 0) { this.nodeList = [] this.nodeList.push(row) - this.drawerTitle = '选择标准法规部部长' + this.drawerTitle = '选择标准法规部高级经理' this.modalshowflag = true } else { this.drawerTitle = '选择责任人' diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue index 7391b50e6..e40c868cf 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue @@ -164,22 +164,6 @@ 查看条款内容
- - - - + + + + - - - - + + + + - +

流程发起人

@@ -228,15 +228,15 @@
- + -

标准法规部部长

+

标准法规部高级经理

@@ -421,6 +421,10 @@ +
+
+
无内容
+
{ @@ -677,7 +682,7 @@ export default { } this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { standHisId: this.form.oldNumber, - leftOrRight: 'RIGHT' + leftOrRight: 'LEFT' }, { _this: this }, res => { @@ -699,6 +704,10 @@ export default { newItemId: id2, flag: 1 } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { _this: this }, res => { @@ -714,6 +723,7 @@ export default { }) }, itemEdit (row, type, index) { + this.itermsConditions = row.itermsConditions let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -727,6 +737,8 @@ export default { this.PLmodalTitle = '编辑' if (res.data.leftString === '' && res.data.rightString === '') { this.BDtext = true + } else if (!row.itemsId || !row.itemsId2) { + this.BDtext = true } else { this.BDtext = false this.leftData = res.data.leftString @@ -800,7 +812,8 @@ export default { this.$http.get('lawss/sarStandCompareHis/page', { page: 1, pageSize: 9999, - newNumOrName: this.form.itemsNum + newNumOrName: this.form.itemsNum, + newFileType: this.form.fileType, }, { _this: this }, res => { @@ -993,7 +1006,7 @@ export default { if (type === 0) { this.nodeList = [] this.nodeList.push(row) - this.drawerTitle = '选择标准法规部部长' + this.drawerTitle = '选择标准法规部高级经理' this.modalshowflag = true } else { this.drawerTitle = '选择责任人' diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue index a7ed154ae..a82367009 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue @@ -3,7 +3,7 @@ - +
基础信息
@@ -114,21 +114,6 @@ show-overflow-tooltip align="center"> - - - - + + + + - +
基础信息
@@ -66,7 +66,7 @@
- 批量编辑 +
- - - - + + + + + size="1200px">
-
+
无相似文本
比对条款: {{ editForm.itemsNum }}
@@ -367,6 +367,10 @@
+
+
+
无内容
+
{ - for (let a = 0; a < this.itemList.length; a++) { - for (let b = 0; b < res.data.length; b++) { - if (this.itemList[a].itemsNum === res.data[b].itemsNum) { - this.itemList[a].itemsId = res.data[b].itemsId - } - } - } - }, e => { - }) this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { standHisId: this.oldNumber, leftOrRight: 'RIGHT' @@ -572,10 +562,26 @@ for (let a = 0; a < this.itemList.length; a++) { for (let b = 0; b < res.data.length; b++) { if (this.itemList[a].itemsNum === res.data[b].itemsNum) { - this.itemList[a].itemsId2 = res.data[b].itemsId + this.itemList[a].itemsId = res.data[b].itemsId + this.itemList[a].targetStand = res.data[b].targetStand } } } + this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { + standHisId: this.oldNumber, + leftOrRight: 'LEFT' + }, { + _this: this + }, res => { + for (let a = 0; a < this.itemList.length; a++) { + for (let b = 0; b < res.data.length; b++) { + if (this.itemList[a].targetStand === res.data[b].itemsDisplayNum) { + this.itemList[a].itemsId2 = res.data[b].itemsId + } + } + } + }, e => { + }) }, e => { }) }, @@ -585,6 +591,10 @@ newItemId: id2, flag: 1 } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { _this: this }, res => { @@ -600,6 +610,7 @@ }) }, itemEdit (row) { + this.itermsConditions = row.itermsConditions let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -610,6 +621,8 @@ }, res => { if (res.data.leftString === '' && res.data.rightString === '') { this.BDtext = true + } else if (!row.itemsId || !row.itemsId2) { + this.BDtext = true } else { this.BDtext = false this.leftData = res.data.leftString @@ -899,6 +912,7 @@ }) this.getBDList() this.itemList = itemList + console.log(itemList); this.loading = false }).catch(e => { }) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue index 6e2e6cfcb..4db3dde4d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue @@ -3,7 +3,7 @@ - +
基础信息
@@ -108,22 +108,6 @@ show-overflow-tooltip align="center"> - - - - + + + + { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue index aff836e6c..701e5c74d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue @@ -3,7 +3,7 @@ - +
基础信息
@@ -108,22 +108,6 @@ show-overflow-tooltip align="center"> - - - - + + + + { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue index 32854297b..670443c4e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue @@ -3,7 +3,7 @@ - +
基础信息
@@ -108,22 +108,6 @@ show-overflow-tooltip align="center"> - - - - + + + + { diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index e84a2c034..51142db10 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -449,13 +449,13 @@ }, saveUserInfo2 () { for( let a = 0; a < this.data.length; a++) { - if (a === this.itemId) { - this.data[a].chapterNumber = this.editForm.chapterNumber - this.data[a].chapterName = this.editForm.chapterName - this.data[a].oldText = this.editForm.oldText - this.data[a].newText = this.editForm.newText - this.data[a].reason = this.editForm.reason - this.data[a].cause = this.editForm.cause + if (this.data[a].id === this.itemId) { + // this.data[a].chapterNumber = this.editForm.chapterNumber + // this.data[a].chapterName = this.editForm.chapterName + // this.data[a].oldText = this.editForm.oldText + // this.data[a].newText = this.editForm.newText + // this.data[a].reason = this.editForm.reason + // this.data[a].cause = this.editForm.cause this.$set(this.data, a, this.editForm); } } @@ -465,7 +465,7 @@ this.modalshowflag2 = false }, itemEdit (row, index) { - this.itemId = index + this.itemId = row.id this.modalshowflag2 = true this.editForm = { chapterNumber: row.chapterNumber, @@ -597,7 +597,6 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg); - console.log(data); this.commentText5 = data.commentText5 || '' this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] ) this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] ) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue index db4ee6551..97723e319 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue @@ -105,7 +105,7 @@
{ let data = JSON.parse(res.mesg); - console.log(data); this.commentText6 = data.commentText6 || '' this.form.fjList = data.fjList || data.form.fjList this.form.cid = data.cid || data.form.cid; @@ -544,6 +546,7 @@ } }) this.json = data + this.data2 = newArr this.data = arr }).catch(e => { }); diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue index 544bed354..e30146ceb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue @@ -97,7 +97,7 @@
{ }) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue index 90dbad5a6..c87546e05 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue @@ -97,7 +97,7 @@
{ }) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue index 61c52caf5..a851a20d5 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue @@ -97,7 +97,7 @@
{ }); }); diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue index 6a113aacd..962c71c46 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue @@ -64,13 +64,6 @@ placeholder="请选择初稿完成时间"> - - - + + + - - - + + + + + + + + + @@ -75,19 +88,6 @@ placeholder="请选择计划标准发布时间"> - - - - - - - - - - - - @@ -230,6 +247,8 @@ textType: '', modelList: [], modelNameList: '', + user7: '', + user7Name: '', }, formRules: { responUserList: [ @@ -246,6 +265,29 @@ ProcessTitle }, methods: { + checkedRole2(data) { + var idList = ""; + var nameList = ""; + if (data.length) { + data.forEach(item => { + if (nameList.length > 0) { + nameList += ","; + idList += ","; + } + idList += item.id; + nameList += item.name; + }); + } + this.form.user7 = idList; + this.form.user7Name = nameList; + }, + choiceZRR() { + this.nodeList = []; + if (this.form.user7.length > 0) { + this.nodeList = this.form.user7.split(","); + } + this.modalshowflag = true; + }, dialogOk () { this.itermsConditionsFlag = false }, @@ -362,20 +404,22 @@ }, handleSubmit() { this.isSubmit = true; - var json = this.json; - json.hqFlag = '0'; - json.commentText = this.commentText; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success("提交成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); + var json = this.json; + json.hqFlag = '0'; + json.user7 = this.form.user7; + json.user7Name = this.form.user7Name; + json.commentText = this.commentText; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.userId + }, {}, res => { + if (res.success) { + this.$message.success("提交成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }); }, handleSubmitNo() { if (this.commentText) { diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 3c4728fe2..bc1457fca 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -1545,6 +1545,15 @@ + + + + + @@ -2331,6 +2340,7 @@ export default { , TXLB: '',//体系类别 DYBXH: '',// 模块结构单元变形号 DYMC: '',//模块结构单元名称 + BARQ: '' //备案日期 }, // 树形结构 // tree function @@ -4345,6 +4355,13 @@ export default { type: 'between', value: value.join(',') }); + }else if (value !== null && value !== '' && (key === 'BARQ')){ + advanceSearchVOList.push({ + connect: "and", + field: key || '', + type: 'equals', + value: value + }); }else if (value !== null && value !== ''){ advanceSearchVOList.push({ connect: "and", diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index b0c5d5ea0..9234a5547 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -1067,6 +1067,17 @@ value-format="yyyy-MM-dd" clearable> + + + + + + @@ -2005,6 +2016,8 @@ export default { // 基础信息 FZRQBUSS:'', FSRQBUSS:'', + + BARQ: '', // 文本信息 FBGBUSS:'', BZSMBUSS:'', @@ -3926,6 +3939,14 @@ export default { }); } }) + if (formData.BARQ !== null){ + advanceSearchVOList.push({ + connect: "and", + field: 'BARQ', + type: 'equals', + value: formData.BARQ + }); + } } formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); this.SarExportSearchEo = formData; @@ -3935,6 +3956,7 @@ export default { formData.endPutTime = formData.putTime ? formData.putTime[1] : null; formData.FSRQBUSS = null; formData.FZRQBUSS = null; + formData.BARQ = null formData.putTime = null; formData.issueTime = null; } diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index ec974d0bd..54e646167 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -514,6 +514,16 @@ + + + + + + @@ -1885,6 +1895,7 @@ export default { TXLB: '',//体系类别 DYMC: '', //模块结构单元名称 DYBXH: '',// 模块结构单元变形号 + BARQ: '', // 备案日期 }, // 分页查询过程中用到的对象 @@ -3831,6 +3842,13 @@ export default { type: 'between', value: value.join(',') }); + }else if (value !== null && value !== '' && (key === 'BARQ')){ + advanceSearchVOList.push({ + connect: "and", + field: key || '', + type: 'equals', + value: value + }); } else if (value !== null && value !== '') { advanceSearchVOList.push({ connect: "and",