Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage

This commit is contained in:
zyx.net
2022-08-11 09:42:22 +08:00
3 changed files with 21 additions and 9 deletions
@@ -62,7 +62,8 @@
<span slot="content" slot-scope="text,record,index"> <span slot="content" slot-scope="text,record,index">
<a-input class="box-input" <a-input class="box-input"
v-if="record.lableType == 8" v-if="record.lableType == 8"
v-model="record.content" v-model.trim="record.content"
:maxLength="100"
:placeholder="$t('PleaseEnter')"/> :placeholder="$t('PleaseEnter')"/>
<a-select :placeholder="$t('PleaseSelect')" <a-select :placeholder="$t('PleaseSelect')"
style="width: 100%" style="width: 100%"
@@ -126,7 +127,7 @@
}, },
visible: false, visible: false,
selectedRowKeys: [], selectedRowKeys: [],
dataList: [{}], dataList: [],
loading: false, loading: false,
confirmLoading: false, confirmLoading: false,
index: '', index: '',
@@ -92,7 +92,7 @@
contentList: [], contentList: [],
displayList: [], displayList: [],
queryCountryList: [], queryCountryList: [],
countryCardViewList:[], countryCardViewList: [],
applyMarkets: '', applyMarkets: '',
url: { url: {
list: '/problemKnowledgeBase/countryCardTempEO/list', list: '/problemKnowledgeBase/countryCardTempEO/list',
@@ -182,10 +182,17 @@
res.countryCardManageReleaseDetailEOList.forEach((val, index1) => { res.countryCardManageReleaseDetailEOList.forEach((val, index1) => {
this.contentList.forEach(res1 => { this.contentList.forEach(res1 => {
if (res1.name == val.lableName) { if (res1.name == val.lableName) {
res1.list.push({ if (val.lableType == 3) {
lableName: val.content, res1.list.push({
lableType: val.lableType lableName: val.contentDropDownValue,
}) lableType: val.lableType
})
} else {
res1.list.push({
lableName: val.content,
lableType: val.lableType
})
}
} }
}) })
}) })
@@ -133,8 +133,9 @@
<div class="title-text"> <div class="title-text">
<span class="title-text-text">{{$t('content')}}</span> <span class="title-text-text">{{$t('content')}}</span>
</div> </div>
<a-form-model-item style="height: 300px" class="itemModel" prop="content"> <a-form-model-item style="height: 357px" class="itemModel itemModel-explain" prop="content">
<quill-editor <quill-editor
v-model="formInline.content"
style="height: 300px" style="height: 300px"
:content="formInline.content" :content="formInline.content"
:options="editorOption" :options="editorOption"
@@ -245,7 +246,7 @@
{ {
max: 5000, max: 5000,
message: this.$t('content') + this.$t('cannotExceed') + 5000 + this.$t('Characters'), message: this.$t('content') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
trigger: 'change' trigger: 'blur'
} }
] ]
}, },
@@ -582,4 +583,7 @@
box-sizing: border-box; box-sizing: border-box;
} }
::v-deep .itemModel-explain .ant-form-explain {
margin-top: 60px
}
</style> </style>