|
@@ -26,7 +26,7 @@
|
|
|
<el-button
|
|
|
type="success"
|
|
|
size="mini"
|
|
|
- @click="handleEdit"
|
|
|
+ @click="handleEdit()"
|
|
|
:disabled="changeDateSelect.length === 0 || changeDateSelect.length>1"
|
|
|
>
|
|
|
<img :src="editW" style="margin-right: 10px">
|
|
@@ -47,7 +47,8 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div class="ruleItemTableData">
|
|
|
- <el-table :data="ruleDetailData" style="width: 100%" @select="rowClick" @select-all="rowClick">
|
|
|
+ <el-table :data="ruleDetailData" style="width: 100%"
|
|
|
+ @select="rowClick" @select-all="rowClick" @row-dblclick="handleEdit">
|
|
|
<el-table-column type="selection" label="操作" align="center"></el-table-column>
|
|
|
<el-table-column type="index" label="序号" align="center"></el-table-column>
|
|
|
<el-table-column label="指标名称" prop="indicatorName" />
|
|
@@ -211,11 +212,11 @@ export default {
|
|
|
// this.$refs['itemForm'].resetFields()
|
|
|
})
|
|
|
},
|
|
|
- handleEdit() {
|
|
|
+ handleEdit(row) {
|
|
|
this.dialogVisible = true
|
|
|
this.isSave = true
|
|
|
this.title = '修改规则详情'
|
|
|
- this.evalradio = this.changeDateSelect[0]
|
|
|
+ this.evalradio = row ? row : this.changeDateSelect[0]
|
|
|
this.itemForm = {
|
|
|
indicator: this.evalradio.indicatorId,
|
|
|
minScore: this.evalradio.minScore,
|