pdf上传代码调整

This commit is contained in:
joylink_cuiweidong 2021-05-17 09:51:06 +08:00
parent 1dba8c2e9d
commit 290542ee28
2 changed files with 5 additions and 3 deletions

View File

@ -112,6 +112,7 @@ export default {
await this.handleMap(data.mapId);
obj && await this.handleDevice(obj.value);
} else {
this.rowData = {};
this.formModel = {
mapId: '',
deviceTypes: '',
@ -128,7 +129,8 @@ export default {
pageNum: 1
};
getPublishMapList(params).then(res => {
this.mapList = res.data.list.filter(el => !el.project );
// this.mapList = res.data.list.filter(el => !el.project );
this.mapList = res.data.list;
});
},
async handleMap(mapId) {

View File

@ -73,9 +73,9 @@ export default {
pageNum: 1
};
getPublishMapList(params).then(res => {
this.mapList = res.data.list.filter(el => !el.project );
// this.mapList = res.data.list.filter(el => !el.project );
this.mapList = res.data.list;
});
},
methods: {
query() {