diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue index 23220c317..0f2559fc7 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue @@ -155,11 +155,6 @@ :no-data-text="listNoDataText" :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}" > - - - - { - if (res.data === null) { - this.dataList = []; - } - this.dataList = res.data.records; - this.dataList.forEach(item => { - if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){ - item.xcxssrqgj = '' - }else{ - this.$set(item, "XCXSSRQ", item.xcxssrqgj) - } - if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){ - item.zccssrqgj = '' - }else{ - this.$set(item, "ZCCSSRQ", item.zccssrqgj) - } - }) - this.listForm.dataList = this.dataList; - let formId = []; - this.dataList.map(item => { - formId.push(item.id); + //如果是国家地区清单传入types字段对日期进行区分 + if(this.listType === 'country'){ + this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", + { id: this.selectedList[0].id, types: '1', page: this.page, Size: this.pageSize }, { + _this: this + }, res => { + if (res.data === null) { + this.dataList = []; + } + this.dataList = res.data.records; + this.dataList.forEach(item => { + if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){ + item.xcxssrqgj = '' + }else{ + this.$set(item, "XCXSSRQ", item.xcxssrqgj) + } + if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){ + item.zccssrqgj = '' + }else{ + this.$set(item, "ZCCSSRQ", item.zccssrqgj) + } + }) + this.listForm.dataList = this.dataList; + let formId = []; + this.dataList.map(item => { + formId.push(item.id); + }); + this.listForm.inforlist = formId.join(","); + }, e => { }); - this.listForm.inforlist = formId.join(","); - }, e => { - }); + }else{ + this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", + { id: this.selectedList[0].id, page: this.page, Size: this.pageSize }, { + _this: this + }, res => { + if (res.data === null) { + this.dataList = []; + } + this.dataList = res.data.records; + this.dataList.forEach(item => { + if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){ + item.xcxssrqgj = '' + }else{ + this.$set(item, "XCXSSRQ", item.xcxssrqgj) + } + if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){ + item.zccssrqgj = '' + }else{ + this.$set(item, "ZCCSSRQ", item.zccssrqgj) + } + }) + this.listForm.dataList = this.dataList; + let formId = []; + this.dataList.map(item => { + formId.push(item.id); + }); + this.listForm.inforlist = formId.join(","); + }, e => { + }); + } this.$refs.detailedSelection.clearSelection() } else { this.$message.warning("请选择一条数据进行带入"); diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue index 3462d36d7..0f5cf113e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue @@ -40,7 +40,7 @@

{{ item.name }} + :key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }} - - { }); }, + clickButtonToUpload2(file) { + const attId = file + this.$preview(attId) + }, /** * @Description: 点击下载 */ diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue index 04670faab..6e7bdb10f 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue @@ -170,11 +170,6 @@ :no-data-text="listNoDataText" :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}" > - -

{{ item.name }} + :key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }} - - { }); }, + //点击预览 + clickButtonToUpload2(file) { + const attId = file + this.$preview(attId) + }, /** * @Description: 点击下载 */ diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue index 2e07df7b1..971972a09 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue @@ -44,7 +44,6 @@

-
基础信息
基础信息
审批历史
diff --git a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue index a29b3fab2..c3d7e0ab6 100644 --- a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue +++ b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue @@ -40,7 +40,8 @@

{{ item.name }} + :key="item.id" @click="clickButtonToUpload2(item.id)"> + {{ item.name }} { }); }, + //点击预览 + clickButtonToUpload2(file) { + const attId = file + this.$preview(attId) + }, /** * @Description: 点击下载 */ diff --git a/src/pages/processCenter/pages/phone/qbfz/step2.vue b/src/pages/processCenter/pages/phone/qbfz/step2.vue index 83d748c9e..c312c5bae 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step2.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step2.vue @@ -110,65 +110,7 @@

- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- - - - - - - - - - - - - - - - - - +
- + - + @@ -503,31 +503,30 @@