Browse Source

Ans UI upgrade and component value modification (#1326)

pull/2/head
break60 5 years ago committed by qiaozhanwei
parent
commit
45b5473b72
  1. 2
      dolphinscheduler-ui/package.json
  2. 4
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/commcon.js
  3. 14
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue
  4. 15
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/sqlType.vue
  5. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/udfs.vue
  6. 14
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue
  7. 22
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue
  8. 16
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue
  9. 12
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue
  10. 2
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue
  11. 10
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue
  12. 32
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
  13. 4
      dolphinscheduler-ui/src/js/module/components/transfer/resource.vue
  14. 2
      dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

2
dolphinscheduler-ui/package.json

@ -14,7 +14,7 @@
"build:combined": "npm run clean && cross-env NODE_ENV=production PUBLIC_PATH=/dolphinscheduler/ui webpack --config ./build/webpack.config.combined.js" "build:combined": "npm run clean && cross-env NODE_ENV=production PUBLIC_PATH=/dolphinscheduler/ui webpack --config ./build/webpack.config.combined.js"
}, },
"dependencies": { "dependencies": {
"ans-ui": "0.1.0", "ans-ui": "1.1.3",
"axios": "^0.16.2", "axios": "^0.16.2",
"jquery": "1.12.4", "jquery": "1.12.4",
"vue": "^2.5.17", "vue": "^2.5.17",

4
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/commcon.js

@ -209,11 +209,11 @@ const typeList = [
*/ */
const sqlTypeList = [ const sqlTypeList = [
{ {
id: 0, id: '0',
code: `${i18n.$t('Query')}` code: `${i18n.$t('Query')}`
}, },
{ {
id: 1, id: '1',
code: `${i18n.$t('Non Query')}` code: `${i18n.$t('Non Query')}`
} }
] ]

14
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue

@ -35,7 +35,7 @@
<x-option <x-option
v-for="city in datasourceList" v-for="city in datasourceList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -56,7 +56,7 @@
// Data source type(List) // Data source type(List)
typeList: [], typeList: [],
// data source // data source
datasource: {}, datasource: '',
// data source(List) // data source(List)
datasourceList: [] datasourceList: []
} }
@ -77,7 +77,7 @@
} }
this.$emit('on-dsData', { this.$emit('on-dsData', {
type: this.type, type: this.type,
datasource: this.datasource.id datasource: this.datasource
}) })
return true return true
}, },
@ -104,10 +104,10 @@
_handleTypeChanged ({ value }) { _handleTypeChanged ({ value }) {
this.type = value this.type = value
this._getDatasourceData().then(res => { this._getDatasourceData().then(res => {
this.datasource = this.datasourceList.length && this.datasourceList[0] || {} this.datasource = this.datasourceList.length && this.datasourceList[0].id || ''
this.$emit('on-dsData', { this.$emit('on-dsData', {
type: this.type, type: this.type,
datasource: this.datasource.id datasource: this.datasource
}) })
}) })
} }
@ -129,11 +129,11 @@
this._getDatasourceData().then(res => { this._getDatasourceData().then(res => {
if (_.isEmpty(this.data)) { if (_.isEmpty(this.data)) {
this.$nextTick(() => { this.$nextTick(() => {
this.datasource = this.datasourceList[0] this.datasource = this.datasourceList[0].id
}) })
} else { } else {
this.$nextTick(() => { this.$nextTick(() => {
this.datasource = _.filter(this.datasourceList, v => v.id === this.data.datasource)[0] this.datasource = this.data.datasource
}) })
} }
this.$emit('on-dsData', { this.$emit('on-dsData', {

15
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/sqlType.vue

@ -24,7 +24,7 @@
<x-option <x-option
v-for="city in sqlTypeList" v-for="city in sqlTypeList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -41,29 +41,30 @@
// sql(List) // sql(List)
sqlTypeList: sqlTypeList, sqlTypeList: sqlTypeList,
// sql // sql
sqlTypeId: {} sqlTypeId: '0'
} }
}, },
mixins: [disabledState], mixins: [disabledState],
props: { props: {
sqlType: Number sqlType: String
}, },
methods: { methods: {
/** /**
* return sqlType * return sqlType
*/ */
_handleSqlTypeChanged (val) { _handleSqlTypeChanged (val) {
this.$emit('on-sqlType', val.value.id) this.$emit('on-sqlType', val.value)
} }
}, },
watch: { watch: {
}, },
created () { created () {
this.$nextTick(() => { this.$nextTick(() => {
if (this.sqlType !== null) { console.log(this.sqlType)
this.sqlTypeId = _.filter(this.sqlTypeList, v => v.id === this.sqlType)[0] if (this.sqlType != 0) {
this.sqlTypeId = this.sqlType
} else { } else {
this.sqlTypeId = this.sqlTypeList[0] this.sqlTypeId = this.sqlTypeList[0].id
} }
}) })
}, },

2
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/udfs.vue

@ -23,7 +23,7 @@
<x-option <x-option
v-for="city in udfsList" v-for="city in udfsList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>

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

@ -35,7 +35,7 @@
:sql-type="sqlType"> :sql-type="sqlType">
</m-sql-type> </m-sql-type>
</div> </div>
<div v-if="!sqlType" style="display: inline-block;padding-left: 10px;margin-top: 2px;"> <div v-if="sqlType==0" style="display: inline-block;padding-left: 10px;margin-top: 2px;">
<x-checkbox-group v-model="showType"> <x-checkbox-group v-model="showType">
<x-checkbox :label="'TABLE'" :disabled="isDetails">{{$t('Table')}}</x-checkbox> <x-checkbox :label="'TABLE'" :disabled="isDetails">{{$t('Table')}}</x-checkbox>
<x-checkbox :label="'ATTACHMENT'" :disabled="isDetails">{{$t('Attachment')}}</x-checkbox> <x-checkbox :label="'ATTACHMENT'" :disabled="isDetails">{{$t('Attachment')}}</x-checkbox>
@ -43,7 +43,7 @@
</div> </div>
</div> </div>
</m-list-box> </m-list-box>
<template v-if="!sqlType"> <template v-if="sqlType==0">
<m-list-box> <m-list-box>
<div slot="text"><b class='requiredIcon'>*</b>{{$t('Title')}}</div> <div slot="text"><b class='requiredIcon'>*</b>{{$t('Title')}}</div>
<div slot="content"> <div slot="content">
@ -167,7 +167,7 @@
// UDF function // UDF function
udfs: '', udfs: '',
// Sql type // Sql type
sqlType: 0, sqlType: '0',
// Email title // Email title
title: '', title: '',
// Form/attachment // Form/attachment
@ -256,11 +256,11 @@
return false return false
} }
// receivers Subcomponent verification // receivers Subcomponent verification
if (!this.sqlType && !this.$refs.refEmail._manualEmail()) { if (this.sqlType==0 && !this.$refs.refEmail._manualEmail()) {
return false return false
} }
// receiversCc Subcomponent verification // receiversCc Subcomponent verification
if (!this.sqlType && !this.$refs.refCc._manualEmail()) { if (this.sqlType==0 && !this.$refs.refCc._manualEmail()) {
return false return false
} }
// udfs Subcomponent verification Verification only if the data type is HIVE // udfs Subcomponent verification Verification only if the data type is HIVE
@ -356,10 +356,10 @@
watch: { watch: {
// Listening to sqlType // Listening to sqlType
sqlType (val) { sqlType (val) {
if (val) { if (val==0) {
this.showType = [] this.showType = []
} }
if (val !== 0) { if (val != 0) {
this.title = '' this.title = ''
this.receivers = [] this.receivers = []
this.receiversCc = [] this.receiversCc = []

22
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue

@ -51,7 +51,7 @@
<x-option <x-option
v-for="city in warningTypeList" v-for="city in warningTypeList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -82,14 +82,14 @@
style="width: 200px;" style="width: 200px;"
v-model="warningGroupId" v-model="warningGroupId"
:disabled="!notifyGroupList.length"> :disabled="!notifyGroupList.length">
<x-input slot="trigger" slot-scope="{ selectedModel }" readonly :placeholder="$t('Please select a notification group')" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="warningGroupId = {}"> <x-input slot="trigger" slot-scope="{ selectedModel }" readonly :placeholder="$t('Please select a notification group')" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="warningGroupId = ''">
<i slot="suffix" class="fa fa-times-circle" style="font-size: 15px;cursor: pointer;" v-show="warningGroupId.id"></i> <i slot="suffix" class="fa fa-times-circle" style="font-size: 15px;cursor: pointer;" v-show="warningGroupId"></i>
<i slot="suffix" class="ans-icon-arrow-down" style="font-size: 12px;" v-show="!warningGroupId.id"></i> <i slot="suffix" class="ans-icon-arrow-down" style="font-size: 12px;" v-show="!warningGroupId"></i>
</x-input> </x-input>
<x-option <x-option
v-for="city in notifyGroupList" v-for="city in notifyGroupList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -174,9 +174,9 @@
processDefinitionId: 0, processDefinitionId: 0,
failureStrategy: 'CONTINUE', failureStrategy: 'CONTINUE',
warningTypeList: warningTypeList, warningTypeList: warningTypeList,
warningType: {}, warningType: '',
notifyGroupList: [], notifyGroupList: [],
warningGroupId: {}, warningGroupId: '',
scheduleTime: '', scheduleTime: '',
spinnerLoading: false, spinnerLoading: false,
execType: false, execType: false,
@ -206,8 +206,8 @@
processDefinitionId: this.item.id, processDefinitionId: this.item.id,
scheduleTime: this.scheduleTime.length && this.scheduleTime.join(',') || '', scheduleTime: this.scheduleTime.length && this.scheduleTime.join(',') || '',
failureStrategy: this.failureStrategy, failureStrategy: this.failureStrategy,
warningType: this.warningType.id, warningType: this.warningType,
warningGroupId: _.isEmpty(this.warningGroupId) ? 0 : this.warningGroupId.id, warningGroupId: this.warningGroupId=='' ? 0 : this.warningGroupId,
execType: this.execType ? 'COMPLEMENT_DATA' : null, execType: this.execType ? 'COMPLEMENT_DATA' : null,
startNodeList: this.startNodeList, startNodeList: this.startNodeList,
taskDependType: this.taskDependType, taskDependType: this.taskDependType,
@ -266,14 +266,14 @@
} }
}, },
created () { created () {
this.warningType = this.warningTypeList[0] this.warningType = this.warningTypeList[0].id
this._getReceiver() this._getReceiver()
}, },
mounted () { mounted () {
this._getNotifyGroupList().then(() => { this._getNotifyGroupList().then(() => {
this.$nextTick(() => { this.$nextTick(() => {
this.warningGroupId = { id: 0 } this.warningGroupId = ''
}) })
}) })
}, },

16
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue

@ -128,7 +128,7 @@
<x-option <x-option
v-for="city in notifyGroupList" v-for="city in notifyGroupList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -177,7 +177,7 @@
warningTypeList: warningTypeList, warningTypeList: warningTypeList,
warningType: 'NONE', warningType: 'NONE',
notifyGroupList: [], notifyGroupList: [],
warningGroupId: {}, warningGroupId: '',
spinnerLoading: false, spinnerLoading: false,
scheduleTime: '', scheduleTime: '',
crontab: '0 0 * * * ? *', crontab: '0 0 * * * ? *',
@ -229,7 +229,7 @@
failureStrategy: this.failureStrategy, failureStrategy: this.failureStrategy,
warningType: this.warningType, warningType: this.warningType,
processInstancePriority: this.processInstancePriority, processInstancePriority: this.processInstancePriority,
warningGroupId: _.isEmpty(this.warningGroupId) ? 0 : this.warningGroupId.id, warningGroupId: this.warningGroupId =='' ? 0 : this.warningGroupId,
receivers: this.receivers.join(',') || '', receivers: this.receivers.join(',') || '',
receiversCc: this.receiversCc.join(',') || '', receiversCc: this.receiversCc.join(',') || '',
workerGroupId: this.workerGroupId workerGroupId: this.workerGroupId
@ -331,16 +331,16 @@
this.workerGroupId = item.workerGroupId || -1 this.workerGroupId = item.workerGroupId || -1
this._getNotifyGroupList().then(() => { this._getNotifyGroupList().then(() => {
this.$nextTick(() => { this.$nextTick(() => {
let list = _.filter(this.notifyGroupList, v => v.id === item.warningGroupId) // let list = _.filter(this.notifyGroupList, v => v.id === item.warningGroupId)
this.warningGroupId = list.length && list[0] || { id: 0 } this.warningGroupId = item.warningGroupId
}) })
}).catch(() => this.warningGroupId = { id: 0 }) }).catch(() => this.warningGroupId = '')
} else { } else {
this._getNotifyGroupList().then(() => { this._getNotifyGroupList().then(() => {
this.$nextTick(() => { this.$nextTick(() => {
this.warningGroupId = { id: 0 } this.warningGroupId = ''
}) })
}).catch(() => this.warningGroupId = { id: 0 }) }).catch(() => this.warningGroupId = '')
} }
}, },
components: { vCrontab, mEmail, mPriority, mWorkerGroups } components: { vCrontab, mEmail, mPriority, mWorkerGroups }

