feat: 添加数据源、数据集删除操作前判断是否已经被大屏使用

main
wu.jian2 2 years ago
parent d7aeb50a65
commit 6c73607daf

@ -368,5 +368,6 @@ GitHub.sublime-settings
lib
data-room-ui
dataRoomUi
bigScreen
bigScreen.zip

File diff suppressed because it is too large Load Diff

@ -53,6 +53,7 @@
"@amap/amap-jsapi-loader": "^1.0.1",
"@antv/g2plot": "2.4.0",
"@jiaminghi/data-view": "2.10.0",
"@wjjj/utils": "^0.1.2",
"axios": "0.18.1",
"babel-polyfill": "6.26.0",
"echarts": "^5.2.2",

@ -233,7 +233,7 @@
/>
<checkDatasource
ref="checkDatasource"
:reasonList="reasonList"
:reason-list="reasonList"
/>
<component
:is="componentData.component"
@ -466,7 +466,6 @@ export default {
this.$refs.checkDatasource.checkDatasourceVisible = true
}
})
},
//
toPreview (id, type, name, typeId) {

@ -8,10 +8,12 @@
:before-close="handleClose"
class="bs-dialog-wrap bs-el-dialog"
>
<div class="text-style">
<div
style="padding-right: 80px;"
v-for="(item,index) in reasonList"
:key="index"
class="item"
>
<div class="item" v-for="(item,index) in reasonList" :key="index">
<span v-if="reasonList.length>1"> {{ index+1 }}</span>{{ item }}
</div>
</div>
@ -39,7 +41,7 @@ export default {
},
data () {
return {
checkDatasourceVisible: false,
checkDatasourceVisible: false
}
},
methods: {
@ -59,4 +61,8 @@ export default {
.item{
padding: 8px 0;
}
.text-style{
padding-right: 80px;
color: var(--bs-el-text);
}
</style>

@ -130,7 +130,7 @@
/>
<checkDatasource
ref="checkDatasource"
:reasonList="reasonList"
:reason-list="reasonList"
/>
</div>
</template>
@ -297,7 +297,6 @@ export default {
this.$refs.checkDatasource.checkDatasourceVisible = true
}
})
},
sourceLinkTest (row) {
this.testBtnLoading.push(row.id)

Loading…
Cancel
Save