|
|
@ -461,6 +461,8 @@
|
|
|
|
prop="sourceTable"
|
|
|
|
prop="sourceTable"
|
|
|
|
label="字段来源"
|
|
|
|
label="字段来源"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- 添加一个插槽,供其他人可扩展表格列,并把表格列的数据返回出去 -->
|
|
|
|
|
|
|
|
<slot name="output-field-table-column" />
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
<span
|
|
|
@ -735,12 +737,12 @@ export default {
|
|
|
|
this.saveText = '正在保存...'
|
|
|
|
this.saveText = '正在保存...'
|
|
|
|
const saveOriginal = this.dataForm.id ? datasetUpdate : datasetAdd
|
|
|
|
const saveOriginal = this.dataForm.id ? datasetUpdate : datasetAdd
|
|
|
|
saveOriginal(datasetParams).then(res => {
|
|
|
|
saveOriginal(datasetParams).then(res => {
|
|
|
|
|
|
|
|
this.goBack()
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
this.$parent.init(false)
|
|
|
|
this.$parent.init(false)
|
|
|
|
this.$parent.setType = null
|
|
|
|
this.$parent.setType = null
|
|
|
|
this.saveLoading = false
|
|
|
|
this.saveLoading = false
|
|
|
|
this.saveText = ''
|
|
|
|
this.saveText = ''
|
|
|
|
this.goBack()
|
|
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
}).catch(() => {
|
|
|
|
this.$message.error('保存失败')
|
|
|
|
this.$message.error('保存失败')
|
|
|
|
this.saveLoading = false
|
|
|
|
this.saveLoading = false
|
|
|
|