From 818c3f4d5a7b71134eca837cf4f9cecf13f757e1 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 24 Aug 2021 13:40:42 +0800 Subject: [PATCH 1/2] feat: There is no way the --- .../components/EnterpriseStandardDatabase.vue | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 2d783eefe..d2758415a 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -1066,7 +1066,7 @@ class="common-button-primary" icon="el-icon-check" type="primary" - @click="getDomesticStandardTableBtn(sarBussionessSearch)">搜索 + @click="getBussionStandTableBtn(sarBussionessSearch,'','sel')">搜索 { + const value = this.sarBussionessSearch[item.attrField] + // 时间格式处理 + if (value !== undefined && value !== null && value !== '') { + advanceSearchVOList.push({ + connect: advanceSearchVOList.length > 0 ? "and" : "", + field: item.attrField || '', + type: 'like', + value: value + }) + } + }) + } + this.sarBussionessSearch.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); + } this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', !item ? this.sarBussionessSearch : item, { _this: this, loading: 'loading' }, res => { @@ -3409,6 +3428,7 @@ export default { if ((this.standinfoList.length === 0 || this.standinfoList === []) && this.sarBussionessSearch.page !== 1) { this.pageChange(1) } + this.isAdvancedSearch = false }, e => { }) // this.$refs.selection.selectAll(false) @@ -3685,22 +3705,7 @@ export default { const attrSearchMap = { applyArctic: formData.applyArctic } - formData['attrSearchStr'] = JSON.stringify(attrSearchMap) - - const advanceSearchVOList = []; - const formFieldList = this.formFieldList - formFieldList.forEach((item) => { - const value = formData[item.attrField] - // 时间格式处理 - if (value !== null && value !== '') { - advanceSearchVOList.push({ - field: item.attrField || '', - type: 'like', - value: value - }) - } - }) - formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); + formData['attrSearchStr'] = JSON.stringify(attrSearchMap) this.SarExportSearchEo = item || this.sarBussionessSearch this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, { _this: this, loading: 'loading' @@ -3914,10 +3919,10 @@ export default { // this.classifyCodeOptions = res.data.STANDCLASSIFY }, e => { }) - this.getBussionStandTable(this.tableFlag) - // this.getOrgTreeSource() // 加载动态表单数据 this.getAddFormFieldList() + this.getBussionStandTable(this.tableFlag) + // this.getOrgTreeSource() this.tableHeight = $('.content').height() - 44 - 20 window.onresize = () => { this.tableHeight = $('.content').height() - 44 - 20 From a9b107a81d4190b2d8fa233983e28039680e732f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 24 Aug 2021 14:06:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzjd/step1-6.vue | 432 ++++++++++++++++++ .../pages/processDetail/index.vue | 2 + src/router/index.js | 9 + 3 files changed, 443 insertions(+) create mode 100644 src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue new file mode 100644 index 000000000..3fef3de73 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue @@ -0,0 +1,432 @@ + + + + + diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index f7be9ed8a..2f8411f01 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -219,6 +219,8 @@ export default { }else{ this.toProcessDetail('xmpg2Step1-2',row) } + }else if(prcType === '9'){ + this.toProcessDetail('bzjdStep1-6',row) } } else { this.$message.warning('当前流程未全部办理完成,无法查看') diff --git a/src/router/index.js b/src/router/index.js index c01c0ef07..cb6fc9cd6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -862,6 +862,15 @@ const routes = [ title: '标准解读流程' } }, + { + path: '/bzjdStep1-6', + name: 'bzjdStep1-6', + component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue'), + meta: { + requireAuth: true, + title: '标准解读流程' + } + }, ] }, // 本地工具