Browse Source

路由优化/文件目录优化/增加历史任务记录/

pull/2/head
gongzijian 6 years ago
parent
commit
3c5015e691
  1. 2
      escheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/selectInput.vue
  2. 8
      escheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
  3. 2
      escheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js
  4. 2
      escheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/util.js
  5. 0
      escheduler-ui/src/js/conf/home/pages/projects/pages/_source/instanceConditions/common.js
  6. 65
      escheduler-ui/src/js/conf/home/pages/projects/pages/_source/instanceConditions/index.vue
  7. 141
      escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/conditions.vue
  8. 0
      escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/list.vue
  9. 80
      escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/index.vue
  10. 8
      escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue
  11. 18
      escheduler-ui/src/js/conf/home/pages/projects/pages/historyTaskRecord/index.vue
  12. 14
      escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/projectChart.vue
  13. 15
      escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue
  14. 0
      escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue
  15. 131
      escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue
  16. 14
      escheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/index.vue
  17. 195
      escheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/pages/list/index.vue
  18. 2
      escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue
  19. 2
      escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue
  20. 14
      escheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue
  21. 4
      escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
  22. 34
      escheduler-ui/src/js/conf/home/router/index.js
  23. 12
      escheduler-ui/src/js/conf/home/store/dag/actions.js
  24. 10
      escheduler-ui/src/js/conf/home/store/security/actions.js
  25. 2
      escheduler-ui/src/js/module/components/fileUpdate/fileUpdate.vue
  26. 9
      escheduler-ui/src/js/module/components/secondaryMenu/menu.js
  27. 7
      escheduler-ui/src/js/module/i18n/locale/en_US.js
  28. 11
      escheduler-ui/src/js/module/i18n/locale/zh_CN.js
  29. 2
      escheduler-ui/src/sass/common/index.scss

2
escheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/selectInput.vue

@ -1,6 +1,6 @@
<template> <template>
<x-select <x-select
style="width: 170px;" style="width: 157px;"
:disabled="isDetails" :disabled="isDetails"
@on-change="_onChange" @on-change="_onChange"
v-model="value"> v-model="value">

8
escheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

