|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="wrap">
|
|
|
|
|
<el-radio-group fill="#022950" v-model="radio1" @change="changeTranslate">
|
|
|
|
|
<el-radio-group fill="#022950" text-color="#ffffff" v-model="radio1" @change="changeTranslate">
|
|
|
|
|
<el-radio-button :label="1" size="large" @click="reset" border>翻译文本</el-radio-button>
|
|
|
|
|
<el-radio-button :label="2" size="large" @click="reset" border>翻译文件</el-radio-button>
|
|
|
|
|
<el-radio-button :label="3" size="large" @click="reset" border>优化翻译</el-radio-button>
|
|
|
|
@ -258,7 +258,7 @@ const textarea2 = ref('')
|
|
|
|
|
const currentLangModalStatus = ref(false)
|
|
|
|
|
const targetLangModalStatus = ref(false)
|
|
|
|
|
// const textarea2 = ref('')
|
|
|
|
|
const radio1 = ref(route.query?.type ?? 1)
|
|
|
|
|
const radio1 = ref(Number(route.query?.type) ?? 1)
|
|
|
|
|
const {setTotal, current, total, setCurrentPage, limit, pagesRef} = usePagination(1, 6, 0)
|
|
|
|
|
const currentTab = ref({});
|
|
|
|
|
let language = ref({})
|
|
|
|
@ -299,7 +299,7 @@ watch(targetLangModalStatus, (val) => {
|
|
|
|
|
allLanguage()
|
|
|
|
|
})
|
|
|
|
|
watchEffect(() => {
|
|
|
|
|
radio1.value = route.query?.type ?? 1;
|
|
|
|
|
radio1.value = Number(route.query?.type) ?? 1;
|
|
|
|
|
|
|
|
|
|
const user = useUserInfo()
|
|
|
|
|
if (user.$state.info.id) {
|
|
|
|
@ -609,9 +609,9 @@ allLanguage()
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
* {
|
|
|
|
|
--el-color-primary: #022950
|
|
|
|
|
}
|
|
|
|
|
// * {
|
|
|
|
|
// --el-color-primary: #022950
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
|
padding: 0 244px 50px 244px;
|
|
|
|
@ -848,6 +848,7 @@ allLanguage()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:deep(.el-upload) {
|
|
|
|
|
margin-top: 17px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|