diff --git a/src/setting.js b/src/setting.js index d576439..7e868c8 100644 --- a/src/setting.js +++ b/src/setting.js @@ -13,8 +13,8 @@ if (isDev) { // jumpPath = "http://39.108.250.202/judgmentPoint/"; jumpPath = "http://192.168.31.125:8087/"; // 本地调试-需要启动本地判分点系统 // host = "http://www.huorantech.cn:9000";//线上 - // host = "http://39.108.250.202:9000/";//测试 - host = 'http://192.168.31.151:9000/'// 榕 + host = "http://39.108.250.202:9000/";//测试 + // host = 'http://192.168.31.151:9000/'// 榕 // host = 'http://192.168.31.137:9000'// 赓 } else if (isTest) { // jumpPath = "http://124.71.12.62/judgmentPoint/"; diff --git a/src/utils/api.js b/src/utils/api.js index cc168d8..aa615c5 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -1,7 +1,7 @@ import Setting from "@/setting"; const uploadURL = Setting.uploadURL -const host1 = 'http://192.168.31.137:9000' +const host1 = 'http://192.168.31.137:9000/' export default { @@ -9,6 +9,8 @@ export default { verification: `${Setting.host}users/users/user/captcha`,// 验证码图片 bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机 sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码 + + staffTemplate: `http://www.huorantech.cn/template/%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5%E5%91%98%E5%B7%A5%E6%A8%A1%E6%9D%BF.xlsx`, // 后台账号模板 checkEmailOrPhone: `occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱 checkWorkNumOrAccount: `occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号 @@ -214,15 +216,17 @@ export default { getKeywordByCategoryId: `data/keyword/getKeywordByCategoryId`, // 后台账号 - deleteArch: `${host1}/nakadai/staffAccountArchitecture/delete`, - saveArch: `${host1}/nakadai/staffAccountArchitecture/save`, - treeListArch: `${host1}/nakadai/staffAccountArchitecture/treeList`, - updateArch: `${host1}/nakadai/staffAccountArchitecture/update`, - delStaff: `${host1}/nakadai/backstageStaff/delStaff`, - modifyStaff: `${host1}/nakadai/backstageStaff/modifyStaff`, - saveStaff: `${host1}/nakadai/backstageStaff/saveStaff`, - staffDetail: `${host1}/nakadai/backstageStaff/staffDetail`, - staffList: `${host1}/nakadai/backstageStaff/staffList`, + deleteArch: `${host1}nakadai/staffAccountArchitecture/delete`, + saveArch: `${host1}nakadai/staffAccountArchitecture/save`, + treeListArch: `${host1}nakadai/staffAccountArchitecture/treeList`, + updateArch: `${host1}nakadai/staffAccountArchitecture/update`, + delStaff: `${host1}nakadai/backstageStaff/delStaff`, + modifyStaff: `${host1}nakadai/backstageStaff/modifyStaff`, + saveStaff: `${host1}nakadai/backstageStaff/saveStaff`, + staffDetail: `${host1}nakadai/backstageStaff/staffDetail`, + staffList: `${host1}nakadai/backstageStaff/staffList`, + importStaff: `${host1}nakadai/backstageStaff/importStaff`, + exportFailure: `${host1}nakadai/backstageStaff/exportFailure`, // 角色管理 batchRemove: `users/role/batchRemove`, //批量删除角色 @@ -241,5 +245,5 @@ export default { logManagementList: `nakadai/log/logManagementList`, platformLogList: `nakadai/log/platformLogList`, listUpdate: `nakadai/log/update`, - checkRepeat: `${host1}/nakadai/log/checkRepeat`, + checkRepeat: `nakadai/log/checkRepeat`, }; \ No newline at end of file diff --git a/src/views/data/Framework.vue b/src/views/data/Framework.vue index fd5b254..25b3b73 100644 --- a/src/views/data/Framework.vue +++ b/src/views/data/Framework.vue @@ -1,6 +1,6 @@