From 62e82228aa73349e5bd4a3d60db4233e05bf45a2 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 21 Feb 2022 17:43:41 +0800 Subject: [PATCH] commit --- .../CustomFormComponents/InputForStandards.vue | 5 +++++ .../InputForStandardsForForeign.vue | 7 ++++++- .../domesticStandardsAndRegulations/index.vue | 5 ++--- .../enterpriseStandardPlan/index.vue | 12 ++++++------ .../foreignStandardsAndRegulations/index.vue | 3 +-- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/components/CustomFormComponents/InputForStandards.vue b/src/components/CustomFormComponents/InputForStandards.vue index dd39e4bc6..e8aee574a 100644 --- a/src/components/CustomFormComponents/InputForStandards.vue +++ b/src/components/CustomFormComponents/InputForStandards.vue @@ -264,6 +264,11 @@ export default { _this: this, loading: 'replaceLoading' }, res => { + res.data.list.map(item => { + if (!item.issueTime) { + item.issueTime = '' + } + }) this.replaceLawsNumRow = res.data.list this.replaceTotal = res.data.count if (this.selectedListRep.length !== 0) { diff --git a/src/components/CustomFormComponents/InputForStandardsForForeign.vue b/src/components/CustomFormComponents/InputForStandardsForForeign.vue index 64278485c..9cbdc4d10 100644 --- a/src/components/CustomFormComponents/InputForStandardsForForeign.vue +++ b/src/components/CustomFormComponents/InputForStandardsForForeign.vue @@ -25,7 +25,7 @@ style="position:absolute;top: 10px;right: 0;" @click="selectLaws" v-if="(processModel && !disabled) || !processModel" - >手动查找 + >手动查找123 { + res.data.list.map(item => { + if (!item.issueTime) { + item.issueTime = '' + } + }) this.replaceLawsNumRow = res.data.list this.replaceTotal = res.data.count if (this.selectedListRep.length !== 0) { diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 2687b3efa..6b5e75133 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -472,8 +472,7 @@ - + diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index b6cc16f7f..4f1fec128 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -1145,6 +1145,7 @@ }, addDrawerClose () { this.addDrawer = false + this.LXDList = [] }, addData () { this.addDrawerTitle = '新增' @@ -1285,7 +1286,6 @@ } this.addForm.LXDName = fileName1 this.LXDList=this.assemble(command[0].lxd,fileName1) - console.log(this.LXDList) if (typeof (this.addForm.area) === 'string') { this.addForm.area = command[0].area.split(',') } @@ -1327,7 +1327,6 @@ } this.addForm.LXDName = fileName this.LXDList=this.assemble(command[0].lxd,fileName); - console.log(this.LXDList) if (typeof (this.addForm.area) === 'string') { this.addForm.area = command[0].area.split(',') } @@ -1336,12 +1335,13 @@ }, assemble(ids,names){ let list= new Array(); - let idArray=ids.split(','); let nameArray=names.split(','); - for(let i=0; i --> - +