From f14194deca15089557e456073a573549f92467fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Mon, 18 Sep 2023 18:00:23 +0800 Subject: [PATCH] 9/18 --- src/Views/BookingOrder/index.vue | 8 +- src/Views/Login/asd.vue | 29 ++++ src/Views/Login/index.vue | 260 ++++++++++++++++++++++++++++++- src/api/Index.js | 28 +++- 4 files changed, 316 insertions(+), 9 deletions(-) create mode 100644 src/Views/Login/asd.vue diff --git a/src/Views/BookingOrder/index.vue b/src/Views/BookingOrder/index.vue index 0b1bd07..a6ab349 100644 --- a/src/Views/BookingOrder/index.vue +++ b/src/Views/BookingOrder/index.vue @@ -943,12 +943,12 @@ export default { dialogFormVisible.value = true; }; const ClickEdit = (e) => { + let R = []; console.log(e); bookingOrderInfo({ id: e.id }).then((res) => { - console.log(res); + R = res.data; + dialogFormVisible.value = true; }); - // dialogFormVisible.value = true; - // let R = []; // e.type.split("[").forEach((a) => { // if (a) { @@ -959,7 +959,7 @@ export default { // }); // } // }); - // return { ...e, type: R }; + return { ...e, type: R }; }; const TableData = reactive([ { label: "订舱编号", prop: "billNo" }, diff --git a/src/Views/Login/asd.vue b/src/Views/Login/asd.vue new file mode 100644 index 0000000..fd830a3 --- /dev/null +++ b/src/Views/Login/asd.vue @@ -0,0 +1,29 @@ + + +