mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 03:37:46 +08:00
[Improvement-3878][ui] Fixed the problem that custom parameters could not be edited and zk displayed abnormally when the workflow started
This commit is contained in:
parent
0dea95eaf8
commit
5acf718384
@ -79,7 +79,7 @@
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<span class="add-dp" v-if="!localParamsList.length" v-show="!isStartProcess">
|
||||
<span class="add-dp" v-if="!localParamsList.length" v-show="isStartProcess">
|
||||
<a href="javascript:" @click="!isDetails && _addUdp()" >
|
||||
<em class="iconfont el-icon-circle-plus-outline" :class="_isDetails" data-toggle="tooltip" :title="$t('Add')"></em>
|
||||
</a>
|
||||
|
@ -15,13 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="title-box">
|
||||
<span class="name">{{$t('zkDirectory')}}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="table-box" v-if="zkDirectories.length > 0">
|
||||
<el-table :data="zkDirectories" size="mini" style="width: 100%">
|
||||
<el-table :data="zkDirectories" size="mini" style="width: 100%;">
|
||||
<el-table-column type="index" :label="$t('#')" width="50"></el-table-column>
|
||||
<el-table-column prop="zkDirectory" :label="$t('zkDirectory')"></el-table-column>
|
||||
</el-table>
|
||||
|
@ -94,6 +94,7 @@
|
||||
methods: {
|
||||
...mapActions('monitor', ['getWorkerData']),
|
||||
_showZkDirectories (item) {
|
||||
this.zkDirectories = []
|
||||
item.zkDirectories.forEach(zkDirectory => {
|
||||
this.zkDirectories.push({
|
||||
zkDirectory: zkDirectory
|
||||
@ -104,7 +105,6 @@
|
||||
},
|
||||
watch: {},
|
||||
created () {
|
||||
|
||||
},
|
||||
mounted () {
|
||||
this.isLoading = true
|
||||
|
@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix list">
|
||||
<el-button type="info" style="margin-left:20px" size="small" round :loading="spinnerLoading" @click="preview()">{{$t('Execute time')}}</el-button>
|
||||
<el-button type="primary" style="margin-left:20px" size="small" round :loading="spinnerLoading" @click="preview()">{{$t('Execute time')}}</el-button>
|
||||
<div class="text">
|
||||
{{$t('Timing')}}
|
||||
</div>
|
||||
@ -115,15 +115,16 @@
|
||||
</div>
|
||||
<div class="clearfix list">
|
||||
<div class="text">
|
||||
{{$t('Notification group')}}
|
||||
{{$t('Alarm group')}}
|
||||
</div>
|
||||
<div class="cont">
|
||||
<el-select
|
||||
style="width: 200px;"
|
||||
clearable
|
||||
size="small"
|
||||
:disabled="!notifyGroupList.length"
|
||||
v-model="warningGroupId">
|
||||
<el-input slot="trigger" readonly slot-scope="{ selectedModel }" :placeholder="$t('Please select a notification group')" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="warningGroupId = {}">
|
||||
<el-input slot="trigger" readonly slot-scope="{ selectedModel }" :value="selectedModel ? selectedModel.label : ''" style="width: 200px;" @on-click-icon.stop="warningGroupId = {}">
|
||||
<em slot="suffix" class="el-icon-error" style="font-size: 15px;cursor: pointer;" v-show="warningGroupId.id"></em>
|
||||
<em slot="suffix" class="el-icon-bottom" style="font-size: 12px;" v-show="!warningGroupId.id"></em>
|
||||
</el-input>
|
||||
|
@ -18,7 +18,9 @@
|
||||
<m-list-construction :title="$t('Cron Manage')">
|
||||
<template slot="operation">
|
||||
<span style=" float: right; padding-right:50px">
|
||||
<em class="el-icon-circle-close" style="font-size:20px " data-container="body" data-toggle="tooltip" :title="$t('Return')" @click="_close()"></em>
|
||||
<el-tooltip :content="$t('Return')" placement="top">
|
||||
<el-button type="primary" icon="el-icon-back" size="mini" @click="_close()"></el-button>
|
||||
</el-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
<template slot="content">
|
||||
|
Loading…
Reference in New Issue
Block a user