From d474a981e7b34cb788218c26328a599dd98c4085 Mon Sep 17 00:00:00 2001 From: youyuzihan Date: Mon, 21 Jun 2021 12:20:54 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E5=A2=9E=E5=8A=A0tab=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../localProductsOrProjectLibrary/index.vue | 58 ++++++++++++------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index 7120ae3a5..bcf09c84c 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -71,7 +71,18 @@
+ + + +
+
+ + + + + +
- + + + - + - + - + @@ -234,6 +245,9 @@ export default { }, data () { return { + //默认返回已维护 + ifMaintaince:"Maintenance", + deptUser: [], // 查询条件 localProTableSearch: { @@ -710,7 +724,7 @@ export default { }, // 切换tabs handleClick (tab, event) { - this.localProEO.prodectCode = this.activeName + this.localProEO.prodectCode = this.ifMaintaince this.insideHandleClick() }, insideHandleClick (tab, event) { @@ -1077,13 +1091,15 @@ export default { }, // 查询本地产品 getLocalProductTable () { - this.localProTableSearch.prodectCode = this.activeName + this.localProTableSearch.prodectCode = this.ifMaintaince + console.log(this.localProTableSearch.prodectCode) this.localProTableSearch.dataType = this.insideTabsActiveName this.SarExportSearchEo = this.localProTableSearch - this.$http.get('lawss/sarProductInfo/getProductInfoPage', this.localProTableSearch, { + this.$http.get('sarStandProjectLibrary/queryProject', this.localProTableSearch, { _this: this, loading: 'loading' }, res => { - this.localProTableList = res.data.list + console.log(res.data) + this.localProTableList = res.data.Maintenance.records this.total = res.data.count // this.localProTableList.map((item) => { // this.xmztOptions.map((opr) => {