From 45fbd9d1e4f63c6e43512d9d532d491367cc55ee Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 21 十二月 2023 08:43:04 +0800 Subject: [PATCH] 修复弹窗bug --- src/views/Admin/userManage.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/Admin/userManage.vue b/src/views/Admin/userManage.vue index 585a1d8..5a207b6 100644 --- a/src/views/Admin/userManage.vue +++ b/src/views/Admin/userManage.vue @@ -10,7 +10,7 @@ <a-cascader :options="areaData" v-model="areaVal" placeholder="行政规划" expandTrigger="hover" :fieldNames="fieldNames" changeOnSelect @change="onChange" style="width: 100%"/> </a-col> <a-col :span="4"> - <a-select v-model="search.searchParams.unittype" placeholder="监管层级" style="width: 100%"> + <a-select v-model="search.searchParams.unittype" placeholder="监管层级" style="width: 100%" clearable> <a-select-option :value="1"> 省级 </a-select-option> @@ -28,7 +28,7 @@ <a-col :span="4"> <a-input v-model="search.searchParams.realName" placeholder="姓名" style="width: 100%"/> </a-col> - <a-col :span="4"> + <a-col :span="6"> <a-button type="primary" @click="getUserList">查询</a-button> <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> </a-col> @@ -148,6 +148,7 @@ { title: '操作', key: 'action', + width: '18%', scopedSlots: { customRender: 'action' }, }, ], @@ -171,7 +172,6 @@ created() { const t = this t.unittype = getUserInfo().unittype - console.log(t.unittype,'unit') t.getUserList() t.getDistrictInfo() }, @@ -268,7 +268,6 @@ onChange(value) { const t = this t.search.searchParams.districtId = value[value.length - 1] - console.log(value,'val') }, findAreaById(data,value) { for (const node of data) { -- Gitblit v1.9.2