|
@@ -41,9 +41,9 @@
|
|
|
<div class="evaluationIndexTableData">
|
|
|
<el-table :data="evaluationIndexData" style="width: 100%" @select="rowClick" @select-all="rowClick" @row-dblclick="editEvaluaIndex">
|
|
|
<el-table-column type="selection" label="操作" align="center"></el-table-column>
|
|
|
- <el-table-column label="指标编码" prop="indicatorCode" />
|
|
|
- <el-table-column label="指标名称" prop="indicatorName" />
|
|
|
- <el-table-column label="指标类型" prop="indicatorTypeName" />
|
|
|
+ <el-table-column label="指标编码" prop="indicatorCode" width="200" />
|
|
|
+ <el-table-column label="指标名称" prop="indicatorName" width="300" />
|
|
|
+ <el-table-column label="指标类型" prop="indicatorTypeName" width="250" />
|
|
|
<el-table-column label="指标单位" prop="unit" />
|
|
|
<el-table-column label="业务阶段" prop="binStageName" />
|
|
|
<el-table-column label="业务属性" prop="binSectionName" />
|
|
@@ -523,12 +523,19 @@ export default {
|
|
|
//新增/修改指标数据
|
|
|
saveAndEditIndicatorData() {
|
|
|
let that = this
|
|
|
+ let deptName = ''
|
|
|
+ that.departData.forEach(item =>{
|
|
|
+ if (item.dataKey === that.ruleForm.department) {
|
|
|
+ deptName = item.keyName
|
|
|
+ }
|
|
|
+ })
|
|
|
let params = {
|
|
|
indicatorName: that.ruleForm.indicatorName,
|
|
|
indicatorCode: that.ruleForm.indicatorCode,
|
|
|
indicatorTypeId: that.ruleForm.indicatorType,
|
|
|
unit: that.ruleForm.indicatorUnit,
|
|
|
dept: that.ruleForm.department,
|
|
|
+ deptName: deptName,
|
|
|
binSection: that.ruleForm.binSection,
|
|
|
binStage: that.ruleForm.binStage,
|
|
|
isQuantified: that.ruleForm.isQuantified,
|