[fix bug] 一些数据字典回显的处理

This commit is contained in:
fengchenchen
2024-08-07 21:57:48 +08:00
parent 2b17647c62
commit f77d009605
10 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = {
poster: 'Poster',
answerNum: 'replies',
top: '【top】',
cancelTop: 'untop',
cancelTop: 'Cancel Top up',
setTop: 'Set To Top',
answerQuestion: 'reply to a question',
word: 'word',
+3 -3
View File
@@ -621,7 +621,7 @@ module.exports = {
// OCR文本识别
ocrTextRecognition: {
upload: 'Upload',
getFile: 'Get files',
getFile: 'Get Files',
standardCategory: 'Regulation Category',
standardNumber: 'Regulation No.',
standardName: 'Regulation Name',
@@ -646,9 +646,9 @@ module.exports = {
// 我的消息
my: {
myMessage: 'My Message',
title: 'title',
title: 'Title',
publisher: 'publisher',
readingStatus: 'readingStatus',
readingStatus: 'Reading Status',
messageContent: 'Message Content',
messageType: 'Message Type',
allLabelsRead: 'All Mark as Read',
+3 -3
View File
@@ -144,9 +144,9 @@ const user = {
GetPermissionList ({ commit }) {
return new Promise((resolve, reject) => {
queryPermissionsByUser().then(response => {
const menuData = response.result.menu
const authData = response.result.auth
const allAuthData = response.result.allAuth
const menuData = (response.result || {}).menu || []
const authData = (response.result || {}).auth || []
const allAuthData = (response.result || {}).allAuth
// Vue.ls.set(USER_AUTH,authData);
sessionStorage.setItem(USER_AUTH, JSON.stringify(authData))
sessionStorage.setItem(SYS_BUTTON_AUTH, JSON.stringify(allAuthData))
+2 -1
View File
@@ -247,7 +247,8 @@ export default {
title: this.$t('status'),
align: 'center',
width: 80,
dataIndex: 'status_dictText'
dataIndex: 'status_dictText',
scopedSlots: { customRender: 'dictText' }
},
{
+1 -1
View File
@@ -142,7 +142,7 @@ export default {
align: 'center',
dataIndex: 'msgCategory_dictText',
width: 150,
scopedSlots: { customRender: 'text' }
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('message.my.publisher'),
+4 -2
View File
@@ -239,7 +239,8 @@ export default {
align: 'center',
width: 90,
dataIndex: 'sex_dictText',
sorter: true
sorter: true,
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('phoneNumber'),
@@ -275,7 +276,8 @@ export default {
title: this.$t('status'),
align: 'center',
width: 80,
dataIndex: 'status_dictText'
dataIndex: 'status_dictText',
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('operation'),
+2 -1
View File
@@ -100,7 +100,8 @@ export default {
title: this.$t('user.gender'),
align: 'center',
width: 100,
dataIndex: 'sex_dictText'
dataIndex: 'sex_dictText',
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('phoneNumber'),
@@ -103,7 +103,7 @@ export default {
align: 'center',
width: 100,
dataIndex: 'fieldShowType_dictText',
scopedSlots: { customRender: 'text' }
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('system.tag.fieldLength'),
+1 -1
View File
@@ -136,7 +136,7 @@ export default {
title: this.$t('system.tag.attributeType'),
width: 100,
dataIndex: 'fieldShowType_dictText',
scopedSlots: { customRender: 'text' }
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('system.tag.fieldLength'),
+1 -1
View File
@@ -96,7 +96,7 @@ export default {
align: 'center',
width: 100,
dataIndex: 'attributeType_dictText',
scopedSlots: { customRender: 'text' }
scopedSlots: { customRender: 'dictText' }
},
{
title: this.$t('system.tag.describe'),