@ -178,7 +178,7 @@
import mShell from './tasks/shell' import mShell from './tasks/shell'
import mSpark from './tasks/spark' import mSpark from './tasks/spark'
import mPython from './tasks/python' import mPython from './tasks/python'
import { isNameExDag,rtBantpl } from './../plugIn/util' import { isNameExDag, rtBantpl } from './../plugIn/util'
import JSP from './../plugIn/jsPlumbHandle' import JSP from './../plugIn/jsPlumbHandle'
import mProcedure from './tasks/procedure' import mProcedure from './tasks/procedure'
import mDependent from './tasks/dependent' import mDependent from './tasks/dependent'
@ -366,7 +366,7 @@
/** /**
* set run flag * set run flag
*/ */
_setRunFlag(){ _setRunFlag () {
let dom = $(`#${this.id}`).find('.ban-p') let dom = $(`#${this.id}`).find('.ban-p')
dom.html('') dom.html('')
if (this.runFlag === 'FORBIDDEN') { if (this.runFlag === 'FORBIDDEN') {
@ -528,10 +528,10 @@
position: relative; position: relative;
margin-bottom: 10px; margin-bottom: 10px;
.text-box { .text-box {
width: 110px; width: 112px;
float: left; float: left;
text-align: right; text-align: right;
margin-right: 10px; margin-right: 8px;
>span { >span {
font-size: 14px; font-size: 14px;
color: #777; color: #777;

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

@ -193,7 +193,7 @@ JSP.prototype.jsonHandle = function ({ largeJson, locations }) {
targetarr: locations[v.id]['targetarr'], targetarr: locations[v.id]['targetarr'],
isAttachment: this.config.isAttachment, isAttachment: this.config.isAttachment,
taskType: v.type, taskType: v.type,
runFlag:v.runFlag runFlag: v.runFlag
})) }))
// contextmenu event // contextmenu event

2
escheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/util.js

@ -44,7 +44,7 @@ const rtBantpl = () => {
/** /**
* return node html * return node html
*/ */
const rtTasksTpl = ({ id, name, x, y, targetarr, isAttachment, taskType,runFlag }) => { const rtTasksTpl = ({ id, name, x, y, targetarr, isAttachment, taskType, runFlag }) => {
let tpl = `` let tpl = ``
tpl += `<div class="w jtk-draggable jtk-droppable jtk-endpoint-anchor jtk-connected ${isAttachment ? 'jtk-ep' : ''}" data-targetarr="${targetarr || ''}" data-tasks-type="${taskType}" id="${id}" style="left: ${x}px; top: ${y}px;">` tpl += `<div class="w jtk-draggable jtk-droppable jtk-endpoint-anchor jtk-connected ${isAttachment ? 'jtk-ep' : ''}" data-targetarr="${targetarr || ''}" data-tasks-type="${taskType}" id="${id}" style="left: ${x}px; top: ${y}px;">`
tpl += `<div>` tpl += `<div>`

0
escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/common.js → escheduler-ui/src/js/conf/home/pages/projects/pages/_source/instanceConditions/common.js

65
escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/conditions.vue → escheduler-ui/src/js/conf/home/pages/projects/pages/_source/instanceConditions/index.vue

@ -11,7 +11,7 @@
type="daterange" type="daterange"
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss"
placement="bottom-end" placement="bottom-end"
v-model="datepicker" :value="[searchParams.startDate,searchParams.endDate]"
:panelNum="2"> :panelNum="2">
<x-input slot="input" readonly slot-scope="{value}" :value="value" style="width: 310px;" size="small" :placeholder="$t('Select date range')"> <x-input slot="input" readonly slot-scope="{value}" :value="value" style="width: 310px;" size="small" :placeholder="$t('Select date range')">
<i slot="suffix" <i slot="suffix"
@ -24,7 +24,7 @@
</x-datepicker> </x-datepicker>
</div> </div>
<div class="list"> <div class="list">
<x-select style="width: 160px;" @on-change="_onChangeState" :value="stateType" > <x-select style="width: 160px;" @on-change="_onChangeState" :value="searchParams.stateType" >
<x-input slot="trigger" readonly :value="selectedModel ? selectedModel.label : ''" slot-scope="{ selectedModel }" style="width: 160px;" size="small" :placeholder="$t('State')" suffix-icon="ans-icon-arrow-down"> <x-input slot="trigger" readonly :value="selectedModel ? selectedModel.label : ''" slot-scope="{ selectedModel }" style="width: 160px;" size="small" :placeholder="$t('State')" suffix-icon="ans-icon-arrow-down">
</x-input> </x-input>
<x-option <x-option
@ -36,10 +36,10 @@
</x-select> </x-select>
</div> </div>
<div class="list"> <div class="list">
<x-input v-model="host" style="width: 140px;" size="small" :placeholder="$t('host')"></x-input> <x-input v-model="searchParams.host" style="width: 140px;" size="small" :placeholder="$t('host')"></x-input>
</div> </div>
<div class="list"> <div class="list">
<x-input v-model="searchVal" style="width: 200px;" size="small" :placeholder="$t('name')"></x-input> <x-input v-model="searchParams.searchVal" style="width: 200px;" size="small" :placeholder="$t('name')"></x-input>
</div> </div>
</template> </template>
</m-conditions> </m-conditions>
@ -47,14 +47,14 @@
<script> <script>
import _ from 'lodash' import _ from 'lodash'
import { stateType } from './common' import { stateType } from './common'
import { setUrlParams } from '@/module/util/routerUtil'
import mConditions from '@/module/components/conditions/conditions' import mConditions from '@/module/components/conditions/conditions'
export default { export default {
name: 'conditions', name: 'instance-conditions',
data () { data () {
return { return {
// state(list) // state(list)
stateTypeList: stateType, stateTypeList: stateType,
searchParams: {
// state // state
stateType: '', stateType: '',
// start date // start date
@ -64,74 +64,43 @@
// search value // search value
searchVal: '', searchVal: '',
// host // host
host: '', host: ''
// datepicker plugin }
datepicker: []
} }
}, },
props: {}, props: {},
methods: { methods: {
_ckQuery () { _ckQuery () {
setUrlParams({ pageNo: 1 }) this.$emit('on-query', this.searchParams)
this.$emit('on-query', {
startDate: this.startDate || '',
endDate: this.endDate || '',
stateType: this.stateType || '',
host: _.trim(this.host) || '',
searchVal: _.trim(this.searchVal) || ''
})
}, },
/** /**
* change times * change times
*/ */
_onChangeStartStop (val) { _onChangeStartStop (val) {
this.startDate = val[0] this.searchParams.startDate = val[0]
this.endDate = val[1] this.searchParams.endDate = val[1]
// set url params
setUrlParams({
startDate: this.startDate,
endDate: this.endDate
})
}, },
/** /**
* change state * change state
*/ */
_onChangeState (val) { _onChangeState (val) {
this.stateType = val.value this.searchParams.stateType = val.value
// set url params
setUrlParams({
stateType: this.stateType
})
}, },
/** /**
* empty date * empty date
*/ */
_dateEmpty () { _dateEmpty () {
this.startDate = '' this.searchParams.startDate = ''
this.endDate = '' this.searchParams.endDate = ''
this.$refs.datepicker.empty() this.$refs.datepicker.empty()
// set url params
setUrlParams({
startDate: '',
endDate: ''
})
} }
}, },
watch: { watch: {
searchVal (val) {
setUrlParams({
searchVal: _.trim(val)
})
}
}, },
created () { created () {
let query = this.$route.query // Routing parameter merging
if (!_.isEmpty(query)) { if (!_.isEmpty(this.$route.query)) {
this.searchVal = query.searchVal this.searchParams = _.assign(this.searchParams, this.$route.query)
this.startDate = query.startDate
this.endDate = query.endDate
this.stateType = query.stateType
this.datepicker = (!this.startDate && !this.endDate) ? [] : [this.startDate, this.endDate]
} }
}, },
mounted () { mounted () {

141
escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/conditions.vue

@ -0,0 +1,141 @@
<template>
<m-conditions>
<template slot="search-group">
<div class="list">
<x-button type="ghost" size="small" @click="_ckQuery" icon="fa fa-search"></x-button>
</div>
<div class="list">
<x-datepicker
:value="[searchParams.startDate,searchParams.endDate]"
ref="datepicker"
@on-change="_onChangeStartStop"
type="daterange"
format="YYYY-MM-DD HH:mm:ss"
placement="bottom-end"
:panelNum="2">
<x-input slot="input" readonly slot-scope="{value}" :value="value" style="width: 310px;" size="small" :placeholder="$t('Select date range')">
<i slot="suffix"
@click.stop="_dateEmpty()"
class="ans-icon-fail-solid"
v-show="value"
style="font-size: 13px;cursor: pointer;margin-top: 1px;">
</i>
</x-input>
</x-datepicker>
</div>
<div class="list">
<x-input v-model="searchParams.destTable" style="width: 120px;" size="small" :placeholder="$t('Target Table')"></x-input>
</div>
<div class="list">
<x-input v-model="searchParams.sourceTable" style="width: 120px;" size="small" :placeholder="$t('Source Table')"></x-input>
</div>
<div class="list">
<x-select style="width: 90px;" @on-change="_onChangeState" :value="searchParams.state">
<x-input slot="trigger" readonly :value="selectedModel ? selectedModel.label : ''" slot-scope="{ selectedModel }" style="width: 90px;" size="small" :placeholder="$t('State')" suffix-icon="ans-icon-arrow-down"></x-input>
<x-option
v-for="city in stateList"
:key="city.label"
:value="city.code"
:label="city.label">
</x-option>
</x-select>
</div>
<div class="list">
<x-datepicker
v-model="searchParams.taskDate"
@on-change="_onChangeDate"
format="YYYY-MM-DD"
:panelNum="1">
<x-input slot="input" readonly slot-scope="{value}" style="width: 130px;" :value="value" size="small" :placeholder="$t('Date')"></x-input>
</x-datepicker>
</div>
<div class="list">
<x-input v-model="searchParams.taskName" style="width: 130px;" size="small" :placeholder="$t('Task Name')"></x-input>
</div>
</template>
</m-conditions>
</template>
<script>
import _ from 'lodash'
import mConditions from '@/module/components/conditions/conditions'
export default {
name: 'conditions',
data () {
return {
stateList: [
{
label: `${this.$t('none')}`,
code: ``
},
{
label: `${this.$t('success')}`,
code: `成功`
},
{
label: `${this.$t('waiting')}`,
code: `等待`
},
{
label: `${this.$t('execution')}`,
code: `执行中`
},
{
label: `${this.$t('finish')}`,
code: `完成`
}, {
label: `${this.$t('failed')}`,
code: `失败`
}
],
searchParams: {
taskName: '',
state: '',
sourceTable: '',
destTable: '',
taskDate: '',
startDate: '',
endDate: ''
}
}
},
props: {},
methods: {
_ckQuery () {
this.$emit('on-query', this.searchParams)
},
/**
* change times
*/
_onChangeStartStop (val) {
this.searchParams.startDate = val[0]
this.searchParams.endDate = val[1]
},
/**
* change state
*/
_onChangeState (val) {
this.searchParams.state = val.value
},
/**
* empty date
*/
_dateEmpty () {
this.searchParams.startDate = ''
this.searchParams.endDate = ''
this.$refs.datepicker.empty()
},
_onChangeDate (val) {
this.searchParams.taskDate = val.replace(/-/g, '')
}
},
created () {
// Routing parameter merging
if (!_.isEmpty(this.$route.query)) {
this.searchParams = _.assign(this.searchParams, this.$route.query)
}
},
mounted () {
},
components: { mConditions }
}
</script>

0
escheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/pages/list/_source/list.vue → escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/list.vue

80
escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/pages/list/index.vue → escheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/index.vue

@ -1,19 +1,19 @@
<template> <template>
<div class="main-layout-box"> <div class="main-layout-box">
<m-secondary-menu :type="'projects'"></m-secondary-menu> <m-secondary-menu :type="'projects'"></m-secondary-menu>
<m-list-construction :title="$t('Task Instance')"> <m-list-construction :title="config.title">
<template slot="conditions"> <template slot="conditions">
<m-conditions @on-query="_onQuery"></m-conditions> <m-conditions @on-query="_onQuery"></m-conditions>
</template> </template>
<template slot="content"> <template slot="content">
<template v-if="taskInstanceList.length"> <template v-if="taskRecordList.length">
<m-list :task-instance-list="taskInstanceList" :page-no="searchParams.pageNo" :page-size="searchParams.pageSize"> <m-list :task-record-list="taskRecordList" @on-update="_onUpdate" :page-no="searchParams.pageNo" :page-size="searchParams.pageSize">
</m-list> </m-list>
<div class="page-box"> <div class="page-box">
<x-page :current="parseInt(searchParams.pageNo)" :total="total" show-elevator @on-change="_page"></x-page> <x-page :current="parseInt(searchParams.pageNo)" :total="total" show-elevator @on-change="_page"></x-page>
</div> </div>
</template> </template>
<template v-if="!taskInstanceList.length"> <template v-if="!taskRecordList.length">
<m-no-data></m-no-data> <m-no-data></m-no-data>
</template> </template>
<m-spin :is-spin="isLoading"></m-spin> <m-spin :is-spin="isLoading"></m-spin>
@ -23,85 +23,73 @@
</template> </template>
<script> <script>
import _ from 'lodash' import _ from 'lodash'
import { mapActions } from 'vuex'
import mList from './_source/list' import mList from './_source/list'
import { setUrlParams } from '@/module/util/routerUtil' import store from '@/conf/home/store'
import mConditions from './_source/conditions'
import mSpin from '@/module/components/spin/spin' import mSpin from '@/module/components/spin/spin'
import mConditions from '@/conf/home/pages/projects/pages/instance/pages/list/_source/conditions' import { setUrlParams } from '@/module/util/routerUtil'
import mNoData from '@/module/components/noData/noData'
import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu' import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu'
import mListConstruction from '@/module/components/listConstruction/listConstruction' import mListConstruction from '@/module/components/listConstruction/listConstruction'
import mNoData from '@/module/components/noData/noData'
export default { export default {
name: 'task-instance-list-index', name: 'task-record-list',
data () { data () {
return { return {
isLoading: true, store,
total: null, total: null,
taskInstanceList: [], taskRecordList: [],
isLoading: true,
searchParams: { searchParams: {
// page size taskName: '',
pageSize: 10, state: '',
// page index sourceTable: '',
pageNo: 1, destTable: '',
// Query name taskDate: '',
searchVal: '',
// Process instance id
processInstanceId: '',
// host
host: '',
// state
stateType: '',
// start date
startDate: '', startDate: '',
// end date endDate: '',
endDate: '' pageSize: 10,
pageNo: 1
} }
} }
}, },
props: {}, props: {
config: String
},
methods: { methods: {
...mapActions('dag', ['getTaskInstanceList']),
/**
* click query
*/
_onQuery (o) { _onQuery (o) {
this.searchParams = _.assign(this.searchParams, o) this.searchParams = _.assign(this.searchParams, o)
if (this.searchParams.taskName) { setUrlParams(this.searchParams)
this.searchParams.taskName = ''
setUrlParams({
taskName: ''
})
}
this._debounceGET() this._debounceGET()
}, },
_page (val) { _page (val) {
this.searchParams.pageNo = val this.searchParams.pageNo = val
setUrlParams({ setUrlParams(this.searchParams)
pageNo: this.searchParams.pageNo
})
this._debounceGET() this._debounceGET()
}, },
/** /**
* get list data * get list data
*/ */
_getTaskInstanceList (flag) { _getList (flag) {
this.isLoading = !flag this.isLoading = !flag
this.getTaskInstanceList(this.searchParams).then(res => { this.store.dispatch(`dag/${this.config.apiFn}`, this.searchParams).then(res => {
this.taskInstanceList = [] this.taskRecordList = []
this.taskInstanceList = res.totalList this.taskRecordList = res.totalList
this.total = res.total this.total = res.total
this.isLoading = false this.isLoading = false
}).catch(e => { }).catch(e => {
this.isLoading = false this.isLoading = false
}) })
}, },
_onUpdate () {
this._debounceGET()
},
/** /**
* Anti-shake request interface * Anti-shake request interface
* @desc Prevent function from being called multiple times * @desc Prevent function from being called multiple times
*/ */
_debounceGET: _.debounce(function (flag) { _debounceGET: _.debounce(function (flag) {
this._getTaskInstanceList(flag) this._getList(flag)
}, 100, { }, 100, {
'leading': false, 'leading': false,
'trailing': true 'trailing': true
@ -118,7 +106,7 @@
this.searchParams.pageNo = a.query.pageNo || 1 this.searchParams.pageNo = a.query.pageNo || 1
} }
}, },
'searchParams': { 'searchParams.pageNo': {
deep: true, deep: true,
handler () { handler () {
this._debounceGET() this._debounceGET()

8
escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue

@ -62,9 +62,7 @@
*/ */
_page (val) { _page (val) {
this.searchParams.pageNo = val this.searchParams.pageNo = val
setUrlParams({ setUrlParams(this.searchParams)
pageNo: this.searchParams.pageNo
})
this._debounceGET() this._debounceGET()
}, },
/** /**
@ -73,9 +71,7 @@
_onConditions (o) { _onConditions (o) {
this.searchParams.searchVal = o.searchVal this.searchParams.searchVal = o.searchVal
this.searchParams.pageNo = 1 this.searchParams.pageNo = 1
setUrlParams({ setUrlParams(this.searchParams)
pageNo: this.searchParams.pageNo
})
this._debounceGET() this._debounceGET()
}, },
/** /**

18
escheduler-ui/src/js/conf/home/pages/projects/pages/historyTaskRecord/index.vue

@ -0,0 +1,18 @@
<template>
<m-list :config="config"></m-list>
</template>
<script>
import mList from '@/conf/home/pages/projects/pages/_source/taskRecordList'
export default {
name: 'history-task-record',
data () {
return {
config: {
title: `${this.$t('History task record')}`,
apiFn: 'getHistoryTaskRecordList'
}
}
},
components: { mList }
}
</script>

14
escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/projectChart.vue

@ -37,7 +37,7 @@
<a href="javascript:" @click="id && _goTask(item.key)" :class="id ?'links':''">{{item.value}}</a> <a href="javascript:" @click="id && _goTask(item.key)" :class="id ?'links':''">{{item.value}}</a>
</span> </span>
</td> </td>
<td><span>{{item.key}}</span></td> <td><span class="ellipsis" style="width: 98%;" :title="item.key">{{item.key}}</span></td>
</tr> </tr>
</table> </table>
</div> </div>
@ -63,7 +63,7 @@
<tr v-for="(item,$index) in processStateCountList"> <tr v-for="(item,$index) in processStateCountList">
<td><span>{{$index+1}}</span></td> <td><span>{{$index+1}}</span></td>
<td><span><a href="javascript:" @click="id && _goProcess(item.key)" :class="id ?'links':''">{{item.value}}</a></span></td> <td><span><a href="javascript:" @click="id && _goProcess(item.key)" :class="id ?'links':''">{{item.value}}</a></span></td>
<td><span>{{item.key}}</span></td> <td><span class="ellipsis" style="width: 98%;" :title="item.key">{{item.key}}</span></td>
</tr> </tr>
</table> </table>
</div> </div>
@ -93,7 +93,7 @@
import dayjs from 'dayjs' import dayjs from 'dayjs'
import { mapActions } from 'vuex' import { mapActions } from 'vuex'
import { pie, bar } from './chartConfig' import { pie, bar } from './chartConfig'
import { stateType } from '@/conf/home/pages/projects/pages/instance/pages/list/_source/common' import { stateType } from '@/conf/home/pages/projects/pages/_source/instanceConditions/common'
import Chart from '~/@analysys/ana-charts' import Chart from '~/@analysys/ana-charts'
import mNoData from '@/module/components/noData/noData' import mNoData from '@/module/components/noData/noData'
import mSpin from '@/module/components/spin/spin' import mSpin from '@/module/components/spin/spin'
@ -273,4 +273,12 @@
} }
} }
} }
.table-small-model {
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
}
}
</style> </style>

15
escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue

@ -3,7 +3,7 @@
<m-secondary-menu :type="'projects'"></m-secondary-menu> <m-secondary-menu :type="'projects'"></m-secondary-menu>
<m-list-construction :title="$t('Process Instance')"> <m-list-construction :title="$t('Process Instance')">
<template slot="conditions"> <template slot="conditions">
<m-conditions @on-query="_onQuery"></m-conditions> <m-instance-conditions @on-query="_onQuery"></m-instance-conditions>
</template> </template>
<template slot="content"> <template slot="content">
<template v-if="processInstanceList.length"> <template v-if="processInstanceList.length">
@ -25,13 +25,13 @@
import _ from 'lodash' import _ from 'lodash'
import { mapActions } from 'vuex' import { mapActions } from 'vuex'
import mList from './_source/list' import mList from './_source/list'
import mConditions from './_source/conditions'
import mSpin from '@/module/components/spin/spin' import mSpin from '@/module/components/spin/spin'
import localStore from '@/module/util/localStorage' import localStore from '@/module/util/localStorage'
import { setUrlParams } from '@/module/util/routerUtil' import { setUrlParams } from '@/module/util/routerUtil'
import mNoData from '@/module/components/noData/noData' import mNoData from '@/module/components/noData/noData'
import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu' import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu'
import mListConstruction from '@/module/components/listConstruction/listConstruction' import mListConstruction from '@/module/components/listConstruction/listConstruction'
import mInstanceConditions from '@/conf/home/pages/projects/pages/_source/instanceConditions'
export default { export default {
name: 'instance-list-index', name: 'instance-list-index',
@ -70,15 +70,16 @@
*/ */
_onQuery (o) { _onQuery (o) {
this.searchParams = _.assign(this.searchParams, o) this.searchParams = _.assign(this.searchParams, o)
setUrlParams(this.searchParams)
this._debounceGET()
}, },
/** /**
* 分页事件 * 分页事件
*/ */
_page (val) { _page (val) {
this.searchParams.pageNo = val this.searchParams.pageNo = val
setUrlParams({ setUrlParams(this.searchParams)
pageNo: this.searchParams.pageNo this._debounceGET()
})
}, },
/** /**
* 获取list数据 * 获取list数据
@ -98,7 +99,7 @@
* 更新 * 更新
*/ */
_onUpdate () { _onUpdate () {
this._debounceGET('false') this._debounceGET()
}, },
/** /**
* 路由变动 * 路由变动
@ -158,7 +159,7 @@
// //
clearInterval(this.setIntervalP) clearInterval(this.setIntervalP)
}, },
components: { mList, mConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData } components: { mList, mInstanceConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData }
} }
</script> </script>

0
escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/pages/list/_source/list.vue → escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue

131
escheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue

@ -1,8 +1,135 @@
<template> <template>
<router-view></router-view> <div class="main-layout-box">
<m-secondary-menu :type="'projects'"></m-secondary-menu>
<m-list-construction :title="$t('Task Instance')">
<template slot="conditions">
<m-instance-conditions @on-query="_onQuery"></m-instance-conditions>
</template>
<template slot="content">
<template v-if="taskInstanceList.length">
<m-list :task-instance-list="taskInstanceList" :page-no="searchParams.pageNo" :page-size="searchParams.pageSize">
</m-list>
<div class="page-box">
<x-page :current="parseInt(searchParams.pageNo)" :total="total" show-elevator @on-change="_page"></x-page>
</div>
</template>
<template v-if="!taskInstanceList.length">
<m-no-data></m-no-data>
</template>
<m-spin :is-spin="isLoading"></m-spin>
</template>
</m-list-construction>
</div>
</template> </template>
<script> <script>
import _ from 'lodash'
import { mapActions } from 'vuex'
import mList from './_source/list'
import mSpin from '@/module/components/spin/spin'
import { setUrlParams } from '@/module/util/routerUtil'
import mNoData from '@/module/components/noData/noData'
import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu'
import mListConstruction from '@/module/components/listConstruction/listConstruction'
import mInstanceConditions from '@/conf/home/pages/projects/pages/_source/instanceConditions'
export default { export default {
name: 'task-instance-index' name: 'task-instance-list-index',
data () {
return {
isLoading: true,
total: null,
taskInstanceList: [],
searchParams: {
// page size
pageSize: 10,
// page index
pageNo: 1,
// Query name
searchVal: '',
// Process instance id
processInstanceId: '',
// host
host: '',
// state
stateType: '',
// start date
startDate: '',
// end date
endDate: ''
}
}
},
props: {},
methods: {
...mapActions('dag', ['getTaskInstanceList']),
/**
* click query
*/
_onQuery (o) {
this.searchParams = _.assign(this.searchParams, o)
if (this.searchParams.taskName) {
this.searchParams.taskName = ''
}
setUrlParams(this.searchParams)
this._debounceGET()
},
_page (val) {
this.searchParams.pageNo = val
setUrlParams(this.searchParams)
this._debounceGET()
},
/**
* get list data
*/
_getTaskInstanceList (flag) {
this.isLoading = !flag
this.getTaskInstanceList(this.searchParams).then(res => {
this.taskInstanceList = []
this.taskInstanceList = res.totalList
this.total = res.total
this.isLoading = false
}).catch(e => {
this.isLoading = false
})
},
/**
* Anti-shake request interface
* @desc Prevent function from being called multiple times
*/
_debounceGET: _.debounce(function (flag) {
this._getTaskInstanceList(flag)
}, 100, {
'leading': false,
'trailing': true
})
},
watch: {
// router
'$route' (a) {
// url no params get instance list
if (_.isEmpty(a.query)) {
this.searchParams.pageNo = 1
this.searchParams.processInstanceId = ''
} else {
this.searchParams.pageNo = a.query.pageNo || 1
}
},
'searchParams': {
deep: true,
handler () {
this._debounceGET()
}
}
},
created () {
// Routing parameter merging
if (!_.isEmpty(this.$route.query)) {
this.searchParams = _.assign(this.searchParams, this.$route.query)
}
},
mounted () {
this._debounceGET()
},
components: { mList, mInstanceConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData }
} }
</script> </script>

14
escheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/index.vue

@ -1,8 +1,18 @@
<template> <template>
<router-view></router-view> <m-list :config="config"></m-list>
</template> </template>
<script> <script>
import mList from '@/conf/home/pages/projects/pages/_source/taskRecordList'
export default { export default {
name: 'task-record-index' name: 'task-record',
data () {
return {
config: {
title: `${this.$t('Task record')}`,
apiFn: 'getTaskRecordList'
}
}
},
components: { mList }
} }
</script> </script>

195
escheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/pages/list/index.vue

@ -1,195 +0,0 @@
<template>
<div class="main-layout-box">
<m-secondary-menu :type="'projects'"></m-secondary-menu>
<m-list-construction :title="$t('Task record')">
<template slot="conditions">
<m-conditions>
<template slot="search-group">
<div class="list">
<x-button type="ghost" size="small" @click="_ckQuery" icon="fa fa-search"></x-button>
</div>
<div class="list">
<x-datepicker
ref="datepicker"
@on-change="_onChangeStartStop"
type="daterange"
format="YYYY-MM-DD HH:mm:ss"
placement="bottom-end"
:panelNum="2">
<x-input slot="input" readonly slot-scope="{value}" :value="value" style="width: 310px;" size="small" :placeholder="$t('Select date range')">
<i slot="suffix"
@click.stop="_dateEmpty()"
class="ans-icon-fail-solid"
v-show="value"
style="font-size: 13px;cursor: pointer;margin-top: 1px;">
</i>
</x-input>
</x-datepicker>
</div>
<div class="list">
<x-input v-model="destTable" style="width: 120px;" size="small" :placeholder="$t('Target Table')"></x-input>
</div>
<div class="list">
<x-input v-model="sourceTable" style="width: 120px;" size="small" :placeholder="$t('Source Table')"></x-input>
</div>
<div class="list">
<x-select style="width: 90px;" @on-change="_onChangeState">
<x-input slot="trigger" readonly :value="selectedModel ? selectedModel.label : ''" slot-scope="{ selectedModel }" style="width: 90px;" size="small" :placeholder="$t('State')" suffix-icon="ans-icon-arrow-down"></x-input>
<x-option
v-for="city in stateList"
:key="city.label"
:value="city.code"
:label="city.label">
</x-option>
</x-select>
</div>
<div class="list">
<x-datepicker
@on-change="_onChangeDate"
format="YYYY-MM-DD"
:panelNum="1">
<x-input slot="input" readonly slot-scope="{value}" style="width: 130px;" :value="value" size="small" :placeholder="$t('Date')"></x-input>
</x-datepicker>
</div>
<div class="list">
<x-input v-model="taskName" style="width: 130px;" size="small" :placeholder="$t('Task Name')"></x-input>
</div>
</template>
</m-conditions>
</template>
<template slot="content">
<template v-if="taskRecordList.length">
<m-list :task-record-list="taskRecordList" @on-update="_onUpdate" :page-no="pageNo" :page-size="pageSize">
</m-list>
<div class="page-box">
<x-page :current="pageNo" :total="total" show-elevator @on-change="_page"></x-page>
</div>
</template>
<template v-if="!taskRecordList.length">
<m-no-data></m-no-data>
</template>
<m-spin :is-spin="isLoading"></m-spin>
</template>
</m-list-construction>
</div>
</template>
<script>
import i18n from '@/module/i18n'
import { mapActions } from 'vuex'
import mList from './_source/list'
import mSpin from '@/module/components/spin/spin'
import mNoData from '@/module/components/noData/noData'
import mConditions from '@/module/components/conditions/conditions'
import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu'
import mListConstruction from '@/module/components/listConstruction/listConstruction'
export default {
name: 'task-record-list-index',
data () {
return {
pageSize: 10,
pageNo: 1,
total: null,
taskRecordList: [],
isLoading: true,
taskName: '',
state: '',
sourceTable: '',
destTable: '',
taskDate: '',
startDate: '',
endDate: '',
stateList: [
{
label: `${i18n.$t('none')}`,
code: ``
},
{
label: `${i18n.$t('success')}`,
code: `${i18n.$t('success')}`
},
{
label: `${i18n.$t('waiting')}`,
code: `${i18n.$t('waiting')}`
},
{
label: `${i18n.$t('In Execution')}`,
code: `${i18n.$t('In Execution')}`
},
{
label: `${i18n.$t('Finish')}`,
code: `${i18n.$t('Finish')}`
}, {
label: `${i18n.$t('failed')}`,
code: `${i18n.$t('failed')}`
}
]
}
},
props: {},
methods: {
...mapActions('dag', ['getTaskRecordList']),
/**
* empty date
*/
_dateEmpty () {
this.startDate = ''
this.endDate = ''
this.$refs.datepicker.empty()
},
_ckQuery () {
this._getTaskRecordList()
},
_onChangeState (val) {
this.state = val.value
},
_onChangeStartStop (val) {
this.startDate = val[0]
this.endDate = val[1]
},
_onChangeDate (val) {
this.taskDate = val.replace(/-/g, '')
},
_page (val) {
this.pageNo = val
this._getTaskRecordList()
},
/**
* get list data
*/
_getTaskRecordList (flag) {
this.isLoading = !flag
let param = {
pageSize: this.pageSize,
pageNo: this.pageNo,
taskName: this.taskName,
state: this.state,
sourceTable: this.sourceTable,
destTable: this.destTable,
taskDate: this.taskDate,
startDate: this.startDate,
endDate: this.endDate
}
this.taskRecordList = []
this.getTaskRecordList(param).then(res => {
this.taskRecordList = res.totalList
this.total = res.total
this.isLoading = false
}).catch(e => {
this.isLoading = false
})
},
_onUpdate () {
this._getTaskRecordList('false')
}
},
watch: {
},
created () {
},
mounted () {
this._getTaskRecordList()
},
components: { mList, mConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData }
}
</script>

2
escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue

@ -1,5 +1,5 @@
<template> <template>
<m-popup :ok-text="$t('Confirm Rename')" :nameText="$t('Rename')" @ok="_ok" :asyn-loading="true"> <m-popup :ok-text="$t('Rename')" :nameText="$t('Rename')" @ok="_ok" :asyn-loading="true">
<template slot="content"> <template slot="content">
<div class="resource-rename-model"> <div class="resource-rename-model">
<m-list-box-f> <m-list-box-f>

2
escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue

@ -1,5 +1,5 @@
<template> <template>
<m-popup :ok-text="$t('Confirm Rename')" :nameText="$t('Rename')" @ok="_ok" :asyn-loading="true"> <m-popup :ok-text="$t('Rename')" :nameText="$t('Rename')" @ok="_ok" :asyn-loading="true">
<template slot="content"> <template slot="content">
<div class="resource-rename-model"> <div class="resource-rename-model">
<m-list-box-f> <m-list-box-f>

14
escheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue

@ -35,7 +35,6 @@
</template> </template>
<script> <script>
import _ from 'lodash' import _ from 'lodash'
import i18n from '@/module/i18n'
import store from '@/conf/home/store' import store from '@/conf/home/store'
import mPopup from '@/module/components/popup/popup' import mPopup from '@/module/components/popup/popup'
import mListBoxF from '@/module/components/listBoxF/listBoxF' import mListBoxF from '@/module/components/listBoxF/listBoxF'
@ -45,15 +44,15 @@
data () { data () {
return { return {
store, store,
queue:'', queue: '',
queueName:'' queueName: ''
} }
}, },
props: { props: {
item: Object item: Object
}, },
methods: { methods: {
_ok(){ _ok () {
if (!this._verification()) { if (!this._verification()) {
return return
} }
@ -87,7 +86,7 @@
}).catch(e => { }).catch(e => {
$catch(e) $catch(e)
}) })
}else{ } else {
this._verifyName(param).then(() => { this._verifyName(param).then(() => {
this.$refs['popup'].spinnerLoading = true this.$refs['popup'].spinnerLoading = true
this.store.dispatch(`security/createQueueQ`, param).then(res => { this.store.dispatch(`security/createQueueQ`, param).then(res => {
@ -99,9 +98,8 @@
this.$message.error(e.msg || '') this.$message.error(e.msg || '')
}) })
} }
}, },
_verification(){ _verification () {
if (!this.queueName) { if (!this.queueName) {
this.$message.warning(`Please enter name`) this.$message.warning(`Please enter name`)
return false return false
@ -112,7 +110,7 @@
} }
return true return true
}, },
_verifyName(param){ _verifyName (param) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.store.dispatch(`security/verifyQueueQ`, param).then(res => { this.store.dispatch(`security/verifyQueueQ`, param).then(res => {
resolve() resolve()

4
escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue

@ -192,13 +192,13 @@
let sourceListPrs = _.map(data[0], v => { let sourceListPrs = _.map(data[0], v => {
return { return {
id: v.id, id: v.id,
name: v.name name: v.alias
} }
}) })
let targetListPrs = _.map(data[1], v => { let targetListPrs = _.map(data[1], v => {
return { return {
id: v.id, id: v.id,
name: v.name name: v.alias
} }
}) })
let self = this let self = this

34
escheduler-ui/src/js/conf/home/router/index.js

@ -157,45 +157,29 @@ const router = new Router({
}, },
{ {
path: '/projects/task-instance', path: '/projects/task-instance',
name: 'task-instance-index', name: 'task-instance',
component: resolve => require(['../pages/projects/pages/taskInstance'], resolve), component: resolve => require(['../pages/projects/pages/taskInstance'], resolve),
meta: {
title: `${i18n.$t('Task Instance')}`
},
redirect: {
name: 'task-instance-list'
},
children: [
{
path: '/projects/task-instance/list',
name: 'task-instance-list',
component: resolve => require(['../pages/projects/pages/taskInstance/pages/list/index'], resolve),
meta: { meta: {
title: `${i18n.$t('Task Instance')}` title: `${i18n.$t('Task Instance')}`
} }
}
]
}, },
{ {
path: '/projects/task-record', path: '/projects/task-record',
name: 'task-record-index', name: 'task-record',
component: resolve => require(['../pages/projects/pages/taskRecord'], resolve), component: resolve => require(['../pages/projects/pages/taskRecord'], resolve),
meta: { meta: {
title: `${i18n.$t('Task record')}` title: `${i18n.$t('Task record')}`
}
}, },
redirect: {
name: 'task-record-list'
},
children: [
{ {
path: '/projects/task-record/list', path: '/projects/history-task-record',
name: 'task-record-list', name: 'history-task-record',
component: resolve => require(['../pages/projects/pages/taskRecord/pages/list/index'], resolve), component: resolve => require(['../pages/projects/pages/historyTaskRecord'], resolve),
meta: { meta: {
title: `${i18n.$t('Task record')}` title: `History task record`
}
} }
]
} }
] ]
}, },

12
escheduler-ui/src/js/conf/home/store/dag/actions.js

@ -478,6 +478,18 @@ export default {
}) })
}) })
}, },
/**
* Query history task record list
*/
getHistoryTaskRecordList ({ state }, payload) {
return new Promise((resolve, reject) => {
io.get(`projects/task-record/history-list-paging`, payload, res => {
resolve(res.data)
}).catch(e => {
reject(e)
})
})
},
/** /**
* tree chart * tree chart
*/ */

10
escheduler-ui/src/js/conf/home/store/security/actions.js

@ -357,7 +357,7 @@ export default {
/** /**
* get queue list pages * get queue list pages
*/ */
getQueueListP({ state }, payload){ getQueueListP ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.get(`queue/list-paging`, payload, res => { io.get(`queue/list-paging`, payload, res => {
resolve(res.data) resolve(res.data)
@ -369,7 +369,7 @@ export default {
/** /**
* create queue * create queue
*/ */
createQueueQ({ state }, payload){ createQueueQ ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.post(`queue/create`, payload, res => { io.post(`queue/create`, payload, res => {
resolve(res) resolve(res)
@ -381,7 +381,7 @@ export default {
/** /**
* update queue * update queue
*/ */
updateQueueQ({ state }, payload){ updateQueueQ ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.post(`queue/update`, payload, res => { io.post(`queue/update`, payload, res => {
resolve(res) resolve(res)
@ -393,7 +393,7 @@ export default {
/** /**
* update queue * update queue
*/ */
verifyQueueQ({ state }, payload){ verifyQueueQ ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.post(`queue/verify-queue`, payload, res => { io.post(`queue/verify-queue`, payload, res => {
resolve(res) resolve(res)
@ -401,5 +401,5 @@ export default {
reject(e) reject(e)
}) })
}) })
}, }
} }

2
escheduler-ui/src/js/module/components/fileUpdate/fileUpdate.vue

@ -1,7 +1,7 @@
<template> <template>
<m-popup <m-popup
ref="popup" ref="popup"
:ok-text="$t('Confirm Upload')" :ok-text="$t('Upload')"
:nameText="$t('File Upload')" :nameText="$t('File Upload')"
@ok="_ok" @ok="_ok"
:disabled="progress === 0 ? false : true"> :disabled="progress === 0 ? false : true">

9
escheduler-ui/src/js/module/components/secondaryMenu/menu.js

@ -45,13 +45,18 @@ let menu = {
}, },
{ {
name: `${i18n.$t('Task Instance')}`, name: `${i18n.$t('Task Instance')}`,
path: 'task-instance-list', path: 'task-instance',
id: 3 id: 3
}, },
{ {
name: `${i18n.$t('Task record')}`, name: `${i18n.$t('Task record')}`,
path: 'task-record-list', path: 'task-record',
id: 4 id: 4
},
{
name: `${i18n.$t('History task record')}`,
path: 'history-task-record',
id: 5
} }
] ]
} }

7
escheduler-ui/src/js/module/i18n/locale/en_US.js

@ -208,8 +208,8 @@ export default {
'Select date range': 'Select date range', 'Select date range': 'Select date range',
'Date': 'Date', 'Date': 'Date',
'waiting': 'waiting', 'waiting': 'waiting',
'In Execution': 'In Execution', 'execution': 'execution',
'Finish': 'Finish', 'finish': 'finish',
'Create File': 'Create File', 'Create File': 'Create File',
'File Name': 'File Name', 'File Name': 'File Name',
'File Format': 'File Format', 'File Format': 'File Format',
@ -251,7 +251,6 @@ export default {
'Size': 'Size', 'Size': 'Size',
'Rename': 'Rename', 'Rename': 'Rename',
'Download': 'Download', 'Download': 'Download',
'Confirm Rename': 'Confirm Rename',
'Submit': 'Submit', 'Submit': 'Submit',
'Edit UDF Function': 'Edit UDF Function', 'Edit UDF Function': 'Edit UDF Function',
'type': 'type', 'type': 'type',
@ -298,7 +297,6 @@ export default {
'Copy': 'Copy', 'Copy': 'Copy',
'Delete': 'Delete', 'Delete': 'Delete',
'Please enter keyword': 'Please enter keyword', 'Please enter keyword': 'Please enter keyword',
'Confirm Upload': 'Confirm Upload',
'File Upload': 'File Upload', 'File Upload': 'File Upload',
'Drag the file into the current upload window': 'Drag the file into the current upload window', 'Drag the file into the current upload window': 'Drag the file into the current upload window',
'Drag area upload': 'Drag area upload', 'Drag area upload': 'Drag area upload',
@ -410,4 +408,5 @@ export default {
'Create queue': 'Create queue', 'Create queue': 'Create queue',
'Edit queue': 'Edit queue', 'Edit queue': 'Edit queue',
'Datasource manage': 'Datasource', 'Datasource manage': 'Datasource',
'History task record': 'History task record'
} }

11
escheduler-ui/src/js/module/i18n/locale/zh_CN.js

@ -46,7 +46,7 @@ export default {
'Confirm add': '确认添加', 'Confirm add': '确认添加',
'The newly created sub-Process has not yet been executed and cannot enter the sub-Process': '新创建子工作流还未执行不能进入子工作流', 'The newly created sub-Process has not yet been executed and cannot enter the sub-Process': '新创建子工作流还未执行不能进入子工作流',
'The task has not been executed and cannot enter the sub-Process': '该任务还未执行不能进入子工作流', 'The task has not been executed and cannot enter the sub-Process': '该任务还未执行不能进入子工作流',
'Please enter name (required)':'请输入名称必填', 'Please enter name (required)': '请输入名称必填',
'Name already exists': '名称已存在请重新输入', 'Name already exists': '名称已存在请重新输入',
'Download Log': '下载日志', 'Download Log': '下载日志',
'Refresh Log': '刷新日志', 'Refresh Log': '刷新日志',
@ -208,8 +208,8 @@ export default {
'Select date range': '选择日期区间', 'Select date range': '选择日期区间',
'Date': '日期', 'Date': '日期',
'waiting': '等待', 'waiting': '等待',
'In Execution': '执行中', 'execution': '执行中',
'Finish': '完成', 'finish': '完成',
'Create File': '创建文件', 'Create File': '创建文件',
'File Name': '文件名称', 'File Name': '文件名称',
'File Format': '文件格式', 'File Format': '文件格式',
@ -251,7 +251,6 @@ export default {
'Size': '大小', 'Size': '大小',
'Rename': '重命名', 'Rename': '重命名',
'Download': '下载', 'Download': '下载',
'Confirm Rename': '确认重命名',
'Submit': '提交', 'Submit': '提交',
'Edit UDF Function': '编辑UDF函数', 'Edit UDF Function': '编辑UDF函数',
'type': '类型', 'type': '类型',
@ -297,11 +296,10 @@ export default {
'Start': '运行', 'Start': '运行',
'Copy': '复制节点', 'Copy': '复制节点',
'Please enter keyword': '请输入关键词', 'Please enter keyword': '请输入关键词',
'Confirm Upload': '确认上传',
'File Upload': '文件上传', 'File Upload': '文件上传',
'Drag the file into the current upload window': '请将文件拖拽到当前上传窗口内', 'Drag the file into the current upload window': '请将文件拖拽到当前上传窗口内',
'Drag area upload': '拖动区域上传', 'Drag area upload': '拖动区域上传',
'Upload': '点击上传', 'Upload': '上传',
'Please enter file name': '请输入文件名', 'Please enter file name': '请输入文件名',
'Please select the file to upload': '请选择要上传的文件', 'Please select the file to upload': '请选择要上传的文件',
'Resources manage': '资源中心', 'Resources manage': '资源中心',
@ -409,4 +407,5 @@ export default {
'Create queue': '创建队列', 'Create queue': '创建队列',
'Edit queue': '编辑队列', 'Edit queue': '编辑队列',
'Datasource manage': '数据源中心', 'Datasource manage': '数据源中心',
'History task record': '历史任务记录'
} }

2
escheduler-ui/src/sass/common/index.scss

@ -31,7 +31,7 @@
} }
.ans-poptip { .ans-poptip {
min-width: 154px; min-width: 158px;
} }
.ans-checkbox-wrapper .checkbox-label, .ans-checkbox-wrapper .checkbox-label,

Loading…
Cancel
Save