From 749377b0c432e6301e5173efdc28b54984365440 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sun, 7 Nov 2021 16:01:30 +0800 Subject: [PATCH 01/14] feat: There is no way the,es --- .../searchCenter/pages/standardSearch.vue | 48 +++++++++++++++---- 1 file changed, 38 insertions(+), 10 deletions(-) diff --git a/src/pages/searchCenter/pages/standardSearch.vue b/src/pages/searchCenter/pages/standardSearch.vue index a3e724097..f892ae472 100644 --- a/src/pages/searchCenter/pages/standardSearch.vue +++ b/src/pages/searchCenter/pages/standardSearch.vue @@ -36,7 +36,7 @@ @@ -739,6 +739,8 @@ * @date: 2018/12/19 11:38:21 */ optChecked (key, value) { + console.log(value) + console.log(this.selectIndex) if (value === 'All') { this.AllCheck = true // 点击全部-显示分页 @@ -775,12 +777,18 @@ index: 0 } } + let originOptions = this.searchOriginOptions + this.searchOptions.NYLXCLASS = originOptions.NYLXCLASS + this.searchOptions.NYLXCLASS.title = '能源类型' + this.searchOptions.NYLXCLASS.index = 1 + // 适用车辆类型 + this.searchOptions.CLLX = originOptions.CLLX + this.searchOptions.CLLX.index = 2 this.searchCondition.selectIndex = ['All'] + this.selectIndex = value this.searchSarByInputKey() + this.$forceUpdate() } else { - this.AllPage = false - this.Allitems = [] - this.AllCheck = false let index = this.searchCondition[key].indexOf(value) // 资源类型为单选且必选 if (key !== 'selectIndex') { @@ -876,6 +884,12 @@ this.searchCondition[key].splice(0, 1, value) } } + this.AllPage = this.selectIndex === 'All' ? true : false + this.Allitems = [] + this.AllCheck = this.selectIndex === 'All' ? true : false + if (this.selectIndex === 'All'){ + this.searchSarByInputKey() + } } }, // 统计搜索条件结果个数 @@ -1257,6 +1271,12 @@ if (filterOptions.module) { filterOptions.module.options = [] } + filterOptions.NYLXCLASS = originOptions.NYLXCLASS + filterOptions.NYLXCLASS.title = '能源类型' + filterOptions.NYLXCLASS.index = 1 + // 适用车辆类型 + filterOptions.CLLX = originOptions.CLLX + filterOptions.CLLX.index = 2 break } this.searchOptions = filterOptions @@ -1287,13 +1307,19 @@ if (this.keywords === undefined) { this.keywords = '' } - const Alllist = { - selectIndex: 'fulltextserch', - selectValue: this.keywords, - page: this.pageAll, - pageSize: this.$store.getters.userInfo.configContent + const AllList = {} + let searchCondition = this.searchCondition + let searchKeys = Object.keys(this.searchOptions) + for (let key in searchCondition) { + if (searchKeys.indexOf(key) !== -1) { + AllList[key] = searchCondition[key].join(',') === 'all' ? '' : searchCondition[key].join(',') + } } - this.$http.post('search/searchCenter/searchSarBykey', Alllist, { + AllList.selectIndex = 'fulltextserch' + AllList.selectValue = this.keywords + AllList.page = this.pageAll + AllList.pageSize = this.$store.getters.userInfo.configContent + this.$http.post('search/searchCenter/searchSarBykey', AllList, { _this: this, loading: 'resultLoading' }, res => { @@ -2562,6 +2588,8 @@ }) }) this.searchCondition['standSort'].splice(0, 1, 'all') + this.searchCondition['NYLXCLASS'].splice(0, 1, 'all') + this.searchCondition['CLLX'].splice(0, 1, 'all') } }, mounted () { From 4b181eafe43fa770537037b7e69ca72946ff9940 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Sun, 7 Nov 2021 16:37:20 +0800 Subject: [PATCH 02/14] commit --- src/pages/localTool/standardWarning.vue | 4 ++-- src/sysConfig/index.js | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/localTool/standardWarning.vue b/src/pages/localTool/standardWarning.vue index 43c1a6c3b..019b2aa1b 100644 --- a/src/pages/localTool/standardWarning.vue +++ b/src/pages/localTool/standardWarning.vue @@ -326,8 +326,8 @@ :pageSize="pageConfig.oldStandPageSize" :total="pageConfig.count4" autoSize - @pageChange="page => handlePageChange('oldItems', page)" - @pageSizeChange="pageSize => handlePageSizeChange('oldItems', pageSize)"> + @pageChange="page => handlePageChange('oldStand', page)" + @pageSizeChange="pageSize => handlePageSizeChange('oldStand', pageSize)"> diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js index 3d38d1c7b..23bedc3ed 100644 --- a/src/sysConfig/index.js +++ b/src/sysConfig/index.js @@ -6,9 +6,10 @@ // 服务器地址 // const devIp = '39.98.140.126' // const devInterfacePORT = '10005' -const devIp = '192.168.10.50' -// const devIp = '62.234.136.153' -const devInterfacePORT = '9999' +// const devIp = '192.168.10.249' +const devIp = '62.234.136.153' +// const devInterfacePORT = '9999' +const devInterfacePORT = '8033' // 配置 idm 认证 const ssoLogin = 'http://sso.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&response_type=code&redirect_uri=' // 配置 前端服务 From 70b1d5c43b524fc697870d70dd958c4e3083a28a Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sun, 7 Nov 2021 16:45:00 +0800 Subject: [PATCH 03/14] feat: There is no way the,Laws --- .../searchCenter/pages/standardSearch.vue | 35 ++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/src/pages/searchCenter/pages/standardSearch.vue b/src/pages/searchCenter/pages/standardSearch.vue index f892ae472..5dd1ca88d 100644 --- a/src/pages/searchCenter/pages/standardSearch.vue +++ b/src/pages/searchCenter/pages/standardSearch.vue @@ -1308,13 +1308,46 @@ this.keywords = '' } const AllList = {} + console.log(this.searchOptions) + console.log(this.searchCondition) let searchCondition = this.searchCondition let searchKeys = Object.keys(this.searchOptions) + console.log(searchCondition) + console.log(searchKeys) for (let key in searchCondition) { if (searchKeys.indexOf(key) !== -1) { - AllList[key] = searchCondition[key].join(',') === 'all' ? '' : searchCondition[key].join(',') + if(key !== 'CLLX' && key !== 'NYLXCLASS'){ + AllList[key] = searchCondition[key].join(',') === 'all' ? '' : searchCondition[key].join(',') + }else { + AllList[key] = searchCondition[key].join(',') === 'all' ? '' : searchCondition[key].join(',') + const list = AllList[key].split(",") + const listSum = [] + list.forEach(item =>{ + if(key === 'CLLX' && this.searchOptions.CLLX && this.searchOptions.CLLX.options){ + const ids = this.searchOptions.CLLX.options + ids.forEach(data =>{ + if(data.value === item){ + listSum.push(data.label) + } + + }) + }else if(key === 'NYLXCLASS' && this.searchOptions.NYLXCLASS && this.searchOptions.NYLXCLASS.options){ + const ids = this.searchOptions.NYLXCLASS.options + ids.forEach(data =>{ + if(data.value === item){ + listSum.push(data.label) + } + + }) + } + }) + AllList[key] = listSum.join(',') + } + } } + if(AllList[""]){ + } AllList.selectIndex = 'fulltextserch' AllList.selectValue = this.keywords AllList.page = this.pageAll From ed63d88addbc94a37b3c7be88f748db4bdd833d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Sun, 7 Nov 2021 16:49:03 +0800 Subject: [PATCH 04/14] commit --- .../pages/creatProcess/xmpg2/step1-1.vue | 5 ++++ .../pages/creatProcess/xmpg2/step1.vue | 5 ++++ .../pages/creatProcess/xmpg2/step3.vue | 6 ++++- .../pages/creatProcess/xmpg2/step5.vue | 2 ++ .../pages/creatProcess/xmqdqr/step2.vue | 25 ++++++++++++++----- 5 files changed, 36 insertions(+), 7 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue index 779a2bd7a..c42bee374 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue @@ -515,6 +515,11 @@ export default { this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId }, { _this: this }, res => { + res.data.records.forEach(item => { + if(item.zrbm === "[]"){ + item.zrbm = '' + } + }) this.listForm.dataList = res.data.records; this.dataList = res.data.records; let ids = []; diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue index b192d5f89..fbf732ac1 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue @@ -525,6 +525,11 @@ export default { this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId }, { _this: this }, res => { + res.data.records.forEach(item => { + if(item.zrbm === "[]"){ + item.zrbm = '' + } + }) this.listForm.dataList = res.data.records; this.dataList = res.data.records; this.listForm.dataList.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step3.vue index 842ceab23..4e770b15a 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step3.vue @@ -337,7 +337,6 @@ export default { }, // 点击查看 handlePreview(item) { - console.log(item); let routeUrl = this.$router.resolve({ name: "OtherStandardDetails", params: { @@ -400,6 +399,11 @@ export default { this.listForm["id"] = item.id; this.listForm.dataList = item.dataList; this.dataList = item.dataList; + this.dataList.forEach(item => { + if(item.zrbm === "[]"){ + item.zrbm = '' + } + }) this.dataList.distributePerson = item.dataList[0].distributePerson; this.listForm.breakdownList = item.breakdownList; } else { diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue index 2b1b5616d..141206bc9 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue @@ -407,6 +407,7 @@ export default { }, //动态表单读取 getFormFieldList(item) { + console.log(item); this.$nextTick(() => { this.listForm = JSON.parse(JSON.stringify(item)); if (item.form === undefined) { @@ -472,6 +473,7 @@ export default { //提交事件 handleSubmit() { this.isSubmit = true; + console.log(this.dataList); this.listForm.commentText = this.commentText; this.listForm.children = this.dataList[0].children this.listForm.dataList = this.dataList diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue index 2ad37bfa7..66fd6aece 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue @@ -382,21 +382,34 @@ + + + + + + + + + + + + + + + + Date: Sun, 7 Nov 2021 17:03:19 +0800 Subject: [PATCH 05/14] commit --- .../pages/creatProcess/xmpg2/step6.vue | 713 ++++++++++-------- 1 file changed, 387 insertions(+), 326 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue index 3fff5346e..376ac71f1 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue @@ -44,7 +44,8 @@
- 批量编辑 + 批量编辑
@@ -121,206 +122,206 @@ {{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format("YYYY-MM-DD") : "" }} - - - - - -

{{ @@ -1360,8 +1369,8 @@ filters: { ellipsis (value) { if (!value) return '' - if (value.length > 25) { - return value.slice(0,25) + '...' + if (value.length > 18) { + return value.slice(0,18) + '...' } return value } @@ -3142,6 +3151,31 @@ @import '~@/assets/styles/mixins'; @import '~@/assets/styles/style'; + /deep/ .decomposition-btn { + position: absolute; + top: 6px; + right: 0; + padding: 0 10px; + height: 30px; + line-height: 30px; + font-size: 14px; + color: #07C160; + border: 1px solid #07C160; + background: rgba(1, 193, 96, 0.1); + + /deep/ .icon-separate { + display: inline-block; + margin-right: 3px; + width: 16px; + height: 16px; + background-repeat: no-repeat; + background-size: 100% 100%; + background-position: center center; + vertical-align: sub; + background-image: url("~assets/images/shangqi/standardDetails/separate.png"); + } + } + /deep/ .el-collapse-item__content { padding-bottom: 0px; font-size: 13px; From 3c35c536e7cd79ce50b1b14ee5515475a1d46f4e Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sun, 7 Nov 2021 21:53:00 +0800 Subject: [PATCH 07/14] feat: There is no way the,Laws --- .../details/otherStandardDetails/index.vue | 82 ++++++++++++++++--- 1 file changed, 69 insertions(+), 13 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 42e4a956c..ce703e2fa 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -57,7 +57,7 @@

{{ @@ -134,7 +137,7 @@

@@ -180,7 +183,7 @@
@@ -362,7 +365,7 @@