Browse Source

Merge pull request #3530 from break60/1.3.2-release

[ui]Script input box to modify the delay loading time and optimized naming
pull/3/MERGE
xingchun-chen 4 years ago committed by GitHub
parent
commit
cc20827996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue
  2. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
  3. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue
  4. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue
  5. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js
  6. 2
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
  7. 2
      dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue
  8. 2
      dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/list.vue
  9. 2
      dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
  10. 2
      dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

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

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

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

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

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

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

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

@ -982,9 +982,12 @@
}, },
mounted () { mounted () {
setTimeout(() => { // Added delay loading in script input box
this._handlerEditor() this.$nextTick(() => {
}, 200) setTimeout(() => {
this._handlerEditor()
}, 350)
})
setTimeout(() => { setTimeout(() => {
this.srcQueryType = this.sourceMysqlParams.srcQueryType 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')}`) Vue.$message.warning(`${i18n.$t('The workflow canvas is abnormal and cannot be saved, please recreate')}`)
return false return false
} }
// return false
// Storage node // Storage node
store.commit('dag/setTasks', tasks) store.commit('dag/setTasks', tasks)
// Store coordinate information // Store coordinate information

2
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue

@ -232,7 +232,7 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
>i { >em {
font-size: 20px; font-size: 20px;
color: #2d8cf0; color: #2d8cf0;
cursor: pointer; cursor: pointer;

2
dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue

@ -23,7 +23,7 @@
<template slot="content"> <template slot="content">
<div class="create-token-model"> <div class="create-token-model">
<m-list-box-f> <m-list-box-f>
<template slot="name"><strong>*</strong>{{$t('Failure time')}}</template> <template slot="name"><strong>*</strong>{{$t('Expiration time')}}</template>
<template slot="content"> <template slot="content">
<x-datepicker <x-datepicker
:disabled-date="disabledDate" :disabled-date="disabledDate"

2
dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/list.vue

@ -29,7 +29,7 @@
<span>Token</span> <span>Token</span>
</th> </th>
<th> <th>
<span>{{$t('Failure time')}}</span> <span>{{$t('Expiration time')}}</span>
</th> </th>
<th> <th>
<span>{{$t('Create Time')}}</span> <span>{{$t('Create Time')}}</span>

2
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

@ -466,7 +466,7 @@ export default {
'Edit token': 'Edit token', 'Edit token': 'Edit token',
'Please enter the IP address separated by commas': 'Please enter the IP address separated by commas', 'Please enter the IP address separated by commas': 'Please enter the IP address separated by commas',
'Note: Multiple IP addresses have been comma separated': 'Note: Multiple IP addresses have been comma separated', 'Note: Multiple IP addresses have been comma separated': 'Note: Multiple IP addresses have been comma separated',
'Failure time': 'Failure time', 'Expiration time': 'Expiration time',
User: 'User', User: 'User',
'Please enter token': 'Please enter token', 'Please enter token': 'Please enter token',
'Generate token': 'Generate token', 'Generate token': 'Generate token',

2
dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

@ -461,7 +461,7 @@ export default {
'Edit token': '编辑令牌', 'Edit token': '编辑令牌',
'Please enter the IP address separated by commas': '请输入IP地址多个用英文逗号隔开', 'Please enter the IP address separated by commas': '请输入IP地址多个用英文逗号隔开',
'Note: Multiple IP addresses have been comma separated': '注意多个IP地址以英文逗号分割', 'Note: Multiple IP addresses have been comma separated': '注意多个IP地址以英文逗号分割',
'Failure time': '失效时间', 'Expiration time': '失效时间',
User: '用户', User: '用户',
'Please enter token': '请输入令牌', 'Please enter token': '请输入令牌',
'Generate token': '生成令牌', 'Generate token': '生成令牌',

Loading…
Cancel
Save