This commit is contained in:
parent
09fedd13f2
commit
ad20786f9c
|
@ -710,7 +710,7 @@ export default {
|
||||||
this.getAdminList();
|
this.getAdminList();
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log(this.$route.query.id);
|
console.log(this.$route.query);
|
||||||
this.setMode();
|
this.setMode();
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
this.onInfo({ id: this.$route.query.id });
|
this.onInfo({ id: this.$route.query.id });
|
||||||
|
@ -785,7 +785,7 @@ export default {
|
||||||
this.value = null;
|
this.value = null;
|
||||||
this.next_follow = null;
|
this.next_follow = null;
|
||||||
this.$set(item, "next_follow", null);
|
this.$set(item, "next_follow", null);
|
||||||
this.item = item;
|
// this.item = item;
|
||||||
this.active = "follow";
|
this.active = "follow";
|
||||||
this.$axios
|
this.$axios
|
||||||
.get("/admin/order/info", { params: { id: item.id } })
|
.get("/admin/order/info", { params: { id: item.id } })
|
||||||
|
@ -866,8 +866,6 @@ export default {
|
||||||
.catch((err) => {});
|
.catch((err) => {});
|
||||||
},
|
},
|
||||||
onSave(item) {
|
onSave(item) {
|
||||||
console.log(this.next_follow);
|
|
||||||
|
|
||||||
this.$axios
|
this.$axios
|
||||||
.post("/admin/order/save", {
|
.post("/admin/order/save", {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
|
@ -882,7 +880,10 @@ export default {
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
this.item = { next_follow: "", personnel: {} };
|
this.item = { next_follow: "", personnel: { adult: "" } };
|
||||||
|
this.$router.push({
|
||||||
|
path: "/order/index"
|
||||||
|
});
|
||||||
})
|
})
|
||||||
.catch((err) => {});
|
.catch((err) => {});
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,8 +38,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/dev-api': { // 接口地址 以 api开头的都走下面的配置
|
'/dev-api': { // 接口地址 以 api开头的都走下面的配置
|
||||||
// target: 'https://www.szjinao.cn', // 代理目标地址为后端服务器地址 127.0.0.1 192.168.1.2
|
target: 'https://www.szjinao.cn', // 代理目标地址为后端服务器地址 127.0.0.1 192.168.1.2
|
||||||
target: 'http://192.168.0.6:8787', // 代理目标地址为后端服务器地址 127.0.0.1 192.168.1.2
|
// target: 'http://192.168.0.6:8787', // 代理目标地址为后端服务器地址 127.0.0.1 192.168.1.2
|
||||||
ws: true, // 是否支持 websocket 请求 支持
|
ws: true, // 是否支持 websocket 请求 支持
|
||||||
changeOrigin: true, // 是否启用跨域
|
changeOrigin: true, // 是否启用跨域
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-f35db07a]{position:relative;padding-bottom:60px}.el-table[data-v-f35db07a],.filter-container[data-v-f35db07a]{padding-bottom:5px}
|
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-387ec8a0]{position:relative;padding-bottom:60px}.el-table[data-v-387ec8a0],.filter-container[data-v-387ec8a0]{padding-bottom:5px}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue