From 21bc8229c53725db3e537f468c73c03648b51cf4 Mon Sep 17 00:00:00 2001 From: youyuzihan Date: Tue, 22 Jun 2021 13:11:10 +0800 Subject: [PATCH] =?UTF-8?q?update:tab=E9=A1=B5=E9=9D=A2=E7=BC=96=E5=86=99?= =?UTF-8?q?=E3=80=81=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../localProductsOrProjectLibrary/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index bcf09c84c..c2080cfa8 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -1098,8 +1098,15 @@ export default { this.$http.get('sarStandProjectLibrary/queryProject', this.localProTableSearch, { _this: this, loading: 'loading' }, res => { - console.log(res.data) - this.localProTableList = res.data.Maintenance.records + // console.log(res.data) + if (this.localProTableSearch.prodectCode === 'Maintenance') { + this.localProTableList = res.data.Maintenance.records + } + else if (this.localProTableSearch.prodectCode === 'notMaintenance') + { + this.localProTableList = res.data.notMaintenance.records + + } this.total = res.data.count // this.localProTableList.map((item) => { // this.xmztOptions.map((opr) => {