Browse Source

feat:[模板管理][update]

ouqian
luojie 1 month ago
parent
commit
5c234efe51
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/views/business/comps/template/comps/dl/DL018.vue

+ 7
- 3
src/views/business/comps/template/comps/dl/DL018.vue View File

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

Loading…
Cancel
Save