|
|
@ -45,7 +45,7 @@
|
|
|
|
<data-set-select
|
|
|
|
<data-set-select
|
|
|
|
:dataset-name="datasetName"
|
|
|
|
:dataset-name="datasetName"
|
|
|
|
:ds-id="config.dataSource.businessKey"
|
|
|
|
:ds-id="config.dataSource.businessKey"
|
|
|
|
@getDsId="dsId => { getDataSetDetailsById(dsId, 'treeTable');}"
|
|
|
|
@getDsId="changeDsid"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template #dataSetSelect="{value}">
|
|
|
|
<template #dataSetSelect="{value}">
|
|
|
|
<slot
|
|
|
|
<slot
|
|
|
@ -764,6 +764,12 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
changeDsid(dsId){
|
|
|
|
|
|
|
|
this.clearVerify()
|
|
|
|
|
|
|
|
this.config.customize.columnConfig=[]
|
|
|
|
|
|
|
|
this.getDataSetDetailsById(dsId, 'treeTable')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
// 打开表达式弹窗
|
|
|
|
// 打开表达式弹窗
|
|
|
|
openExpression () {
|
|
|
|
openExpression () {
|
|
|
|
this.$refs.expressionDialog.init()
|
|
|
|
this.$refs.expressionDialog.init()
|
|
|
@ -792,8 +798,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 根据数据集来获取数据集详情
|
|
|
|
// 根据数据集来获取数据集详情
|
|
|
|
getDataSetDetailsById (id, type) {
|
|
|
|
getDataSetDetailsById (id, type) {
|
|
|
|
this.clearVerify()
|
|
|
|
|
|
|
|
this.config.customize.columnConfig=[]
|
|
|
|
|
|
|
|
if (id) {
|
|
|
|
if (id) {
|
|
|
|
this.config.dataSource.businessKey = id
|
|
|
|
this.config.dataSource.businessKey = id
|
|
|
|
getDataSetDetails(id).then(res => {
|
|
|
|
getDataSetDetails(id).then(res => {
|
|
|
|