|
@@ -569,8 +569,8 @@ export default {
|
|
console.log(val);
|
|
console.log(val);
|
|
this.getDetail(val);
|
|
this.getDetail(val);
|
|
},
|
|
},
|
|
- getDictList(type) {
|
|
|
|
- getDictList({ sysDictEnum: type }).then((res) => {
|
|
|
|
|
|
+ getDictList(e, type) {
|
|
|
|
+ getDictList({ sysDictEnum: e }).then((res) => {
|
|
console.log(res, "99");
|
|
console.log(res, "99");
|
|
let data = res.data.map((item) => {
|
|
let data = res.data.map((item) => {
|
|
return {
|
|
return {
|
|
@@ -581,6 +581,13 @@ export default {
|
|
};
|
|
};
|
|
});
|
|
});
|
|
if (type != "fourth") {
|
|
if (type != "fourth") {
|
|
|
|
+ if (e === "FO_SHAN_RESERVED_DAY") {
|
|
|
|
+ this[type + "Form"].input1 = data[0];
|
|
|
|
+ return;
|
|
|
|
+ } else if (e === "GUANG_ZHOU_RESERVED_DAY") {
|
|
|
|
+ this[type + "Form"].input2 = data[0];
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this[type + "Form"].input1 = data[0];
|
|
this[type + "Form"].input1 = data[0];
|
|
// this[type + "Form"].input2 = data[1];
|
|
// this[type + "Form"].input2 = data[1];
|
|
console.log(777, this[type + "Form"].input1);
|
|
console.log(777, this[type + "Form"].input1);
|
|
@@ -616,11 +623,11 @@ export default {
|
|
};
|
|
};
|
|
if (type === "third") {
|
|
if (type === "third") {
|
|
MAP[type].forEach((e) => {
|
|
MAP[type].forEach((e) => {
|
|
- this.getDictList(e);
|
|
|
|
|
|
+ this.getDictList(e, type);
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- this.getDictList(MAP[type]);
|
|
|
|
|
|
+ this.getDictList(MAP[type], type);
|
|
},
|
|
},
|
|
|
|
|
|
submitForm(type) {
|
|
submitForm(type) {
|