实验提示

master
yujialong 4 years ago
parent 601987e899
commit 81063d45b1
  1. 6
      src/components/TestPanel.vue
  2. 2
      src/utils/api.js

@ -111,7 +111,7 @@
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="实验提示" name="fifth" > <el-tab-pane label="实验提示" name="fifth" v-if="isstartexperimentSuggests">
<div class="break-all" v-html="experimentSuggests"></div> <div class="break-all" v-html="experimentSuggests"></div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -204,7 +204,8 @@ export default {
isSelected: false, isSelected: false,
userId: '', userId: '',
workbenchCus: this.workbench, workbenchCus: this.workbench,
isRecovery: false isRecovery: false,
isstartexperimentSuggests: 1
}; };
}, },
watch: { watch: {
@ -486,6 +487,7 @@ export default {
let arr1 = this.tableData; let arr1 = this.tableData;
let result1 = arr1.map(e => e.judgmentPointsId); let result1 = arr1.map(e => e.judgmentPointsId);
this.judgmentPointsIds = this.judgmentPointsIds.concat(result1); this.judgmentPointsIds = this.judgmentPointsIds.concat(result1);
this.isstartexperimentSuggests = !res.message.project[0].isstartexperimentSuggests //01
if (this.projectPermissions == "1") { if (this.projectPermissions == "1") {
this.text = "剩余"; this.text = "剩余";

@ -1,7 +1,7 @@
// let host = 'http://192.168.31.125:8081/python'//林 // let host = 'http://192.168.31.125:8081/python'//林
// let host = 'http://192.168.31.152:8081/python'//榕 // let host = 'http://192.168.31.152:8081/python'//榕
let host = '' let host = ''
if(location.host.includes('liuwanr.cn')){ if(location.host.includes('liuwanr.cn') || process.env.NODE_ENV === 'development'){
host = 'http://www.liuwanr.cn/python' host = 'http://www.liuwanr.cn/python'
}else{ }else{
host = 'http://www.occupationlab.com/python' host = 'http://www.occupationlab.com/python'

Loading…
Cancel
Save