12
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue

@ -80,7 +80,7 @@
<x-option <x-option
v-for="city in udfResourceList" v-for="city in udfResourceList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.alias"> :label="city.alias">
</x-option> </x-option>
</x-select> </x-select>
@ -129,7 +129,7 @@
argTypes: '', argTypes: '',
database: '', database: '',
description: '', description: '',
resourceId: {}, resourceId: '',
udfResourceList: [], udfResourceList: [],
isUpdate: false, isUpdate: false,
upDisabled: false upDisabled: false
@ -165,7 +165,7 @@
argTypes: this.argTypes, // Can not pass this parameter argTypes: this.argTypes, // Can not pass this parameter
database: this.database, // Can not pass this parameter database: this.database, // Can not pass this parameter
description: this.description, description: this.description,
resourceId: this.resourceId.id resourceId: this.resourceId
} }
let id = this.item && this.item.id || null let id = this.item && this.item.id || null
@ -210,7 +210,7 @@
this.udfResourceList.push(o) this.udfResourceList.push(o)
this.isUpdate = false this.isUpdate = false
this.$nextTick(() => { this.$nextTick(() => {
this.resourceId = _.filter(this.udfResourceList, v => v.id === o.id)[0] this.resourceId = o.id
}) })
this.$refs.popup.apDisabled = false this.$refs.popup.apDisabled = false
}, },
@ -268,9 +268,9 @@
this.argTypes = this.item.argTypes || '' this.argTypes = this.item.argTypes || ''
this.database = this.item.database || '' this.database = this.item.database || ''
this.description = this.item.description || '' this.description = this.item.description || ''
this.resourceId = _.filter(this.udfResourceList, v => v.id === this.item.resourceId)[0] this.resourceId = this.item.resourceId
} else { } else {
this.resourceId = this.udfResourceList.length && this.udfResourceList[0] || [] this.resourceId = this.udfResourceList.length && this.udfResourceList[0].id || ''
} }
}) })
}, },

