feat(数据集): 关联数据集

This commit is contained in:
junjie 2021-11-23 15:38:24 +08:00
parent d0561e8699
commit ea3c070d19
3 changed files with 14 additions and 7 deletions

View File

@ -0,0 +1,3 @@
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" pid="1">
<path fill="none" d="M0,13 l30,0" stroke="#dcdfe6"/>
</svg>

After

Width:  |  Height:  |  Size: 138 B

View File

@ -113,7 +113,11 @@ export default {
}, },
cancel() { cancel() {
if (this.param.tableId) {
this.$emit('switchComponent', { name: 'ViewTable', param: this.param.table })
} else {
this.$emit('switchComponent', { name: '' })
}
}, },
selectDs() { selectDs() {
this.selectDsDialog = true this.selectDsDialog = true

View File

@ -37,10 +37,10 @@ export default {
}, },
data() { data() {
return { return {
path: 'm0,13 l28,0 m24,0 l28,0', path: 'm0,13 l18,0 m24,0 l18,0',
pathExt: 'm0,13 l28,0 m24,0 l28,0 M14,13 l0,27', // 线 pathExt: 'm0,13 l18,0 m24,0 l18,0 M9,13 l0,27', // 线
pathMore: 'M14,0 l0,13 l14,0 m24,0 l28,0', // 线 pathMore: 'M9,0 l0,13 l9,0 m24,0 l18,0', // 线
pathMoreExt: 'M14,0 l0,13 l14,0 m24,0 l28,0 M14,13 l0,27', pathMoreExt: 'M9,0 l0,13 l9,0 m24,0 l18,0 M9,13 l0,27',
nodeHeight: '40px', nodeHeight: '40px',
lineLength: '', lineLength: '',
pathParam: '' pathParam: ''
@ -132,11 +132,11 @@ export default {
font-size: 24px; font-size: 24px;
line-height: 26px; line-height: 26px;
position: absolute; position: absolute;
left: 28px; left: 18px;
color:#dcdfe6; color:#dcdfe6;
} }
.join-svg-container{ .join-svg-container{
width:80px; width:60px;
} }
.node-line{ .node-line{
display: flex; display: flex;