HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/hook-362d381c.js
import{I as y}from"./index-efb67349.js";import{A as n,r as a,c as C,o as D}from"./runtime-core.esm-bundler-6128546f.js";import"./preload-helper-78dc9057.js";import"./message-2472a54a.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";import"./utils-2ab4f76a.js";function N(){const l=n({desc:""}),s=a([]),o=a(!1);a({});const d=n({total:0,pageSize:10,currentPage:1,background:!0}),c=[{type:"expand",slot:"expand"},{label:"序号",type:"index",width:70},{label:"权限组名",prop:"name"},{label:"权限组",prop:"id"}],p=[{label:"序号",type:"index",width:70},{label:"权限说明",prop:"name"},{label:"权限",prop:"id"},{label:"操作",fixed:"right",width:180,slot:"operation"}],i=n({desc:"",alias:""}),r=a(!1),u=["用户ID","用户编号","用户名称","身份","手机号码","邮箱"],m=C(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function f(e){i.alias=e.id,i.desc=e.name,r.value=!0}function h(){r.value=!0}function g(e){}function b(e){t()}function v(e){t()}function x(e){}async function t(){o.value=!0;const{data:e}=await y();s.value=e,setTimeout(()=>{o.value=!1},500)}const w=e=>{e&&(e.resetFields(),t())};return n({password:"",repassword:""}),a(!1),D(()=>{t()}),{childColumns:p,editFormDialogVisible:r,editformData:i,handleNew:h,handleUpdate:f,handleDelete:g,selectList:u,form:l,loading:o,columns:c,dataList:s,pagination:d,buttonClass:m,onSearch:t,resetForm:w,handleSizeChange:b,handleCurrentChange:v,handleSelectionChange:x}}export{N as useUser};