|
@@ -86,22 +86,19 @@
|
|
|
<el-table-column label="排序" width="100" >
|
|
|
<template #default="scope">
|
|
|
<el-input v-model="scope.row.serialNumber"
|
|
|
- placeholder="请输入排序" :disabled="!scope.row.updateMark"></el-input>
|
|
|
+ placeholder="请输入排序"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="指标名称" >
|
|
|
<template #default="scope">
|
|
|
<el-input v-model="scope.row.targetName"
|
|
|
- placeholder="请输入指标名称" :disabled="!scope.row.updateMark"></el-input>
|
|
|
+ placeholder="请输入指标名称"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="目标值" width="500">
|
|
|
<template #default="scope">
|
|
|
<el-input v-model="scope.row.targetValue"
|
|
|
- type="textarea" :rows="2" placeholder="请输入目标值" :disabled="!scope.row.updateMark"></el-input>
|
|
|
- <!-- <el-input-number v-model="scope.row.targetValue"
|
|
|
- :precision="2" :step="0.1" :min="0" /> -->
|
|
|
- <!-- :disabled="!scope.row.updateMark" -->
|
|
|
+ type="textarea" :rows="2" placeholder="请输入目标值"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="基础分" width="150">
|
|
@@ -112,13 +109,12 @@
|
|
|
<el-table-column label="评价标准" >
|
|
|
<template #default="scope">
|
|
|
<el-input v-model="scope.row.evaluationCriteria"
|
|
|
- placeholder="请输入评价标准" :disabled="!scope.row.updateMark"></el-input>
|
|
|
+ placeholder="请输入评价标准"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="审核状态" width="200" >
|
|
|
<template #default="scope">
|
|
|
- <!-- :disabled="!scope.row.updateMark" -->
|
|
|
- <el-select v-model="scope.row.auditStatus" :disabled="!scope.row.updateMark" placeholder="请选择审核状态">
|
|
|
+ <el-select v-model="scope.row.auditStatus" placeholder="请选择审核状态">
|
|
|
<el-option
|
|
|
v-for="item in statusData"
|
|
|
:key="item.id"
|
|
@@ -278,7 +274,6 @@ export default {
|
|
|
addTableDetail() {
|
|
|
let obj = {
|
|
|
showInput: true,
|
|
|
- updateMark: true,
|
|
|
businessPlanId: this.rowMsg.id,
|
|
|
serialNumber: '1',
|
|
|
deptName: '',
|
|
@@ -381,7 +376,7 @@ export default {
|
|
|
this.getDetails(this.rowMsg.id)
|
|
|
},
|
|
|
handleExport() {
|
|
|
- let data = [] //接口返回数据
|
|
|
+ let data = this.quantifiedList //接口返回数据
|
|
|
const workbook = new ExcelJS.Workbook()
|
|
|
const worksheet = workbook.addWorksheet('Sheet1')
|
|
|
//根据数据自己调整
|
|
@@ -398,11 +393,6 @@ export default {
|
|
|
{ header: '基础分', key: 'baseScore', width: 18 },
|
|
|
{ header: '评价标准', key: 'evaluationCriteria', width: 18 }
|
|
|
]
|
|
|
- this.quantifiedList.forEach(item =>{
|
|
|
- if (item.updateMark) {
|
|
|
- data.push(item)
|
|
|
- }
|
|
|
- })
|
|
|
worksheet.columns = colums
|
|
|
worksheet.getRow(1).font = {
|
|
|
size: 12,
|