update:tab页面编写、接口对接完成

This commit is contained in:
youyuzihan
2021-06-22 13:11:10 +08:00
parent 537cb139e0
commit 21bc8229c5
@@ -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) => {