1.修复bug

prod
x_z 2 years ago
parent 4b13477044
commit f5ee1c9753

File diff suppressed because it is too large Load Diff

@ -94,7 +94,12 @@
<script>
import {isBlank} from "@/utils/strUtil";
import modifyDialog from "@/views/system/param/busTypeChangeModify.vue";
import {getBusTypeChangeList, updateBusTypeChange, addBusTypeChange, deleteBusTypeChange} from "@/api/basic/busTypeChange";
import {
getBusTypeChangeList,
updateBusTypeChange,
addBusTypeChange,
deleteBusTypeChange
} from "@/api/basic/busTypeChange";
export default {
data() {
@ -209,15 +214,10 @@ export default {
addBusTypeChange(this.inputQuery).then((res) => {
if (res.code === 20000) {
this.loading = false;
this.cancelDialog();
this.getList();
} else {
this.$message.error(res.message);
}
}).catch((error) => {
this.loading = false;
this.$message.error(error.message);
this.cancelDialog();
});
} else {
updateBusTypeChange(this.inputQuery).then((res) => {
@ -238,6 +238,15 @@ export default {
handleAddClick() {
this.formName = 'add';
this.inputQuery = {
id: null,
originName: null,
originAction: null,
targetAction: null,
name: null,
enable: null,
remark: null
};
this.modifyDialogVisible = true;
},

Loading…
Cancel
Save