2
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue

@ -26,7 +26,7 @@
<span>{{$t('Name')}}</span> <span>{{$t('Name')}}</span>
</th> </th>
<th> <th>
<span>队列值</span> <span>{{$t('Queue value')}}</span>
</th> </th>
<th> <th>
<span>{{$t('Create Time')}}</span> <span>{{$t('Create Time')}}</span>

10
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue

@ -51,7 +51,7 @@
<x-option <x-option
v-for="city in queueList" v-for="city in queueList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -85,10 +85,10 @@
return { return {
store, store,
queueList: [], queueList: [],
queueId: {}, queueId: '',
tenantCode: '', tenantCode: '',
tenantName: '', tenantName: '',
description: '' description: '',
} }
}, },
props: { props: {
@ -151,7 +151,7 @@
let param = { let param = {
tenantCode: this.tenantCode, tenantCode: this.tenantCode,
tenantName: this.tenantName, tenantName: this.tenantName,
queueId: this.queueId.id, queueId: this.queueId,
description: this.description description: this.description
} }
if (this.item) { if (this.item) {
@ -177,7 +177,7 @@
this._getQueueList().then(res => { this._getQueueList().then(res => {
if (this.item) { if (this.item) {
this.$nextTick(() => { this.$nextTick(() => {
this.queueId = _.find(this.queueList, ['id', this.item.queueId]) this.queueId = this.item.queueId
}) })
this.tenantCode = this.item.tenantCode this.tenantCode = this.item.tenantCode
this.tenantName = this.item.tenantName this.tenantName = this.item.tenantName

32
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

@ -50,7 +50,7 @@
<x-option <x-option
v-for="city in tenantList" v-for="city in tenantList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -60,14 +60,14 @@
<template slot="name">{{$t('Queue')}}</template> <template slot="name">{{$t('Queue')}}</template>
<template slot="content"> <template slot="content">
<x-select v-model="queueName"> <x-select v-model="queueName">
<x-input slot="trigger" slot-scope="{ selectedModel }" readonly :placeholder="$t('Please select a queue')" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="queueName = {}"> <x-input slot="trigger" slot-scope="{ selectedModel }" readonly :placeholder="$t('Please select a queue')" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="queueName = ''">
<i slot="suffix" class="fa fa-times-circle" style="font-size: 15px;cursor: pointer;" v-show="queueName.id"></i> <i slot="suffix" class="fa fa-times-circle" style="font-size: 15px;cursor: pointer;" v-show="queueName ==''"></i>
<i slot="suffix" class="ans-icon-arrow-down" style="font-size: 12px;" v-show="!queueName.id"></i> <i slot="suffix" class="ans-icon-arrow-down" style="font-size: 12px;" v-show="queueName!=''"></i>
</x-input> </x-input>
<x-option <x-option
v-for="city in queueList" v-for="city in queueList"
:key="city.id" :key="city.id"
:value="city" :value="city.id"
:label="city.code"> :label="city.code">
</x-option> </x-option>
</x-select> </x-select>
@ -114,10 +114,8 @@
queueList: [], queueList: [],
userName: '', userName: '',
userPassword: '', userPassword: '',
tenantId: {}, tenantId: '',
queueName: { queueName: '',
id:''
},
email: '', email: '',
phone: '', phone: '',
tenantList: [], tenantList: [],
@ -193,7 +191,7 @@
} }
}) })
this.$nextTick(() => { this.$nextTick(() => {
this.queueName = this.queueList[0] this.queueName = this.queueList[0].id
}) })
resolve() resolve()
}) })
@ -212,7 +210,7 @@
} }
}) })
this.$nextTick(() => { this.$nextTick(() => {
this.tenantId = this.tenantList[0] this.tenantId = this.tenantList[0].id
}) })
resolve() resolve()
}) })
@ -223,9 +221,9 @@
let param = { let param = {
userName: this.userName, userName: this.userName,
userPassword: this.userPassword, userPassword: this.userPassword,
tenantId: this.tenantId.id, tenantId: this.tenantId,
email: this.email, email: this.email,
queue: this.queueName.code, queue: this.queueList[this.queueName].code,
phone: this.phone phone: this.phone
} }
@ -255,9 +253,9 @@
this.userPassword = '' this.userPassword = ''
this.email = this.item.email this.email = this.item.email
this.phone = this.item.phone this.phone = this.item.phone
this.tenantId = _.find(this.tenantList, ['id', this.item.tenantId]) this.tenantId = this.item.tenantId
this.$nextTick(() => { this.$nextTick(() => {
this.queueName = _.find(this.queueList, ['code', this.item.queue])||{id:''} this.queueName = _.find(this.queueList, ['code', this.item.queue]).id||''
}) })
} }
}) })
@ -267,8 +265,8 @@
this.userPassword = '' this.userPassword = ''
this.email = this.item.email this.email = this.item.email
this.phone = this.item.phone this.phone = this.item.phone
this.tenantId.id = this.item.tenantId this.tenantId = this.item.tenantId
this.queueName = { queue: this.item.queue} this.queueName = _.find(this.queueList, ['code', this.item.queue]).id
} }
} }
}, },

