From 7991973cf4c25527e227b80192e0bd087cfcee58 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期二, 27 九月 2022 18:26:25 +0800 Subject: [PATCH] 完善系统设置的基本设置 --- src/views/operate/lawEnforcement/index.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/operate/lawEnforcement/index.vue b/src/views/operate/lawEnforcement/index.vue index 7ae0911..68ec27e 100644 --- a/src/views/operate/lawEnforcement/index.vue +++ b/src/views/operate/lawEnforcement/index.vue @@ -5,16 +5,17 @@ <!-- 缁勪欢鍖� --> <div class="dialog"> <el-dialog v-if="visible" :visible.async="visible" title="闂鐧昏" width="60%" :before-close="handleClose"> - <checkIn></checkIn> + <MyView :viewData=showData /> </el-dialog> </div> </div> </template> <script> import MyTable from '@/components/Table' +import MyView from './components/dataView' export default { components: { - MyTable, + MyTable,MyView }, data() { return { @@ -72,7 +73,8 @@ }, ] }, - visible:false + visible:false, + showData:{}, } }, methods:{ @@ -88,6 +90,8 @@ // 鑾峰彇鎿嶄綔缁撴灉 changeDialog({index,mykey}){ console.log(index,mykey); + this.showData = this.list[index]; + this.visible = true; } } } -- Gitblit v1.8.0