修改禅道已知bug

This commit is contained in:
qq787203167
2022-05-05 15:17:36 +08:00
parent 298e699d7c
commit 6588942843
6 changed files with 56 additions and 22 deletions
@@ -290,6 +290,12 @@
fixed: 'left',
scopedSlots: { customRender: 'titleName' }
},
{
title: this.$t('zoneOfApplication'),
align: 'center',
ellipsis: true,
dataIndex: 'region_dictText'
},
{
title: this.$t('scopeOfApplication'),
align: 'center',
@@ -308,12 +314,6 @@
ellipsis: true,
dataIndex: 'correspondingStandardName'
},
{
title: this.$t('zoneOfApplication'),
align: 'center',
ellipsis: true,
dataIndex: 'region_dictText'
},
{
title: this.$t('implementationCategory'),
align: 'center',
@@ -99,7 +99,7 @@
</div>
<a-form-model-item class="itemModel" prop="name">
<a-input class="box-input-add"
v-model="formInline.name"
v-model.trim="formInline.name"
:placeholder="$t('PleaseEnter')+$t('VirtualListName')"/>
</a-form-model-item>
</div>
@@ -107,12 +107,13 @@
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="Required">*</span>
<span class="title-text-text" :title="$t('instructionForUse')">{{$t('instructionForUse')}}</span>
</div>
<a-form-model-item class="itemModel" prop="instructionForUse">
<a-form-model-item class="itemModel" prop="useExplain">
<a-textarea
:placeholder="$t('PleaseEnter')+$t('instructionForUse')"
v-model="formInline.useExplain" :rows="4"/>
v-model.trim="formInline.useExplain" :rows="4"/>
</a-form-model-item>
</div>
</a-col>
@@ -139,11 +140,30 @@
selectedRowKeys: [],
formInline: {},
rules: {
name: [{
required: true,
message: this.$t('VirtualListName') + this.$t('cannotEmpty'),
trigger: 'blur'
}]
name: [
{
required: true,
message: this.$t('VirtualListName') + this.$t('cannotEmpty'),
trigger: 'blur'
},
{
max: 100,
message: this.$t('VirtualListName') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
trigger: 'blur'
}
],
useExplain: [
{
required: true,
message: this.$t('instructionForUse') + this.$t('cannotEmpty'),
trigger: 'blur'
},
{
max: 500,
message: this.$t('instructionForUse') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
},
visible: false,
dataSource: [],
@@ -200,6 +220,9 @@
this.title = '新增'
this.formInline = {}
this.visible = true
this.$nextTick(() => {
this.$refs.ruleForm.clearValidate()
})
},
//批量删除
handleDel() {
@@ -229,6 +252,9 @@
this.title = '编辑'
this.formInline = JSON.parse(JSON.stringify(item))
this.visible = true
this.$nextTick(() => {
this.$refs.ruleForm.clearValidate()
})
},
//撤回
withdraw(val) {