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); await this.handleMap(data.mapId);
obj && await this.handleDevice(obj.value); obj && await this.handleDevice(obj.value);
} else { } else {
this.rowData = {};
this.formModel = { this.formModel = {
mapId: '', mapId: '',
deviceTypes: '', deviceTypes: '',
@ -128,7 +129,8 @@ export default {
pageNum: 1 pageNum: 1
}; };
getPublishMapList(params).then(res => { 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) { async handleMap(mapId) {

View File

@ -73,9 +73,9 @@ export default {
pageNum: 1 pageNum: 1
}; };
getPublishMapList(params).then(res => { 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: { methods: {
query() { query() {