From e24b029b21b26f55bacc25c6842ac83cbbfcc0b1 Mon Sep 17 00:00:00 2001 From: laozt <2721205210@qq.com> Date: Mon, 18 Dec 2023 17:04:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/yingji/planManage.vue | 5 +- .../planmanage/components/infoDialog.vue | 184 ++++++------------ 2 files changed, 57 insertions(+), 132 deletions(-) diff --git a/src/views/yingji/planManage.vue b/src/views/yingji/planManage.vue index cf1df7b..920baef 100644 --- a/src/views/yingji/planManage.vue +++ b/src/views/yingji/planManage.vue @@ -190,7 +190,6 @@ import { import AddDialog from "@/views/components/AddDialog/index.vue"; import InfoDialog from "./planmanage/components/infoDialog.vue"; import executive from "./echarts/executive.vue"; - import { mapState } from "vuex"; export default { @@ -311,7 +310,7 @@ export default { this.queryParams.district = e; }, multipleChange(e) { - console.log(e.join(",")); + // console.log(e.join(",")); this.queryParams.plannedMonth = e.join(","); }, // 关闭对话框刷新页面 @@ -379,7 +378,7 @@ export default { }, /** 详情按钮操作 */ handleInfo(row) { - this.$refs.infoDialog.openDialog("newlyIncreased", this.dept); + this.$refs.infoDialog.openDialog(row); }, /** 修改按钮操作 */ handleUpdate(row) { diff --git a/src/views/yingji/planmanage/components/infoDialog.vue b/src/views/yingji/planmanage/components/infoDialog.vue index bf12793..006dd88 100644 --- a/src/views/yingji/planmanage/components/infoDialog.vue +++ b/src/views/yingji/planmanage/components/infoDialog.vue @@ -20,154 +20,80 @@
-
{{ title }}
+
查看详情
- +
- - - - - - - - - - - - - - - - - - - - - - - - - - 确认修改 - 关闭 - - - + - {{ item.value}} - + :label="value" + v-for="(key, value) in ObjectIndex" + :key="key" + > + {{ + key == "district" ? componendDistrict(resData[key]) : resData[key] + }} +