优化
This commit is contained in:
@@ -128,7 +128,9 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!--表格渲染-->
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;"
|
||||
@cell-dblclick = "mydb"
|
||||
@selection-change="crud.selectionChangeHandler">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column v-if="false" prop="runrecord_id" label="记录标识" />
|
||||
<el-table-column prop="run_date" label="填报日期" width="120px" show-overflow-tooltip />
|
||||
@@ -312,6 +314,10 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
mydb(row){
|
||||
this.openParam = row
|
||||
this.addPaDialog = true
|
||||
},
|
||||
addPa() {
|
||||
const _selectData = this.$refs.table.selection
|
||||
const data = _selectData[0]
|
||||
|
||||
Reference in New Issue
Block a user