修改已知bug

This commit is contained in:
qq787203167
2022-08-10 18:09:00 +08:00
parent 9d07771c82
commit 46c7cc49b1
7 changed files with 71 additions and 19 deletions
@@ -92,12 +92,11 @@
<span class="title-text-text" :title="$t('market')">{{$t('market')}}</span>
</div>
<a-form-model-item class="itemModel" prop="targetMarket">
<j-dict-select-tag class="box-input" v-model="formInline.targetMarket"
:disabled="disabled"
@input="handleInput('targetMarket')"
:placeholder="$t('PleaseSelect')+$t('market')"
:type="'select'"
:triggerChange="false" :dictCode="'region'"/>
<j-multi-select-tag class="box-input" v-model="formInline.targetMarket"
:disabled="disabled"
:placeholder="$t('PleaseSelect')+$t('market')"
:type="'select'"
:triggerChange="false" :dictCode="'region'"/>
</a-form-model-item>
</div>
</a-col>
@@ -110,6 +109,7 @@
</div>
<a-form-model-item class="itemModel" prop="standNumber">
<a-input class="box-input"
:title="formInline.standNumber"
:disabled="true"
v-model="formInline.standNumber"
:placeholder="$t('PleaseEnter')+$t('standardNo')"/>
@@ -133,11 +133,12 @@
<div class="title-text">
<span class="title-text-text">{{$t('content')}}</span>
</div>
<a-form-model-item class="itemModel" prop="vehiclePlatform">
<a-form-model-item style="height: 300px" class="itemModel" prop="content">
<quill-editor
style="height: 300px"
:content="formInline.content"
:options="editorOption"
@blur="quilleditorBlur"
@change="onEditorChange($event)"
/>
</a-form-model-item>
@@ -239,6 +240,13 @@
message: this.$t('market') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
content: [
{
max: 5000,
message: this.$t('content') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
trigger: 'change'
}
]
},
url: {
@@ -276,6 +284,9 @@
}
},
methods: {
quilleditorBlur() {
this.$refs.ruleForm.validateField('content')
},
getBase() {
getAction('/problemKnowledgeBase/problemKnowledgeBaseClassifyEO/list', {}).then((res) => {
if (res.success) {
@@ -340,7 +351,6 @@
}
,
onEditorChange({ quill, html, text }) {
console.log('editor change!', quill, html, text)
this.formInline.content = html
}
,