Browse Source

Refresh task instance page regularly (#1175)

* Dependency workflow add dependency correction value

* Download workflow instance map width adjustment and change "desc" field to "description"

* The third-party library that builds the dependency is recommended to be placed in 'devDependencies'

* Tree chart and Gantt chart style modification

* The workflow instance can be deleted only when its status is success, failure, stop and pause.

* change desc to description

* Maximum width of tooltip is set to 500px, note the copyright number of login page

* Delete copyright number

* No tenant in the list of selected tenants the default is default, and the status not shown in the repair page

* repair

* Repair security center module prompt

* Remove blank character during verification

* Remove blank character during verification

* Non admin users cannot create users, tenants, alarm groups, queues and worker groups

* Remove CI windows detection

* The value of loadaverage should be two decimal places

* Add license

* delete docs

* update package.json

* delete LICENSE

* Display icon when there is no data in process definition

* Worker group add IP format verification

* Modify MySQL page of monitoring center

* DB page rename and background color modification

* IO build replace with source code

* Replace ans charts with source code

* delete component-compiler-utils

* delete progress-webpack-plugin

* Release administrator delete function and select tenant not updated

* The default timing is hourly

* Resolve style conflict, recipient cannot tab and value verification

* Refresh task instance page regularly
pull/2/head
break60 5 years ago committed by qiaozhanwei
parent
commit
d01d442a02
  1. 20
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue

20
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue

@ -106,7 +106,17 @@
}).catch(e => { }).catch(e => {
this.isLoading = false this.isLoading = false
}) })
} },
/**
* 防抖请求接口
* @desc 防止函数多次被调用
*/
_debounceGET: _.debounce(function (flag) {
this._getList(flag)
}, 100, {
'leading': false,
'trailing': true
})
}, },
watch: { watch: {
// router // router
@ -121,6 +131,14 @@
created () { created () {
}, },
mounted () { mounted () {
//
this.setIntervalP = setInterval(() => {
this._debounceGET('false')
}, 90000)
},
beforeDestroy () {
//
clearInterval(this.setIntervalP)
}, },
components: { mList, mInstanceConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData } components: { mList, mInstanceConditions, mSpin, mListConstruction, mSecondaryMenu, mNoData }
} }

Loading…
Cancel
Save