业务员2修复

product
mhsnet 2 years ago
parent 51bf16b40f
commit 88b33ed812

@ -100,7 +100,7 @@ export default {
bankAccount: '',
bank: '',
bankNo: '',
photos: null,
photos: [],
creatorUserName: '',
creatorTime: "",
},
@ -147,7 +147,7 @@ export default {
method: 'get'
}).then(res => {
if (res.data.photos == null) {
res.data.photos = JSON.stringify([]);
res.data.photos = [];
}
this.dataInfo(res.data)
this.loading = false
@ -210,6 +210,9 @@ export default {
dataInfo(dataAll) {
let _dataAll = dataAll
_dataAll.photos = JSON.parse(_dataAll.photos)
if(_dataAll.photos == ''||_dataAll.photos == null){
_dataAll.photos = [];
}
this.dataForm = _dataAll
},
},

@ -170,16 +170,12 @@ export default {
method: 'post',
data: _query
}).then(res => {
console.log(res)
var _list = [];
for (let i = 0; i < res.data.list.length; i++) {
let _data = res.data.list[i];
console.log(_data);
i
_list.push(_data)
}
this.list = _list
console.log(this.list)
this.total = res.data.pagination.total
this.listLoading = false

Loading…
Cancel
Save