dev
yujialong 3 years ago
parent 660e87ced2
commit debe04726c
  1. 9
      src/setting.js
  2. 12
      src/utils/api.js
  3. 10
      src/views/Login.vue
  4. 2
      src/views/serve/projectAdd.vue
  5. 3
      src/views/serve/projectList.vue

@ -9,12 +9,13 @@ const isPro = url.includes('120.78.127.12'); //正式服
let jumpPath = ""; let jumpPath = "";
let host = ""; let host = "";
if (isDev) { if (isDev) {
// jumpPath = "http://192.168.31.154:8087/"; // 本地调试-需要启动本地判分点系统 // jumpPath = "http://39.108.250.202/judgmentPoint/";
// host = 'http://192.168.31.216:9000'// 榕 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.125:9000'// 坤
// host = 'http://192.168.31.137: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) { } else if (isTest) {
jumpPath = "http://39.108.250.202/judgmentPoint/"; jumpPath = "http://39.108.250.202/judgmentPoint/";
host = "http://39.108.250.202:9000"; host = "http://39.108.250.202:9000";

@ -91,9 +91,9 @@ export default {
// 判分点 // 判分点
getBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页) getBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页)
getLcJudgmentPoint: `${host}/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) getLcJudgmentPoint: `${host}/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页)
addProjectJudgment: `${host}occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 addProjectJudgment: `${host}/occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表
updateProjectJudgment: `${host}occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 updateProjectJudgment: `${host}/occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新
deleteProjectJudgment: `${host}occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 deleteProjectJudgment: `${host}/occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除
// 课程管理三级联查 // 课程管理三级联查
courseDiscipline: `${host}/nakadai/nakadai/subject/courseDiscipline`, //课程学科类别 courseDiscipline: `${host}/nakadai/nakadai/subject/courseDiscipline`, //课程学科类别
@ -159,6 +159,7 @@ export default {
deleteTable: `${host}/data/data/table/deleteTable`, deleteTable: `${host}/data/data/table/deleteTable`,
previewData: `${host}/data/data/preview`, previewData: `${host}/data/data/preview`,
staticPreview: `${host}/data/data/staticPreview`, staticPreview: `${host}/data/data/staticPreview`,
editTableName: `${host}/data/data/table/editTableName`,
// 产品管理 // 产品管理
deleteProduct: `${host}/data/data/product/delete`, deleteProduct: `${host}/data/data/product/delete`,
@ -166,5 +167,8 @@ export default {
listByEntity: `${host}/data/data/product/listByEntity`, listByEntity: `${host}/data/data/product/listByEntity`,
saveProduct: `${host}/data/data/product/save`, saveProduct: `${host}/data/data/product/save`,
updateProduct: `${host}/data/data/product/update`, 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`
}; };

@ -212,9 +212,6 @@ export default {
}); });
}, },
handleClick(tab, event) {
console.log(tab, event);
},
blur(){ blur(){
if(!this.param.account){ if(!this.param.account){
return this.verificationIMG = '' return this.verificationIMG = ''
@ -231,6 +228,13 @@ export default {
}, },
handleSelect(val){ handleSelect(val){
this.activeIndex = 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(){ sendPhoneCode(){
if(!this.phone) return this.$message.warning('请输入手机号') if(!this.phone) return this.$message.warning('请输入手机号')

@ -156,7 +156,7 @@
<div class="flex-between mgb20"> <div class="flex-between mgb20">
<div class="flex-center"> <div class="flex-center">
<p class="addhr_tag"></p> <p class="addhr_tag"></p>
<span>案例描述</span> <span>实验提示</span>
</div> </div>
<div> <div>
启用 启用

@ -68,12 +68,13 @@
<el-button type="primary" round @click="delAllData">批量删除</el-button> <el-button type="primary" round @click="delAllData">批量删除</el-button>
</div> </div>
</div> </div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center" <el-table :data="listData" class="table" ref="table" stripe header-align="center" row-key="projectId"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"></el-table-column> <el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column type="index" width="100" label="序号" align="center"> <el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope">{{ scope.$index + (page - 1) * pageSize + 1 }}</template> <template slot-scope="scope">{{ scope.$index + (page - 1) * pageSize + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="projectId" label="实验项目ID" align="center"></el-table-column>
<el-table-column prop="projectName" label="实验项目名称" align="center"></el-table-column> <el-table-column prop="projectName" label="实验项目名称" align="center"></el-table-column>
<el-table-column prop="founder" label="创建人" align="center"> <el-table-column prop="founder" label="创建人" align="center">
<template slot-scope="scope"> <template slot-scope="scope">

Loading…
Cancel
Save