From d2af044c34b51a83666a3d1fd835cbe478aa4274 Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Fri, 1 Jul 2022 14:35:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20bug?= =?UTF-8?q?=20#56143=20=E4=BC=81=E6=A0=87=E7=9B=B8=E5=85=B3--=20=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E4=BA=BA=E5=91=98=E5=90=8E=E5=B8=A6=E5=85=A5=E7=9A=84?= =?UTF-8?q?=E8=B5=B7=E8=8D=89=E8=B4=A3=E4=BB=BB=E5=8D=95=E4=BD=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=B8=89=E7=BA=A7=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/roleTree/index.vue | 3 ++- .../pages/creatProcess/qbfs/step4.vue | 4 ++-- .../pages/creatProcess/qbfs/stepC4.vue | 12 ++++++------ .../pages/creatProcess/qbrk-product/step1.vue | 6 ++++-- .../pages/creatProcess/qbrk-product/step13.vue | 17 +++++++++++++++++ .../pages/creatProcess/qbrk-product/step3.vue | 6 ++++-- .../pages/creatProcess/qbrk-product/step6.vue | 6 ++++-- .../pages/creatProcess/qbrk-product/stepC3.vue | 6 ++++-- .../pages/creatProcess/qbrk-product/stepC6.vue | 6 ++++-- .../pages/creatProcess/qbrk/step1.vue | 7 ++++--- .../pages/creatProcess/qbrk/step13.vue | 16 ++++++++++++++++ .../pages/creatProcess/qbrk/step3.vue | 4 ++-- .../pages/creatProcess/qbrk/step6.vue | 4 ++-- .../pages/creatProcess/qbrk/stepC1.vue | 12 ++++++++++++ .../pages/creatProcess/qbrk/stepC3.vue | 4 ++-- .../pages/creatProcess/qbrk/stepC6.vue | 4 ++-- .../qbzxdjhgk/component/establish.vue | 8 ++++---- .../pages/creatProcess/qbzxdlx/step1.vue | 4 ++-- .../pages/creatProcess/qbzxdlx/step2.vue | 4 ++-- .../enterpriseStandardPlan/index.vue | 4 ++-- 20 files changed, 97 insertions(+), 40 deletions(-) diff --git a/src/components/roleTree/index.vue b/src/components/roleTree/index.vue index 951b77249..e6a1e0880 100644 --- a/src/components/roleTree/index.vue +++ b/src/components/roleTree/index.vue @@ -308,7 +308,8 @@ } }) this.$http.get('SarInstitution/institution/getNextById', { - ids: ids + ids: ids, + topNum: 3, }, { _this: this }, res => { diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue index 8069a53e0..7778e27b6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue @@ -321,8 +321,8 @@ export default { this.formKey++ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.qbfsForm.QCDWID = institutionIdList this.qbfsForm.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue index 9bad3576c..567354376 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue @@ -316,12 +316,12 @@ export default { this.qbfsForm.QCRBUSS=nameList; this.formKey++ } - if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") - this.qbfsForm.QCDWID = institutionIdList - this.qbfsForm.QCDW = institutionNameList - } + if(data && data.length > 0){ + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") + this.qbfsForm.QCDWID = institutionIdList + this.qbfsForm.QCDW = institutionNameList + } this.modalShowRoleFlag = false }, diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue index 8cdd2205c..ab0ff19ee 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue @@ -1868,11 +1868,13 @@ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } + + this.modalShowRoleFlag = false }, checkedRole (data) { if (this.type === 0) { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue index f57b8db63..0e9745896 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue @@ -1340,7 +1340,24 @@ }else if(this.userType === 'hqUserId'){ this.roleForm.hqUserId=idList; this.roleForm.hqUserName=nameList; + }else if(this.userType === 'QCRBUSS'){ + this.form.QCRBUSSID=idList; + this.form.QCRBUSS=nameList; + this.formKey++ } + + if(data && data.length > 0){ + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") + this.form.QCDWID = institutionIdList + this.form.QCDW = institutionNameList + } + + this.modalShowRoleFlag = false + }, + unique(newArr) { + const res = new Map(); + return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1)); }, checkedRole (data) { if (this.type === 0) { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue index 7a3eb350e..afa08139b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue @@ -1397,11 +1397,13 @@ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } + + this.modalShowRoleFlag = false }, unique(newArr) { const res = new Map(); diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue index 70834da99..6d08b7c77 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue @@ -1485,11 +1485,13 @@ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } + + this.modalShowRoleFlag = false }, unique(newArr) { const res = new Map(); diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue index 5ec58d3af..12889b35d 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue @@ -1398,11 +1398,13 @@ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } + + this.modalShowRoleFlag = false }, unique(newArr) { const res = new Map(); diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue index 882b4b85a..037674c80 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue @@ -1495,11 +1495,13 @@ } if(data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } + + this.modalShowRoleFlag = false }, unique(newArr) { const res = new Map(); diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 531523a04..43a95ddc1 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -1790,9 +1790,10 @@ this.roleForm.bzUserName = nameList } - if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + if(data && data.length > 0){ + console.log(data) + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index b84238721..b3ad5f10f 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -1378,7 +1378,23 @@ }else if(this.userType === 'hqUserId'){ this.roleForm.hqUserId=idList; this.roleForm.hqUserName=nameList; + }else if(this.userType === 'QCRBUSS'){ + this.form.QCRBUSSID=idList; + this.form.QCRBUSS=nameList; + this.formKey++ } + if(data !== undefined && data && data.length > 0){ + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") + this.form.QCDWID = institutionIdList + this.form.QCDW = institutionNameList + } + + this.modalShowRoleFlag = false + }, + unique(newArr) { + const res = new Map(); + return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1)); }, checkedRole (data) { if (this.type === 0) { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue index 7f1b07def..1a3857e00 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue @@ -1433,8 +1433,8 @@ this.formKey++ } if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue index d6f4c86a0..30fa57398 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue @@ -1768,8 +1768,8 @@ this.formKey++ } if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue index a355675ef..f81cc7ba9 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue @@ -1640,6 +1640,18 @@ this.roleForm.bzUserId = idList this.roleForm.bzUserName = nameList } + if(data && data.length > 0){ + console.log(data) + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") + this.form.QCDWID = institutionIdList + this.form.QCDW = institutionNameList + } + this.modalShowRoleFlag = false + }, + unique(newArr) { + const res = new Map(); + return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1)); }, checkedRole (data) { if (this.type === 0) { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue index d0440fca4..d215e44f0 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue @@ -1421,8 +1421,8 @@ this.formKey++ } if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue index e9b7cc330..3bf2284f8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue @@ -1767,8 +1767,8 @@ this.formKey++ } if(data !== undefined && data && data.length > 0){ - const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") - const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") + const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",") + const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",") this.form.QCDWID = institutionIdList this.form.QCDW = institutionNameList } diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue index f33243c47..6f3786354 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue @@ -856,8 +856,8 @@ export default { let idList = "", nameList = "" let unitList = "", unitNameList = "" data.forEach(item => { - unList.push(item.institutionName) - uidList.push(item.institutionId) + unList.push(item.topUnit) + uidList.push(item.topUnitId) if (nameList.length) { nameList += ","; idList += ","; @@ -866,8 +866,8 @@ export default { } idList += item.id; nameList += item.name; - unitList += item.institutionId - unitNameList += item.institutionName + unitList += item.topUnit + unitNameList += item.topUnitId }); let unNameList = [] let unIdList = [] diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1.vue index b807dce55..b8f46ee97 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1.vue @@ -717,8 +717,8 @@ export default { } idList += item.id; nameList += item.name; - unitList += item.institutionId - unitNameList += item.institutionName + unitList += item.topUnitId + unitNameList += item.topUnit }); if(this.roleType === '1'){ this.$set(this.addQblxData, 'drafter', idList) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue index b21ed321d..79b565e5b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue @@ -1254,8 +1254,8 @@ export default { } idList += item.id; nameList += item.name; - unitList += item.institutionId - unitNameList += item.institutionName + unitList += item.topUnitId + unitNameList += item.topUnit }); if(this.roleType === '1'){ this.$set(this.qbfsForm, 'drafter', idList) diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 2a38bff64..9d395de3a 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -1111,8 +1111,8 @@ } idList += item.id nameList += item.name - bmIdList += item.institutionId - bmNameList += item.institutionName + bmIdList += item.topUnitId + bmNameList += item.topUnit }) if (this.type === 'resPerson') { this.addForm.resPerson = idList From ec0dbcc0be0a7fb95a66f0924a058ed202b3f75b Mon Sep 17 00:00:00 2001 From: yuezhihang Date: Fri, 1 Jul 2022 16:13:52 +0800 Subject: [PATCH 2/3] =?UTF-8?q?bug=20=20=E6=B5=81=E7=A8=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8A=20=E5=8A=A0=E4=B8=8A=E6=88=AA=E6=AD=A2?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/xmpg/step2.vue | 9 +++++++++ .../processCenter/pages/creatProcess/xmpg/step3.vue | 9 +++++++++ .../processCenter/pages/creatProcess/xmpg/step4.vue | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue index 4a13e5943..22145f398 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue @@ -22,6 +22,15 @@ + + + + diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue index ef7a2600f..e6c2483d2 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue @@ -36,6 +36,15 @@ clearable > + + + + diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue index 7d3410827..89dc03251 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue @@ -36,6 +36,15 @@ clearable > + + + + From 0d65c03914c8fba93d4746543fe2e3764af4d9d3 Mon Sep 17 00:00:00 2001 From: hanshaozhuang Date: Fri, 1 Jul 2022 16:30:26 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=2056155=20=E8=B0=83?= =?UTF-8?q?=E7=A0=94=E6=B5=81=E7=A8=8B=20=E6=B5=81=E7=A8=8B=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E8=BF=9B=E5=8E=BB=E7=9A=84=E6=9F=A5=E7=9C=8B=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E6=95=B0=E6=8D=AE=20=E7=BC=BA=E5=B0=91=E8=B0=83?= =?UTF-8?q?=E7=A0=94=E6=A8=A1=E6=9D=BF=E5=AD=97=E6=AE=B5=E5=92=8C=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E9=99=84=E4=BB=B6=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzdy/step1-9.vue | 44 ++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-9.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-9.vue index 4f3f95e0d..7d8694f6b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-9.vue @@ -49,6 +49,38 @@ - - + +
+
+ {{ item.name }} + +
+
+
+ - - +
+
+ +
+
+ {{ item.name }} + +
+
+
+ - - +
+
@@ -206,7 +238,9 @@ export default { date: '', // 完成时间 hzfileId: '', hzfileName: '', - textpz: '' + textpz: '', + modelList:[], + fjList: [] }, formRules: { textpz: [ @@ -224,6 +258,10 @@ export default { ProcessTitle }, methods: { + clickButtonToUpload(file) { + const attId = file.attId + this.$preview(attId) + }, foldForm() { this.foldFormFlag = !this.foldFormFlag }, @@ -237,6 +275,10 @@ export default { updateFile (fileId) { window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId }, + updateFile2 (item) { + let id = item.id + window.location.href = '/api/att/attFile/downloadFile?fileId=' + id + }, // 导入按钮 上传之前的钩子 beginImportFile (file) { var filename = file.name