From debe04726c604a94d843bff33a974489a6f99590 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 15 Oct 2021 18:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setting.js | 9 +++++---- src/utils/api.js | 12 ++++++++---- src/views/Login.vue | 10 +++++++--- src/views/serve/projectAdd.vue | 2 +- src/views/serve/projectList.vue | 3 ++- 5 files changed, 23 insertions(+), 13 deletions(-) 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 @@