diff --git a/src/setting.js b/src/setting.js index c681878..d0316de 100644 --- a/src/setting.js +++ b/src/setting.js @@ -9,12 +9,13 @@ const isPro = url.includes('120.78.127.12'); //正式服 let jumpPath = ""; let host = ""; if (isDev) { - // jumpPath = "http://192.168.31.154:8087/"; // 本地调试-需要启动本地判分点系统 - // host = 'http://192.168.31.216:9000'// 榕 + // jumpPath = "http://39.108.250.202/judgmentPoint/"; + jumpPath = "http://192.168.31.154:8087/"; // 本地调试-需要启动本地判分点系统 + + host = "http://39.108.250.202:9000"; + // host = 'http://192.168.31.151:9000'// 榕 // host = 'http://192.168.31.125:9000'// 坤 // host = 'http://192.168.31.137:9000'// 赓 - jumpPath = "http://39.108.250.202/judgmentPoint/"; - host = "http://39.108.250.202:9000"; } else if (isTest) { jumpPath = "http://39.108.250.202/judgmentPoint/"; host = "http://39.108.250.202:9000"; diff --git a/src/utils/api.js b/src/utils/api.js index b771dfb..aaa4b3b 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -91,9 +91,9 @@ export default { // 判分点 getBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页) getLcJudgmentPoint: `${host}/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) - addProjectJudgment: `${host}occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 - updateProjectJudgment: `${host}occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 - deleteProjectJudgment: `${host}occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 + addProjectJudgment: `${host}/occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 + updateProjectJudgment: `${host}/occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 + deleteProjectJudgment: `${host}/occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 // 课程管理三级联查 courseDiscipline: `${host}/nakadai/nakadai/subject/courseDiscipline`, //课程学科类别 @@ -159,6 +159,7 @@ export default { deleteTable: `${host}/data/data/table/deleteTable`, previewData: `${host}/data/data/preview`, staticPreview: `${host}/data/data/staticPreview`, + editTableName: `${host}/data/data/table/editTableName`, // 产品管理 deleteProduct: `${host}/data/data/product/delete`, @@ -166,5 +167,8 @@ export default { listByEntity: `${host}/data/data/product/listByEntity`, saveProduct: `${host}/data/data/product/save`, updateProduct: `${host}/data/data/product/update`, - saveRecord: `${host}/data/data/dataRecord/saveRecord` + saveRecord: `${host}/data/data/dataRecord/saveRecord`, + addKeyword: `${host}/data/keyword/addKeyword`, + deleteKeyword: `${host}/data/keyword/deleteKeyword`, + getKeywordByTableId: `${host}/data/keyword/getKeywordByTableId` }; \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue index 4cb85d6..51d5d4e 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -212,9 +212,6 @@ export default { }); }, - handleClick(tab, event) { - console.log(tab, event); - }, blur(){ if(!this.param.account){ return this.verificationIMG = '' @@ -231,6 +228,13 @@ export default { }, handleSelect(val){ this.activeIndex = val + this.param.account = ""; + this.param.password = ""; + this.param.code = ""; + this.phoneOrEmail.account = ""; + this.phoneOrEmail.password = ""; + this.phoneOrEmail.code = ""; + this.$refs.phoneOrEmail.clearValidate() }, sendPhoneCode(){ if(!this.phone) return this.$message.warning('请输入手机号') diff --git a/src/views/serve/projectAdd.vue b/src/views/serve/projectAdd.vue index d870454..0db9af1 100644 --- a/src/views/serve/projectAdd.vue +++ b/src/views/serve/projectAdd.vue @@ -156,7 +156,7 @@