Skip to content

Commit 11ba8e2

Browse files
committed
fix ds bug
1 parent 4ad5e47 commit 11ba8e2

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

web/src/apps/workflows/module/dispatch/index.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,8 @@ export default {
923923
startData: {},
924924
timingData: {
925925
item: {},
926-
type: ''
926+
type: '',
927+
id: ''
927928
},
928929
pagination: {
929930
size: 10,
@@ -1142,6 +1143,7 @@ export default {
11421143
tempData.type = 'timing'
11431144
id = this.list[index].id
11441145
}
1146+
this.timingData.id = id
11451147
this.getReceiver(id, (res) => {
11461148
this.timingData.item = {
11471149
...tempData.item,
@@ -1278,7 +1280,8 @@ export default {
12781280
closeRun() {
12791281
this.showRunTaskModal = false
12801282
},
1281-
setTiming() {
1283+
setTiming(id) {
1284+
this.schedulerId = id
12821285
this.showTimingTaskModal = false
12831286
this.activeList(3)
12841287
},

web/src/apps/workflows/module/dispatch/timing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export default {
320320
321321
this.api.fetch(api, searchParams, {useFormQuery: true}).then(res => {
322322
this.$Message.success(msg)
323-
this.$emit('onUpdateTiming')
323+
this.$emit('onUpdateTiming', this.timingData.id)
324324
})
325325
}
326326
},

web/vue.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,19 +247,19 @@ module.exports = {
247247
devServer: {
248248
proxy: {
249249
"/api": {
250-
target: "http://***REMOVED***:8088",
250+
//target: "http://***REMOVED***:8088",
251251
//target: 'http://***REMOVED***:9202', //yichao
252252
// target: "http://***REMOVED***:9202", //jiawei
253-
//target: "http://luban.ctyun.cn:8088",
253+
target: "http://luban.ctyun.cn:8088",
254254
//target: "http://devluban.ctyun.cn:8088",
255255
changeOrigin: true,
256256
pathRewrite: {
257257
"^/api": "/api"
258258
}
259259
},
260260
"/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",
263263
changeOrigin: true,
264264
pathRewrite: {
265265
"^/dolphinscheduler": "/dolphinscheduler"

0 commit comments

Comments
 (0)