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) => {