Compare commits
14 Commits
master
...
version_re
| Author | SHA1 | Date | |
|---|---|---|---|
| f425dd6f8e | |||
| ce511cf72e | |||
| 48174a4e92 | |||
|
|
9663037e24 | ||
|
|
b350cd86d7 | ||
|
|
8961f8894c | ||
|
|
7f38fec897 | ||
|
|
4830c1c3b2 | ||
|
|
e23af9ef81 | ||
|
|
55101ced96 | ||
|
|
e13ee305d8 | ||
|
|
5409a15d8a | ||
|
|
08dd8b8ae0 | ||
|
|
4d7bbf9ca4 |
19
.idea/$PRODUCT_WORKSPACE_FILE$
generated
19
.idea/$PRODUCT_WORKSPACE_FILE$
generated
@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="masterDetails">
|
|
||||||
<states>
|
|
||||||
<state key="ProjectJDKs.UI">
|
|
||||||
<settings>
|
|
||||||
<last-edited>1.8</last-edited>
|
|
||||||
<splitter-proportions>
|
|
||||||
<option name="proportions">
|
|
||||||
<list>
|
|
||||||
<option value="0.2" />
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
</splitter-proportions>
|
|
||||||
</settings>
|
|
||||||
</state>
|
|
||||||
</states>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
2
.idea/.gitignore
generated
vendored
2
.idea/.gitignore
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/workspace.xml
|
|
||||||
25
.idea/codeStyles/Project.xml
generated
25
.idea/codeStyles/Project.xml
generated
@ -1,25 +0,0 @@
|
|||||||
<component name="ProjectCodeStyleConfiguration">
|
|
||||||
<code_scheme name="Project" version="173">
|
|
||||||
<JSCodeStyleSettings version="0">
|
|
||||||
<option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
|
|
||||||
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
||||||
<option name="SPACE_BEFORE_GENERATOR_MULT" value="true" />
|
|
||||||
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
||||||
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
||||||
</JSCodeStyleSettings>
|
|
||||||
<codeStyleSettings language="JavaScript">
|
|
||||||
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
||||||
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
||||||
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
|
||||||
<option name="SPACE_BEFORE_METHOD_PARENTHESES" value="true" />
|
|
||||||
<option name="IF_BRACE_FORCE" value="1" />
|
|
||||||
<option name="DOWHILE_BRACE_FORCE" value="1" />
|
|
||||||
<option name="WHILE_BRACE_FORCE" value="1" />
|
|
||||||
<option name="FOR_BRACE_FORCE" value="1" />
|
|
||||||
<indentOptions>
|
|
||||||
<option name="INDENT_SIZE" value="2" />
|
|
||||||
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
||||||
</indentOptions>
|
|
||||||
</codeStyleSettings>
|
|
||||||
</code_scheme>
|
|
||||||
</component>
|
|
||||||
5
.idea/codeStyles/codeStyleConfig.xml
generated
5
.idea/codeStyles/codeStyleConfig.xml
generated
@ -1,5 +0,0 @@
|
|||||||
<component name="ProjectCodeStyleConfiguration">
|
|
||||||
<state>
|
|
||||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
|
||||||
</state>
|
|
||||||
</component>
|
|
||||||
8
.idea/compiler.xml
generated
8
.idea/compiler.xml
generated
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="CompilerConfiguration">
|
|
||||||
<annotationProcessing>
|
|
||||||
<profile default="true" name="Default" enabled="true" />
|
|
||||||
</annotationProcessing>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
6
.idea/inspectionProfiles/Project_Default.xml
generated
6
.idea/inspectionProfiles/Project_Default.xml
generated
@ -1,6 +0,0 @@
|
|||||||
<component name="InspectionProjectProfileManager">
|
|
||||||
<profile version="1.0">
|
|
||||||
<option name="myName" value="Project Default" />
|
|
||||||
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
</profile>
|
|
||||||
</component>
|
|
||||||
9
.idea/lz_management_vue.iml
generated
9
.idea/lz_management_vue.iml
generated
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$" />
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
6
.idea/misc.xml
generated
6
.idea/misc.xml
generated
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="JavaScriptSettings">
|
|
||||||
<option name="languageLevel" value="ES6" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
8
.idea/modules.xml
generated
8
.idea/modules.xml
generated
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/lz_management_vue.iml" filepath="$PROJECT_DIR$/.idea/lz_management_vue.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
6
.idea/vcs.xml
generated
6
.idea/vcs.xml
generated
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,10 +1,10 @@
|
|||||||
# History版本管理
|
# History版本管理
|
||||||
|
|
||||||
> lz_management_vue 企业数字化管理系统相关需求代码库
|
> wl_management_vue 企业数字化管理系统相关需求代码库
|
||||||
|
|
||||||
| version | time | author | desc |
|
| version | time | author | desc |
|
||||||
| ------- | ---- | ------ | ---- |
|
| ------- | ---- | ------ | ---- |
|
||||||
| V_1.0.0 | 2020-05-22 | xiongchengqiang | 系统配置(菜单管理、角色权限管理、账户管理);组织管理(员工管理);企业数字看板(员工概况、员工档案) |
|
| V_1.0.0 | 2020-05-22 | wulin | 系统配置(菜单管理、角色权限管理、账户管理);组织管理(员工管理);企业数字看板(员工概况、员工档案) |
|
||||||
|
|
||||||
## renren-fast-vue
|
## renren-fast-vue
|
||||||
|
|
||||||
|
|||||||
@ -12,9 +12,9 @@ module.exports = {
|
|||||||
assetsSubDirectory: 'static',
|
assetsSubDirectory: 'static',
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/lz_management': {
|
'/wl_management': {
|
||||||
// target: 'https://tlzmanagement.ldxinyong.com',
|
// target: 'https://tlzmanagement.ldxinyong.com',
|
||||||
target: 'http://localhost:8080/',
|
target: 'http://192.168.8.107:8080/',
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
45
echarts.min.js
vendored
Normal file
45
echarts.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>企业数字化管理系统</title>
|
<title>企业数字化管理系统</title>
|
||||||
<script src="https://f.ldxinyong.com/h5/echarts.min.js"></script>
|
<script src="echarts.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -5,147 +5,147 @@ import http from '../utils/http'
|
|||||||
*/
|
*/
|
||||||
// 设备分类
|
// 设备分类
|
||||||
export const apiFindEquipmentType = data => {
|
export const apiFindEquipmentType = data => {
|
||||||
return http({url: '/lz_management/api/findEquipmentType', method: 'post', data})
|
return http({url: '/wl_management/api/findEquipmentType', method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改设备信息
|
// 修改设备信息
|
||||||
export const apiChangeEquipment = data => {
|
export const apiChangeEquipment = data => {
|
||||||
return http({url: '/lz_management/api/changeEquipmentInfo', method: 'post', data})
|
return http({url: '/wl_management/api/changeEquipmentInfo', method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 根据编码获取设备信息
|
// 根据编码获取设备信息
|
||||||
export const apiFindEquipmentByCode = (data, code) => {
|
export const apiFindEquipmentByCode = (data, code) => {
|
||||||
return http({url: `/lz_management/api/findEquipmentById?code=${code}`, method: 'get', data})
|
return http({url: `/wl_management/api/findEquipmentById?code=${code}`, method: 'get', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 搜索用户
|
// 搜索用户
|
||||||
export const apiFindStaff = data => {
|
export const apiFindStaff = data => {
|
||||||
return http({url: `/lz_management/api/findEmployeeByName`, method: 'post', data})
|
return http({url: `/wl_management/api/findEmployeeByName`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 搜索使用地
|
// 搜索使用地
|
||||||
export const apiFindDepat = data => {
|
export const apiFindDepat = data => {
|
||||||
return http({url: `/lz_management/api/findSpecialApplyByName`, method: 'post', data})
|
return http({url: `/wl_management/api/findSpecialApplyByName`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取使用地,使用人的设备信息
|
// 获取使用地,使用人的设备信息
|
||||||
export const apiFindStaffDevice = data => {
|
export const apiFindStaffDevice = data => {
|
||||||
return http({url: `/lz_management/api/findUsersEquipmentsByName`, method: 'post', data})
|
return http({url: `/wl_management/api/findUsersEquipmentsByName`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取类型信息
|
// 获取类型信息
|
||||||
export const apiGetDeviceTypes = data => {
|
export const apiGetDeviceTypes = data => {
|
||||||
return http({url: `/lz_management/modules/type/equipmentTypeList`, method: 'post', data})
|
return http({url: `/wl_management/modules/type/equipmentTypeList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取规格信息
|
// 获取规格信息
|
||||||
export const apiGetDeviceSpecs = data => {
|
export const apiGetDeviceSpecs = data => {
|
||||||
return http({url: `/lz_management/modules/specs/equipmentSpecsList`, method: 'post', data})
|
return http({url: `/wl_management/modules/specs/equipmentSpecsList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取品牌信息
|
// 获取品牌信息
|
||||||
export const apiGetDeviceBrands = data => {
|
export const apiGetDeviceBrands = data => {
|
||||||
return http({url: `/lz_management/modules/specs/brandList`, method: 'post', data})
|
return http({url: `/wl_management/modules/specs/brandList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取品牌信息列表
|
// 获取品牌信息列表
|
||||||
export const apiGetDeviceBrandList = data => {
|
export const apiGetDeviceBrandList = data => {
|
||||||
return http({url: `/lz_management/modules/brand/equipmentBrandList`, method: 'post', data})
|
return http({url: `/wl_management/modules/brand/equipmentBrandList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑规格信息
|
// 编辑规格信息
|
||||||
export const apiEditDeviceSpecs = data => {
|
export const apiEditDeviceSpecs = data => {
|
||||||
return http({url: `/lz_management/modules/specs/equipmentSpecsEdit`, method: 'post', data})
|
return http({url: `/wl_management/modules/specs/equipmentSpecsEdit`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加规格信息
|
// 添加规格信息
|
||||||
export const apiAddDeviceSpecs = data => {
|
export const apiAddDeviceSpecs = data => {
|
||||||
return http({url: `/lz_management/modules/specs/equipmentSpecsAdd`, method: 'post', data})
|
return http({url: `/wl_management/modules/specs/equipmentSpecsAdd`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除规格信息
|
// 删除规格信息
|
||||||
export const apiDelDeviceSpecs = data => {
|
export const apiDelDeviceSpecs = data => {
|
||||||
return http({url: `/lz_management/modules/specs/equipmentSpecsDelete`, method: 'post', data})
|
return http({url: `/wl_management/modules/specs/equipmentSpecsDelete`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑规格信息
|
// 编辑规格信息
|
||||||
export const apiEditDeviceTypes = data => {
|
export const apiEditDeviceTypes = data => {
|
||||||
return http({url: `/lz_management/modules/type/equipmentTypeEdit`, method: 'post', data})
|
return http({url: `/wl_management/modules/type/equipmentTypeEdit`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加规格信息
|
// 添加规格信息
|
||||||
export const apiAddDeviceTypes = data => {
|
export const apiAddDeviceTypes = data => {
|
||||||
return http({url: `/lz_management/modules/type/equipmentTypeAdd`, method: 'post', data})
|
return http({url: `/wl_management/modules/type/equipmentTypeAdd`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除规格信息
|
// 删除规格信息
|
||||||
export const apiDelDeviceTypes = data => {
|
export const apiDelDeviceTypes = data => {
|
||||||
return http({url: `/lz_management/modules/type/equipmentTypeDelete`, method: 'post', data})
|
return http({url: `/wl_management/modules/type/equipmentTypeDelete`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑品牌信息
|
// 编辑品牌信息
|
||||||
export const apiEditDeviceBrands = data => {
|
export const apiEditDeviceBrands = data => {
|
||||||
return http({url: `/lz_management/modules/brand/equipmentBrandEdit`, method: 'post', data})
|
return http({url: `/wl_management/modules/brand/equipmentBrandEdit`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加品牌信息
|
// 添加品牌信息
|
||||||
export const apiAddDeviceBrands = data => {
|
export const apiAddDeviceBrands = data => {
|
||||||
return http({url: `/lz_management/modules/brand/equipmentBrandAdd`, method: 'post', data})
|
return http({url: `/wl_management/modules/brand/equipmentBrandAdd`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除品牌信息
|
// 删除品牌信息
|
||||||
export const apiDelDeviceBrands = data => {
|
export const apiDelDeviceBrands = data => {
|
||||||
return http({url: `/lz_management/modules/brand/equipmentBrandDelete`, method: 'post', data})
|
return http({url: `/wl_management/modules/brand/equipmentBrandDelete`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取使用设备列表
|
// 获取使用设备列表
|
||||||
export const apiGetUseDeviceList = data => {
|
export const apiGetUseDeviceList = data => {
|
||||||
return http({url: `/lz_management/modules/usereq/equipmentInfoList`, method: 'post', data})
|
return http({url: `/wl_management/modules/usereq/equipmentInfoList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑使用设备信息
|
// 编辑使用设备信息
|
||||||
export const apiEditUseDevice = data => {
|
export const apiEditUseDevice = data => {
|
||||||
return http({url: `/lz_management/modules/usereq/equipmentInfoEdit`, method: 'post', data})
|
return http({url: `/wl_management/modules/usereq/equipmentInfoEdit`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除使用设备信息
|
// 删除使用设备信息
|
||||||
export const apiDelUseDevice = data => {
|
export const apiDelUseDevice = data => {
|
||||||
return http({url: `/lz_management/modules/usereq/equipmentInfoDelete`, method: 'post', data})
|
return http({url: `/wl_management/modules/usereq/equipmentInfoDelete`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 打印编码
|
// 打印编码
|
||||||
export const apiGetRePrintCode = (data, code) => {
|
export const apiGetRePrintCode = (data, code) => {
|
||||||
return http({url: `/lz_management/oneCode/re/print?code=${code}`, method: 'get', data})
|
return http({url: `/wl_management/oneCode/re/print?code=${code}`, method: 'get', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 批量生成制定数量的编码
|
// 批量生成制定数量的编码
|
||||||
export const apiGetNewPrintCodes = (data, count) => {
|
export const apiGetNewPrintCodes = (data, count) => {
|
||||||
return http({url: `/lz_management/oneCode/new/prints?counts=${count}`, method: 'get', data})
|
return http({url: `/wl_management/oneCode/new/prints?counts=${count}`, method: 'get', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取编码
|
// 获取编码
|
||||||
export const apiGetCodes = data => {
|
export const apiGetCodes = data => {
|
||||||
return http({url: `/lz_management/oneCode/get/getPrints`, method: 'post', data})
|
return http({url: `/wl_management/oneCode/get/getPrints`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiResourceItuation = data => {
|
export const apiResourceItuation = data => {
|
||||||
return http({url: `/lz_management/oneCode/get/resourceItuation/${data}`, method: 'post'})
|
return http({url: `/wl_management/oneCode/get/resourceItuation/${data}`, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const handleNums = data => {
|
export const handleNums = data => {
|
||||||
return http({url: `/lz_management/oneCode/get/nums`, method: 'post', data})
|
return http({url: `/wl_management/oneCode/get/nums`, method: 'post', data})
|
||||||
}
|
}
|
||||||
// 获取盘点次数
|
// 获取盘点次数
|
||||||
export const apiGetTCounts = data => {
|
export const apiGetTCounts = data => {
|
||||||
return http({url: `/lz_management/modules/count/tCountList`, method: 'post', data})
|
return http({url: `/wl_management/modules/count/tCountList`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增盘点次数
|
// 新增盘点次数
|
||||||
export const apiAddTCounts = () => {
|
export const apiAddTCounts = () => {
|
||||||
return http({url: `/lz_management/modules/count/newStart`, method: 'get'})
|
return http({url: `/wl_management/modules/count/newStart`, method: 'get'})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除盘点次数
|
// 删除盘点次数
|
||||||
export const apiDelTCounts = data => {
|
export const apiDelTCounts = data => {
|
||||||
return http({url: `/lz_management/modules/count/tCountDelete`, method: 'post', data})
|
return http({url: `/wl_management/modules/count/tCountDelete`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,26 +2,26 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const apiGetFlowList = params => {
|
export const apiGetFlowList = params => {
|
||||||
return http({url: '/lz_management/user/lzflowmanager/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzflowmanager/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiFlowInfo = params => {
|
export const apiFlowInfo = params => {
|
||||||
return http({url: `/lz_management/user/lzflowmanager/info/${params}`, method: 'post'})
|
return http({url: `/wl_management/user/lzflowmanager/info/${params}`, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 菜单管理列表
|
// 菜单管理列表
|
||||||
export const apiDepartmentMenuList = params => {
|
export const apiDepartmentMenuList = params => {
|
||||||
return http({url: '/lz_management/user/lzflowmanager/menu/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzflowmanager/menu/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiGetFlowInfo = params => {
|
export const apiGetFlowInfo = params => {
|
||||||
return http({url: `/lz_management/user/lzflowmanager/get/flowInfo/${params}`, method: 'post'})
|
return http({url: `/wl_management/user/lzflowmanager/get/flowInfo/${params}`, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getFlow = (data) => {
|
export const getFlow = (data) => {
|
||||||
return http({url: `/lz_management/user/lzflowmanager/get/flow`, method: 'post', data})
|
return http({url: `/wl_management/user/lzflowmanager/get/flow`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const saveFlow = (data) => {
|
export const saveFlow = (data) => {
|
||||||
return http({url: `/lz_management/user/lzflowmanager/save/flow`, method: 'post', data})
|
return http({url: `/wl_management/user/lzflowmanager/save/flow`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,5 +2,5 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const apiGetMenuNav = params => {
|
export const apiGetMenuNav = params => {
|
||||||
return http({ url: '/lz_management/sys/menu/nav', method: 'get', params })
|
return http({ url: '/wl_management/sys/menu/nav', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,19 +2,19 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 业绩看板
|
// 业绩看板
|
||||||
export const apiResultChart = data => {
|
export const apiResultChart = data => {
|
||||||
return http({ url: '/lz_management/result/chart', method: 'get', params: data })
|
return http({ url: '/wl_management/result/chart', method: 'get', params: data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 绩效列表
|
// 绩效列表
|
||||||
export const apiResultReport = data => {
|
export const apiResultReport = data => {
|
||||||
return http({ url: '/lz_management/result/report', method: 'post', params: data })
|
return http({ url: '/wl_management/result/report', method: 'post', params: data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 业绩列分布
|
// 业绩列分布
|
||||||
export const apiResultDistribution = data => {
|
export const apiResultDistribution = data => {
|
||||||
return http({ url: '/lz_management/result/distribution', method: 'post', params: data })
|
return http({ url: '/wl_management/result/distribution', method: 'post', params: data })
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiDepartmentSelfList = data => {
|
export const apiDepartmentSelfList = data => {
|
||||||
return http({ url: '/lz_management/result/departmentTreeByStaffId', method: 'get', data })
|
return http({ url: '/wl_management/result/departmentTreeByStaffId', method: 'get', data })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,77 +2,77 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const apiGetResultRecordList = params => {
|
export const apiGetResultRecordList = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const departmentQuery = params => {
|
export const departmentQuery = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/departmentQuery', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/departmentQuery', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getStaffResultDetail = params => {
|
export const getStaffResultDetail = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/getStaffResultDetail', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/getStaffResultDetail', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiDetailInfo = params => {
|
export const apiDetailInfo = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/detail/' + params, method: 'post'})
|
return http({url: '/wl_management/user/lzresultrecord/detail/' + params, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const recorddetailAddOrUpdate = params => {
|
export const recorddetailAddOrUpdate = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/detailAddOrUpdate', method: 'post', params})
|
return http({url: '/wl_management/user/lzresultrecord/detailAddOrUpdate', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const recorddetailDelete = params => {
|
export const recorddetailDelete = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/recorddetailDelete/' + params, method: 'post'})
|
return http({url: '/wl_management/user/lzresultrecord/recorddetailDelete/' + params, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const weightCheck = params => {
|
export const weightCheck = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/weightCheck', method: 'post', params})
|
return http({url: '/wl_management/user/lzresultrecord/weightCheck', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const commitApproval = params => {
|
export const commitApproval = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/commitApproval', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/commitApproval', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getResultComment = params => {
|
export const getResultComment = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/getResultComment/' + params, method: 'post'})
|
return http({url: '/wl_management/user/lzresultrecord/getResultComment/' + params, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const recordIdsSubmit = params => {
|
export const recordIdsSubmit = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/recordIdsSubmit', method: 'post', params})
|
return http({url: '/wl_management/user/lzresultrecord/recordIdsSubmit', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const getUploadFileList = params => {
|
export const getUploadFileList = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/getUploadFileList', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/getUploadFileList', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const deleteFile = params => {
|
export const deleteFile = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/deleteFile', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/deleteFile', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const downZip = params => {
|
export const downZip = params => {
|
||||||
return http({url: '/lz_management/file/downZip?ids=' + params, method: 'get'})
|
return http({url: '/wl_management/file/downZip?ids=' + params, method: 'get'})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const deleteRecord = params => {
|
export const deleteRecord = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/deleteRecord', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/deleteRecord', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const preWeightCheck = params => {
|
export const preWeightCheck = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/preWeightCheck', method: 'post', params})
|
return http({url: '/wl_management/user/lzresultrecord/preWeightCheck', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getMyDate = params => {
|
export const getMyDate = params => {
|
||||||
return http({url: '/lz_management/get/date', method: 'post', params})
|
return http({url: '/wl_management/get/date', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const updateDate = params => {
|
export const updateDate = params => {
|
||||||
return http({url: '/lz_management/get/updateDate', method: 'post', params})
|
return http({url: '/wl_management/get/updateDate', method: 'post', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const addRecordAjudex = params => {
|
export const addRecordAjudex = params => {
|
||||||
return http({url: '/lz_management/user/lzresultrecord/addRecordAjudex', method: 'get', params})
|
return http({url: '/wl_management/user/lzresultrecord/addRecordAjudex', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,17 +2,17 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const apiGetRoleList = params => {
|
export const apiGetRoleList = params => {
|
||||||
return http({url: '/lz_management/user/lzrecordrole/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzrecordrole/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysMenuList = params => {
|
export const apiSysMenuList = params => {
|
||||||
return http({url: '/lz_management/user/lzrecordrole/menu/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzrecordrole/menu/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysRoleInfo = (params, id) => {
|
export const apiSysRoleInfo = (params, id) => {
|
||||||
return http({url: `/lz_management/user/lzrecordrole/info${id}`, method: 'get', params})
|
return http({url: `/wl_management/user/lzrecordrole/info${id}`, method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysRoleConfirm = (data, type) => {
|
export const apiSysRoleConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/user/lzrecordrole/updateOrAdd`, method: 'post', data })
|
return http({ url: `/wl_management/user/lzrecordrole/updateOrAdd`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,55 +5,55 @@ import http from '../utils/http'
|
|||||||
*/
|
*/
|
||||||
// 组织架构list
|
// 组织架构list
|
||||||
export const apiOrganizationList = data => {
|
export const apiOrganizationList = data => {
|
||||||
return http({ url: '/lz_management/staff/structure/list', method: 'post', data })
|
return http({ url: '/wl_management/staff/structure/list', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 员工列表
|
// 员工列表
|
||||||
export const apiEmployeesList = params => {
|
export const apiEmployeesList = params => {
|
||||||
return http({ url: '/lz_management/staff/info/list', method: 'get', params })
|
return http({ url: '/wl_management/staff/info/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 员工档案
|
// 员工档案
|
||||||
export const apiEmployeesInfo = data => {
|
export const apiEmployeesInfo = data => {
|
||||||
return http({ url: '/lz_management/staff/info/query/' + data, method: 'post' })
|
return http({ url: '/wl_management/staff/info/query/' + data, method: 'post' })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 员工概况
|
// 员工概况
|
||||||
export const apiEmployeessItuation = data => {
|
export const apiEmployeessItuation = data => {
|
||||||
return http({ url: '/lz_management/staff/info/statistical', method: 'get', params: data })
|
return http({ url: '/wl_management/staff/info/statistical', method: 'get', params: data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 文件上传
|
// 文件上传
|
||||||
export const apiUploadFile = params => {
|
export const apiUploadFile = params => {
|
||||||
return http({ url: '/lz_management/staff/info/batchImport', method: 'post', data: params })
|
return http({ url: '/wl_management/staff/info/batchImport', method: 'post', data: params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出文件
|
// 导出文件
|
||||||
export const apiExportFile = params => {
|
export const apiExportFile = params => {
|
||||||
return http({ url: '/lz_management/staff/info/downloadTemplate', method: 'post', responseType: 'blob', data: params })
|
return http({ url: '/wl_management/staff/info/downloadTemplate', method: 'post', responseType: 'blob', data: params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 钉钉免登录
|
// 钉钉免登录
|
||||||
export const apiDingtalkLogin = data => {
|
export const apiDingtalkLogin = data => {
|
||||||
return http({ url: '/lz_management/dtlg/login', method: 'post', data })
|
return http({ url: '/wl_management/dtlg/login', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 钉钉抽奖登记
|
// 钉钉抽奖登记
|
||||||
export const apiDingtalkLuck = data => {
|
export const apiDingtalkLuck = data => {
|
||||||
return http({ url: '/lz_management/dtlg/luck', method: 'post', data })
|
return http({ url: '/wl_management/dtlg/luck', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 钉钉抽奖详情
|
// 钉钉抽奖详情
|
||||||
export const apiGetLuck = params => {
|
export const apiGetLuck = params => {
|
||||||
return http({ url: '/lz_management/luck/getLuckById', method: 'get', params })
|
return http({ url: '/wl_management/luck/getLuckById', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 中将记录登记
|
// 中将记录登记
|
||||||
export const apiUpdateLuck = data => {
|
export const apiUpdateLuck = data => {
|
||||||
return http({ url: '/lz_management/luck/updateLuck', method: 'post', data })
|
return http({ url: '/wl_management/luck/updateLuck', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 钉钉抽奖详情
|
// 钉钉抽奖详情
|
||||||
export const apiDingtalkJump = params => {
|
export const apiDingtalkJump = params => {
|
||||||
return http({ url: '/lz_management/dtlg/jump', method: 'get', params })
|
return http({ url: '/wl_management/dtlg/jump', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,25 +2,25 @@ import http from '../utils/http'
|
|||||||
|
|
||||||
// 获取侧边菜单栏
|
// 获取侧边菜单栏
|
||||||
export const apiGetRoleList = params => {
|
export const apiGetRoleList = params => {
|
||||||
return http({url: '/lz_management/user/lzstaffrole/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzstaffrole/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysRoleInfo = params => {
|
export const apiSysRoleInfo = params => {
|
||||||
return http({url: `/lz_management/user/lzstaffrole/info/${params}`, method: 'post'})
|
return http({url: `/wl_management/user/lzstaffrole/info/${params}`, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysMenuList = params => {
|
export const apiSysMenuList = params => {
|
||||||
return http({url: '/lz_management/user/lzstaffrole/menu/list', method: 'get', params})
|
return http({url: '/wl_management/user/lzstaffrole/menu/list', method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysRoleList = (params, id) => {
|
export const apiSysRoleList = (params, id) => {
|
||||||
return http({url: `/lz_management/user/lzstaffrole/role/list/${id}`, method: 'get', params})
|
return http({url: `/wl_management/user/lzstaffrole/role/list/${id}`, method: 'get', params})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiDelete = params => {
|
export const apiDelete = params => {
|
||||||
return http({url: `/lz_management/user/lzstaffrole/delete/${params}`, method: 'post'})
|
return http({url: `/wl_management/user/lzstaffrole/delete/${params}`, method: 'post'})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const apiSysRoleConfirm = (data, type) => {
|
export const apiSysRoleConfirm = (data, type) => {
|
||||||
return http({url: `/lz_management/user/lzstaffrole/updateOrAdd`, method: 'post', data})
|
return http({url: `/wl_management/user/lzstaffrole/updateOrAdd`, method: 'post', data})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,54 +5,54 @@ import http from '../utils/http'
|
|||||||
*/
|
*/
|
||||||
// 登录
|
// 登录
|
||||||
export const apiLogin = data => {
|
export const apiLogin = data => {
|
||||||
return http({ url: '/lz_management/sys/login', method: 'post', data })
|
return http({ url: '/wl_management/sys/login', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 退出登录
|
// 退出登录
|
||||||
export const apiLogout = data => {
|
export const apiLogout = data => {
|
||||||
return http({ url: '/lz_management/sys/logout', method: 'post', data })
|
return http({ url: '/wl_management/sys/logout', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改密码
|
// 修改密码
|
||||||
export const apiSysUserPassword = data => {
|
export const apiSysUserPassword = data => {
|
||||||
return http({ url: '/lz_management/sys/user/password', method: 'post', data })
|
return http({ url: '/wl_management/sys/user/password', method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取用户相关
|
// 获取用户相关
|
||||||
export const apiGetUserInfo = (params, id) => {
|
export const apiGetUserInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/user/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/user/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取用户相关
|
// 获取用户相关
|
||||||
export const apiSsysSendSMS = (params, id) => {
|
export const apiSsysSendSMS = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/sendSMS`, method: 'post', params })
|
return http({ url: `/wl_management/sys/sendSMS`, method: 'post', params })
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 管理员列表
|
* 管理员列表
|
||||||
*/
|
*/
|
||||||
// 获取管理员列表
|
// 获取管理员列表
|
||||||
export const apiSysUserList = params => {
|
export const apiSysUserList = params => {
|
||||||
return http({ url: '/lz_management/sys/user/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/user/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取角色选择列表
|
// 获取角色选择列表
|
||||||
export const apiSysRoleSelect = params => {
|
export const apiSysRoleSelect = params => {
|
||||||
return http({ url: '/lz_management/sys/role/select', method: 'get', params })
|
return http({ url: '/wl_management/sys/role/select', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑用户
|
// 编辑用户
|
||||||
export const apiSysUserInfo = (params, id) => {
|
export const apiSysUserInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/user/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/user/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交用户
|
// 提交用户
|
||||||
export const apiSysUserConfirm = (data, type) => {
|
export const apiSysUserConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/sys/user${type}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/user${type}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除用户
|
// 删除用户
|
||||||
export const apiSysUserDelete = data => {
|
export const apiSysUserDelete = data => {
|
||||||
return http({ url: `/lz_management/sys/user/delete`, method: 'post', data })
|
return http({ url: `/wl_management/sys/user/delete`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -60,22 +60,22 @@ export const apiSysUserDelete = data => {
|
|||||||
*/
|
*/
|
||||||
// 角色管理列表
|
// 角色管理列表
|
||||||
export const apiSysRoleList = params => {
|
export const apiSysRoleList = params => {
|
||||||
return http({ url: '/lz_management/sys/role/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/role/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑角色
|
// 编辑角色
|
||||||
export const apiSysRoleInfo = (params, id) => {
|
export const apiSysRoleInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/role/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/role/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交角色
|
// 提交角色
|
||||||
export const apiSysRoleConfirm = (data, type) => {
|
export const apiSysRoleConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/sys/role${type}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/role${type}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除角色
|
// 删除角色
|
||||||
export const apiSysRoleDelete = data => {
|
export const apiSysRoleDelete = data => {
|
||||||
return http({ url: `/lz_management/sys/role/delete`, method: 'post', data })
|
return http({ url: `/wl_management/sys/role/delete`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -83,27 +83,27 @@ export const apiSysRoleDelete = data => {
|
|||||||
*/
|
*/
|
||||||
// 菜单管理列表
|
// 菜单管理列表
|
||||||
export const apiSysMenuList = params => {
|
export const apiSysMenuList = params => {
|
||||||
return http({ url: '/lz_management/sys/menu/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/menu/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取菜单选择列表
|
// 获取菜单选择列表
|
||||||
export const apiSysMenuSelect = params => {
|
export const apiSysMenuSelect = params => {
|
||||||
return http({ url: '/lz_management/sys/menu/select', method: 'get', params })
|
return http({ url: '/wl_management/sys/menu/select', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑菜单
|
// 编辑菜单
|
||||||
export const apiSysMenuInfo = (params, id) => {
|
export const apiSysMenuInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/menu/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/menu/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交菜单
|
// 提交菜单
|
||||||
export const apiSysMenuConfirm = (data, type) => {
|
export const apiSysMenuConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/sys/menu${type}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/menu${type}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除菜单
|
// 删除菜单
|
||||||
export const apiSysMenuDelete = (data, id) => {
|
export const apiSysMenuDelete = (data, id) => {
|
||||||
return http({ url: `/lz_management/sys/menu/delete${id}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/menu/delete${id}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -111,47 +111,47 @@ export const apiSysMenuDelete = (data, id) => {
|
|||||||
*/
|
*/
|
||||||
// 定时任务列表
|
// 定时任务列表
|
||||||
export const apiSysScheduleList = params => {
|
export const apiSysScheduleList = params => {
|
||||||
return http({ url: '/lz_management/sys/schedule/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/schedule/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除定时任务
|
// 删除定时任务
|
||||||
export const apiSysScheduleDelete = data => {
|
export const apiSysScheduleDelete = data => {
|
||||||
return http({ url: `/lz_management/sys/schedule/delete`, method: 'post', data })
|
return http({ url: `/wl_management/sys/schedule/delete`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 暂停定时任务
|
// 暂停定时任务
|
||||||
export const apiSysSchedulePause = data => {
|
export const apiSysSchedulePause = data => {
|
||||||
return http({ url: `/lz_management/sys/schedule/pause`, method: 'post', data })
|
return http({ url: `/wl_management/sys/schedule/pause`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 恢复定时任务
|
// 恢复定时任务
|
||||||
export const apiSysScheduleResume = data => {
|
export const apiSysScheduleResume = data => {
|
||||||
return http({ url: `/lz_management/sys/schedule/resume`, method: 'post', data })
|
return http({ url: `/wl_management/sys/schedule/resume`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 立即执行定时任务
|
// 立即执行定时任务
|
||||||
export const apiSysScheduleRun = data => {
|
export const apiSysScheduleRun = data => {
|
||||||
return http({ url: `/lz_management/sys/schedule/run`, method: 'post', data })
|
return http({ url: `/wl_management/sys/schedule/run`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 定时任务日志列表
|
// 定时任务日志列表
|
||||||
export const apiSysScheduleLogList = params => {
|
export const apiSysScheduleLogList = params => {
|
||||||
return http({ url: '/lz_management/sys/scheduleLog/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/scheduleLog/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 定时任务日志失效信息
|
// 定时任务日志失效信息
|
||||||
export const apiSysScheduleLogInfo = (params, id) => {
|
export const apiSysScheduleLogInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/scheduleLog/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/scheduleLog/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑定时任务
|
// 编辑定时任务
|
||||||
export const apiSysScheduleInfo = (params, id) => {
|
export const apiSysScheduleInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/schedule/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/schedule/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交定时任务
|
// 提交定时任务
|
||||||
export const apiSysScheduleConfirm = (data, type) => {
|
export const apiSysScheduleConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/sys/schedule${type}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/schedule${type}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -159,22 +159,22 @@ export const apiSysScheduleConfirm = (data, type) => {
|
|||||||
*/
|
*/
|
||||||
// 定时任务列表
|
// 定时任务列表
|
||||||
export const apiSysConfigList = params => {
|
export const apiSysConfigList = params => {
|
||||||
return http({ url: '/lz_management/sys/config/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/config/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除参数
|
// 删除参数
|
||||||
export const apiSysConfigDelete = data => {
|
export const apiSysConfigDelete = data => {
|
||||||
return http({ url: `/lz_management/sys/config/delete`, method: 'post', data })
|
return http({ url: `/wl_management/sys/config/delete`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑参数
|
// 编辑参数
|
||||||
export const apiSysConfigInfo = (params, id) => {
|
export const apiSysConfigInfo = (params, id) => {
|
||||||
return http({ url: `/lz_management/sys/config/info${id}`, method: 'get', params })
|
return http({ url: `/wl_management/sys/config/info${id}`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交参数
|
// 提交参数
|
||||||
export const apiSysConfigConfirm = (data, type) => {
|
export const apiSysConfigConfirm = (data, type) => {
|
||||||
return http({ url: `/lz_management/sys/config${type}`, method: 'post', data })
|
return http({ url: `/wl_management/sys/config${type}`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -182,7 +182,7 @@ export const apiSysConfigConfirm = (data, type) => {
|
|||||||
*/
|
*/
|
||||||
// 日志管理列表
|
// 日志管理列表
|
||||||
export const apiSysLogList = params => {
|
export const apiSysLogList = params => {
|
||||||
return http({ url: '/lz_management/sys/log/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/log/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -190,20 +190,20 @@ export const apiSysLogList = params => {
|
|||||||
*/
|
*/
|
||||||
// 文件上传列表
|
// 文件上传列表
|
||||||
export const apiSysOssList = params => {
|
export const apiSysOssList = params => {
|
||||||
return http({ url: '/lz_management/sys/oss/list', method: 'get', params })
|
return http({ url: '/wl_management/sys/oss/list', method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除文件上传记录
|
// 删除文件上传记录
|
||||||
export const apiSysOssDelete = data => {
|
export const apiSysOssDelete = data => {
|
||||||
return http({ url: `/lz_management/sys/oss/delete`, method: 'post', data })
|
return http({ url: `/wl_management/sys/oss/delete`, method: 'post', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑云储存配置
|
// 编辑云储存配置
|
||||||
export const apiSysOssConfig = params => {
|
export const apiSysOssConfig = params => {
|
||||||
return http({ url: `/lz_management/sys/oss/config`, method: 'get', params })
|
return http({ url: `/wl_management/sys/oss/config`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交云储存配置
|
// 提交云储存配置
|
||||||
export const apiSysOssSaveConfig = params => {
|
export const apiSysOssSaveConfig = params => {
|
||||||
return http({ url: `/lz_management/sys/oss/saveConfig`, method: 'get', params })
|
return http({ url: `/wl_management/sys/oss/saveConfig`, method: 'get', params })
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,9 +9,8 @@ import Router from 'vue-router'
|
|||||||
import { apiGetMenuNav } from '@/api/api_menu'
|
import { apiGetMenuNav } from '@/api/api_menu'
|
||||||
import { isURL } from '@/utils/validate'
|
import { isURL } from '@/utils/validate'
|
||||||
import {clearLoginInfo} from '@/utils'
|
import {clearLoginInfo} from '@/utils'
|
||||||
import VConsole from 'vconsole'
|
//import VConsole from 'vconsole'
|
||||||
|
//let vConsole = new VConsole()
|
||||||
let vConsole = new VConsole()
|
|
||||||
Vue.use(Router)
|
Vue.use(Router)
|
||||||
|
|
||||||
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载
|
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载
|
||||||
@ -23,7 +22,8 @@ const globalRoutes = [
|
|||||||
{ path: '/lzluck', component: _import('common/lzluck'), name: 'lzluck', meta: { title: '霖梓抽奖' } },
|
{ path: '/lzluck', component: _import('common/lzluck'), name: 'lzluck', meta: { title: '霖梓抽奖' } },
|
||||||
{ path: '/dingtalkluck', component: _import('common/dingtalkluck'), name: 'dingtalkluck', meta: { title: '钉钉抽奖登记' } },
|
{ path: '/dingtalkluck', component: _import('common/dingtalkluck'), name: 'dingtalkluck', meta: { title: '钉钉抽奖登记' } },
|
||||||
{ path: '/404', component: _import('common/404'), name: '404', meta: { title: '404未找到' } },
|
{ path: '/404', component: _import('common/404'), name: '404', meta: { title: '404未找到' } },
|
||||||
{ path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } }
|
{ path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } },
|
||||||
|
{ path: '/phoneweblogin', component: _import('common/phoneweblogin'), name: 'phoneweblogin', meta: { title: '登录' } }
|
||||||
]
|
]
|
||||||
|
|
||||||
const dingtalkRoutes = [
|
const dingtalkRoutes = [
|
||||||
@ -135,7 +135,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
//next()
|
//next()
|
||||||
} else {
|
} else {
|
||||||
apiGetMenuNav({}).then(res => {
|
apiGetMenuNav({}).then(res => {
|
||||||
if (res && res.code == 200) {
|
if (res && res.code === 200) {
|
||||||
fnAddDynamicMenuRoutes(res.menuList)
|
fnAddDynamicMenuRoutes(res.menuList)
|
||||||
router.options.isAddDynamicMenuRoutes = true
|
router.options.isAddDynamicMenuRoutes = true
|
||||||
sessionStorage.setItem('menuList', JSON.stringify(res.menuList || '[]'))
|
sessionStorage.setItem('menuList', JSON.stringify(res.menuList || '[]'))
|
||||||
|
|||||||
@ -127,7 +127,8 @@ export default {
|
|||||||
console.log('获取token')
|
console.log('获取token')
|
||||||
this.$cookie.set('token', res.token)
|
this.$cookie.set('token', res.token)
|
||||||
this.dataForm.verify='登录成功,跳转中...'
|
this.dataForm.verify='登录成功,跳转中...'
|
||||||
window.open(window.location.href + '&code=' + dingCode.code, "_blank")
|
window.open(window.location.href + '&code=' + dingCode.code, "_self")
|
||||||
|
//window.location.href = window.location.href + '&code=' + dingCode.code
|
||||||
console.log('跳转')
|
console.log('跳转')
|
||||||
} else {
|
} else {
|
||||||
this.dataForm.verify='身份验证失败' + res.msg
|
this.dataForm.verify='身份验证失败' + res.msg
|
||||||
|
|||||||
@ -100,7 +100,7 @@ export default {
|
|||||||
// // 获取图像验证码
|
// // 获取图像验证码
|
||||||
// handleGetImgCaptcha () {
|
// handleGetImgCaptcha () {
|
||||||
// this.dataForm.uuid = getUUID()
|
// this.dataForm.uuid = getUUID()
|
||||||
// this.captchaPath = `/lz_management/captcha.jpg?uuid=${this.dataForm.uuid}`
|
// this.captchaPath = `/wl_management/captcha.jpg?uuid=${this.dataForm.uuid}`
|
||||||
// },
|
// },
|
||||||
// 登录提交表单
|
// 登录提交表单
|
||||||
handleLogin () {
|
handleLogin () {
|
||||||
|
|||||||
182
src/views/common/phoneweblogin.vue
Normal file
182
src/views/common/phoneweblogin.vue
Normal file
@ -0,0 +1,182 @@
|
|||||||
|
<template>
|
||||||
|
<div class="phone-login-main">
|
||||||
|
<h3 class="phone-login-title">用户登录</h3>
|
||||||
|
<el-form
|
||||||
|
:model="dataForm"
|
||||||
|
:rules="dataRule"
|
||||||
|
ref="dataForm"
|
||||||
|
@keyup.enter.native="handleLogin()"
|
||||||
|
status-icon
|
||||||
|
>
|
||||||
|
<el-form-item prop="userName">
|
||||||
|
<el-input clearable v-model="dataForm.userName" placeholder="帐号"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item prop="password">
|
||||||
|
<el-input clearable v-model="dataForm.password" type="password" placeholder="密码"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item prop="captcha">
|
||||||
|
<el-row :gutter="20">
|
||||||
|
<el-col :span="14">
|
||||||
|
<el-input v-model="dataForm.verify" placeholder="验证码">
|
||||||
|
</el-input>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="10" class="login-captcha">
|
||||||
|
<el-button v-if="!hasSendCode" type="primary" @click="handleVerify">获取验证码</el-button>
|
||||||
|
<el-button v-else type="primary">重新发送({{time}}S)</el-button>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button
|
||||||
|
class="phone-login-btn-submit"
|
||||||
|
type="primary"
|
||||||
|
:loading="isloading"
|
||||||
|
@click="handleLogin"
|
||||||
|
>登录</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { getUUID } from '@/utils'
|
||||||
|
import { apiLogin, apiSsysSendSMS } from '@/api/api_sys'
|
||||||
|
import { apiDingtalkLogin } from '@/api/api_staff'
|
||||||
|
import * as dd from 'dingtalk-jsapi'
|
||||||
|
import Vue from 'vue'
|
||||||
|
var dingCode = ''
|
||||||
|
export default {
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
isloading: false,
|
||||||
|
dataForm: {
|
||||||
|
userName: '',
|
||||||
|
password: '',
|
||||||
|
uuid: '',
|
||||||
|
// captcha: ''
|
||||||
|
verify: ''
|
||||||
|
},
|
||||||
|
dataRule: {
|
||||||
|
userName: [{ required: true, message: '帐号不能为空', trigger: 'blur' }],
|
||||||
|
password: [{ required: true, message: '密码不能为空', trigger: 'blur' }],
|
||||||
|
// captcha: [{ required: true, message: '验证码不能为空', trigger: 'blur' }]
|
||||||
|
verify: [{ required: true, message: '验证码不能为空', trigger: 'blur' }]
|
||||||
|
},
|
||||||
|
// captchaPath: '' // 图像验证码请求地址
|
||||||
|
time: 0,
|
||||||
|
timer: true,
|
||||||
|
hasSendCode: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
// this.handleGetImgCaptcha()
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
if (this.checkToken()) {
|
||||||
|
if (this.$route.query.do) {
|
||||||
|
this.$router.replace({ name: this.$route.query.do })
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// // 获取图像验证码
|
||||||
|
// handleGetImgCaptcha () {
|
||||||
|
// this.dataForm.uuid = getUUID()
|
||||||
|
// this.captchaPath = `/wl_management/captcha.jpg?uuid=${this.dataForm.uuid}`
|
||||||
|
// },
|
||||||
|
checkToken() {
|
||||||
|
console.log('检查token')
|
||||||
|
let token = Vue.cookie.get('token')
|
||||||
|
if (!token || !/\S/.test(token)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
// 登录提交表单
|
||||||
|
handleLogin () {
|
||||||
|
let param = Object.assign(this.dataForm, {'userName': this.dataForm.userName}, {'uuid': this.dataForm.uuid}, {'verifyCode': this.dataForm.verify})
|
||||||
|
this.$refs.dataForm.validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isloading = true
|
||||||
|
apiLogin(param).then(res => {
|
||||||
|
this.isloading = false
|
||||||
|
if (res && res.code === 200) {
|
||||||
|
console.log('获取token')
|
||||||
|
this.$cookie.set('token', res.token)
|
||||||
|
console.log('保存token')
|
||||||
|
this.$router.replace({ name: this.$route.query.do })
|
||||||
|
console.log('跳转')
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 获取验证码
|
||||||
|
handleVerify () {
|
||||||
|
this.dataForm.uuid = getUUID()
|
||||||
|
if (!this.dataForm.userName) {
|
||||||
|
this.$message('请输入账号')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// if (!this.dataForm.captcha) {
|
||||||
|
// this.$message('请输入图形验证码')
|
||||||
|
// return false
|
||||||
|
// }
|
||||||
|
let parmse = {
|
||||||
|
userName: this.dataForm.userName,
|
||||||
|
// captcha: this.dataForm.captcha,
|
||||||
|
password: this.dataForm.password,
|
||||||
|
uuid: this.dataForm.uuid
|
||||||
|
}
|
||||||
|
apiSsysSendSMS(parmse).then(res => {
|
||||||
|
if (res.code === 200) {
|
||||||
|
this.time = 60
|
||||||
|
this.hasSendCode = true
|
||||||
|
this.timer = setInterval(() => {
|
||||||
|
if (this.time === 0) {
|
||||||
|
this.hasSendCode = false
|
||||||
|
}
|
||||||
|
this.time--
|
||||||
|
}, 1000)
|
||||||
|
this.$message.success(res.msg)
|
||||||
|
} else {
|
||||||
|
// this.getCaptcha()
|
||||||
|
this.$message.error(res.msg)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.phone-site-wrapper.phone-site-page--login {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: rgba(38, 50, 56, 0.6);
|
||||||
|
overflow: hidden;
|
||||||
|
.phone-login-main {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
padding: 150px 60px 180px;
|
||||||
|
width: 470px;
|
||||||
|
min-height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.phone-login-title {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.phone-login-btn-submit {
|
||||||
|
width: 100px;
|
||||||
|
margin-top: 38px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
v-for="item in numbers"
|
v-for="item in numbers"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
:value="item.id">
|
:value="item.num">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@ -343,7 +343,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
currentChangeHandle(val) {
|
currentChangeHandle(val) {
|
||||||
this.btnSearch()
|
this.btnSearch(val)
|
||||||
},
|
},
|
||||||
// 新增 / 编辑
|
// 新增 / 编辑
|
||||||
handleAddOrUpdate(val) {
|
handleAddOrUpdate(val) {
|
||||||
@ -460,8 +460,13 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
|
|
||||||
btnSearch() {
|
btnSearch(val) {
|
||||||
|
if(!val){
|
||||||
this.specReq.page = 1
|
this.specReq.page = 1
|
||||||
|
}else{
|
||||||
|
this.specReq.page = val
|
||||||
|
}
|
||||||
|
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -443,7 +443,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("异常" + data.msg);
|
this.$message.error(data.msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dataListLoading = false;
|
this.dataListLoading = false;
|
||||||
|
|||||||
@ -75,7 +75,7 @@ export default {
|
|||||||
if(this.typeIndex == 0 || this.typeIndex == 3){
|
if(this.typeIndex == 0 || this.typeIndex == 3){
|
||||||
apiFindStaff(this.query).then(data => {
|
apiFindStaff(this.query).then(data => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
if(data.code != 0){
|
if(data.code != 200){
|
||||||
this.$message.error("异常" + data.msg);
|
this.$message.error("异常" + data.msg);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
apiFindDepat(this.query).then(data => {
|
apiFindDepat(this.query).then(data => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
if(data.code != 0){
|
if(data.code != 200){
|
||||||
this.$message.error("异常" + data.msg);
|
this.$message.error("异常" + data.msg);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init (id) {
|
init (id) {
|
||||||
this.url = `/lz_management/sys/oss/upload?token=${this.$cookie.get('token')}`
|
this.url = `/wl_management/sys/oss/upload?token=${this.$cookie.get('token')}`
|
||||||
this.visible = true
|
this.visible = true
|
||||||
},
|
},
|
||||||
// 上传之前
|
// 上传之前
|
||||||
|
|||||||
@ -84,7 +84,7 @@ export default {
|
|||||||
totalPage: 0,
|
totalPage: 0,
|
||||||
dataListLoading: false,
|
dataListLoading: false,
|
||||||
fileList: [],
|
fileList: [],
|
||||||
uploadUrl: '/lz_management/file/uploadFile',
|
uploadUrl: '/wl_management/file/uploadFile',
|
||||||
// 上传图片其他参数
|
// 上传图片其他参数
|
||||||
isCompressNormal: {
|
isCompressNormal: {
|
||||||
isCompressNormal: 0,
|
isCompressNormal: 0,
|
||||||
@ -105,7 +105,7 @@ export default {
|
|||||||
this.auth = auth
|
this.auth = auth
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.status = status
|
this.status = status
|
||||||
this.uploadUrl = '/lz_management/file/uploadFile?recordId=' + this.recordResultId
|
this.uploadUrl = '/wl_management/file/uploadFile?recordId=' + this.recordResultId
|
||||||
this.$nextTick(async () => {
|
this.$nextTick(async () => {
|
||||||
this.$refs['dataForm'].resetFields()
|
this.$refs['dataForm'].resetFields()
|
||||||
this.getDataList()
|
this.getDataList()
|
||||||
@ -142,7 +142,7 @@ export default {
|
|||||||
this.alertInfo(' 请选择要下载的 id')
|
this.alertInfo(' 请选择要下载的 id')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
window.open('/lz_management/file/downZip?ids=' + this.recordIdsSelect.join(','))
|
window.open('/wl_management/file/downZip?ids=' + this.recordIdsSelect.join(','))
|
||||||
},
|
},
|
||||||
deleteHandle (id) {
|
deleteHandle (id) {
|
||||||
this.$confirm('你确定要删除文件吗?', '提示', {
|
this.$confirm('你确定要删除文件吗?', '提示', {
|
||||||
@ -176,7 +176,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadTemplate (id) {
|
downloadTemplate (id) {
|
||||||
window.open('/lz_management/file/downFile?id=' + id)
|
window.open('/wl_management/file/downFile?id=' + id)
|
||||||
},
|
},
|
||||||
submit () {
|
submit () {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
window.SITE_CONFIG = {};
|
window.SITE_CONFIG = {};
|
||||||
|
|
||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/lz_management';
|
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/wl_management';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
window.SITE_CONFIG['domain'] = './'; // 域名
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
window.SITE_CONFIG = {};
|
window.SITE_CONFIG = {};
|
||||||
|
|
||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/lz_management';
|
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/wl_management';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
window.SITE_CONFIG['domain'] = './'; // 域名
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
window.SITE_CONFIG = {};
|
window.SITE_CONFIG = {};
|
||||||
|
|
||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/lz_management';
|
window.SITE_CONFIG['baseUrl'] = 'https://tlzmanagement.ldxinyong.com/wl_management';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
window.SITE_CONFIG['domain'] = './'; // 域名
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user