2f0d4e89 by tianhaohao@pashanhoo.com

修改页面展示问题

1 parent ad769bd9
......@@ -164,10 +164,14 @@ export default {
async featchData() {
let {result: res} = await business.diya(this.form);
res.list.forEach(it=> {
if (it.MJDW !== undefined && typeof it.MJDW === 'string'){
let mjdws = this.dicData['A7'].filter(item => item.DCODE === it.MJDW.trim());
it.MJDWMC = mjdws.length > 0 ? mjdws[0].DNAME : "";
}
if (it.JEDW !== undefined && typeof it.JEDW === 'string'){
let jedws = this.dicData['A57'].filter(item => item.DCODE === it.JEDW.trim());
it.JEDWMC = jedws.length > 0 ? jedws[0].DNAME : "";
}
})
this.tableData.data = res.list
this.pageData.current = res.pageNum
......