4
dolphinscheduler-ui/src/js/module/components/transfer/resource.vue

@ -43,7 +43,7 @@
<div class="scrollbar tf-content"> <div class="scrollbar tf-content">
<ul> <ul>
<li v-for="(item,$index) in sourceList" :key="item.id" @click="_ckSource(item)"> <li v-for="(item,$index) in sourceList" :key="item.id" @click="_ckSource(item)">
<span>{{item.name}}</span> <span :title="item.name">{{item.name}}</span>
<a href="javascript:"></a> <a href="javascript:"></a>
</li> </li>
</ul> </ul>
@ -68,7 +68,7 @@
</div>--> </div>-->
<div class="scrollbar tf-content"> <div class="scrollbar tf-content">
<ul> <ul>
<li v-for="(item,$index) in targetList" :key="item.id" @click="_ckTarget(item)"><span>{{item.name}}</span></li> <li v-for="(item,$index) in targetList" :key="item.id" @click="_ckTarget(item)"><span :title="item.name">{{item.name}}</span></li>
</ul> </ul>
</div> </div>
</div> </div>

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

@ -148,7 +148,7 @@ export default {
'Click to view': 'Click to view', 'Click to view': 'Click to view',
'Delete?': 'Delete?', 'Delete?': 'Delete?',
'Confirm': 'Confirm', 'Confirm': 'Confirm',
'Task status statistics': 'Task status statistics', 'Task status statistics': 'Task Status Statistics',
'Number': 'Number', 'Number': 'Number',
'State': 'State', 'State': 'State',
'Process Status Statistics': 'Process Status Statistics', 'Process Status Statistics': 'Process Status Statistics',

Loading…
Cancel
Save