@@ -584,6 +584,8 @@
<span v-else>{{ scope.row.sourceTable }}</span>
</template>
</el-table-column>
+ <!-- 添加一个插槽,供其他人可扩展表格列,并把表格列的数据返回出去 -->
+ <slot name="output-field-table-column" />
</el-table>
</div>
<span
@@ -36,6 +36,8 @@
/>
@@ -360,7 +360,11 @@
ref="outputFieldDialog"
:output-field-list="outputFieldList"
@setFieldList="(list) => { outputFieldList = list }"
- />
+ >
+ <template #output-field-table-column>
+ </template>
+ </OutputFieldDialog>
</el-scrollbar>
<FieldFillDialog
ref="fieldFillDialog"
@@ -314,6 +314,8 @@
<span v-else>{{ scope.row.fieldDesc }}</span>
@@ -348,6 +348,8 @@
@@ -407,6 +407,8 @@
<span v-else>{{ scope.row.orderNum }}</span>
@@ -252,7 +252,11 @@
:is-edit="isEdit"
:app-code="appCode"
@back="back"
+ </component>