修改文档翻译-上传-文本状态

This commit is contained in:
范强强
2022-08-31 17:24:58 +08:00
parent 9e8b1743a9
commit 0ea402aad3
@@ -58,8 +58,9 @@
<a-select-option v-for="(item, key) in translationResultsList" <a-select-option v-for="(item, key) in translationResultsList"
:key="key" :key="key"
:value="item.id"> :value="item.id">
<span style="display: inline-block;width: 100%" :title=" item.dbFieldTxt"> <span style="display: inline-block;width: 100%"
{{ item.dbFieldTxt }} :title="language == 'zh-cn' ? item.dbFieldTxt:item.dbFieldEnName">
{{ language == 'zh-cn' ? item.dbFieldTxt:item.dbFieldEnName }}
</span> </span>
</a-select-option> </a-select-option>
</a-select> </a-select>
@@ -94,7 +95,8 @@
</a-row> </a-row>
</a-form-model> </a-form-model>
</a-modal> </a-modal>
<uploadFile ref="uploadFile" :restrictUploads="true" :Uploadable="'.docx,.doc,'" :isMultiple="true" @uploadSuccess="uploadSuccess"/> <uploadFile ref="uploadFile" :restrictUploads="true" :Uploadable="'.docx,.doc,'" :isMultiple="true"
@uploadSuccess="uploadSuccess"/>
<standardData ref="standardDataRef" @standardDataForm="standardDataForm"/> <standardData ref="standardDataRef" @standardDataForm="standardDataForm"/>
</div> </div>
</template> </template>
@@ -155,10 +157,12 @@
}, },
ids: [], ids: [],
translationResultsList: [], translationResultsList: [],
LanguageList: [] LanguageList: [],
language: ''
} }
}, },
mounted() { mounted() {
this.language = localStorage.getItem('language')
this.getTextStatus() this.getTextStatus()
}, },
methods: { methods: {