| | |
| | | Vue.prototype.$api = { |
| | | login, |
| | | user, |
| | | dataReporting |
| | | dataReporting, |
| | | enums |
| | | } |
| | | } |
| | | |
| | |
| | | updateUser: "/user/updateUser", //修改用户信息 |
| | | addUser: "/user/addUser", //添加用户信息 |
| | | selectRoleLists: "/role/selectRoleLists", //获取角色列表 |
| | | delRole: "/role/delRole", //添加用户信息 |
| | | delRole: "/role/delRole", //删除角色信息 |
| | | addRole: "/role/addRole", //添加角色信息 |
| | | selectMenuList: "/role/selectMenuList", //获取菜单 |
| | | selectPowerByRoleId: "/role/selectPowerByRoleId", //通过角色id查询权限列表 |
| | | upRole: "/role/upRole", //修改角色 |
| | | getUserMenu: "/user/getUserMenu", //获取用户枚举 |
| | | } |
| | | |
| | | const dataReporting = { |
| | | selectDataReportingList: "/dataReporting/selectDataReportingList", //获取数据上报列表 |
| | | upDataReporting: "/dataReporting/upDataReporting", //修改数据上报 |
| | | } |
| | | selectProductCountDtoPageList: "/dataReporting/selectProductCountDtoPageList", //获取项目汇总列表 |
| | | selectRegistrantCountDtoPageList: "/dataReporting/selectRegistrantCountDtoPageList", //获取登记人汇总列表 |
| | | addDataReporting: "/dataReporting/addDataReporting", //添加数据上报 |
| | | delDataReporting: "/dataReporting/delDataReporting", //删除数据上报 |
| | | downDataReportingFile: "/dataReporting/downDataReportingFile", //导出数据上报 |
| | | downProductCountFile: "/dataReporting/downProductCountFile", //导出项目数据统计 |
| | | downRegistrantCountFile: "/dataReporting/downRegistrantCountFile", //导出员工数据统计 |
| | | downFansSubmitFile: "/dataReporting/downFansSubmitFile", //导出进粉上报 |
| | | inputFansSubmitCsv: "/dataReporting/inputFansSubmitCsv", //导入进粉上报 |
| | | downFinanceSubmitFile: "/dataReporting/downFinanceSubmitFile", //导出财务上报 |
| | | inputFinanceSubmitCsv: "/dataReporting/inputFinanceSubmitCsv", //导入财务上报 |
| | | selectDataComparisonDtoPageList: "/dataReporting/selectDataComparisonDtoPageList", //获取数据对比列表 |
| | | deleteAllData: "/dataReporting/deleteAllData", //一键删除所有的数据上报 |
| | | selectDataReportingForCreateUserNames: "/dataReporting/selectDataReportingForCreateUserNames", //获取数据上报的登记人筛选项 |
| | | |
| | | selectFansSubmitList: "/dataReporting/selectFansSubmitList", //获取进粉上报列表 |
| | | delFansSubmit: "/dataReporting/delFansSubmit", //删除进粉上报信息 |
| | | updateFansSubmit: "/dataReporting/updateFansSubmit", //修改进粉上报信息 |
| | | addFansSubmit: "/dataReporting/addFansSubmit", //添加进粉上报信息 |
| | | selectVxs: "/dataReporting/selectVxs", //获取进粉中的微信号列表 |
| | | |
| | | selectFinanceSubmitList: "/dataReporting/selectFinanceSubmitList", //获取财务上报列表 |
| | | delFinanceSubmit: "/dataReporting/delFinanceSubmit", //删除财务上报信息 |
| | | updateFinanceSubmit: "/dataReporting/updateFinanceSubmit", //修改财务上报信息 |
| | | addFinanceSubmit: "/dataReporting/addFinanceSubmit", //添加财务上报信息 |
| | | |
| | | getDataList: "/dataReporting/getDataList", //获取首页数据 |
| | | |
| | | inputCsv: "/dataReporting/inputCsv", //导入 |
| | | } |
| | | |
| | | const enums = { |
| | | selectEnumList: "/enum/selectEnumList", //获取枚举列表 |
| | | addEnum: "/enum/addEnum", //添加枚举 |
| | | upEnum: "/enum/upEnum", //修改枚举 |
| | | delEnum: "/enum/delEnum", //删除枚举 |
| | | } |