From d1c09f376eadfda46c8e45948c0b3d1d412c861a Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Mon, 8 Nov 2021 14:17:14 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/page/listOfCountries.vue | 6 +++--- .../accessStandardsAndRegulations/page/listOther.vue | 6 +++--- .../accessStandardsAndRegulations/page/listProject.vue | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index 94e6144d4..49b0ddd9d 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -292,16 +292,16 @@ export default { }, pageChange(page) { this.sarSarAccessEOSearch.page = page; - // this.searchSarAccess(); + this.searchSarAccess(); }, pageSizeChange(pageSize) { this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent; - // this.searchSarAccess(); + this.searchSarAccess(); }, clearSearch() { this.sarSarAccessEOSearch.countryArea = ""; this.sarSarAccessEOSearch.detailedListName = ""; - // this.searchSarAccess(); + this.searchSarAccess(); }, // 新增相关 openModal(row, optType) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue index 4fe2fbc89..3faec3093 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue @@ -286,16 +286,16 @@ export default { }, pageChange(page) { this.sarSarAccessEOSearch.page = page; - // this.searchSarAccess(); + this.searchSarAccess(); }, pageSizeChange(pageSize) { this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent; - // this.searchSarAccess(); + this.searchSarAccess(); }, clearSearch() { this.sarSarAccessEOSearch.detailedList = '' this.sarSarAccessEOSearch.detailedListName = '' - // this.searchSarAccess(); + this.searchSarAccess(); }, // 新增相关 openModal(row, optType) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue index dd98fb6a7..032525351 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue @@ -304,17 +304,17 @@ export default { }, pageChange(page) { this.sarSarAccessEOSearch.page = page; - // this.searchSarAccess(); + this.searchSarAccess(); }, pageSizeChange(pageSize) { this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent; - // this.searchSarAccess(); + this.searchSarAccess(); }, //清空 clearSearch() { this.sarSarAccessEOSearch.projectName = '' this.sarSarAccessEOSearch.detailedListName = '' - // this.searchSarAccess() + this.searchSarAccess() }, // 新增相关 From 812a1397286f64004ed72c9ba5b2d95b27b0f9e7 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, 8 Nov 2021 14:23:08 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/index.vue | 52 +++++++------------ 1 file changed, 19 insertions(+), 33 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 3181806be..29554bd4f 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -2,19 +2,17 @@ @@ -24,12 +29,14 @@ import Laws from './components/laws' import Stand from './components/stand' import Buss from './components/buss' +/*import Other from './components/other'*/ export default { name: 'index', components: { Laws, Stand, - Buss + Buss, + // Other }, data () { return { From 381c5bc1251b3664330dfcdc66a7e56c32efb56d Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Mon, 8 Nov 2021 17:51:12 +0800 Subject: [PATCH 9/9] feat: There is no way the, --- .../otherBussStandardDetails/index.vue | 72 ++++++++++------- .../details/otherStandardDetails/index.vue | 81 ++++++++++--------- 2 files changed, 84 insertions(+), 69 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index cd8235e34..548e41d5b 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -39,37 +39,39 @@

{{ sarStandardsInfoEO.standCode }}

{{ sarStandardsInfoEO.standName || '-' }}

@@ -1168,6 +1170,7 @@ export default { methods: { child1Func(child1){ const list = [] + console.log(child1) if(child1 && child1.length > 1){ list.push(child1[0]) return list @@ -2130,6 +2133,7 @@ export default { const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values // const relatedPlansRes = await this.queryRelatedPlans() // const relatedPlans = relatedPlansRes.list + console.log(formFieldList) formFieldList.forEach((field) => { displayLocation.forEach((location) => { location.isShowImp = '0' @@ -2157,12 +2161,14 @@ export default { // } } } - if (location.label === '文本信息') { + if (location.label === '过程稿件') { location.isShowImp = '0' } }) }) + console.log(displayLocation) + for (let i = 0; i < displayLocation.length; i++) { // sss if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){ @@ -2176,13 +2182,16 @@ export default { displayLocation.forEach(location => { // 动态属性字段-FBGBJBD 单独添加至基础信息 const list = displayLocation.filter ( item => item.label === '过程稿件'); + console.log(list) if(location.label === '基础信息' && list && list.length > 0){ if (!list[0].child) { location['child1'] = [] }else { - console.log(list) const childList = list[0].child.filter ( item => item.attrField === 'FBGBUSS'); + console.log(childList) + console.log(childList.length) location['child1'] = childList + console.log(location['child1']) } } @@ -2196,6 +2205,7 @@ export default { }) console.log(fieldOthers) location.child = [...fieldOthers, ...fieldsIsTextAreaOrFile].sort(this.compare('orderNum')) + console.log(location) }) console.log(displayLocation) this.dynamicFormField = displayLocation diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 44ca508f3..8496f0c9c 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -57,37 +57,39 @@

{{ @@ -3112,18 +3114,10 @@ }) }) - for (let i = 0; i < displayLocation.length; i++) { - // sss - if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){ - const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== ''); - if(childList.length === 0){ - displayLocation.splice(i,1) - } - } - } displayLocation.forEach(location => { // 动态属性字段-FBGBJBD 单独添加至基础信息 const list = displayLocation.filter ( item => item.label === '过程稿件'); + console.log() if(location.label === '基础信息' && list && list.length > 0){ if (!list[0].child) { location['child1'] = [] @@ -3167,6 +3161,17 @@ location.half = half location.showAll = false }) + + for (let i = 0; i < displayLocation.length; i++) { + // sss + if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){ + const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== ''); + if(childList.length === 0){ + displayLocation.splice(i,1) + } + } + } + this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', { id: this.$route.params.id }, {