上传设置代码备份

pro
1178634255 2 years ago
parent 636aaae031
commit 9988521e9f

@ -19,7 +19,7 @@ export function saveConfig(data) {
//编辑 //编辑
export function updateConfig(data) { export function updateConfig(data) {
return axios({ return axios({
url: "/udiwms/bussinessType/update", url: "/system/third/syncData/update",
method: "post", method: "post",
data: data data: data
}); });

@ -192,8 +192,6 @@
:close-on-press-escape="false" :close-on-press-escape="false"
v-if="addBusDialogVisible" v-if="addBusDialogVisible"
> >
<div style="float: right;margin-bottom: 10px;margin-right: 25px"> <div style="float: right;margin-bottom: 10px;margin-right: 25px">
<el-button type="primary" size="small" @click="addBusType()"></el-button> <el-button type="primary" size="small" @click="addBusType()"></el-button>
</div> </div>
@ -267,6 +265,7 @@ export default {
checkSp: null, checkSp: null,
checkChange: null, checkChange: null,
checkBalacne: null, checkBalacne: null,
orderSources: [],
busTypes: [] busTypes: []
}, },
checkedBusTypes: [], checkedBusTypes: [],
@ -323,8 +322,10 @@ export default {
this.inputQuery = row; this.inputQuery = row;
}, },
// // !!!!!
onModifySubmit() { onModifySubmit() {
// this.$message.error(this.inputQuery.configQuery.orderSources);
//
updateConfig(this.inputQuery) updateConfig(this.inputQuery)
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {

Loading…
Cancel
Save