|  |  | @ -18,7 +18,7 @@ const admin = ref({}); | 
			
		
	
		
			
				
					|  |  |  | // 搜索对象 | 
			
		
	
		
			
				
					|  |  |  | const getObj = ref({ | 
			
		
	
		
			
				
					|  |  |  |   pageNum: 1, | 
			
		
	
		
			
				
					|  |  |  |   pageSize: 50, | 
			
		
	
		
			
				
					|  |  |  |   pageSize: 10, | 
			
		
	
		
			
				
					|  |  |  | }); | 
			
		
	
		
			
				
					|  |  |  | // 新增用户权限弹窗 | 
			
		
	
		
			
				
					|  |  |  | const permissionAddVisible = ref(false); | 
			
		
	
	
		
			
				
					|  |  | @ -42,13 +42,13 @@ const get = async function (val) { | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |     console.log("搜索参数", getObj.value); | 
			
		
	
		
			
				
					|  |  |  |     // 发送POST请求 | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("/hwjb/admin/search", { | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("http://54.251.137.151:10702/admin/search", { | 
			
		
	
		
			
				
					|  |  |  |       ...getObj.value, | 
			
		
	
		
			
				
					|  |  |  |       admin: { ...admin.value }, | 
			
		
	
		
			
				
					|  |  |  |     }); | 
			
		
	
		
			
				
					|  |  |  |     tableData.value = result.data.list; | 
			
		
	
		
			
				
					|  |  |  |     total.value = result.data.total; | 
			
		
	
		
			
				
					|  |  |  |   } catch (error) { } | 
			
		
	
		
			
				
					|  |  |  |   } catch (error) {} | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 搜索 | 
			
		
	
		
			
				
					|  |  |  | const search = function () { | 
			
		
	
	
		
			
				
					|  |  | @ -63,23 +63,26 @@ const reset = function () { | 
			
		
	
		
			
				
					|  |  |  | // 获取地区 | 
			
		
	
		
			
				
					|  |  |  | const getArea = async function () { | 
			
		
	
		
			
				
					|  |  |  |   try { | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("/hwjb/admin/area", {}); | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("http://54.251.137.151:10702/admin/area", {}); | 
			
		
	
		
			
				
					|  |  |  |     area.value = result.data; | 
			
		
	
		
			
				
					|  |  |  |   } catch (error) { | 
			
		
	
		
			
				
					|  |  |  |     console.log("请求失败", error); | 
			
		
	
		
			
				
					|  |  |  |     // 在这里可以处理错误逻辑,比如显示错误提示等 | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 获取部门 | 
			
		
	
		
			
				
					|  |  |  | const getStore = async function () { | 
			
		
	
		
			
				
					|  |  |  |   try { | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("/hwjb/admin/store", {}); | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post( | 
			
		
	
		
			
				
					|  |  |  |       "http://54.251.137.151:10702/admin/store", | 
			
		
	
		
			
				
					|  |  |  |       {} | 
			
		
	
		
			
				
					|  |  |  |     ); | 
			
		
	
		
			
				
					|  |  |  |     store.value = result.data; | 
			
		
	
		
			
				
					|  |  |  |   } catch (error) { | 
			
		
	
		
			
				
					|  |  |  |     console.log("请求失败", error); | 
			
		
	
		
			
				
					|  |  |  |     // 在这里可以处理错误逻辑,比如显示错误提示等 | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // 验证跳转输入框的数字是否合法 | 
			
		
	
		
			
				
					|  |  |  | const checkNumber = function () { | 
			
		
	
	
		
			
				
					|  |  | @ -113,24 +116,27 @@ const checkNumber = function () { | 
			
		
	
		
			
				
					|  |  |  | // 打开新增用户权限弹窗 | 
			
		
	
		
			
				
					|  |  |  | const openPermissionAddVisible = function () { | 
			
		
	
		
			
				
					|  |  |  |   permissionAddVisible.value = true; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 关闭新增用户权限弹窗 | 
			
		
	
		
			
				
					|  |  |  | const closePermissionAddVisible = function () { | 
			
		
	
		
			
				
					|  |  |  |   permissionAddVisible.value = false; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 新增用户权限初始化 | 
			
		
	
		
			
				
					|  |  |  | const permissionAddInit = function () { | 
			
		
	
		
			
				
					|  |  |  |   permissionAddObj.value = {}; | 
			
		
	
		
			
				
					|  |  |  |   openPermissionAddVisible(); | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 通过精网号查询没有权限的用户 | 
			
		
	
		
			
				
					|  |  |  | const getAdminByJwcodeWithoutPermission = async function () { | 
			
		
	
		
			
				
					|  |  |  |   try { | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post("/hwjb/admin/selectNo", permissionAddObj.value); | 
			
		
	
		
			
				
					|  |  |  |     const result = await API.post( | 
			
		
	
		
			
				
					|  |  |  |       "http://54.251.137.151:10702/admin/selectNo", | 
			
		
	
		
			
				
					|  |  |  |       permissionAddObj.value | 
			
		
	
		
			
				
					|  |  |  |     ); | 
			
		
	
		
			
				
					|  |  |  |     if (result.code == 200) { | 
			
		
	
		
			
				
					|  |  |  |       permissionAddObj.value = result.data[0]; | 
			
		
	
		
			
				
					|  |  |  |       ElMessage.success("精网号查询成功"); | 
			
		
	
		
			
				
					|  |  |  |     }else{ | 
			
		
	
		
			
				
					|  |  |  |     } else { | 
			
		
	
		
			
				
					|  |  |  |       ElMessage.error(result.msg); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |     console.log("精网号查询没有权限的用户", permissionAddObj.value); | 
			
		
	
	
		
			
				
					|  |  | @ -138,7 +144,7 @@ const getAdminByJwcodeWithoutPermission = async function () { | 
			
		
	
		
			
				
					|  |  |  |     console.log("请求失败", error); | 
			
		
	
		
			
				
					|  |  |  |     // 在这里可以处理错误逻辑,比如显示错误提示等 | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 新增用户权限提交 | 
			
		
	
		
			
				
					|  |  |  | const permissionAdd = async function () { | 
			
		
	
		
			
				
					|  |  |  |   try { | 
			
		
	
	
		
			
				
					|  |  | @ -149,15 +155,15 @@ const permissionAdd = async function () { | 
			
		
	
		
			
				
					|  |  |  |   } finally { | 
			
		
	
		
			
				
					|  |  |  |     closePermissionAddVisible(); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 打开编辑用户权限弹窗 | 
			
		
	
		
			
				
					|  |  |  | const openPermissionEditVisible = function () { | 
			
		
	
		
			
				
					|  |  |  |   permissionEditVisible.value = true; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 关闭编辑用户权限弹窗 | 
			
		
	
		
			
				
					|  |  |  | const closePermissionEditVisible = function () { | 
			
		
	
		
			
				
					|  |  |  |   permissionEditVisible.value = false; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 编辑用户权限初始化 | 
			
		
	
		
			
				
					|  |  |  | const permissionEditInit = function (row) { | 
			
		
	
		
			
				
					|  |  |  |   permissionEditObj.value = {}; | 
			
		
	
	
		
			
				
					|  |  | @ -168,7 +174,7 @@ const permissionEditInit = function (row) { | 
			
		
	
		
			
				
					|  |  |  |   permissionEditObj.value.permission = row.permission; | 
			
		
	
		
			
				
					|  |  |  |   console.log("编辑用户权限", permissionEditObj.value); | 
			
		
	
		
			
				
					|  |  |  |   openPermissionEditVisible(); | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | // 编辑用户权限提交 | 
			
		
	
		
			
				
					|  |  |  | const permissionEdit = async function () { | 
			
		
	
		
			
				
					|  |  |  |   try { | 
			
		
	
	
		
			
				
					|  |  | @ -179,7 +185,7 @@ const permissionEdit = async function () { | 
			
		
	
		
			
				
					|  |  |  |   } finally { | 
			
		
	
		
			
				
					|  |  |  |     closePermissionEditVisible(); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // 挂载 | 
			
		
	
		
			
				
					|  |  |  | onMounted(async function () { | 
			
		
	
	
		
			
				
					|  |  | @ -196,19 +202,44 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |         <div class="head-card"> | 
			
		
	
		
			
				
					|  |  |  |           <div class="head-card-element"> | 
			
		
	
		
			
				
					|  |  |  |             <el-text class="mx-1" size="large">精网号:</el-text> | 
			
		
	
		
			
				
					|  |  |  |             <el-input v-model="admin.jwcode" style="width: 240px" placeholder="请输入精网号" clearable /> | 
			
		
	
		
			
				
					|  |  |  |             <el-input | 
			
		
	
		
			
				
					|  |  |  |               v-model="admin.jwcode" | 
			
		
	
		
			
				
					|  |  |  |               style="width: 240px" | 
			
		
	
		
			
				
					|  |  |  |               placeholder="请输入精网号" | 
			
		
	
		
			
				
					|  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |             /> | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="head-card-element" style="margin-left: 50px"> | 
			
		
	
		
			
				
					|  |  |  |             <el-text class="mx-1" size="large">所属地区:</el-text> | 
			
		
	
		
			
				
					|  |  |  |             <el-select v-model="admin.area" placeholder="请选择所属地区" style="width: 240px" clearable> | 
			
		
	
		
			
				
					|  |  |  |               <el-option v-for="item in area" :key="item" :label="item" :value="item" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-select | 
			
		
	
		
			
				
					|  |  |  |               v-model="admin.area" | 
			
		
	
		
			
				
					|  |  |  |               placeholder="请选择所属地区" | 
			
		
	
		
			
				
					|  |  |  |               style="width: 240px" | 
			
		
	
		
			
				
					|  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |               <el-option | 
			
		
	
		
			
				
					|  |  |  |                 v-for="item in area" | 
			
		
	
		
			
				
					|  |  |  |                 :key="item" | 
			
		
	
		
			
				
					|  |  |  |                 :label="item" | 
			
		
	
		
			
				
					|  |  |  |                 :value="item" | 
			
		
	
		
			
				
					|  |  |  |               /> | 
			
		
	
		
			
				
					|  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |           <div class="head-card-element" style="margin-left: 50px"> | 
			
		
	
		
			
				
					|  |  |  |             <el-text class="mx-1" size="large">所属部门:</el-text> | 
			
		
	
		
			
				
					|  |  |  |             <el-select v-model="admin.store" placeholder="请选择部门" style="width: 240px" clearable> | 
			
		
	
		
			
				
					|  |  |  |               <el-option v-for="item in store" :key="item" :label="item" :value="item" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-select | 
			
		
	
		
			
				
					|  |  |  |               v-model="admin.store" | 
			
		
	
		
			
				
					|  |  |  |               placeholder="请选择部门" | 
			
		
	
		
			
				
					|  |  |  |               style="width: 240px" | 
			
		
	
		
			
				
					|  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |               <el-option | 
			
		
	
		
			
				
					|  |  |  |                 v-for="item in store" | 
			
		
	
		
			
				
					|  |  |  |                 :key="item" | 
			
		
	
		
			
				
					|  |  |  |                 :label="item" | 
			
		
	
		
			
				
					|  |  |  |                 :value="item" | 
			
		
	
		
			
				
					|  |  |  |               /> | 
			
		
	
		
			
				
					|  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -225,11 +256,24 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |       <el-card> | 
			
		
	
		
			
				
					|  |  |  |         <!-- 添加 --> | 
			
		
	
		
			
				
					|  |  |  |         <div class="add-item"> | 
			
		
	
		
			
				
					|  |  |  |           <el-button style="color: #048efb; border: 1px solid #048efb" @click="permissionAddInit()">新增用户权限</el-button> | 
			
		
	
		
			
				
					|  |  |  |           <el-button | 
			
		
	
		
			
				
					|  |  |  |             style="color: #048efb; border: 1px solid #048efb" | 
			
		
	
		
			
				
					|  |  |  |             @click="permissionAddInit()" | 
			
		
	
		
			
				
					|  |  |  |             >新增用户权限</el-button | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |         <div> | 
			
		
	
		
			
				
					|  |  |  |           <el-table :data="tableData" :height="tableHeight" style="width: 100%; text-align: center;"> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column type="index" label="序号" width="100px" fixed="left"> | 
			
		
	
		
			
				
					|  |  |  |           <el-table | 
			
		
	
		
			
				
					|  |  |  |             :data="tableData" | 
			
		
	
		
			
				
					|  |  |  |             :height="tableHeight" | 
			
		
	
		
			
				
					|  |  |  |             style="width: 100%; text-align: center" | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |               type="index" | 
			
		
	
		
			
				
					|  |  |  |               label="序号" | 
			
		
	
		
			
				
					|  |  |  |               width="100px" | 
			
		
	
		
			
				
					|  |  |  |               fixed="left" | 
			
		
	
		
			
				
					|  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |               <template #default="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <span>{{ | 
			
		
	
		
			
				
					|  |  |  |                   scope.$index + 1 + (getObj.pageNum - 1) * getObj.pageSize | 
			
		
	
	
		
			
				
					|  |  | @ -243,23 +287,24 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="store" label="所属部门" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="permission" label="部门权限"> | 
			
		
	
		
			
				
					|  |  |  |               <template #default="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '1'"> | 
			
		
	
		
			
				
					|  |  |  |                   总部管理员 | 
			
		
	
		
			
				
					|  |  |  |                 </span> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '2'"> | 
			
		
	
		
			
				
					|  |  |  |                   分部管理员 | 
			
		
	
		
			
				
					|  |  |  |                 </span> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '3'"> | 
			
		
	
		
			
				
					|  |  |  |                   分部审核员 | 
			
		
	
		
			
				
					|  |  |  |                 </span> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '1'"> 总部管理员 </span> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '2'"> 分部管理员 </span> | 
			
		
	
		
			
				
					|  |  |  |                 <span v-if="scope.row.permission === '3'"> 分部审核员 </span> | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column fixed="right" prop="operation" label="操作"> | 
			
		
	
		
			
				
					|  |  |  |               <template #default="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-button type="warning" text @click="permissionEditInit(scope.row)"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-button | 
			
		
	
		
			
				
					|  |  |  |                   type="warning" | 
			
		
	
		
			
				
					|  |  |  |                   text | 
			
		
	
		
			
				
					|  |  |  |                   @click="permissionEditInit(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |                   修改权限 | 
			
		
	
		
			
				
					|  |  |  |                 </el-button> | 
			
		
	
		
			
				
					|  |  |  |                 <el-popconfirm title="确定将此条活动删除吗?" @confirm="delConfirm"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-popconfirm | 
			
		
	
		
			
				
					|  |  |  |                   title="确定将此条活动删除吗?" | 
			
		
	
		
			
				
					|  |  |  |                   @confirm="delConfirm" | 
			
		
	
		
			
				
					|  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |                   <template #reference> | 
			
		
	
		
			
				
					|  |  |  |                     <el-button type="danger" text @click="del(scope.row)"> | 
			
		
	
		
			
				
					|  |  |  |                       删除 | 
			
		
	
	
		
			
				
					|  |  | @ -279,17 +324,42 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         <!-- 分页 --> | 
			
		
	
		
			
				
					|  |  |  |         <div class="pagination" style="margin-top: 20px"> | 
			
		
	
		
			
				
					|  |  |  |           <el-pagination background :page-size="getObj.pageSize" layout="slot" :total="total"> | 
			
		
	
		
			
				
					|  |  |  |           <el-pagination | 
			
		
	
		
			
				
					|  |  |  |             background | 
			
		
	
		
			
				
					|  |  |  |             :page-size="getObj.pageSize" | 
			
		
	
		
			
				
					|  |  |  |             layout="slot" | 
			
		
	
		
			
				
					|  |  |  |             :total="total" | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |             <div>共{{ total }}条,每页</div> | 
			
		
	
		
			
				
					|  |  |  |             <el-select v-model="getObj.pageSize" class="page-size" @change="get()" style="width: 80px"> | 
			
		
	
		
			
				
					|  |  |  |               <el-option v-for="item in [5, 10, 20, 50, 100]" :key="item" :label="item" :value="item"></el-option> | 
			
		
	
		
			
				
					|  |  |  |             <el-select | 
			
		
	
		
			
				
					|  |  |  |               v-model="getObj.pageSize" | 
			
		
	
		
			
				
					|  |  |  |               class="page-size" | 
			
		
	
		
			
				
					|  |  |  |               @change="get()" | 
			
		
	
		
			
				
					|  |  |  |               style="width: 80px" | 
			
		
	
		
			
				
					|  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |               <el-option | 
			
		
	
		
			
				
					|  |  |  |                 v-for="item in [5, 10, 20, 50, 100]" | 
			
		
	
		
			
				
					|  |  |  |                 :key="item" | 
			
		
	
		
			
				
					|  |  |  |                 :label="item" | 
			
		
	
		
			
				
					|  |  |  |                 :value="item" | 
			
		
	
		
			
				
					|  |  |  |               ></el-option> | 
			
		
	
		
			
				
					|  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |             <div>条</div> | 
			
		
	
		
			
				
					|  |  |  |           </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |           <el-pagination background layout="prev, pager, next,slot" :page-size="getObj.pageSize" :total="total" | 
			
		
	
		
			
				
					|  |  |  |             :current-page="getObj.pageNum" @current-change="get"> | 
			
		
	
		
			
				
					|  |  |  |           <el-pagination | 
			
		
	
		
			
				
					|  |  |  |             background | 
			
		
	
		
			
				
					|  |  |  |             layout="prev, pager, next,slot" | 
			
		
	
		
			
				
					|  |  |  |             :page-size="getObj.pageSize" | 
			
		
	
		
			
				
					|  |  |  |             :total="total" | 
			
		
	
		
			
				
					|  |  |  |             :current-page="getObj.pageNum" | 
			
		
	
		
			
				
					|  |  |  |             @current-change="get" | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |             <div>跳至</div> | 
			
		
	
		
			
				
					|  |  |  |             <el-input v-model="getObj.pageNum" style="width: 40px" @change="checkNumber" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-input | 
			
		
	
		
			
				
					|  |  |  |               v-model="getObj.pageNum" | 
			
		
	
		
			
				
					|  |  |  |               style="width: 40px" | 
			
		
	
		
			
				
					|  |  |  |               @change="checkNumber" | 
			
		
	
		
			
				
					|  |  |  |             /> | 
			
		
	
		
			
				
					|  |  |  |             <div>页</div> | 
			
		
	
		
			
				
					|  |  |  |           </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
	
		
			
				
					|  |  | @ -298,16 +368,32 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |   </el-row> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |   <!-- 这是新增用户权限弹窗 --> | 
			
		
	
		
			
				
					|  |  |  |   <el-dialog v-model="permissionAddVisible" title="新增用户权限" width="800px" :close-on-click-modal="false"> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     <div style="display: flex; margin: 20px 0px 20px 0px;"> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 10px;">精网号:</span> | 
			
		
	
		
			
				
					|  |  |  |       <el-input placeholder="请输入精网号" v-model="permissionAddObj.jwcode" style="width: 240px; margin-right: 10px;" | 
			
		
	
		
			
				
					|  |  |  |         clearable></el-input> | 
			
		
	
		
			
				
					|  |  |  |       <el-button type="primary" @click="getAdminByJwcodeWithoutPermission()">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |   <el-dialog | 
			
		
	
		
			
				
					|  |  |  |     v-model="permissionAddVisible" | 
			
		
	
		
			
				
					|  |  |  |     title="新增用户权限" | 
			
		
	
		
			
				
					|  |  |  |     width="800px" | 
			
		
	
		
			
				
					|  |  |  |     :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |   > | 
			
		
	
		
			
				
					|  |  |  |     <div style="display: flex; margin: 20px 0px 20px 0px"> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 10px">精网号:</span> | 
			
		
	
		
			
				
					|  |  |  |       <el-input | 
			
		
	
		
			
				
					|  |  |  |         placeholder="请输入精网号" | 
			
		
	
		
			
				
					|  |  |  |         v-model="permissionAddObj.jwcode" | 
			
		
	
		
			
				
					|  |  |  |         style="width: 240px; margin-right: 10px" | 
			
		
	
		
			
				
					|  |  |  |         clearable | 
			
		
	
		
			
				
					|  |  |  |       ></el-input> | 
			
		
	
		
			
				
					|  |  |  |       <el-button type="primary" @click="getAdminByJwcodeWithoutPermission()" | 
			
		
	
		
			
				
					|  |  |  |         >查询</el-button | 
			
		
	
		
			
				
					|  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     <el-descriptions class="margin-top" :column="2" :size="size" border label-width="200px"> | 
			
		
	
		
			
				
					|  |  |  |     <el-descriptions | 
			
		
	
		
			
				
					|  |  |  |       class="margin-top" | 
			
		
	
		
			
				
					|  |  |  |       :column="2" | 
			
		
	
		
			
				
					|  |  |  |       :size="size" | 
			
		
	
		
			
				
					|  |  |  |       border | 
			
		
	
		
			
				
					|  |  |  |       label-width="200px" | 
			
		
	
		
			
				
					|  |  |  |     > | 
			
		
	
		
			
				
					|  |  |  |       <el-descriptions-item> | 
			
		
	
		
			
				
					|  |  |  |         <template #label> | 
			
		
	
		
			
				
					|  |  |  |           <div class="permissionVisible"> | 
			
		
	
	
		
			
				
					|  |  | @ -358,7 +444,9 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |       <el-icon><star-filled /></el-icon> | 
			
		
	
		
			
				
					|  |  |  |     </el-divider> | 
			
		
	
		
			
				
					|  |  |  |     <div> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 20px;">权限设置:</span> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 20px" | 
			
		
	
		
			
				
					|  |  |  |         >权限设置:</span | 
			
		
	
		
			
				
					|  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |       <el-radio-group v-model="permissionAddObj.permission"> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value="1" border>总部管理员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value="2" border>分部管理员</el-radio> | 
			
		
	
	
		
			
				
					|  |  | @ -370,13 +458,23 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |         <el-button @click="closePermissionAddVisible()">取消</el-button> | 
			
		
	
		
			
				
					|  |  |  |         <el-button type="primary" @click="permissionAdd()"> 提交 </el-button> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     </template> | 
			
		
	
		
			
				
					|  |  |  |   </el-dialog> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |   <!-- 这是编辑用户权限弹窗 --> | 
			
		
	
		
			
				
					|  |  |  |   <el-dialog v-model="permissionEditVisible" title="编辑用户权限" width="800px" :close-on-click-modal="false"> | 
			
		
	
		
			
				
					|  |  |  |     <el-descriptions class="margin-top" :column="2" :size="size" border label-width="200px"> | 
			
		
	
		
			
				
					|  |  |  |   <el-dialog | 
			
		
	
		
			
				
					|  |  |  |     v-model="permissionEditVisible" | 
			
		
	
		
			
				
					|  |  |  |     title="编辑用户权限" | 
			
		
	
		
			
				
					|  |  |  |     width="800px" | 
			
		
	
		
			
				
					|  |  |  |     :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |   > | 
			
		
	
		
			
				
					|  |  |  |     <el-descriptions | 
			
		
	
		
			
				
					|  |  |  |       class="margin-top" | 
			
		
	
		
			
				
					|  |  |  |       :column="2" | 
			
		
	
		
			
				
					|  |  |  |       :size="size" | 
			
		
	
		
			
				
					|  |  |  |       border | 
			
		
	
		
			
				
					|  |  |  |       label-width="200px" | 
			
		
	
		
			
				
					|  |  |  |     > | 
			
		
	
		
			
				
					|  |  |  |       <el-descriptions-item> | 
			
		
	
		
			
				
					|  |  |  |         <template #label> | 
			
		
	
		
			
				
					|  |  |  |           <div class="permissionVisible"> | 
			
		
	
	
		
			
				
					|  |  | @ -427,11 +525,13 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |       <el-icon><star-filled /></el-icon> | 
			
		
	
		
			
				
					|  |  |  |     </el-divider> | 
			
		
	
		
			
				
					|  |  |  |     <div> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 20px;">权限设置:</span> | 
			
		
	
		
			
				
					|  |  |  |       <span class="permissionVisible" style="margin-right: 20px" | 
			
		
	
		
			
				
					|  |  |  |         >权限设置:</span | 
			
		
	
		
			
				
					|  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |       <el-radio-group v-model="permissionEditObj.permission"> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value=1 border>总部管理员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value=2 border>分部管理员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value=3 border>分部审核员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value="1" border>总部管理员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value="2" border>分部管理员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |         <el-radio value="3" border>分部审核员</el-radio> | 
			
		
	
		
			
				
					|  |  |  |       </el-radio-group> | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |     <template #footer> | 
			
		
	
	
		
			
				
					|  |  | @ -439,7 +539,6 @@ onMounted(async function () { | 
			
		
	
		
			
				
					|  |  |  |         <el-button @click="closePermissionEditVisible()">取消</el-button> | 
			
		
	
		
			
				
					|  |  |  |         <el-button type="primary" @click="permissionEdit()"> 提交 </el-button> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     </template> | 
			
		
	
		
			
				
					|  |  |  |   </el-dialog> | 
			
		
	
		
			
				
					|  |  |  | </template> | 
			
		
	
	
		
			
				
					|  |  | 
 |