| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-16 11:28:12 |
| | | * @LastEditTime: 2023-04-25 19:06:37 |
| | | * @LastEditors: lwh |
| | | * @LastEditTime: 2024-08-26 09:54:37 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: axios处理方法 |
| | | */ |
| | |
| | | |
| | | const url = |
| | | value.service === 'sys' |
| | | ? `${appUrl.fileUrl}/${appUrl[value.service] || ''}/api/v1/${value.url}` |
| | | : `${appUrl.baseUrl}/${appUrl[value.service] || ''}/api/v1/${value.url}`; |
| | | ? `${appUrl.fileUrl}/${appUrl[value.service] || ''}/api/web/${value.url}` |
| | | : `${appUrl.baseUrl}/${appUrl[value.service] || ''}/api/web/${value.url}`; |
| | | |
| | | if (value.type === 'get') { |
| | | return ax |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-16 11:25:57 |
| | | * @LastEditTime: 2024-08-23 09:35:11 |
| | | * @LastEditTime: 2024-08-26 10:55:13 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: api地址 |
| | | */ |
| | | export const debug = { |
| | | // web服务 |
| | | baseUrl: 'http://gz.hugeinfo.com.cn', |
| | | // baseUrl: 'http://192.168.3.108:9002', |
| | | // baseUrl: 'http://gz.hugeinfo.com.cn', |
| | | baseUrl: 'http://192.168.3.108:9002', |
| | | // baseUrl: 'http://mdqgnh.natappfree.cc', |
| | | |
| | | // 附件服务 |
| | | // fileUrl: 'http://192.168.3.108:9002', |
| | | fileUrl: 'http://gz.hugeinfo.com.cn', |
| | | fileUrl: 'http://192.168.3.108:9002', |
| | | // fileUrl: 'http://gz.hugeinfo.com.cn', |
| | | |
| | | |
| | | // 文件查看url 后面接附件编号 |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-03-11 14:22:43 |
| | | * @LastEditTime: 2023-12-25 16:10:51 |
| | | * @LastEditTime: 2024-08-26 10:19:52 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 外层layout |
| | |
| | | async function getRolePower(roleId, roleName) { |
| | | global.setSpinning(true); |
| | | const res = await getRolePowerApi(roleId); |
| | | console.log(res,'res1111') |
| | | global.setSpinning(false); |
| | | if (res.type) { |
| | | let resData = res.data?.roleTreeBOS || []; |
| | | let menu_data = []; |
| | | let power_data = []; |
| | | resData.forEach((x) => { |
| | | if (x.appClient === '1' && x.powerTag !== 'pay') { |
| | | if (x.appClient === 1 && x.powerTag !== 'pay') { |
| | | menu_data.push(x); |
| | | } |
| | | if (x.appClient === '1' || x.powerTag === 'pay') { |
| | | if (x.appClient === 1 || x.powerTag === 'pay') { |
| | | power_data.push(x); |
| | | } |
| | | }); |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-25 18:16:28 |
| | | * @LastEditTime: 2022-11-25 09:37:34 |
| | | * @LastEditors: ldh |
| | | * @LastEditTime: 2024-08-26 10:27:36 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 自定义带操作的树结构 |
| | | */ |
| | |
| | | arr2 = []; |
| | | treeDataMap.forEach((item) => { |
| | | const strTitle = item[nameStr]; |
| | | const index = strTitle.indexOf(searchValue); |
| | | const index = strTitle?.indexOf(searchValue); |
| | | if (index > -1) { |
| | | expandedKeys = Array.from(new Set([...expandedKeys, ...item.parentKeys])); |
| | | } |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-25 14:40:57 |
| | | * @LastEditTime: 2022-11-03 11:35:05 |
| | | * @LastEditors: ldh |
| | | * @LastEditTime: 2024-08-26 10:56:05 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 人员信息列表页面 |
| | | */ |
| | |
| | | title: '状态', |
| | | dataIndex: 'status', |
| | | width: 50, |
| | | render: (text) => <span style={{ color: text === '1' ? '#52C41A' : '#BFBFBF' }}>{text === '1' ? '正常' : '停用'}</span>, |
| | | render: (text) => <span style={{ color: text === 1 ? '#52C41A' : '#BFBFBF' }}>{text === 1 ? '正常' : '停用'}</span>, |
| | | }, |
| | | { |
| | | title: '操作', |
| | |
| | | {/* 22_00024-2超级管理员不可操作 */} |
| | | {!record.ctUseroleList?.filter((item) => item.roleCode === '22_00024-2').length && ( |
| | | <> |
| | | {record.status === '1' ? ( |
| | | {record.status === 1 ? ( |
| | | <Popconfirm title="是否确认停用该账号?" onConfirm={() => handleEditPerson('stop', record)}> |
| | | <Link disabled={userId === record.id}>停用</Link> |
| | | </Popconfirm> |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-18 15:04:13 |
| | | * @LastEditTime: 2024-08-13 16:04:30 |
| | | * @LastEditTime: 2024-08-26 10:36:48 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 组织架构 |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(organizationData,'organizationData') |
| | | |
| | | // 新增 or 修改组织 |
| | | async function setOrganization(submitType, values, form) { |
| | |
| | | <MyTree |
| | | active={organizationActive.id} |
| | | keyStr="id" |
| | | nameStr="name" |
| | | nameStr="unitName" |
| | | data={organizationData} |
| | | searchValue={organizationSearch.searchValue} |
| | | dropdownOption={dropdownOptions} |
| | |
| | | } |
| | | } |
| | | |
| | | .arco-form-label-item .arco-form-item-tooltip { |
| | | color: #1A6FB8; |
| | | } |
| | | |
| | | |
| | | //大厅来访 |
| | | .must { |
| | | font-size: 12px; |
| | | color: rgb(245, 63, 63); |
| | | background-color: rgb(255, 236, 232); |
| | | line-height: 20px; |
| | | padding: 0px 4px; |
| | | border-radius: 2px; |
| | | margin-left: 8px; |
| | | } |
| | | |
| | | .arco-btn-primary:not(.arco-btn-disabled) { |
| | | background-color: @main-color; |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-20 20:26:41 |
| | | * @LastEditTime: 2022-08-02 16:51:06 |
| | | * @LastEditors: ldh |
| | | * @LastEditTime: 2024-08-26 10:42:51 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 人员信息 |
| | | */ |
| | |
| | | global.setSpinning(false); |
| | | if (res.type) { |
| | | let resData = res.data || {}; |
| | | console.log(resData,'resData') |
| | | tableData.countZzStatus = resData.countZzStatus; |
| | | tableData.total = resData.ctUserPage?.totalElements; |
| | | tableData.data = resData.ctUserPage?.content; |
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-18 15:12:34 |
| | | * @LastEditTime: 2022-08-02 15:53:17 |
| | | * @LastEditors: ldh |
| | | * @LastEditTime: 2024-08-26 10:24:36 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 角色管理 |
| | | */ |
| | |
| | | async function getRolePower(roleId, isChange) { |
| | | global.setSpinning(true); |
| | | const res = await getRolePowerApi(roleId); |
| | | console.log(res,'res22222') |
| | | global.setSpinning(false); |
| | | if (res.type) { |
| | | if (isChange) { |
| | |
| | | getAllData(); |
| | | }, []); |
| | | |
| | | |
| | | // 角色操作 |
| | | const dropdownOption = ({ value }) => |
| | | value.id === 'none' ? null : ( |