add bom
This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
||||
size: 20, // 默认20
|
||||
dataList: [],
|
||||
tableLoading: false,
|
||||
refreshLayoutKey: null
|
||||
refreshLayoutKey: null,
|
||||
};
|
||||
},
|
||||
inject: ["urls"],
|
||||
@@ -213,6 +213,12 @@ export default {
|
||||
this.$http.put(this.urls.base, queryCondition).then(({ data: res }) => {
|
||||
if (res.code === 0) {
|
||||
// do nothing
|
||||
} else {
|
||||
this.$message({
|
||||
message: `${res.code}: ${res.msg}`,
|
||||
type: 'error',
|
||||
duration: 1500
|
||||
})
|
||||
}
|
||||
});
|
||||
break;
|
||||
@@ -230,7 +236,16 @@ export default {
|
||||
this.openDialog();
|
||||
break;
|
||||
case "查询": {
|
||||
this.getList(payload);
|
||||
const params = {};
|
||||
this.listQueryExtra?.map(cond => {
|
||||
if (!!payload[cond]) {
|
||||
params[cond] = payload[cond]
|
||||
} else {
|
||||
params[cond] = ''
|
||||
}
|
||||
});
|
||||
console.log("查询", params);
|
||||
this.getList(params);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user