yujialong 8 months ago
parent 53e4c92d1e
commit 7b50f26425
  1. 2
      src/components/quill/index.vue
  2. 26
      src/pages/project/add/index.vue
  3. 2
      src/setting.js

@ -189,7 +189,7 @@ export default {
children.padding = "0"; children.padding = "0";
children.overflow = "hidden"; children.overflow = "hidden";
children.height = "0"; children.height = "0";
children.borderTop = "0"; children.border = "0";
} }
}, },
beforeDestroy () { beforeDestroy () {

@ -144,9 +144,9 @@
class="table" class="table"
stripe stripe
header-align="center" header-align="center"
use-virtual :use-virtual="isLc"
:max-height="400" :max-height="600"
:row-height="168" :row-height="60"
:border="false" :border="false"
@selection-change="handleSelectionProjectJudgment" @selection-change="handleSelectionProjectJudgment"
row-key="judgmentId" row-key="judgmentId"
@ -164,20 +164,21 @@
</u-table-column> </u-table-column>
<u-table-column prop="name" <u-table-column prop="name"
label="判分指标" label="判分指标"
align="center"></u-table-column> align="center"
show-overflow-tooltip
min-width="140"></u-table-column>
<u-table-column prop="name" <u-table-column prop="name"
label="判分点名称" label="判分点名称"
align="center"></u-table-column> align="center"
show-overflow-tooltip
min-width="140"></u-table-column>
<u-table-column label="实验要求" <u-table-column label="实验要求"
align="center" align="center"
width="600"> width="600">
<template slot-scope="scope"> <template slot-scope="scope">
<quill :border="true" <quill :readonly="true"
:readonly="true"
elseRead="true" elseRead="true"
v-model="scope.row.experimentalRequirements" v-model="scope.row.experimentalRequirements"
:minHeight="150"
:height="150"
:index="2" /> :index="2" />
</template> </template>
</u-table-column> </u-table-column>
@ -378,7 +379,12 @@ export default {
return score; return score;
}, },
set (val) { } set (val) { }
} },
//
isLc () {
const systemId = +this.projectManage.systemId
return systemId === 11 || systemId === 12 || systemId === 19
},
}, },
watch: { watch: {
// , // ,

@ -32,7 +32,7 @@ if (isPro) {
uploadURL = `http://121.37.12.51/` uploadURL = `http://121.37.12.51/`
host = "http://121.37.12.51/"; // 中台测试服 host = "http://121.37.12.51/"; // 中台测试服
// host = 'https://www.occupationlab.com/' // 正式服 // host = 'https://www.occupationlab.com/' // 正式服
host = "http://192.168.31.217:9000/"; // host = "http://192.168.31.217:9000/";
} else if (isSq) { } else if (isSq) {
zcPath = `10.20.100.204:8883` zcPath = `10.20.100.204:8883`
} }

Loading…
Cancel
Save