|
|
@ -163,9 +163,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="120" |
|
|
|
:row-height="60" |
|
|
|
:border="false" |
|
|
|
:border="false" |
|
|
|
@selection-change="handleSelectionProjectJudgment" |
|
|
|
@selection-change="handleSelectionProjectJudgment" |
|
|
|
row-key="judgmentId" |
|
|
|
row-key="judgmentId" |
|
|
@ -183,20 +183,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="100" |
|
|
|
|
|
|
|
:height="100" |
|
|
|
|
|
|
|
:index="2" /> |
|
|
|
:index="2" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</u-table-column> |
|
|
|
</u-table-column> |
|
|
@ -320,6 +321,7 @@ |
|
|
|
class="dialog-footer"> |
|
|
|
class="dialog-footer"> |
|
|
|
<el-button @click="closeJudgment">取 消</el-button> |
|
|
|
<el-button @click="closeJudgment">取 消</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
:loading="savingJud" |
|
|
|
@click="saveJudgment">确 定</el-button> |
|
|
|
@click="saveJudgment">确 定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
@ -383,7 +385,8 @@ export default { |
|
|
|
visibleLoading: false, // 加载判分点数据 |
|
|
|
visibleLoading: false, // 加载判分点数据 |
|
|
|
listLoading: false,// 列表加载 |
|
|
|
listLoading: false,// 列表加载 |
|
|
|
submiting: false, // 新增编辑防抖标识 |
|
|
|
submiting: false, // 新增编辑防抖标识 |
|
|
|
updateTime: 0 |
|
|
|
updateTime: 0, |
|
|
|
|
|
|
|
savingJud: false |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
@ -406,7 +409,12 @@ export default { |
|
|
|
this.$message.error("分配的数值已超过100"); |
|
|
|
this.$message.error("分配的数值已超过100"); |
|
|
|
} |
|
|
|
} |
|
|
|
return score; |
|
|
|
return score; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 是否流程点分类 |
|
|
|
|
|
|
|
isLc () { |
|
|
|
|
|
|
|
const systemId = +this.$route.query.systemId |
|
|
|
|
|
|
|
return systemId === 11 || systemId === 12 || systemId === 19 |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
// 监听信息是否有更改,有的话页面离开的时候要询问是否要保存 |
|
|
|
// 监听信息是否有更改,有的话页面离开的时候要询问是否要保存 |
|
|
@ -681,10 +689,6 @@ export default { |
|
|
|
this.dialogVisible = true; |
|
|
|
this.dialogVisible = true; |
|
|
|
this.handleQueryJudgment(); |
|
|
|
this.handleQueryJudgment(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 根据系统id判断是否流程类 |
|
|
|
|
|
|
|
isLc (systemId) { |
|
|
|
|
|
|
|
return systemId == 11 || systemId == 12 || systemId == 19 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleQueryJudgment () { // 查询判分点数据 |
|
|
|
handleQueryJudgment () { // 查询判分点数据 |
|
|
|
let { systemId } = this.projectManage; |
|
|
|
let { systemId } = this.projectManage; |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
@ -699,7 +703,7 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
if (systemId == 2 || systemId == 3) { |
|
|
|
if (systemId == 2 || systemId == 3) { |
|
|
|
console.log("系统id:", systemId); |
|
|
|
console.log("系统id:", systemId); |
|
|
|
} else if (this.isLc(systemId)) { |
|
|
|
} else if (this.isLc) { |
|
|
|
// (流程)交易类 |
|
|
|
// (流程)交易类 |
|
|
|
this.rowKey = "lcId"; |
|
|
|
this.rowKey = "lcId"; |
|
|
|
this.getProcessClassData(params); |
|
|
|
this.getProcessClassData(params); |
|
|
@ -752,6 +756,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
saveJudgment () { // 确认选择判分点 |
|
|
|
saveJudgment () { // 确认选择判分点 |
|
|
|
if (this.selectedJudgment.length) { |
|
|
|
if (this.selectedJudgment.length) { |
|
|
|
|
|
|
|
this.savingJud = true |
|
|
|
this.judgementpointsquery = ""; |
|
|
|
this.judgementpointsquery = ""; |
|
|
|
this.dialogVisible = false; |
|
|
|
this.dialogVisible = false; |
|
|
|
let tempArr = this.selectedJudgment.map(i => { |
|
|
|
let tempArr = this.selectedJudgment.map(i => { |
|
|
@ -763,6 +768,7 @@ export default { |
|
|
|
e.sort = i + 1; |
|
|
|
e.sort = i + 1; |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
|
|
this.savingJud = false |
|
|
|
this.$refs.projectJudgementTable.clearSelection(); |
|
|
|
this.$refs.projectJudgementTable.clearSelection(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -842,7 +848,7 @@ export default { |
|
|
|
console.log(systemId); |
|
|
|
console.log(systemId); |
|
|
|
} else if (systemId == 3) { |
|
|
|
} else if (systemId == 3) { |
|
|
|
console.log(systemId); |
|
|
|
console.log(systemId); |
|
|
|
} else if (this.isLc(systemId)) { |
|
|
|
} else if (this.isLc) { |
|
|
|
// 交易类判分点(银行综合系统) |
|
|
|
// 交易类判分点(银行综合系统) |
|
|
|
href = `${jumpPath}/#/Transaction?isView=true&systemId=${systemId}&lcId=${row.judgmentId}&token=${this.token}&referrer=${btoa(location.href)}`; |
|
|
|
href = `${jumpPath}/#/Transaction?isView=true&systemId=${systemId}&lcId=${row.judgmentId}&token=${this.token}&referrer=${btoa(location.href)}`; |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -855,7 +861,7 @@ export default { |
|
|
|
console.log(systemId); |
|
|
|
console.log(systemId); |
|
|
|
} else if (systemId == 3) { |
|
|
|
} else if (systemId == 3) { |
|
|
|
console.log(systemId); |
|
|
|
console.log(systemId); |
|
|
|
} else if (this.isLc(systemId)) { |
|
|
|
} else if (this.isLc) { |
|
|
|
// 交易类判分点(银行综合系统) |
|
|
|
// 交易类判分点(银行综合系统) |
|
|
|
href = `${jumpPath}/#/Transaction?isEdit=true&systemId=${systemId}&lcId=${row.judgmentId}&token=${this.token}&referrer=${btoa(location.href)}`; |
|
|
|
href = `${jumpPath}/#/Transaction?isEdit=true&systemId=${systemId}&lcId=${row.judgmentId}&token=${this.token}&referrer=${btoa(location.href)}`; |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -905,6 +911,6 @@ export default { |
|
|
|
.main { |
|
|
|
.main { |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
overflow-x: hidden; |
|
|
|
overflow-x: hidden; |
|
|
|
height: calc(100vh - 152px); |
|
|
|
height: calc(100vh - 161px); |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |