[update] 禅道bug

This commit is contained in:
zhaomeijing
2022-06-15 16:46:44 +08:00
parent 90403f17b6
commit 5f453ea8f7
3 changed files with 8 additions and 5 deletions
@@ -22,7 +22,7 @@
v-model='form.paramsName' :placeholder="$t('pleaseEnter')+$t('ParameterName')" />
</a-form-model-item>
</a-col>
<a-col :span='6'>
<a-col :span='6' style='margin-top: 5px'>
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
</a-col>
@@ -237,7 +237,7 @@
<span class="title-text-text"
:title="$t('standard')">{{$t('standard')}}</span>
</div>
<a-form-model-item class="itemModel" prop="paramsNumber">
<a-form-model-item class="itemModel">
<a-input class="box-input"
:disabled="disabled"
v-model="item.paramsNumber"
@@ -251,7 +251,7 @@
<span class="Required">*</span>
<span class="title-text-text" :title="$t('ParameterName')">{{$t('ParameterName')}}</span>
</div>
<a-form-model-item class="itemModel" prop="paramsName">
<a-form-model-item class="itemModel">
<a-input class="box-input"
:disabled="disabled"
v-model="item.paramsName"
@@ -267,7 +267,7 @@
<span class="title-text-text"
:title="$t('ParameterDescription')">{{$t('ParameterDescription')}}</span>
</div>
<a-form-model-item class="itemModel" prop="description">
<a-form-model-item class="itemModel">
<a-input class="box-input add-input"
style='height: 95px; width: 100%'
:disabled="disabled"
@@ -495,6 +495,9 @@ export default {
this.formInline = {...this.formInline}
this.contentListed = [] // 防止编辑数据带出
this.contentList = []
this.$nextTick(() => {
this.$refs['ruleForm'].clearValidate()
})
},
editModel(value) {
this.contentListed = []
@@ -42,7 +42,7 @@
<div class="table-operator">
<div @click="handleAdd" class="operator-text" v-has="'params:paramsInfo:add'">
<a-icon type="plus"/>
{{$t('add')}}
{{$t('newlyAdded')}}
</div>
<div @click="handleExport" class="operator-text" v-has="'params:paramsInfo:import'">
<a-icon type="export" :rotate="-90"/>