File tree Expand file tree Collapse file tree 5 files changed +26
-13
lines changed
dataGovernance/view/assetsInfo
workflows/module/dispatch Expand file tree Collapse file tree 5 files changed +26
-13
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default {
13
13
name: ' lineage' ,
14
14
data () {
15
15
return {
16
- canvas: null
16
+ canvas: null ,
17
17
}
18
18
},
19
19
props: {
@@ -22,6 +22,11 @@ export default {
22
22
required: true
23
23
}
24
24
},
25
+ watch: {
26
+ lineageData () {
27
+ this .createOrUpdateCanvas (this .convertData ())
28
+ }
29
+ },
25
30
methods: {
26
31
convertData () {
27
32
let data = {
@@ -93,7 +98,7 @@ export default {
93
98
})
94
99
this .canvas .draw (data);
95
100
} else {
96
- this .canvas .drageReDraw (data);
101
+ this .canvas .redraw (data);
97
102
}
98
103
}
99
104
},
Original file line number Diff line number Diff line change 41
41
<div class =" assets-info-b-l-content-item" >
42
42
<label for =" comment" >描述</label >
43
43
<span v-show =" !isCommentEdit" >{{ basicData.comment }}</span >
44
- <Input
44
+ <!-- < Input
45
45
v-show="isCommentEdit"
46
46
v-model="basicData.comment"
47
47
size="small"
59
59
v-else
60
60
@click="editSingleComment"
61
61
style="float:right;cursor: pointer;"
62
- ></Icon >
62
+ ></Icon> -->
63
63
</div >
64
64
<div class =" assets-info-b-l-content-item" style =" overflow : hidden " >
65
65
<label for =" labels" >标签</label >
77
77
<Input
78
78
v-show =" isLabelEdit"
79
79
v-model =" singleLabel"
80
+ style =" width : 135px ;"
80
81
size =" small"
81
82
placeholder =" "
82
83
@on-enter =" editSingleLabel"
83
84
/>
85
+ <Icon
86
+ type =" md-checkmark"
87
+ v-show =" isLabelEdit"
88
+ @click =" editSingleLabel"
89
+ style =" margin-left : 8px ; cursor : pointer ;"
90
+ ></Icon >
84
91
<span
85
92
v-for =" label in labelOptions"
86
93
:key =" label"
163
170
<div class =" dagreLayout-page" v-if =" lineageData" >
164
171
<lineage
165
172
class =" flow-canvas"
166
- id =" dag-canvas"
173
+ id =' dag-canvas'
167
174
:lineageData =" lineageData"
168
175
></lineage >
169
176
</div >
@@ -367,9 +374,7 @@ export default {
367
374
item .store = item .store + " " ;
368
375
let tempLen = Math .floor (item .store .length / 4 );
369
376
let len = tempLen > 2 ? 3 : tempLen;
370
- item .store = (
371
- item .store / Math .pow (1024 , len + 1 )
372
- ).toFixed (2 );
377
+ item .store = (item .store / Math .pow (1024 , len + 1 )).toFixed (2 );
373
378
switch (len) {
374
379
case 0 :
375
380
item .store = item .store + " KB" ;
Original file line number Diff line number Diff line change @@ -923,7 +923,8 @@ export default {
923
923
startData: {},
924
924
timingData: {
925
925
item: {},
926
- type: ' '
926
+ type: ' ' ,
927
+ id: ' '
927
928
},
928
929
pagination: {
929
930
size: 10 ,
@@ -1142,6 +1143,7 @@ export default {
1142
1143
tempData .type = ' timing'
1143
1144
id = this .list [index].id
1144
1145
}
1146
+ this .timingData .id = id
1145
1147
this .getReceiver (id, (res ) => {
1146
1148
this .timingData .item = {
1147
1149
... tempData .item ,
@@ -1278,7 +1280,8 @@ export default {
1278
1280
closeRun () {
1279
1281
this .showRunTaskModal = false
1280
1282
},
1281
- setTiming () {
1283
+ setTiming (id ) {
1284
+ this .schedulerId = id
1282
1285
this .showTimingTaskModal = false
1283
1286
this .activeList (3 )
1284
1287
},
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ export default {
320
320
321
321
this .api .fetch (api, searchParams, {useFormQuery: true }).then (res => {
322
322
this .$Message .success (msg)
323
- this .$emit (' onUpdateTiming' )
323
+ this .$emit (' onUpdateTiming' , this . timingData . id )
324
324
})
325
325
}
326
326
},
Original file line number Diff line number Diff line change @@ -258,8 +258,8 @@ module.exports = {
258
258
}
259
259
} ,
260
260
"/dolphinscheduler" : {
261
- target : "http://***REMOVED***:12345" ,
262
- // target: "https://dolphin.ctyun.cn:10002",
261
+ // target: "http://***REMOVED***:12345",
262
+ target : "https://dolphin.ctyun.cn:10002" ,
263
263
changeOrigin : true ,
264
264
pathRewrite : {
265
265
"^/dolphinscheduler" : "/dolphinscheduler"
You can’t perform that action at this time.
0 commit comments