From 2e5fdbffc7a581a32368d3bd9a64ecdeb6b463b0 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期一, 30 十二月 2024 18:13:36 +0800 Subject: [PATCH] 1 --- src/views/system/tijian/index.vue | 46 ++++++++++++++++++++++++++++++++++------------ 1 files changed, 34 insertions(+), 12 deletions(-) diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue index 3a8821d..2b6af1b 100644 --- a/src/views/system/tijian/index.vue +++ b/src/views/system/tijian/index.vue @@ -135,10 +135,11 @@ }, ]" > - <span + <!-- style="display: inline-block; border-bottom: 2px solid blue" + @click="openname" --> + <span slot="label" - style="display: inline-block; border-bottom: 2px solid blue" - @click="openname" + > 濮撳悕 </span> @@ -1087,13 +1088,30 @@ </div> </el-dialog> - <div style="display: flex; align-items: flex-end;margin-bottom: 10px"> - <div style="margin-left: 46px;font-size:16px;"> - 宸查�夐」鐩潯鏁帮細0鏉� + <div + style=" + display: flex; + align-items: center; + justify-content: flex-start; + width: 100%; + " + > + <div + style=" + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-left: 46px + font-size: 16px; + margin-right: 20px; + " + > + {{ this.tableData1[0].pacName || "" }} 宸查�夐」鐩潯鏁帮細<span + style="font-weight: 700; color: red; margin-right: 5px" + >{{ this.tableData1.length || 0 }}</span + >鏉� </div> - <div style="margin-left: 242px;font-size:26px;font-weight: 700"> - 宸查�夐」鐩垪琛� - </div> + 宸查�夐」鐩垪琛� </div> <div style=" @@ -1115,8 +1133,6 @@ <template slot="title"> <div style="width: 70%"> {{ - item.pacName + - ":" + item.parentName + " (搴旀敹閲戦:" + item.ordPrice + @@ -1488,10 +1504,12 @@ </span> </el-dialog> <Packages ref="aaa" @add="handleChanges" /> + <selectName ref="bbb" /> </div> </template> <script> +import selectName from "@/components/selectName"; import { dataURLtoFile, random } from "./file"; import { getInfo } from "@/api/login"; import { @@ -1545,6 +1563,7 @@ VTreeTransfer, historyTj, Packages, + selectName, }, data() { return { @@ -1814,7 +1833,10 @@ mounted() {}, methods: { - openname: {}, + openname() { + this.$refs.bbb.open = true; + this.$refs.bbb.title = "123"; + }, getCompanyList() { this.loading = true; getconfigKey("team_reservation_default_day").then((res) => { -- Gitblit v1.8.0