修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-12 10:00:09 +08:00
parent d1c4cfd8ca
commit 352fcc1224
7 changed files with 36 additions and 25 deletions
@@ -19,7 +19,7 @@
</div>
<a-form-model-item class="itemModel" prop="problemLabel">
<a-input class="box-input"
v-model="formInline.problemLabel"
v-model.trim="formInline.problemLabel"
:placeholder="$t('PleaseEnter')+$t('problemLabel')"/>
</a-form-model-item>
</div>
@@ -34,6 +34,7 @@
</div>
<a-form-model-item class="itemModel" prop="chargePersonIdName">
<PersonnelSelection
:isSingleChoice="true"
:query="{db_field_name:'chargePersonId',db_field_txt:$t('personCharge')}"
:personneQuery="formInline"
@change="PersonnelSelectionChange"
@@ -75,8 +76,8 @@
trigger: 'blur'
},
{
max: 100,
message: this.$t('problemLabel') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
max: 200,
message: this.$t('problemLabel') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -21,7 +21,7 @@
<a-form-model-item class="itemModel" prop="lableName">
<a-input class="box-input"
:disabled="disabled"
v-model="formInline.lableName"
v-model.trim="formInline.lableName"
:placeholder="$t('PleaseEnter')+$t('LabelName')"/>
</a-form-model-item>
</div>
@@ -77,6 +77,8 @@
</div>
<a-form-model-item class="itemModel" prop="orderNum">
<a-input-number class="box-input"
:max="9999"
:min="0"
:disabled="disabled"
v-model="formInline.orderNum"
:placeholder="$t('PleaseEnter')+$t('DisplayOrder')"/>
@@ -94,7 +96,7 @@
<a-form-model-item class="itemModel" prop="relevantUrl">
<a-input class="box-input"
:disabled="disabled"
v-model="formInline.relevantUrl"
v-model.trim="formInline.relevantUrl"
:placeholder="$t('PleaseEnter')+$t('associatedWebsite')"/>
</a-form-model-item>
</div>
@@ -111,7 +113,7 @@
<a-textarea
:placeholder="$t('PleaseEnter')+$t('describe')"
:disabled="disabled"
v-model="formInline.description" :rows="4"/>
v-model.trim="formInline.description" :rows="4"/>
</a-form-model-item>
</div>
</a-col>
@@ -190,8 +192,8 @@
],
description: [
{
max: 300,
message: this.$t('describe') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
max: 500,
message: this.$t('describe') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -134,6 +134,7 @@
},
ResetSearch() {
this.searchStr = ''
this.selectedTags = []
this.pageNo = 1
this.getList()
},