| | |
| | | |
| | | const { confirm } = Modal |
| | | |
| | | const _locale = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | const _locale = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | const Header = asyncComponent(() => import('@/mob/header')) |
| | | const MutilForm = asyncComponent(() => import('./mutilform')) |
| | | const SubMutilForm = asyncComponent(() => import('./submutilform')) |
| | |
| | | { |
| | | title: '短连接', dataIndex: 'link_type', key: 'link_type', align: 'center', |
| | | render: (text, record) => text === 'false' ? '不启用' : '启用' |
| | | }, |
| | | { |
| | | title: '皮肤', dataIndex: 'css', key: 'css', align: 'center', |
| | | render: (text, record) => { |
| | | const style = { |
| | | bg_black_style_blue: '蓝黑色系', |
| | | bg_white_style_blue: '蓝白色系', |
| | | bg_black_style_red: '红黑色系', |
| | | bg_white_style_red: '红白色系', |
| | | bg_black_style_orange_red: '橙红黑色系', |
| | | bg_white_style_orange_red: '橙红白色系', |
| | | bg_black_style_orange: '橙黑色系', |
| | | bg_white_style_orange: '橙白色系', |
| | | bg_black_style_orange_yellow: '橙黄黑色系', |
| | | bg_white_style_orange_yellow: '橙黄白色系', |
| | | bg_black_style_yellow: '黄黑色系', |
| | | bg_white_style_yellow: '黄白色系', |
| | | bg_black_style_yellow_green: '黄绿黑色系', |
| | | bg_white_style_yellow_green: '黄绿白色系', |
| | | bg_black_style_green: '绿黑色系', |
| | | bg_white_style_green: '绿白色系', |
| | | bg_black_style_cyan: '青黑色系', |
| | | bg_white_style_cyan: '青白色系', |
| | | bg_black_style_blue_purple: '蓝紫黑色系', |
| | | bg_white_style_blue_purple: '蓝紫白色系', |
| | | bg_black_style_purple: '紫黑色系', |
| | | bg_white_style_purple: '紫白色系', |
| | | bg_black_style_magenta: '洋红黑色系', |
| | | bg_white_style_magenta: '洋红白色系', |
| | | bg_black_style_grass_green: '草绿黑色系', |
| | | bg_white_style_grass_green: '草绿白色系', |
| | | bg_black_style_deep_red: '深红黑色系', |
| | | bg_white_style_deep_red: '深红白色系' |
| | | } |
| | | |
| | | return style[text] || '蓝黑色系' |
| | | } |
| | | }, |
| | | { |
| | | title: 'Action', |
| | |
| | | param.secretkey = Utils.encrypt('', param.timestamp) |
| | | |
| | | if (visible === 'edit') { |
| | | param.LText = selectApp.sublist.map(item => `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','${item.login_types || 'true'}','${item.link_type || 'true'}','${item.role_type || 'true'}','${item.lang || 'zh-CN'}'`) |
| | | param.LText = selectApp.sublist.map(item => `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','${item.login_types || 'true'}','${item.link_type || 'true'}','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css}'`) |
| | | param.LText = param.LText.join(' union all ') |
| | | param.LText = Utils.formatOptions(param.LText) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | param.LText = sublist.map(item => `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','${item.login_types || 'true'}','${item.link_type || 'true'}','${item.role_type || 'true'}','${item.lang || 'zh-CN'}'`) |
| | | param.LText = sublist.map(item => `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','${item.login_types || 'true'}','${item.link_type || 'true'}','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css}'`) |
| | | param.LText = param.LText.join(' union all ') |
| | | param.LText = Utils.formatOptions(param.LText) |
| | | |