From be7182c2c8d35eff5e0dde8aac174483fae48ade Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Thu, 11 Aug 2022 14:37:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E2=80=8556833=20=E3=80=90WELINK=E3=80=91=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=B5=81=E7=A8=8B-=E6=89=B9=E5=87=86?= =?UTF-8?q?=E8=8A=82=E7=82=B9=20=E5=8F=8A=20PC=20=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzrk/step1.vue | 8 ++- .../pages/creatProcess/bzrk/step2.vue | 64 ++++++++++++------- .../pages/creatProcess/bzrk/step3.vue | 64 ++++++++++++------- .../pages/creatProcess/bzrk/step4.vue | 2 +- .../pages/creatProcess/bzrk/step5.vue | 64 ++++++++++++------- .../processCenter/pages/phone/bzrk/step2.vue | 17 ++++- 6 files changed, 142 insertions(+), 77 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index d8774ab0a..56270d679 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -50,7 +50,13 @@ - + - + @@ -824,6 +824,7 @@ @checkedRole="checkedRole" :nodeList="nodeList" > + 加载数据 @@ -840,6 +841,7 @@ export default { name: "bzrkStep2", data() { return { + ccc:false, xgdFileMap: [], fbgbjbdFileMap: [], fbgywbdFileMap: [], @@ -1162,6 +1164,7 @@ export default { return list; }, getData() { + this.ccc = true return new Promise((resolve, reject) => { inboundLiaisonDetail({ taskIds: this.taskIds, @@ -1376,35 +1379,48 @@ export default { } }) }, + getDicTypeListCode(res,json) { + return new Promise((resolve, reject) => { + this.$http.get('sys/dictype/getDicTypeListCode', '', { + _this: this + }, res => { + const history = res; + resolve(history) + }) + }) + }, + async getDataAsync(){ + let res = await this.getDicTypeListCode() + if(res && res.data){ + this.countryOptions = res.data.COUNTRY//国家地区 + this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 + this.standNatureOptions = res.data.SARPROPERTY // 标准性质 + this.standStateOptions = res.data.WBZTCLASS // 文本状态 + this.standSystemOptions = res.data.BZTXCLASS // 标准体系 + this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 + this.categoryOptions = res.data.NYLXCLASS // 能源类型 + this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 + this.cysdOptions = res.data.WSCYSD // 我司参与深度 + this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 + this.wssmrOptions = res.data.WSSMR // 我司署名人 + this.qcdwOptions = res.data.QCDW // 起草单位 + this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 + this.txlbOptions = res.data.TXLBCLASS // 体系类别 + this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 + this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 + this.key++ + this.ccc = false + } + }, }, created() { }, mounted() { this.getData() + this.getDataAsync() this.processTable() - this.$http.get('sys/dictype/getDicTypeListCode', '', { - _this: this - }, res => { - this.countryOptions = res.data.COUNTRY//国家地区 - this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 - this.standNatureOptions = res.data.SARPROPERTY // 标准性质 - this.standStateOptions = res.data.WBZTCLASS // 文本状态 - this.standSystemOptions = res.data.BZTXCLASS // 标准体系 - this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 - this.categoryOptions = res.data.NYLXCLASS // 能源类型 - this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 - this.cysdOptions = res.data.WSCYSD // 我司参与深度 - this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 - this.wssmrOptions = res.data.WSSMR // 我司署名人 - this.qcdwOptions = res.data.QCDW // 起草单位 - this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 - this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 - this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 - this.txlbOptions = res.data.TXLBCLASS // 体系类别 - this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 - this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 - this.key++ - }) this.busVsFunc() this.modelFunc() } diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 88ac0a167..73794d654 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -108,7 +108,7 @@ - + @@ -808,6 +808,7 @@ @checkedRole="checkedRole" :nodeList="nodeList" > + 加载数据 @@ -825,6 +826,7 @@ export default { name: "bzrkStep3", data () { return { + ccc: false, submitType: '', xgdFileMap: [], fbgbjbdFileMap: [], @@ -1123,6 +1125,7 @@ export default { return list; }, getData() { + this.ccc = true return new Promise((resolve, reject) => { inboundLiaisonDetail({ taskIds: this.taskIds, @@ -1301,36 +1304,49 @@ export default { } }) }, + getDicTypeListCode(res,json) { + return new Promise((resolve, reject) => { + this.$http.get('sys/dictype/getDicTypeListCode', '', { + _this: this + }, res => { + const history = res; + resolve(history) + }) + }) + }, + async getDataAsync(){ + let res = await this.getDicTypeListCode() + if(res && res.data){ + this.countryOptions=res.data.COUNTRY//国家地区 + this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 + this.standNatureOptions = res.data.SARPROPERTY // 标准性质 + this.standStateOptions = res.data.WBZTCLASS // 文本状态 + this.standSystemOptions = res.data.BZTXCLASS // 标准体系 + this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 + this.categoryOptions = res.data.NYLXCLASS // 能源类型 + this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 + this.cysdOptions = res.data.WSCYSD // 我司参与深度 + this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 + this.wssmrOptions = res.data.WSSMR // 我司署名人 + this.qcdwOptions = res.data.QCDW // 起草单位 + this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 + this.txlbOptions = res.data.TXLBCLASS // 体系类别 + this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 + this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 + this.key++ + this.ccc = false + } + }, }, created(){ this.getData() }, mounted () { this.getData() + this.getDataAsync() this.processTable() - this.$http.get('sys/dictype/getDicTypeListCode', '', { - _this: this - }, res => { - this.countryOptions=res.data.COUNTRY//国家地区 - this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 - this.standNatureOptions = res.data.SARPROPERTY // 标准性质 - this.standStateOptions = res.data.WBZTCLASS // 文本状态 - this.standSystemOptions = res.data.BZTXCLASS // 标准体系 - this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 - this.categoryOptions = res.data.NYLXCLASS // 能源类型 - this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 - this.cysdOptions = res.data.WSCYSD // 我司参与深度 - this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 - this.wssmrOptions = res.data.WSSMR // 我司署名人 - this.qcdwOptions = res.data.QCDW // 起草单位 - this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 - this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 - this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 - this.txlbOptions = res.data.TXLBCLASS // 体系类别 - this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 - this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 - this.key++ - }) this.busVsFunc() this.modelFunc() }, diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index 02192eb2c..7bd29021a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -62,7 +62,7 @@ - + - + @@ -796,6 +796,7 @@ @checkedRole="checkedRole" :nodeList="nodeList" > + 加载数据 @@ -812,6 +813,7 @@ export default { name: "bzrkStep5", data() { return { + ccc: false, xgdFileMap: [], fbgbjbdFileMap: [], bpgFileMap: [], @@ -1133,6 +1135,7 @@ export default { return list; }, getData() { + this.ccc = true return new Promise((resolve, reject) => { inboundLiaisonDetail({ taskIds: this.taskIds, @@ -1356,35 +1359,48 @@ export default { } }) }, + getDicTypeListCode(res,json) { + return new Promise((resolve, reject) => { + this.$http.get('sys/dictype/getDicTypeListCode', '', { + _this: this + }, res => { + const history = res; + resolve(history) + }) + }) + }, + async getDataAsync(){ + let res = await this.getDicTypeListCode() + if(res && res.data){ + this.countryOptions = res.data.COUNTRY//国家地区 + this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 + this.standNatureOptions = res.data.SARPROPERTY // 标准性质 + this.standStateOptions = res.data.WBZTCLASS // 文本状态 + this.standSystemOptions = res.data.BZTXCLASS // 标准体系 + this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 + this.categoryOptions = res.data.NYLXCLASS // 能源类型 + this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 + this.cysdOptions = res.data.WSCYSD // 我司参与深度 + this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 + this.wssmrOptions = res.data.WSSMR // 我司署名人 + this.qcdwOptions = res.data.QCDW // 起草单位 + this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 + this.txlbOptions = res.data.TXLBCLASS // 体系类别 + this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 + this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 + this.key++ + this.ccc = false + } + }, }, created() { }, mounted() { this.getData() + this.getDataAsync() this.processTable() - this.$http.get('sys/dictype/getDicTypeListCode', '', { - _this: this - }, res => { - this.countryOptions = res.data.COUNTRY//国家地区 - this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 - this.standNatureOptions = res.data.SARPROPERTY // 标准性质 - this.standStateOptions = res.data.WBZTCLASS // 文本状态 - this.standSystemOptions = res.data.BZTXCLASS // 标准体系 - this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 - this.categoryOptions = res.data.NYLXCLASS // 能源类型 - this.applyAuthOptions = res.data.SYRZCLASS // 适用认证 - this.cysdOptions = res.data.WSCYSD // 我司参与深度 - this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名 - this.wssmrOptions = res.data.WSSMR // 我司署名人 - this.qcdwOptions = res.data.QCDW // 起草单位 - this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线 - this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 - this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师 - this.txlbOptions = res.data.TXLBCLASS // 体系类别 - this.gkglbmOptions = res.data.GKGLBM // 归口管理部门 - this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度 - this.key++ - }) this.busVsFunc() this.modelFunc() } diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue index 664d20fab..381705e7b 100644 --- a/src/pages/processCenter/pages/phone/bzrk/step2.vue +++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue @@ -100,7 +100,7 @@ - +
{{form.standSystem}}
- + + 发布稿(译文)
{{ value.name }}
@@ -166,7 +167,8 @@ - -
- + + 发布稿(译文)
{{ value.name }}
@@ -678,6 +680,9 @@ export default { } }) }, + downloadFileNew(attId) { + this.$preview(attId) + }, downloadFile(fileType,attId) { this.$preview(attId) }, @@ -995,6 +1000,12 @@ export default { @import '~@/assets/styles/phone'; .bzrkStep2 { + /deep/ .el-form-item__label{ + width: 112px !important; + } + /deep/ .el-form-item__content{ + margin-left: 112px !important; + } /deep/.el-select .el-input .el-select__caret { font-size: 0; }