Browse Source

Display icon when there is no data in process definition (#1128)

* 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
pull/2/head
break60 5 years ago committed by qiaozhanwei
parent
commit
1ba346e17c
  1. 9
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue

9
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue

@ -16,13 +16,13 @@
*/ */
<template> <template>
<div class="define-user-count-model"> <div class="define-user-count-model">
<div v-if="!msg"> <div v-if="msg">
<div class="data-area" v-spin="isSpin"> <div class="data-area" v-spin="isSpin">
<div id="process-definition-bar" style="height:500px"></div> <div id="process-definition-bar" style="height:500px"></div>
</div> </div>
</div> </div>
<div v-if="msg"> <div v-else>
<m-no-data :msg="msg" v-if="msg" :height="530"></m-no-data> <m-no-data :height="530"></m-no-data>
</div> </div>
</div> </div>
</template> </template>
@ -37,7 +37,7 @@
data () { data () {
return { return {
isSpin: true, isSpin: true,
msg: '', msg: true,
parameter: {projectId: 0} parameter: {projectId: 0}
} }
}, },
@ -73,6 +73,7 @@
this.isSpin = true this.isSpin = true
this.parameter.projectId = this.projectId; this.parameter.projectId = this.projectId;
this.getDefineUserCount(this.parameter).then(res => { this.getDefineUserCount(this.parameter).then(res => {
this.msg = res.data.count > 0 ? true : false
this.defineUserList = [] this.defineUserList = []
this._handleDefineUser(res) this._handleDefineUser(res)
this.isSpin = false this.isSpin = false

Loading…
Cancel
Save