Browse Source

[ui]Script input box to modify the delay loading time

pull/3/MERGE
break60 4 years ago
parent
commit
be3550cf05
  1. 4
      dolphinscheduler-ui/.env
  2. 6
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue
  3. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
  4. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue
  5. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue
  6. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

4
dolphinscheduler-ui/.env

@ -14,7 +14,7 @@
# limitations under the License.
# back end interface address
API_BASE = http://192.168.xx.xx:12345
API_BASE = http://192.168.220.189:12345
# If IP access is required for local development, remove the "#"
#DEV_HOST = 192.168.xx.xx
DEV_HOST = http://172.16.99.31

6
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue

@ -207,7 +207,7 @@
this.customConfig = 0
setTimeout(() => {
this._handlerEditor()
}, 200)
}, 350)
}
},
/**
@ -431,11 +431,11 @@
if(this.customConfig) {
setTimeout(() => {
this._handlerJsonEditor()
}, 200)
}, 350)
} else {
setTimeout(() => {
this._handlerEditor()
}, 200)
}, 350)
}
},
destroyed () {

9
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue

@ -321,9 +321,12 @@
}
},
mounted () {
setTimeout(() => {
this._handlerEditor()
}, 200)
// Added delay loading in script input box
this.$nextTick(() => {
setTimeout(() => {
this._handlerEditor()
}, 350)
})
},
destroyed () {
editor.toTextArea() // Uninstall

9
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue

@ -447,9 +447,12 @@
}
},
mounted () {
setTimeout(() => {
this._handlerEditor()
}, 200)
// Added delay loading in script input box
this.$nextTick(() => {
setTimeout(() => {
this._handlerEditor()
}, 350)
})
},
destroyed () {
/**

9
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue

@ -982,9 +982,12 @@
},
mounted () {
setTimeout(() => {
this._handlerEditor()
}, 200)
// Added delay loading in script input box
this.$nextTick(() => {
setTimeout(() => {
this._handlerEditor()
}, 350)
})
setTimeout(() => {
this.srcQueryType = this.sourceMysqlParams.srcQueryType

2
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

@ -677,7 +677,7 @@ JSP.prototype.saveStore = function () {
Vue.$message.warning(`${i18n.$t('The workflow canvas is abnormal and cannot be saved, please recreate')}`)
return false
}
// return false
// Storage node
store.commit('dag/setTasks', tasks)
// Store coordinate information

Loading…
Cancel
Save