From dc04c05b22a5323925218092a0687555a2a5c9c1 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期四, 29 九月 2022 18:39:31 +0800 Subject: [PATCH] 上报管理界面,案件池的违规、违建登记页面 --- src/views/operate/disposal/casepool/pool/index.vue | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/views/operate/disposal/casepool/pool/index.vue b/src/views/operate/disposal/casepool/pool/index.vue index c0edcb2..3e6c1f7 100644 --- a/src/views/operate/disposal/casepool/pool/index.vue +++ b/src/views/operate/disposal/casepool/pool/index.vue @@ -12,7 +12,11 @@ <div class="addUser"> <el-button class="addBtn" type="primary" @click="dialogCreate = true">娣诲姞</el-button> <el-dialog :before-close="handleClose" :visible.sync="dialogCreate" title="璇烽�夋嫨涓婃姤浜嬩欢绫诲瀷" width="45%" v-if="dialogCreate"> - <createUser /> + <createUser @getPageProp=setDialog /> + </el-dialog> + <el-dialog :before-close="handleClose" :visible.sync="dialogNewAdd" :title="newAddType === 0 ? '杩濊浜嬩欢鐧昏' : '杩濆缓浜嬩欢鐧昏' " width="45%" v-if="dialogNewAdd"> + <MyIll v-if="newAddType === 1" :mytype=newAddType /> + <myVio v-else :mytype=newAddType /> </el-dialog> </div> </div> @@ -104,9 +108,11 @@ <script> import updateUser from "./updateUser" import createUser from "./createUser" +import MyIll from './createUser/ill' +import MyVio from './createUser/vio' export default { components: { - updateUser, createUser + updateUser, createUser,MyIll,MyVio }, data() { return { @@ -114,6 +120,8 @@ context: "", dialogCreate: false, dialogUpdate: false, + dialogNewAdd:false, + newAddType:0, updateFlag: false, userInfo: '', totalNum: null, @@ -183,6 +191,7 @@ ], mystatus:0, statusArr:[], + } }, created() { @@ -196,9 +205,15 @@ this.statusArr[1] = item.value; } }) - // this.getUserList(); + this.getUserList(); }, methods: { + setDialog({flag,type}){ + this.dialogCreate = flag; + this.dialogNewAdd = true; + this.newAddType = type; + console.log(flag,type); + }, // 鎵归噺鍒犻櫎 mulDelete(idArr) { console.log(idArr); @@ -277,19 +292,10 @@ console.log(statusArr); this.$axios({ method: 'get', - url: `sccg/base-case/query/${statusArr[1]}?status=` + statusArr[0] + url: `sccg/base-case/query/${statusArr[1]}?state=${statusArr[0]}¤t=${currentPage}&size=${pageSize}&resource=1` }).then(res => { console.log(res); }) - // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭� - // this.$axios({ - // method: 'get', - // url: `sccg/violations/query?current=${currentPage}&size=${pageSize}&keyWord=${context}`, - // }) - // .then(res => { - // this.tableData = res.data.records; - // this.totalNum = res.data.total; - // }) }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { -- Gitblit v1.8.0