|
|
|
@ -19,6 +19,7 @@ |
|
|
|
<CustomTable @headerSelectChange="onHeaderSelectChange" |
|
|
|
fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur" |
|
|
|
@beforeSaveRecord="beforeSaveRecord" :showAddRow="false" :showOperation="false" |
|
|
|
@clickButton="clickButton" |
|
|
|
ref="stepTableRef" :columns="stepColumns" :formData="tableFormData"> |
|
|
|
<!-- <template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
|
<TableOpertaion @startConfig="startConfig" @configComplete="configComplete" |
|
|
|
@ -69,7 +70,7 @@ export default { |
|
|
|
// 表格数据 |
|
|
|
tableFormData() { |
|
|
|
return { |
|
|
|
stepTableFormData: this.formData.stepTableFormData || [], |
|
|
|
stepTableFormData: [{}], |
|
|
|
headerSelectFields: {} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -195,7 +196,7 @@ export default { |
|
|
|
|
|
|
|
bodySubType: 'button', |
|
|
|
bodySubFillType: 'actFill', |
|
|
|
subodySubKeybKey: 'rsks', |
|
|
|
bodySubKey: 'rsks', |
|
|
|
bodySubButtonName: 'template.dl.dl018.ksButton', |
|
|
|
showBodySub: this.fillType === "actFill", |
|
|
|
}, |
|
|
|
@ -210,7 +211,7 @@ export default { |
|
|
|
|
|
|
|
bodySubType: 'button', |
|
|
|
bodySubFillType: 'actFill', |
|
|
|
subodySubKeybKey: 'rsjs', |
|
|
|
bodySubKey: 'rsjs', |
|
|
|
bodySubButtonName: 'template.dl.dl018.jsButton', |
|
|
|
showBodySub: this.fillType === "actFill", |
|
|
|
}, |
|
|
|
@ -260,6 +261,9 @@ export default { |
|
|
|
mounted() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
clickButton(e,rowIndex) { |
|
|
|
console.log(e,rowIndex) |
|
|
|
}, |
|
|
|
onRegentSubmit(e) { |
|
|
|
const { selectInfo, key, rowIndex } = e |
|
|
|
const { row } = selectInfo |
|
|
|
|