|
|
@ -3,20 +3,20 @@ |
|
|
<h3 class="pageTitle">摘要</h3> |
|
|
<h3 class="pageTitle">摘要</h3> |
|
|
<div class="flex-between flex-common" id="summaryTitle"> |
|
|
<div class="flex-between flex-common" id="summaryTitle"> |
|
|
<ClientForm ref="chTitleRef" title="摘要标题" :init-data="chTitleData" :titlePosFlag="false" |
|
|
<ClientForm ref="chTitleRef" title="摘要标题" :init-data="chTitleData" :titlePosFlag="false" |
|
|
@cancel="(data) => handleCancelEvent(data, 'chTitleRef')" |
|
|
@cancel="(data) => handleCancelEvent(data, 'chTitleRef')" :summaryFlag="true" |
|
|
:outputStructure="chTitleOut" |
|
|
:outputStructure="chTitleOut" |
|
|
@submit="(data) => handleSubmitEvent(data, 'chTitleRef')" /> |
|
|
@submit="(data) => handleSubmitEvent(data, 'chTitleRef')" /> |
|
|
<ClientForm ref="chTextRef" title="摘要正文" :titlePosFlag="false" |
|
|
<ClientForm ref="chTextRef" title="摘要正文" :titlePosFlag="false" :summaryFlag="true" |
|
|
:init-data="chTextData" @cancel="(data) => handleCancelEvent(data, 'chTextRef')" |
|
|
:init-data="chTextData" @cancel="(data) => handleCancelEvent(data, 'chTextRef')" |
|
|
:outputStructure="chTextOut" |
|
|
:outputStructure="chTextOut" |
|
|
@submit="(data) => handleSubmitEvent(data, 'chTextRef')" /> |
|
|
@submit="(data) => handleSubmitEvent(data, 'chTextRef')" /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="flex-between flex-common mt12" id="summaryContent"> |
|
|
<div class="flex-between flex-common mt12" id="summaryContent"> |
|
|
<ClientForm ref="chKeyRef" title="中文关键词" :titlePosFlag="false" :lineSpaceShow="false" |
|
|
<ClientForm ref="chKeyRef" title="中文关键词" :titlePosFlag="false" :summaryFlag="true" |
|
|
:ch_keywords="true" :showIndentation="false" :outputStructure="chKeyOut" :alignShow="false" |
|
|
:ch_keywords="true" :outputStructure="chKeyOut" :alignShow="false" |
|
|
:init-data="chKeyData" @cancel="(data) => handleCancelEvent(data, 'chKeyRef')" |
|
|
:init-data="chKeyData" @cancel="(data) => handleCancelEvent(data, 'chKeyRef')" |
|
|
@submit="(data) => handleSubmitEvent(data, 'chKeyRef')" /> |
|
|
@submit="(data) => handleSubmitEvent(data, 'chKeyRef')" /> |
|
|
<ClientForm ref="engKeyRef" title="" :titlePosFlag="false" |
|
|
<ClientForm ref="engKeyRef" title="" :titlePosFlag="false" :summaryFlag="true" |
|
|
:eng_keywords="true" :showIndentation="false" :outputStructure="chKeyOut" :alignShow="false" |
|
|
:eng_keywords="true" :showIndentation="false" :outputStructure="chKeyOut" :alignShow="false" |
|
|
:init-data="engKeyData" @cancel="(data) => handleCancelEvent(data, 'engKeyRef')" |
|
|
:init-data="engKeyData" @cancel="(data) => handleCancelEvent(data, 'engKeyRef')" |
|
|
@submit="(data) => handleSubmitEvent(data, 'engKeyRef')" /> |
|
|
@submit="(data) => handleSubmitEvent(data, 'engKeyRef')" /> |
|
|
@ -128,17 +128,8 @@ export default { |
|
|
|
|
|
|
|
|
handleSubmitEvent(formData, refName) { |
|
|
handleSubmitEvent(formData, refName) { |
|
|
console.log('外部提交方法:', formData,refName); |
|
|
console.log('外部提交方法:', formData,refName); |
|
|
// 根据 refName 调用不同的 API |
|
|
|
|
|
this.submitConfig(formData); |
|
|
this.submitConfig(formData); |
|
|
|
|
|
|
|
|
// switch (refName) { |
|
|
|
|
|
// case 'level_1_heading': |
|
|
|
|
|
// this.submitConfig(formData); |
|
|
|
|
|
// break; |
|
|
|
|
|
// case 'level_2_heading': |
|
|
|
|
|
// this.submitConfig(formData); |
|
|
|
|
|
// break; |
|
|
|
|
|
// } |
|
|
|
|
|
}, |
|
|
}, |
|
|
async submitConfig(data) { |
|
|
async submitConfig(data) { |
|
|
// API待定定接口路径和参数 |
|
|
// API待定定接口路径和参数 |
|
|
|