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

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"
:key="key"
:value="item.id">
<span style="display: inline-block;width: 100%" :title=" item.dbFieldTxt">
{{ item.dbFieldTxt }}
<span style="display: inline-block;width: 100%"
:title="language == 'zh-cn' ? item.dbFieldTxt:item.dbFieldEnName">
{{ language == 'zh-cn' ? item.dbFieldTxt:item.dbFieldEnName }}
</span>
</a-select-option>
</a-select>
@@ -94,7 +95,8 @@
</a-row>
</a-form-model>
</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"/>
</div>
</template>
@@ -155,10 +157,12 @@
},
ids: [],
translationResultsList: [],
LanguageList: []
LanguageList: [],
language: ''
}
},
mounted() {
this.language = localStorage.getItem('language')
this.getTextStatus()
},
methods: {