|
@@ -1,22 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<ModuleBase ref="base" :type="data.type">
|
|
<ModuleBase ref="base" :type="data.type">
|
|
|
<template #content>
|
|
<template #content>
|
|
|
- <RichText
|
|
|
|
|
- ref="richText"
|
|
|
|
|
- v-model="data.content"
|
|
|
|
|
- toolbar="fontselect fontsizeselect alignleft aligncenter alignright forecolor backcolor"
|
|
|
|
|
- :font-size="data?.unified_attrib?.font_size"
|
|
|
|
|
- :font-family="data?.unified_attrib?.font"
|
|
|
|
|
- placeholder="占位"
|
|
|
|
|
- />
|
|
|
|
|
-
|
|
|
|
|
- <el-button class="btn" @click="openMultilingual">多语言</el-button>
|
|
|
|
|
- <MultilingualFill
|
|
|
|
|
- :visible.sync="multilingualVisible"
|
|
|
|
|
- :text="data.content"
|
|
|
|
|
- :translations="data.multilingual"
|
|
|
|
|
- @SubmitTranslation="handleMultilingualTranslation"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <el-input v-model="data.content" placeholder="占位" disabled />
|
|
|
|
|
|
|
|
<AnswerAnalysisList
|
|
<AnswerAnalysisList
|
|
|
v-if="data.answer_list?.length > 0 || data.analysis_list?.length > 0"
|
|
v-if="data.answer_list?.length > 0 || data.analysis_list?.length > 0"
|
|
@@ -60,9 +45,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
|
},
|
|
},
|
|
|
- handleMultilingualTranslation(translations) {
|
|
|
|
|
- this.data.multilingual = translations;
|
|
|
|
|
- },
|
|
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|