|
@@ -10,8 +10,8 @@
|
|
|
:columnParsing="columnParsing"
|
|
|
:reduction="reduction"
|
|
|
:plan="[...defaultPlan, ...morePlan]"
|
|
|
- :operation="operation"
|
|
|
- :operationColumnWidth="operationColumnWidth"
|
|
|
+ :operation="caozuojl"
|
|
|
+ :operationColumnWidth="operationColumnWidth + 50"
|
|
|
:showTable="showTable"
|
|
|
:codeGather="codeGather"
|
|
|
:loading="loading"
|
|
@@ -140,6 +140,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ caozuojl(h, { row, index, column }) {
|
|
|
+ return (
|
|
|
+ <div class="operation-btns">
|
|
|
+ <el-button size="mini" type="text" onClick={() => {}}>
|
|
|
+ 操作记录
|
|
|
+ </el-button>
|
|
|
+ {this.operation(h, { row, index, column })}
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ },
|
|
|
selBtn(arr) {
|
|
|
for (var i = 0; i < arr.length; i++) {
|
|
|
if (Array.isArray(arr[i])) {
|