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