diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue
index bd9a7d2382..11e0533f6b 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue
@@ -9,6 +9,7 @@
type="textarea"
resize="none"
:autosize="{minRows:1}"
+ :placeholder="$t('Please enter a non-query SQL statement')"
v-model="localStatementList[$index]"
@on-blur="_verifProp()"
style="width: 525px;">
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue
index b1494e063e..1a06e80f4e 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue
@@ -4,15 +4,15 @@
{{$t('Startup parameter')}}
- - {{$t('Startup type')}}:{{_rtRunningType(startupParam.commandType)}}
- - {{$t('Complement range')}}:{{startupParam.commandParam.complementStartDate}}-{{startupParam.commandParam.complementEndDate}}-
- - {{$t('Failure Strategy')}}:{{startupParam.failureStrategy === 'END' ? $t('End') : $t('Continue')}}
- - {{$t('Process priority')}}:{{startupParam.processInstancePriority}}
- - {{$t('Worker group')}}:{{_rtWorkerGroupName(startupParam.workerGroupId)}}
- - {{$t('Notification strategy')}}:{{_rtWarningType(startupParam.warningType)}}
- - {{$t('Notification group')}}:{{_rtNotifyGroupName(startupParam.warningGroupId)}}
- - {{$t('Recipient')}}:{{startupParam.receivers || '-'}}
- - {{$t('Cc')}}:{{startupParam.receiversCc || '-'}}
+ - {{$t('Startup type')}}:{{_rtRunningType(startupParam.commandType)}}
+ - {{$t('Complement range')}}:{{startupParam.commandParam.complementStartDate}}-{{startupParam.commandParam.complementEndDate}}-
+ - {{$t('Failure Strategy')}}:{{startupParam.failureStrategy === 'END' ? $t('End') : $t('Continue')}}
+ - {{$t('Process priority')}}:{{startupParam.processInstancePriority}}
+ - {{$t('Worker group')}}:{{_rtWorkerGroupName(startupParam.workerGroupId)}}
+ - {{$t('Notification strategy')}}:{{_rtWarningType(startupParam.warningType)}}
+ - {{$t('Notification group')}}:{{_rtNotifyGroupName(startupParam.warningGroupId)}}
+ - {{$t('Recipient')}}:{{startupParam.receivers || '-'}}
+ - {{$t('Cc')}}:{{startupParam.receiversCc || '-'}}
@@ -111,4 +111,14 @@
}
}
}
+ .tab {
+ font-size: 12px;
+ font-weight: bold;
+ }
+ .content {
+ font-size: 12px;
+ &:hover {
+ color: #47c3ff;
+ }
+ }
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue
index 7e0b310052..fe873664fa 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue
@@ -317,37 +317,36 @@
})
}
},
- watch: {
- 'type'(value){
- if((value =='HIVE'||value == 'SPARK')&&this.isShowPrincipal== true){
- this.showPrincipal = false
- }else{
- this.showPrincipal = true
- }
- if(value == 'POSTGRESQL') {
- this.showdDatabase = true;
- } else {
- this.showdDatabase = false;
- }
- }
- },
created () {
// Backfill
if (this.item.id) {
this._getEditDatasource()
}
- return new Promise((resolve, reject) => {
- this.store.dispatch('datasource/getKerberosStartupState').then(res => {
- this.isShowPrincipal=res
- }).catch(e => {
- this.$message.error(e.msg || '')
- reject(e)
+ },
+ watch: {
+ type(value){
+ if(value == 'POSTGRESQL') {
+ this.showdDatabase = true;
+ } else {
+ this.showdDatabase = false;
+ }
+ return new Promise((resolve, reject) => {
+ this.store.dispatch('datasource/getKerberosStartupState').then(res => {
+ this.isShowPrincipal=res
+ if((value =='HIVE'||value == 'SPARK')&&this.isShowPrincipal== true){
+ this.showPrincipal = false
+ }else{
+ this.showPrincipal = true
+ }
+ }).catch(e => {
+ this.$message.error(e.msg || '')
+ reject(e)
+ })
})
- })
-
-
+ }
},
+
mounted () {
},
components: { mPopup, mListBoxF }
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue
index e07652c371..bdec16d929 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue
@@ -78,6 +78,10 @@
*/
_getList (flag) {
this.isLoading = !flag
+ if(this.searchParams.pageNo == undefined) {
+ this.$router.push({ path: `/projects/index` })
+ return false
+ }
this.getTaskInstanceList(this.searchParams).then(res => {
this.taskInstanceList = []
this.taskInstanceList = res.totalList
diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
index 1fc2615a21..3300d5dd12 100644
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
@@ -133,6 +133,7 @@ export default {
'jdbc connect parameters': 'jdbc connect parameters',
'Test Connect': 'Test Connect',
'Please enter resource name': 'Please enter resource name',
+ 'Please enter a non-query SQL statement': 'Please enter a non-query SQL statement',
'Please enter IP/hostname': 'Please enter IP/hostname',
'jdbc connection parameters is not a correct JSON format': 'jdbc connection parameters is not a correct JSON format',
'#': '#',
diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
index 8e7d6263ba..8ee8b019e4 100644
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
@@ -133,6 +133,7 @@ export default {
'jdbc connect parameters': 'jdbc连接参数',
'Test Connect': '测试连接',
'Please enter resource name': '请输入数据源名称',
+ 'Please enter a non-query SQL statement': '请输入非查询sql语句',
'Please enter IP/hostname': '请输入IP/主机名',
'jdbc connection parameters is not a correct JSON format': 'jdbc连接参数不是一个正确的JSON格式',
'#': '编号',