Commit db2c8a90 authored by Smile's avatar Smile

bug232 (生产)后台未翻译成英文的一些页面

parent 95973fc9
......@@ -97,7 +97,7 @@
<el-form-item :label="$t('状态')" prop="status">
<el-radio-group v-model="form.status">
<el-radio v-for="dict in this.getDictDatas(DICT_TYPE.HELP_DOC_STATUS)"
:key="dict.value" :label="parseInt(dict.value)">{{dict.label}}</el-radio>
:key="dict.value" :label="parseInt(dict.value)">{{isChinese?dict.label:dict.labelEn}}</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
......@@ -156,6 +156,11 @@ export default {
created() {
this.getList();
},
computed:{
isChinese() {
return this.$i18n.locale === "zh_CN";
}
},
methods: {
/** 查询列表 */
getList() {
......
......@@ -82,7 +82,7 @@
<el-form-item :label="$t('状态')" prop="status">
<el-radio-group v-model="form.status">
<el-radio v-for="dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)"
:key="dict.value" :label="parseInt(dict.value)">{{dict.label}}</el-radio>
:key="dict.value" :label="parseInt(dict.value)">{{isChinese?dict.label:dict.labelEn}}</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
......@@ -139,6 +139,11 @@ export default {
created() {
this.getList();
},
computed:{
isChinese() {
return this.$i18n.locale === "zh_CN";
}
},
methods: {
/** 查询列表 */
getList() {
......
......@@ -113,7 +113,7 @@
<el-form-item :label="$t('状态')" prop="status">
<el-radio-group v-model="form.status">
<el-radio v-for="dict in this.getDictDatas(DICT_TYPE.NEED_KNOW_STATUS)"
:key="dict.value" :label="parseInt(dict.value)">{{dict.label}}</el-radio>
:key="dict.value" :label="parseInt(dict.value)">{{isChinese?dict.label:dict.labelEn}}</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
......@@ -170,6 +170,11 @@ export default {
created() {
this.getList();
},
computed:{
isChinese() {
return this.$i18n.locale === "zh_CN";
}
},
methods: {
/** 查询列表 */
getList() {
......
......@@ -101,7 +101,7 @@
v-for="dict in statusDictDatas"
:key="parseInt(dict.value)"
:label="parseInt(dict.value)"
>{{dict.label}}</el-radio>
>{{isChinese?dict.label:dict.labelEn}}</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
......@@ -193,6 +193,11 @@ export default {
created() {
this.getList();
},
computed:{
isChinese() {
return this.$i18n.locale === "zh_CN";
}
},
methods: {
/** 查询公告列表 */
getList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment