|
|
@@ -1,6 +1,11 @@
|
|
|
<template>
|
|
|
- <el-dialog :title="titleText" :visible.sync="visible" width="600px" :close-on-click-modal="false"
|
|
|
- @close="dialogClose()">
|
|
|
+ <el-dialog
|
|
|
+ :title="titleText"
|
|
|
+ :visible.sync="visible"
|
|
|
+ width="600px"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ @close="dialogClose()"
|
|
|
+ >
|
|
|
<div class="translate-container">
|
|
|
<div class="translate-section">
|
|
|
<div class="section-label">原文:</div>
|
|
|
@@ -97,9 +102,11 @@ export default {
|
|
|
*/
|
|
|
getLangList() {
|
|
|
if (!this.bookId) return;
|
|
|
- GetLanguageTypeList({ book_id: this.bookId, is_contain_zh: 'true' }).then(({ language_type_list }) => {
|
|
|
- this.langList = language_type_list;
|
|
|
- });
|
|
|
+ GetLanguageTypeList({ book_id: this.bookId, is_contain_zh: 'true', is_only_can_translation: 'true' }).then(
|
|
|
+ ({ language_type_list }) => {
|
|
|
+ this.langList = language_type_list;
|
|
|
+ },
|
|
|
+ );
|
|
|
},
|
|
|
|
|
|
/**
|