master
xy 3 years ago
parent 53d2ef8725
commit a9f90c7ee7

@ -358,7 +358,6 @@ export default {
this.formInfo = res?.data ?? []; this.formInfo = res?.data ?? [];
this.$integrateData(this.form, this.fieldsAll); this.$integrateData(this.form, this.fieldsAll);
this.$forceUpdate(); this.$forceUpdate();
}, },
}, },

@ -333,6 +333,7 @@ export default {
try { try {
let res = await index(this.select, false); let res = await index(this.select, false);
this.total = res.total ?? 0; this.total = res.total ?? 0;
this.list = [];
this.list = res.data.map((item) => { this.list = res.data.map((item) => {
return item.fileds_all ? { ...item, ...item.fileds_all } : item; return item.fileds_all ? { ...item, ...item.fileds_all } : item;
}); });
@ -385,6 +386,8 @@ export default {
async search() { async search() {
//await this.getTemplate(); //await this.getTemplate();
this.select.page = 1;
this.total = 0;
await this.getTemplateItemDetail(); await this.getTemplateItemDetail();
await this.getList(); await this.getList();
}, },

Loading…
Cancel
Save