diff --git a/package.json b/package.json index 49fc32c90f07bd852e65c9c68ad545269e4a8de4..89088e0d1307dcc858c30fcb12fe273eb3d2b1dd 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "clipboard": "^2.0.11", "crypto-js": "^4.1.1", "echarts": "^5.3.3", - "element-plus": "^2.2.9", + "element-plus": "^2.2.19", "html2canvas": "^1.4.1", "sass": "^1.35.1", "uuid": "^8.3.2", diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 57b282d9032c42c29746592a026ed006866c8b8f..ffafb95f94ec1764903350cff844972f6be0e7ba 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -243,6 +243,7 @@ div { .el-dialog__header { border-bottom: 1px solid #edf0ff; padding: 16px; + margin-right: 0; } .el-dialog__title { @@ -1518,10 +1519,6 @@ border-radius:8px; color: #404a62; padding-left: 20px; } -.name_btn { - color: #3759be; - cursor: pointer; -} .fr { float: right; } @@ -1539,4 +1536,27 @@ border-radius:8px; vertical-align: baseline; cursor: pointer; } +/* 可点击文字颜色、指针样式 */ +.can_click_text { + cursor: pointer; + color: #3759be; +} +.can_click_text:hover { + color: #738bd2; +} +.can_click_text:active { + color: #2c4798; +} + +.warning_info { + background-color: #f7f7f9; + font-size: 14px; + color: #404a62; + padding: 5px; + text-align: left; + margin: 20px 0; +} +.danger_info { + color: #d75138; +} diff --git a/src/bg-ui/bg-info.vue b/src/bg-ui/bg-info.vue index bc56e094c098d2564645feb93fc6ca22f2a33661..962d99283eaac372afdc90c979df0cb31605710b 100644 --- a/src/bg-ui/bg-info.vue +++ b/src/bg-ui/bg-info.vue @@ -18,7 +18,12 @@ width: item.copy ? 'calc(100% - 36px)' : item.download || item.password ? 'calc(100% - 22px)': '100%', color: item.download ? '#3759be' : '#404a62' }" - >{{ item.value }} + > + {{item.value}} + {{secret(item.value)}} + {{item.value}} + {{ item.value }} + 复制 + text, }); @@ -101,6 +118,15 @@ export default { // 解决第一次点击不生效的问题,如果没有,第一次点击会不生效 clipboard.onClick(e); }, + copyIcon(data) { + navigator.clipboard.writeText(data).then( + function () { + }, + function () { + + } + ); + }, download(url) { const a = document.createElement("a"); // 创建a标签 a.setAttribute("download", ""); // download属性 @@ -114,7 +140,16 @@ export default { item.value = "***************" } this.show = !this.show - } + }, + secret(value) { + const len = value.length; + const str1 = value.substring(0,3); + const str2 = value.substring(value.length-6,value.length); + const passwordStr = value.substring(3,value.length-6).split('').map(item => '*').join(''); + console.log(8888888) + console.log(passwordStr) + return str1+passwordStr+str2 + } }, }; diff --git a/src/bg-ui/bg-table-btns.vue b/src/bg-ui/bg-table-btns.vue index 53e6fe18e43a1574f3c270d6c908cede0c421ac5..f2adb807ce35e18bf1029c136af180a803201c2f 100644 --- a/src/bg-ui/bg-table-btns.vue +++ b/src/bg-ui/bg-table-btns.vue @@ -1,6 +1,7 @@ diff --git a/src/components/input-object-table.vue b/src/components/input-object-table.vue index 8768d1d86a941e4599ee9278d89c0c5fad151d61..8bac1e463c7c1e18e77d87ea6674c4d4834f99b6 100644 --- a/src/components/input-object-table.vue +++ b/src/components/input-object-table.vue @@ -94,8 +94,8 @@ diff --git a/src/page/main/config/dict/index.vue b/src/page/main/config/dict/index.vue index ecbea23f93b6cbd43b26bb8b35f032ea8cd82191..d02af739e714457fd489e3f3cfb2829dfb273420 100644 --- a/src/page/main/config/dict/index.vue +++ b/src/page/main/config/dict/index.vue @@ -9,7 +9,7 @@
- +
@@ -164,6 +164,7 @@ import { reactive, ref,onBeforeMount,toRefs,computed, watch, nextTick } from 'vu import { useRouter } from 'vue-router'; import { ElMessage } from 'element-plus' import axios from '../../../../request/http.js' +import { Search } from '@element-plus/icons-vue' const bgForm = ref(null) const state = reactive({ bgForm, diff --git a/src/page/main/develop/account/add/contact-form.vue b/src/page/main/develop/account/add/contact-form.vue index 2cf446edc3d20df4b7f824170673dfc981917295..e2bec5148092924000895c4123dd75e980917c2c 100644 --- a/src/page/main/develop/account/add/contact-form.vue +++ b/src/page/main/develop/account/add/contact-form.vue @@ -41,7 +41,7 @@ const checkPhone = (rule, value, callback) => { callback(); } }); - }; +}; const contactFormRules = reactive({ contact_name: [ @@ -51,6 +51,9 @@ const contactFormRules = reactive({ { required: true, message: '请输入联系人手机号', trigger: 'blur' }, { validator: checkPhone, trigger: 'blur' }, ], + contact_email: [ + { type: 'email', message: '请输入正确的邮箱', trigger: 'blur' }, + ] }) const contactRef = ref(null) const emit = defineEmits(['action']) @@ -71,7 +74,7 @@ const clearForm = () => { } const setForm = (data) => { - contactForm.value = Object.assign(contactForm, data); + Object.assign(contactForm, data); } onMounted(() => { diff --git a/src/page/main/develop/account/add/index.vue b/src/page/main/develop/account/add/index.vue index d39e563ea247a325b27634f30cfb3ce1e2006221..51869ae6d413dd7f8ea1bfa1812b445e1b9bed22 100644 --- a/src/page/main/develop/account/add/index.vue +++ b/src/page/main/develop/account/add/index.vue @@ -118,7 +118,7 @@ const nextStep = () => { //业务系统表单检验触发事件 data为null 校验失败 const getSystemFormData = (data) => { if(data) { - formData.value = Object.assign(formData,data); + Object.assign(formData,data); step.value = 2; }else { @@ -128,22 +128,13 @@ const getSystemFormData = (data) => { const getContactFormData = (data) => { if(data) { - formData.value = Object.assign(formData,data); + Object.assign(formData,data); if(route.query.id) { console.log(formData) let params = { + ...formData, id: parseInt(route.query.id), - business_name: formData.value.business_name, - system_account: formData.value.system_account, - contact_email: formData.value.contact_email, - contact_phone: formData.value.contact_phone, - contact_name: formData.value.contact_name, - logo: formData.value.logo && formData.value.logo.length > 0 ? formData.value.logo[0].url : '', - state: formData.value.state, - business_desc: formData.value.business_desc, - develop_id: formData.value.develop_id, - access_address: formData.value.access_address, - remark: formData.value.remark + logo: formData.logo && formData.logo.length > 0 ? formData.logo[0].url : '', } $axios.post(`/apaas/system/v5/user/update`,params) .then((res) => { @@ -151,26 +142,14 @@ const getContactFormData = (data) => { successFlag.value = true; step.value = 3; }else { - $message.error(res.data.msg) + $message.error(res.data.data) } }) }else { let params = { - organization_id: formData.value.organization_id, - system_role_id: "ab98a936-9046-455b-aba3-4c73671024d0", - logo: formData.value.logo && formData.value.logo.length > 0 ? formData.value.logo[0].url : '', - password: CryptoJS.AES.encrypt(formData.value.password,"swuE9cmCZQwrkYRV").toString(), - business_code: formData.value.business_code, - business_name: formData.value.business_name, - business_desc: formData.value.business_desc, - system_account: formData.value.system_account, - access_address: formData.value.access_address, - develop_id: formData.value.develop_id, - state: formData.value.state, - contact_name: formData.value.contact_name, - contact_phone: formData.value.contact_phone, - contact_email: formData.value.contact_email, - remark: formData.value.remark, + ...formData, + logo: formData.logo && formData.logo.length > 0 ? formData.logo[0].url : '', + password: CryptoJS.AES.encrypt(formData.password,"swuE9cmCZQwrkYRV").toString(), } $axios.put(`/apaas/system/v5/user/create`,params) .then((res) => { @@ -178,7 +157,7 @@ const getContactFormData = (data) => { successFlag.value = true; step.value = 3; }else { - $message.error(res.data.msg) + $message.error(res.data.data) } }) } @@ -197,7 +176,7 @@ const continueCreate = () => { systemFormRef.value.clearForm(); contactFormRef.value.clearForm(); step.value = 1; - successFlag = false; + successFlag.value = false; } //取消 const cancel = () => { @@ -232,7 +211,7 @@ const getDetail = () => { remark: form.remark, }) }else { - $message.error(res.data.msg) + $message.error(res.data.data) } }) } diff --git a/src/page/main/develop/account/add/system-form.vue b/src/page/main/develop/account/add/system-form.vue index 85f047f18f9ede03d925b4701ccfa8004d529688..fa372b1118d028807732ad4922ef7732f67d8867 100644 --- a/src/page/main/develop/account/add/system-form.vue +++ b/src/page/main/develop/account/add/system-form.vue @@ -10,7 +10,7 @@ - + @@ -32,7 +32,14 @@ - + + + @@ -55,7 +62,14 @@ - + + + @@ -141,7 +155,7 @@ const validateSystemAccount = (rule, value, callback) => { const formRules = reactive({ organization_id: [ - { required: true, message: '请选择组织机构', trigger: 'blur' }, + { required: true, message: '请选择组织机构', trigger: 'change' }, ], business_name: [ { required: true, message: '请输入业务系统名称', trigger: 'blur' }, @@ -164,10 +178,10 @@ const formRules = reactive({ ], }) - - const systemRef = ref(null) const emit = defineEmits(['action']) +const roleList = ref([]) +const firmList = ref([]) const submitForm = async () => { if (!systemRef) return @@ -182,11 +196,12 @@ const submitForm = async () => { const clearForm = () => { if (!systemRef) return - systemRef.value.resetFields() + systemRef.value.resetFields(); + systemForm.system_role_id = roleList.value[0].role_id; } const setForm = (data) => { - systemForm.value = Object.assign(systemForm, data); + Object.assign(systemForm, data); } const orgData = ref([]) @@ -199,9 +214,11 @@ const getOrgTree = () => { $axios.get(`/apaas/system/v5/org/tree`) .then((res) => { if (res.data.code == 200) { - orgData.value = res.data.data || []; + const orgDataTemp = res.data.data || [] + orgDataTemp.shift() + orgData.value = orgDataTemp; }else { - $message.error(res.data.msg) + $message.error(res.data.data) } }) } @@ -216,9 +233,34 @@ const copyText = (data) => { } ); } +const getRoleList = () => { + $axios.get(`/apaas/system/v5/org/select/role?is_admin=1`) + .then((res) => { + if (res.data.code == 200) { + roleList.value = res.data.data; + systemForm.system_role_id = roleList.value[0].role_id; + }else { + + } + }) +} + +const getFirmList = () => { + $axios.get(`/apaas/system/v5/dictionary/developer/list`) + .then((res) => { + if (res.data.code == 200) { + firmList.value = res.data.data; + + }else { + + } + }) +} onBeforeMount(() =>{ getOrgTree() + getRoleList() + getFirmList() }) onMounted(() => { diff --git a/src/page/main/develop/account/detail/index.vue b/src/page/main/develop/account/detail/index.vue index a4fb31f0cf63da4489feefc8b37b860afa71d2e1..4e63feb816592ab15fc9713a9b63293115048dcd 100644 --- a/src/page/main/develop/account/detail/index.vue +++ b/src/page/main/develop/account/detail/index.vue @@ -16,7 +16,8 @@
- + +
@@ -44,71 +45,75 @@ import { reactive, toRefs, ref, } from '@vue/reactivity' import { getCurrentInstance } from 'vue' import { computed, onBeforeMount } from '@vue/runtime-core' -import { useRouter } from 'vue-router'; - +import { useRoute, useRouter } from 'vue-router'; +const route = useRoute(); +const { proxy } = getCurrentInstance() +const { $axios,$message } = proxy const baseInfo = reactive( - [ - { + [{ name: "所属机构", - value: "某某省/某某市/大数据局", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "业务系统编码", - value: "00000001", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "业务系统名称", - value: "大数据处理系统", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "账号", - value: "admin001", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "AppID", - value: "dasjkjjk", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "AppSecret", - value: "asda*******************jhjh", - nameWidth: 112 + value: "", + copy_icon: true, + secret: true, + nameWidth: 130 }, { name: "创建人", - value: "admin(机构管理员)", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "创建时间", - value: "2022-01-01 10:10:10", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "是否启用", - value: "是", - nameWidth: 112 + value: "", + state: "", + nameWidth: 130 }, { - name: "开发厂商名单", - value: "某某大数据开发商", - nameWidth: 112 + name: "开发厂商名称", + value: "", + nameWidth: 130 }, { name: "访问地址", - value: "http://www.bigdata.com", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, { name: "业务系统描述", - value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, ] ) @@ -116,31 +121,62 @@ const baseInfo = reactive( const contactInfo = reactive( [{ name: "联系人姓名", - value: "xxx", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "联系人手机号", - value: "15627365265", - nameWidth: 112 + value: "", + nameWidth: 130 }, { name: "联系人邮箱", - value: "http://www.bigdata@163.com", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, { name: "备注", - value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, - ] - ) + ]) + const logo = ref('') + + const getDetail = () => { + $axios.get(`/apaas/system/v5/user/detail/${route.query.id}`) + .then((res) => { + if (res.data.code == 200) { + const detail = res.data.data; + baseInfo[0].value = detail.organization_name; + baseInfo[1].value = detail.business_code; + baseInfo[2].value = detail.business_name; + baseInfo[3].value = detail.system_account; + baseInfo[4].value = detail.app_id; + baseInfo[5].value = detail.app_secret; + baseInfo[6].value = detail.created_by; + baseInfo[7].value = detail.created_time; + baseInfo[8].value = detail.state === 1 ? '是' : '否'; + baseInfo[8].state = detail.state === 1 ? 'success' : 'default'; + baseInfo[9].value = detail.develop_id; + baseInfo[10].value = detail.access_address; + baseInfo[11].value = detail.business_desc; + + contactInfo[0].value = detail.contact_name; + contactInfo[1].value = detail.contact_phone; + contactInfo[2].value = detail.contact_email; + contactInfo[3].value = detail.remark; + + logo.value = detail.logo; + }else { + $message.error(res.data.data) + } + }) + } onBeforeMount(() => { - + getDetail() }) diff --git a/src/page/main/develop/account/index.vue b/src/page/main/develop/account/index.vue index 210af308c8aecf5aee768f4e6da6feed87bb2905..a2c24e5dbd60d1dd1e8f588acda67f4f2eb077a7 100644 --- a/src/page/main/develop/account/index.vue +++ b/src/page/main/develop/account/index.vue @@ -14,13 +14,20 @@
- + @@ -196,7 +203,7 @@ \ No newline at end of file diff --git a/src/page/main/system/organization/index.vue b/src/page/main/system/organization/index.vue index 2c2499f229d4222f744aa224b26659266968b9c5..c4bad606e9abf1c1402d2526be3f63662da95b76 100644 --- a/src/page/main/system/organization/index.vue +++ b/src/page/main/system/organization/index.vue @@ -17,46 +17,90 @@ v-model="search" placeholder="请输入组织名称搜索" :prefix-icon="Search" + @input="searchChange" />
- +
基本信息
- + +
-
- 新建编辑 -
+ + + +
- - \ No newline at end of file diff --git a/src/page/main/system/organization/system-user/index.vue b/src/page/main/system/organization/org-user/index.vue similarity index 60% rename from src/page/main/system/organization/system-user/index.vue rename to src/page/main/system/organization/org-user/index.vue index 1dfb873eb0aa94ca837641966f6e955bcca9ffda..c1bab5f131caefabd6127ba09e89afade7cdb029 100644 --- a/src/page/main/system/organization/system-user/index.vue +++ b/src/page/main/system/organization/org-user/index.vue @@ -44,14 +44,17 @@
- - + +
-
-
平台用户新增成功
+
+ + +
+
{{route.query.id ? (successFlag ? '组织用户编辑成功' : '组织用户编辑失败') : (successFlag ? '组织用户新增成功' : '组织用户新增失败')}}
返回列表 - 继续创建 + 继续创建
@@ -76,51 +79,88 @@ \ No newline at end of file diff --git a/src/page/main/system/organization/user-detail/index.vue b/src/page/main/system/organization/user-detail/index.vue index ac3ba5d9f480222ea6fae6bdf1971a4a54588e13..aae92fa3b4758afe625a0c0f1087131be168ce9c 100644 --- a/src/page/main/system/organization/user-detail/index.vue +++ b/src/page/main/system/organization/user-detail/index.vue @@ -10,29 +10,31 @@
-
基础信息
+
账号信息
- + +
- +
-
基础信息
+
个人信息
- + +
@@ -44,103 +46,145 @@ import { reactive, toRefs, ref, } from '@vue/reactivity' import { getCurrentInstance } from 'vue' import { computed, onBeforeMount } from '@vue/runtime-core' -import { useRouter } from 'vue-router'; +import { useRoute } from 'vue-router'; -const baseInfo = reactive( +const { proxy } = getCurrentInstance() +const { $axios,$message } = proxy +const route = useRoute(); + +const accountInfo = reactive( [ { - name: "所属机构", - value: "某某省/某某市/大数据局", - nameWidth: 112 + name: "手机号", + value: "", + nameWidth: 130 }, { - name: "业务系统编码", - value: "00000001", - nameWidth: 112 + name: "账号", + value: "", + nameWidth: 130 }, { - name: "业务系统名称", - value: "大数据处理系统", - nameWidth: 112 + name: "角色", + value: "", + nameWidth: 130 }, { - name: "账号", - value: "admin001", - nameWidth: 112 + name: "所属组织", + value: "", + nameWidth: 130 }, { - name: "AppID", - value: "dasjkjjk", - nameWidth: 112 + name: "创建人", + value: "", + nameWidth: 130 }, { - name: "AppSecret", - value: "asda*******************jhjh", - nameWidth: 112 + name: "创建账号", + value: "", + nameWidth: 130 }, { - name: "创建人", - value: "admin(机构管理员)", - nameWidth: 112 + name: "最后编辑时间", + value: "", + nameWidth: 130 }, { name: "创建时间", - value: "2022-01-01 10:10:10", - nameWidth: 112 + value: "", + nameWidth: 130 + }, + ] + ) + + const personInfo = reactive( + [{ + name: "姓名", + value: "", + nameWidth: 130 }, { - name: "是否启用", - value: "是", - nameWidth: 112 + name: "邮箱", + value: "", + nameWidth: 130 }, { - name: "开发厂商名单", - value: "某某大数据开发商", - nameWidth: 112 + name: "证据类型", + value: "", + nameWidth: 130 }, { - name: "访问地址", - value: "http://www.bigdata.com", - full: true, - nameWidth: 112 + name: "身份证号", + value: "", + nameWidth: 130 }, { - name: "业务系统描述", - value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述", + name: "备注", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, - ] - ) + ]) - const contactInfo = reactive( + const personInfo2 = reactive( [{ - name: "联系人姓名", - value: "xxx", - nameWidth: 112 - }, - { - name: "联系人手机号", - value: "15627365265", - nameWidth: 112 + name: "姓名", + value: "", + nameWidth: 130 }, { - name: "联系人邮箱", - value: "http://www.bigdata@163.com", - full: true, - nameWidth: 112 + name: "邮箱", + value: "", + nameWidth: 130 }, { name: "备注", - value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述", + value: "", full: true, - nameWidth: 112 + nameWidth: 130 }, - ] - ) + ]) + + const logo = ref('') + const accountType = ref(2); //1.业务系统账号 2.组织管理员账号 3.平台用户账号 + + const getDetail = () => { + $axios.get(`/apaas/system/v5/org/user/${route.query.id}`) + .then((res) => { + if (res.data.code == 200) { + const detail = res.data.data; + accountInfo[0].value = detail.contact_phone; + accountInfo[1].value = detail.system_account; + accountInfo[2].value = detail.system_role && detail.system_role.length > 0 ? detail.system_role.join('、') : ''; + accountInfo[3].value = detail.organization; + accountInfo[4].value = detail.created_by; + accountInfo[5].value = detail.created_by_account; + accountInfo[6].value = detail.updated_time; + accountInfo[7].value = detail.created_time; + + personInfo[0].value = detail.contact_name; + personInfo[1].value = detail.contact_email; + personInfo[2].value = detail.document_type === 1 ? '身份证' : ''; + personInfo[3].value = detail.document_number; + personInfo[4].value = detail.remark; + + personInfo2[0].value = detail.contact_name; + personInfo2[1].value = detail.contact_email; + personInfo2[2].value = detail.remark; + + logo.value = detail.logo; + accountType.value = detail.is_admin; + + }else { + $message.error(res.data.data) + } + }) + } onBeforeMount(() => { - + if(route.query.id) { + getDetail() + } }) diff --git a/src/page/main/system/role/add/role_form.vue b/src/page/main/system/role/add/role_form.vue index c8121e1d32eddf533c96411cf450a8416fa92033..f4f0184144493423cc015d12306bab00005bacf3 100644 --- a/src/page/main/system/role/add/role_form.vue +++ b/src/page/main/system/role/add/role_form.vue @@ -5,11 +5,11 @@ 系统管理 角色管理 - 新建 + {{route.query.id ? "编辑" : "新建"}}
-
+
{ axios @@ -130,22 +130,37 @@ const getMenuTree = () => { ElMessage.error(res.data.data) } }) -} +} // 获取菜单数据 const changeMenu = (val) => { roleState.formData.permission_arr = val -} +} // 修改选中的菜单 + const getRoleDetail = () => { axios .get(`/apaas/system/v5/role/detail/${route.query.id}`) .then((res) => { if (res.data.code == 200) { - console.log(res.data.data) + let { role_name, role_desc, data_purview, state, menus } = res.data.data + let permission_arr = [] + if (menus && menus.length > 0) { + menus.forEach(e => { + permission_arr.push(e.id) + }) + } + roleState.formData = { + role_name, + role_desc, + data_purview, + state, + permission_arr:[...permission_arr] + } + console.log(roleState.formData.permission_arr) }else { ElMessage.error(res.data.data) } }) -} +} // 获取角色详情 const saveRole = () => { roleState.form.validate(valid => { @@ -169,7 +184,7 @@ const saveRole = () => { } }) }else { // 编辑 - params.id = route.query.id + params.id = +route.query.id axios .post(`/apaas/system/v5/role/update`,params) .then((res) => { @@ -183,10 +198,12 @@ const saveRole = () => { } } }) -} +} // 新增或编辑角色的保存 + onBeforeMount(() => { getMenuTree() if (route.query.id) { + // 有id表示是编辑,请求详情,回显 getRoleDetail() } }) diff --git a/src/page/main/system/role/index.vue b/src/page/main/system/role/index.vue index 2b510b8d164b23442138526b06f8065df6480071..b4690ee4f371e6d6bb69bb391b752fff0e7e6874 100644 --- a/src/page/main/system/role/index.vue +++ b/src/page/main/system/role/index.vue @@ -22,20 +22,26 @@ 批量删除 +
+ 已选择 + {{selection.length}} + + 清空 +
+ \ No newline at end of file diff --git a/src/router/function.js b/src/router/function.js index 4e487bb22190063a2210bd2c790aa804f54be7a1..f31fd4498faad138652937ae29e805fad58c07f3 100644 --- a/src/router/function.js +++ b/src/router/function.js @@ -180,7 +180,7 @@ var adminMenu = [ dict_group_id: "09938937-3db9-47de-b967-7777ea4ebb2d", menuType: 2, //system:64c156e0-bfff-4bfc-a63a-56effe130a25:apaas后管,能力注册页等 font:2cb4f767-fad7-44f2-afa3-f055e15dd2b6:apaas前台页 manager:09938937-3db9-47de-b967-7777ea4ebb2d:apaas管理中心 知识中心:26d3903a-863e-4efc-b53e-0fb8772ddaa4 show: false, - path: "/system/organization/system-user", + path: "/system/organization/org-user", }, { menuName: "用户详情", diff --git a/yarn.lock b/yarn.lock index d5ba66d2d5049e600f5071212051b9f90e8ee504..90f2d699c67f1d46db954c96e49a12c8d7a2833c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,17 +24,17 @@ resolved "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.0.6.tgz" integrity sha512-lPpG8hYkjL/Z97DH5Ei6w6o22Z4YdNglWCNYOPcB33JCF2A4wye6HFgSI7hEt9zdLyxlSpiqtgf9XcYU+m5mew== -"@floating-ui/core@^0.7.3": - version "0.7.3" - resolved "https://registry.npmmirror.com/@floating-ui/core/-/core-0.7.3.tgz" - integrity sha512-buc8BXHmG9l82+OQXOFU3Kr2XQx9ys01U/Q9HMIrZ300iLc8HLMgh7dcCqgYzAzf4BkoQvDcXf5Y+CuEZ5JBYg== +"@floating-ui/core@^1.0.1": + version "1.0.1" + resolved "https://mirrors.cloud.tencent.com/npm/@floating-ui%2fcore/-/core-1.0.1.tgz#00e64d74e911602c8533957af0cce5af6b2e93c8" + integrity sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA== -"@floating-ui/dom@^0.5.4": - version "0.5.4" - resolved "https://registry.npmmirror.com/@floating-ui/dom/-/dom-0.5.4.tgz" - integrity sha512-419BMceRLq0RrmTSDxn8hf9R3VCJv2K9PUfugh5JyEFmdjzDo+e8U5EdR8nzKq8Yj1htzLm3b6eQEEam3/rrtg== +"@floating-ui/dom@^1.0.1": + version "1.0.4" + resolved "https://mirrors.cloud.tencent.com/npm/@floating-ui%2fdom/-/dom-1.0.4.tgz#cc0f2a03db7193b1b932b90d09c5c81235682a60" + integrity sha512-maYJRv+sAXTy4K9mzdv0JPyNW5YPVHrqtY90tEdI6XNpuLOP26Ci2pfwPsKBA/Wh4Z3FX5sUrtUFTdMYj9v+ug== dependencies: - "@floating-ui/core" "^0.7.3" + "@floating-ui/core" "^1.0.1" "@intlify/core-base@9.1.10": version "9.1.10" @@ -119,10 +119,10 @@ resolved "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.182.tgz" integrity sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q== -"@types/web-bluetooth@^0.0.14": - version "0.0.14" - resolved "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.14.tgz" - integrity sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A== +"@types/web-bluetooth@^0.0.16": + version "0.0.16" + resolved "https://mirrors.cloud.tencent.com/npm/@types%2fweb-bluetooth/-/web-bluetooth-0.0.16.tgz#1d12873a8e49567371f2a75fe3e7f7edca6662d8" + integrity sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ== "@uppy/companion-client@^2.2.2": version "2.2.2" @@ -357,25 +357,25 @@ resolved "https://registry.npmmirror.com/@vue/shared/-/shared-3.2.38.tgz#e823f0cb2e85b6bf43430c0d6811b1441c300f3c" integrity sha512-dTyhTIRmGXBjxJE+skC8tTWCGLCVc4wQgRRLt8+O9p5ewBAjoBwtCAkLPrtToSr1xltoe3st21Pv953aOZ7alg== -"@vueuse/core@^8.7.5": - version "8.9.4" - resolved "https://registry.npmmirror.com/@vueuse/core/-/core-8.9.4.tgz" - integrity sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q== +"@vueuse/core@^9.1.0": + version "9.4.0" + resolved "https://mirrors.cloud.tencent.com/npm/@vueuse%2fcore/-/core-9.4.0.tgz#afb30f9494b0954e51a489526566b14f1e2c5fb3" + integrity sha512-JzgenGj1ZF2BHOen5rsFiAyyI9sXAv7aKhNLlm9b7SwYQeKTcxTWdhudonURCSP3Egl9NQaRBzes2lv/1JUt/Q== dependencies: - "@types/web-bluetooth" "^0.0.14" - "@vueuse/metadata" "8.9.4" - "@vueuse/shared" "8.9.4" + "@types/web-bluetooth" "^0.0.16" + "@vueuse/metadata" "9.4.0" + "@vueuse/shared" "9.4.0" vue-demi "*" -"@vueuse/metadata@8.9.4": - version "8.9.4" - resolved "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-8.9.4.tgz" - integrity sha512-IwSfzH80bnJMzqhaapqJl9JRIiyQU0zsRGEgnxN6jhq7992cPUJIRfV+JHRIZXjYqbwt07E1gTEp0R0zPJ1aqw== +"@vueuse/metadata@9.4.0": + version "9.4.0" + resolved "https://mirrors.cloud.tencent.com/npm/@vueuse%2fmetadata/-/metadata-9.4.0.tgz#5c8eb105a8ad9eb7b47f78a226ff993560d0bd7f" + integrity sha512-7GKMdGAsJyQJl35MYOz/RDpP0FxuiZBRDSN79QIPbdqYx4Sd0sVTnIC68KJ6Oln0t0SouvSUMvRHuno216Ud2Q== -"@vueuse/shared@8.9.4": - version "8.9.4" - resolved "https://registry.npmmirror.com/@vueuse/shared/-/shared-8.9.4.tgz" - integrity sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag== +"@vueuse/shared@9.4.0": + version "9.4.0" + resolved "https://mirrors.cloud.tencent.com/npm/@vueuse%2fshared/-/shared-9.4.0.tgz#634022fe42b3d5ece1d81d749724966f5071c8c3" + integrity sha512-fTuem51KwMCnqUKkI8B57qAIMcFovtGgsCtAeqxIzH3i6nE9VYge+gVfneNHAAy7lj8twbkNfqQSygOPJTm4tQ== dependencies: vue-demi "*" @@ -578,18 +578,18 @@ echarts@^5.3.3: tslib "2.3.0" zrender "5.3.2" -element-plus@^2.2.9: - version "2.2.9" - resolved "https://registry.npmmirror.com/element-plus/-/element-plus-2.2.9.tgz" - integrity sha512-jYbL0JkCdv95rkT6trZJjCAizLPySa0qcd2cgq+57SKQnCZAcNDDq4GbTuFRnNavdoeCJnuM3HIficTIUpsMOQ== +element-plus@^2.2.19: + version "2.2.19" + resolved "https://mirrors.cloud.tencent.com/npm/element-plus/-/element-plus-2.2.19.tgz#c11cb84b35b7698b2f5fa7ec0fd98034f6861a9e" + integrity sha512-uN0gt9lUus/IHzu5J6vkbYoYJgUtU05osdtFv9RO27bHKOG5GN7dH6uA3OKfkQQ6R2sV8ZxY1rc9PH1X8Dgrow== dependencies: "@ctrl/tinycolor" "^3.4.1" "@element-plus/icons-vue" "^2.0.6" - "@floating-ui/dom" "^0.5.4" + "@floating-ui/dom" "^1.0.1" "@popperjs/core" "npm:@sxzz/popperjs-es@^2.11.7" "@types/lodash" "^4.14.182" "@types/lodash-es" "^4.17.6" - "@vueuse/core" "^8.7.5" + "@vueuse/core" "^9.1.0" async-validator "^4.2.5" dayjs "^1.11.3" escape-html "^1.0.3" @@ -597,7 +597,7 @@ element-plus@^2.2.9: lodash-es "^4.17.21" lodash-unified "^1.0.2" memoize-one "^6.0.0" - normalize-wheel-es "^1.1.2" + normalize-wheel-es "^1.2.0" es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.14: version "0.10.62" @@ -984,9 +984,9 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-wheel-es@^1.1.2: +normalize-wheel-es@^1.2.0: version "1.2.0" - resolved "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz" + resolved "https://mirrors.cloud.tencent.com/npm/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz#0fa2593d619f7245a541652619105ab076acf09e" integrity sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw== path-parse@^1.0.7: