@utogether/udp-core 2.0.0-beta.26 → 2.0.0-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/403-CyoOD-Ik.js +65 -0
- package/dist/404-Ch_OHTw0.js +65 -0
- package/dist/500-Cf9am7HK.js +67 -0
- package/dist/AuthorityInfo-BJ427cqG.js +4 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D9y7AwbB.js +99 -0
- package/dist/AuthorityPanel-lVnZ5bce.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-nsfhDlvV.js +113 -0
- package/dist/Company-qo-lKPkv.js +25 -0
- package/dist/CompanyPanel-DkKWAKvY.js +204 -0
- package/dist/DataSet-iBHzs75s.js +147 -0
- package/dist/Department-CHUQByKX.js +25 -0
- package/dist/DepartmentPanel-C742dfOO.js +248 -0
- package/dist/DesignPanel-D9oE5R7m.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-hYldVEbo.js +1097 -0
- package/dist/DictView-CrFXprP9.js +110 -0
- package/dist/InvOrganization-Cz8SzIgs.js +73 -0
- package/dist/Org-Bzt6yKox.js +38 -0
- package/dist/Preview-jonigfMQ.js +48 -0
- package/dist/ReportDefine-BpiM5Ovq.js +10 -0
- package/dist/ReportDesign-fp09cXJ7.js +164 -0
- package/dist/ReportQuery-52ZP1PYP.js +74 -0
- package/dist/ReportQueryFrom-DSYavJb1.js +4 -0
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DBGYEp0u.js +177 -0
- package/dist/ReportTemplate-CA_UW0eD.js +161 -0
- package/dist/Role-DqOt8Bk0.js +25 -0
- package/dist/RoleAssign-BdxhefhQ.js +26 -0
- package/dist/RolePanel-2gZ3H0ET.js +4 -0
- package/dist/RolePanel-BsNd0svJ.js +4 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DLOwgF99.js +152 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DmzD9kab.js +131 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-B9ptUMeI.js +99 -0
- package/dist/Staff-D3L8fEoY.js +26 -0
- package/dist/StaffInfo-DYRw6ZYJ.js +4 -0
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-xqEOQnMs.js +107 -0
- package/dist/StaffPanel-DkrNH6Px.js +4 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-BPBMnliy.js +152 -0
- package/dist/SysUser-Bl1-cIpJ.js +15 -0
- package/dist/SysUserPanel-yxNLaBwt.js +4 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BDcsgSl5.js +352 -0
- package/dist/SystemMenu-C4_Arn12.js +155 -0
- package/dist/UserInfo-QcNwJCUR.js +4 -0
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-DLIeUphX.js +159 -0
- package/dist/childView-B23DEO2u.js +4 -0
- package/dist/childView-saDZQv9x.js +4 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-RsKR6CAC.js +182 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-ZFEfavUY.js +142 -0
- package/dist/code-rule-2_Ihx_by.js +147 -0
- package/dist/core.es.js +26 -6
- package/dist/cron-task-BFOPJQIk.js +134 -0
- package/dist/flow-task-PoDnE_kE.js +10 -0
- package/dist/frameView-f7Ya0Knj.js +43 -0
- package/dist/index-BpdTDaTk.js +3213 -0
- package/dist/layout-home-v3DPJ7rB.js +231 -0
- package/dist/layoutView-DZHoQDH1.js +3190 -0
- package/dist/log-in-BPAMJTwH.js +115 -0
- package/dist/log-out-DZACF0jg.js +129 -0
- package/dist/login-B8cwozax.js +216 -0
- package/dist/login-log-CVvRgZSu.js +70 -0
- package/dist/lov-view-Ba7Y7xy0.js +98 -0
- package/dist/menuInfo-BpRKFYK8.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js +359 -0
- package/dist/pda-app-C0jJecrL.js +706 -0
- package/dist/redirect-DTz8GSnv.js +15 -0
- package/dist/resource-BG22Cw4P.js +97 -0
- package/dist/su-welcome-DaxhbrC6.js +879 -0
- package/dist/sys-config-CG2fMtak.js +384 -0
- package/dist/udp-core.css +1 -2
- package/dist/useNav-_u2UAQWk.js +84 -0
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/dist/wecom-push-B75FLee5.js +70 -0
- package/index.ts +54 -50
- package/package.json +21 -21
- package/src/App.vue +79 -78
- package/src/api/http.ts +10 -4
- package/src/api/index.ts +51 -51
- package/src/api/user.ts +64 -64
- package/src/components/SuQrcode/src/index.tsx +231 -236
- package/src/components/udp/content/index.vue +93 -93
- package/src/components/udp/form-upload/form-upload.vue +496 -496
- package/src/components/udp/grid/index.vue +643 -544
- package/src/components/udp/index.ts +2 -1
- package/src/components/udp/modal-form/index.vue +326 -0
- package/src/components/udp/utils.ts +420 -420
- package/src/layout/components/lay-navbar/index.vue +240 -240
- package/src/layout/components/lay-panel/index.vue +2 -6
- package/src/layout/components/lay-search/components/SearchModal.vue +185 -181
- package/src/layout/components/lay-sidebar/mixNav.vue +261 -261
- package/src/layout/components/lay-sidebar/sidebarItem.vue +199 -195
- package/src/layout/components/lay-sidebar/vertical.vue +92 -92
- package/src/layout/layoutView.vue +1 -0
- package/src/main.ts +111 -109
- package/src/plugins/i18n/zh.ts +5 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/router/index.ts +5 -34
- package/src/router/utils.ts +434 -430
- package/src/store/modules/permission.ts +1 -1
- package/src/store/modules/system.ts +193 -186
- package/src/style/print-lock.css +380 -375
- package/src/style/suprint.css +990 -985
- package/src/style/vxetable.scss +372 -364
- package/src/utils/authority/index.ts +19 -2
- package/src/utils/dataFormat/index.ts +309 -222
- package/src/utils/udp/http/index.ts +126 -67
- package/src/utils/udp/http/types.d.ts +15 -14
- package/src/views/login/login-view.vue +4 -21
- package/src/views/organization/department/DepartmentPanel.vue +3 -4
- package/src/views/system/sys/sys-config.vue +344 -344
- package/src/views/uhome/components/home-todo.vue +191 -178
- package/src/views/uhome/dynamic-card.vue +31 -31
- package/src/views/uhome/su-welcome.vue +310 -310
- package/src/views/ulogin/login.vue +292 -296
- package/src/views/urpt/design/DesignPanel.vue +538 -507
- package/src/views/urpt/design/print-data.ts +39 -59
- package/tsconfig.json +2 -3
- package/types/global.d.ts +234 -234
- package/vite.config.ts +2 -1
- package/dist/403-D6Wb3JJh.js +0 -72
- package/dist/404-B_HNbPNV.js +0 -72
- package/dist/500-BMemTTy1.js +0 -77
- package/dist/AuthorityInfo-6wHxwiFM.js +0 -91
- package/dist/AuthorityPanel-OqF_DvXA.js +0 -98
- package/dist/Company-BLXSfow0.js +0 -21
- package/dist/CompanyPanel-B4kRZ5Cg.js +0 -199
- package/dist/DataSet-CuGZcKC-.js +0 -141
- package/dist/Department-oFhsa7cd.js +0 -21
- package/dist/DepartmentPanel-B1UGpu-r.js +0 -242
- package/dist/DepartmentPanel-BL58AdoT.js +0 -2
- package/dist/DesignPanel-DmkFVw1N.js +0 -1196
- package/dist/DictView-CC5yMzOq.js +0 -100
- package/dist/File-WJXjGYxr.js +0 -89
- package/dist/InvOrganization-BwMmD8Ua.js +0 -76
- package/dist/Org-HgnOWubi.js +0 -76
- package/dist/Preview-CAzWxLmP.js +0 -45
- package/dist/ReIcon-DecitXmg.js +0 -413
- package/dist/ReportDefine-BgLM-Rjk.js +0 -10
- package/dist/ReportDesign-DwchGG2P.js +0 -158
- package/dist/ReportQuery-D5jaRJEn.js +0 -101
- package/dist/ReportQueryFrom-CNlmtYey.js +0 -198
- package/dist/ReportTemplate-CNcTmccs.js +0 -162
- package/dist/Role-Be8WfdCA.js +0 -21
- package/dist/RoleAssign-CtehGAUf.js +0 -22
- package/dist/RolePanel-CAwITg_q.js +0 -131
- package/dist/RolePanel-SN0FGFZ7.js +0 -176
- package/dist/ScrollPanel-DW30pGz1.js +0 -88
- package/dist/Staff-V2YsNKcj.js +0 -22
- package/dist/StaffInfo-CKRPW0r4.js +0 -149
- package/dist/StaffPanel-BxcgMg7u.js +0 -143
- package/dist/SysUser-Dxyj5w5m.js +0 -12
- package/dist/SysUserPanel-DI6CWcZo.js +0 -365
- package/dist/SystemMenu-BBHREM8T.js +0 -154
- package/dist/UserInfo-BMVQ0xwE.js +0 -194
- package/dist/_plugin-vue_export-helper-C6QCLu9I.js +0 -8
- package/dist/api-BFNxcxSN.js +0 -30
- package/dist/authority-BJFEUdrh.js +0 -20
- package/dist/await-to-js.es5-DkWYmPXW.js +0 -10
- package/dist/childView-BBjPEraB.js +0 -184
- package/dist/childView-DNqG2UVm.js +0 -181
- package/dist/code-rule-QFrhqFrW.js +0 -151
- package/dist/contant-Q77dU_V3.js +0 -4
- package/dist/cron-task-BpUDKEAU.js +0 -131
- package/dist/flow-task-DAc2NrDU.js +0 -11
- package/dist/frameView-Di0zJZUR.js +0 -39
- package/dist/layout-home-BVp7vYLR.js +0 -239
- package/dist/layoutView-B6Mx2ERA.js +0 -2662
- package/dist/log-in-BrNB0mLz.js +0 -117
- package/dist/log-out-dYfqvzy6.js +0 -111
- package/dist/login-D_Hjy3Jd.js +0 -231
- package/dist/login-log-CJak-ANA.js +0 -79
- package/dist/lov-view-DM5Nm5tW.js +0 -95
- package/dist/menuInfo-BlOY1KZW.js +0 -346
- package/dist/mitt-CQgI7DYU.js +0 -27
- package/dist/pda-app-CA7YI37u.js +0 -589
- package/dist/redirect-N0k4tImU.js +0 -16
- package/dist/resource-CfQTHFcs.js +0 -94
- package/dist/su-welcome-DVD3S_du.js +0 -799
- package/dist/sys-config-Ddb3vBpK.js +0 -316
- package/dist/system-Cm3lyBas.js +0 -1528
- package/dist/udp-core-DaQd5CF1.js +0 -2028
- package/dist/useDataThemeChange-DJ4K3VGp.js +0 -226
- package/dist/useNav-BhOJIdrJ.js +0 -106
- package/dist/utogether-l7JXs4Lv.js +0 -4
- package/dist/water-mark-WDQZ9YqB.js +0 -119
- package/dist/wecom-push-kWkAVRCj.js +0 -77
|
@@ -1,344 +1,344 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-spinning="loading" class="flex flex-col items-center pt-20 bg-white u-system-config">
|
|
3
|
-
<div class="flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md">
|
|
4
|
-
<el-form ref="xfrom" :model="record" :rules="rules" label-width="90" size="small" status-icon class="w-full">
|
|
5
|
-
<el-form-item :label="$t('message.udp.systemTitle')" prop="title">
|
|
6
|
-
<el-input v-model="record.title" />
|
|
7
|
-
</el-form-item>
|
|
8
|
-
<!-- <el-form-item :label="$t('message.udp.ispTitle')" prop="ispTitle">
|
|
9
|
-
<el-input v-model="record.ispTitle" />
|
|
10
|
-
</el-form-item> -->
|
|
11
|
-
<el-form-item :label="$t('message.udp.copyright')" prop="copyright">
|
|
12
|
-
<el-input v-model="record.copyright" />
|
|
13
|
-
</el-form-item>
|
|
14
|
-
<el-form-item :label="$t('message.udp.defaultLanguage')" prop="defaultLanguage">
|
|
15
|
-
<el-select v-model="record.defaultLanguage" placeholder="please select">
|
|
16
|
-
<el-option label="中文" value="zh" />
|
|
17
|
-
<el-option label="英文" value="en" />
|
|
18
|
-
</el-select>
|
|
19
|
-
</el-form-item>
|
|
20
|
-
<el-form-item :label="$t('message.udp.i18nEnabled')" prop="i18nEnabled">
|
|
21
|
-
<el-switch v-model="record.i18nEnabled" active-value="Y" inactive-value="N" />
|
|
22
|
-
</el-form-item>
|
|
23
|
-
<el-form-item :label="$t('message.udp.orgTaggle')" prop="orgTaggle">
|
|
24
|
-
<el-switch v-model="record.orgTaggle" active-value="Y" inactive-value="N" />
|
|
25
|
-
</el-form-item>
|
|
26
|
-
<el-form-item :label="$t('message.udp.showTitle')" prop="showTitle">
|
|
27
|
-
<el-switch v-model="record.showTitle" active-value="Y" inactive-value="N" />
|
|
28
|
-
</el-form-item>
|
|
29
|
-
<el-form-item :label="$t('message.udp.initialPasswordModification')" prop="initialPasswordModification">
|
|
30
|
-
<el-switch v-model="record.initialPasswordModification" active-value="Y" inactive-value="N" />
|
|
31
|
-
</el-form-item>
|
|
32
|
-
<el-form-item
|
|
33
|
-
v-if="['liwei', 'yanhuaijun', 'phr', 'zhonglijun', 'ccl'].includes(cookies.get(kLOGINER))"
|
|
34
|
-
:label="$t('message.udp.techSupport')"
|
|
35
|
-
prop="techSupport"
|
|
36
|
-
>
|
|
37
|
-
<el-switch v-model="record.techSupport" active-value="Y" inactive-value="N" />
|
|
38
|
-
</el-form-item>
|
|
39
|
-
<el-form-item
|
|
40
|
-
v-if="['liwei', 'yanhuaijun', 'phr', 'zhonglijun', 'ccl'].includes(cookies.get(kLOGINER))"
|
|
41
|
-
:label="$t('message.udp.baseColor')"
|
|
42
|
-
prop="baseColor"
|
|
43
|
-
>
|
|
44
|
-
<vxe-color-picker v-model="record.baseColor" :colors="colorList" type="hex" clearable transfer />
|
|
45
|
-
</el-form-item>
|
|
46
|
-
<el-form-item :label="$t('message.udp.systemLogo')">
|
|
47
|
-
<el-upload
|
|
48
|
-
v-model:file-list="record.logo"
|
|
49
|
-
class="u-upload"
|
|
50
|
-
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
51
|
-
:headers="headers"
|
|
52
|
-
:on-exceed="handleExceed"
|
|
53
|
-
accept=".png,.jpg,.jpeg,.PNG,.JPEG,.jPG"
|
|
54
|
-
list-type="picture"
|
|
55
|
-
:limit="1"
|
|
56
|
-
>
|
|
57
|
-
<!-- :before-upload="handleBeforUpload" -->
|
|
58
|
-
<div class="flex items-center">
|
|
59
|
-
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
60
|
-
<div class="pl-2 text-xs">
|
|
61
|
-
<span>
|
|
62
|
-
{{ $t('message.tip.uploadFormat', { type: ': *.png,*.jpg;' }) }}
|
|
63
|
-
</span>
|
|
64
|
-
<span class="pl-2">{{ $t('message.tip.imageSize', { size: ': 600 * 200' }) }}</span>
|
|
65
|
-
<span class="pl-2">
|
|
66
|
-
{{ $t('message.tip.imageCapacity', { capacity: ': <50kb' }) }}
|
|
67
|
-
</span>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</el-upload>
|
|
71
|
-
</el-form-item>
|
|
72
|
-
<el-form-item :label="$t('message.udp.homeBackimg')">
|
|
73
|
-
<el-upload
|
|
74
|
-
v-model:file-list="record.backgroundImg"
|
|
75
|
-
class="u-upload"
|
|
76
|
-
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
77
|
-
:headers="headers"
|
|
78
|
-
:on-exceed="handleExceed"
|
|
79
|
-
accept=".png,.jpg,.jpeg,.PNG,.JPEG,.jPG"
|
|
80
|
-
list-type="picture"
|
|
81
|
-
:limit="1"
|
|
82
|
-
>
|
|
83
|
-
<div class="flex items-center">
|
|
84
|
-
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
85
|
-
<div class="pl-2 text-xs">
|
|
86
|
-
<span>{{ $t('message.tip.uploadFormat', { type: ': *.png,*.jpg;' }) }}</span>
|
|
87
|
-
<span class="pl-2">{{ $t('message.tip.imageSize', { size: ': 4096 * 2048' }) }}</span>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
</el-upload>
|
|
91
|
-
</el-form-item>
|
|
92
|
-
<el-form-item :label="$t('message.udp.systemFavicon')">
|
|
93
|
-
<el-upload
|
|
94
|
-
v-model:file-list="record.favicon"
|
|
95
|
-
class="u-upload"
|
|
96
|
-
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
97
|
-
:headers="headers"
|
|
98
|
-
:on-exceed="handleExceed"
|
|
99
|
-
accept=".ico"
|
|
100
|
-
list-type="picture"
|
|
101
|
-
:limit="1"
|
|
102
|
-
>
|
|
103
|
-
<div class="flex items-center">
|
|
104
|
-
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
105
|
-
<div class="pl-2 text-xs">
|
|
106
|
-
{{ $t('message.tip.uploadFormat', { type: ': *.ico,.png*.jpg;' }) }}
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
</el-upload>
|
|
110
|
-
</el-form-item>
|
|
111
|
-
</el-form>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="flex justify-end w-1/2 p-2">
|
|
114
|
-
<el-button type="primary" @click="submitForm(xfrom)">
|
|
115
|
-
{{ $t('message.btn.confirm') }}
|
|
116
|
-
</el-button>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</template>
|
|
120
|
-
|
|
121
|
-
<script lang="ts" setup>
|
|
122
|
-
import { reactive, ref, computed, onMounted } from 'vue';
|
|
123
|
-
import type { FormInstance, FormRules } from 'element-plus';
|
|
124
|
-
import { useI18n } from 'vue-i18n';
|
|
125
|
-
import to from 'await-to-js';
|
|
126
|
-
import { successMessage, cookies, warnMessage } from '@utogether/utils';
|
|
127
|
-
import { isArray } from 'xe-utils';
|
|
128
|
-
import { kTOKEN, kLOGINER } from '../../../contant';
|
|
129
|
-
import { getServiceApi, getBaseURL } from '../../../api';
|
|
130
|
-
|
|
131
|
-
const xfrom = ref<FormInstance>();
|
|
132
|
-
const loading = ref(false);
|
|
133
|
-
const record = reactive({
|
|
134
|
-
defaultLanguage: 'zh',
|
|
135
|
-
title: 'U-DP',
|
|
136
|
-
ispTitle: 'U-DP',
|
|
137
|
-
baseColor: '#FFF',
|
|
138
|
-
i18nEnabled: 'N',
|
|
139
|
-
orgTaggle: 'Y',
|
|
140
|
-
showTitle: 'Y',
|
|
141
|
-
initialPasswordModification: 'N',
|
|
142
|
-
techSupport: 'Y',
|
|
143
|
-
copyright: '深圳友聚信息技术有限公司',
|
|
144
|
-
logo: [],
|
|
145
|
-
backgroundImg: [],
|
|
146
|
-
favicon: []
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
const serviceApi = getServiceApi();
|
|
150
|
-
const { t } = useI18n();
|
|
151
|
-
|
|
152
|
-
const baseUrl = ref(getBaseURL());
|
|
153
|
-
|
|
154
|
-
const url = '/upfm/v1/sysConfig';
|
|
155
|
-
let dataList = [];
|
|
156
|
-
|
|
157
|
-
const colorList = [
|
|
158
|
-
'#DC143C',
|
|
159
|
-
'#FF1493',
|
|
160
|
-
'#FF00FF',
|
|
161
|
-
'#9932CC',
|
|
162
|
-
'#6A5ACD',
|
|
163
|
-
'#0000FF',
|
|
164
|
-
'#00008B',
|
|
165
|
-
'#778899',
|
|
166
|
-
'#1E90FF',
|
|
167
|
-
'#00BFFF',
|
|
168
|
-
'#5F9EA0',
|
|
169
|
-
'#00FFFF',
|
|
170
|
-
'#008080',
|
|
171
|
-
'#7FFFAA',
|
|
172
|
-
'#3CB371',
|
|
173
|
-
'#8FBC8F',
|
|
174
|
-
'#008000',
|
|
175
|
-
'#7CFC00',
|
|
176
|
-
'#556B2F',
|
|
177
|
-
'#FFFFE0',
|
|
178
|
-
'#FFFF00',
|
|
179
|
-
'#808000',
|
|
180
|
-
'#EEE8AA',
|
|
181
|
-
'#FFD700',
|
|
182
|
-
'#FFA500',
|
|
183
|
-
'#FF4500',
|
|
184
|
-
'#FA8072',
|
|
185
|
-
'#FF0000',
|
|
186
|
-
'#800000',
|
|
187
|
-
'#C0C0C0'
|
|
188
|
-
];
|
|
189
|
-
|
|
190
|
-
const rules = reactive<FormRules>({
|
|
191
|
-
defaultLanguage: [
|
|
192
|
-
{
|
|
193
|
-
required: true,
|
|
194
|
-
message: t('message.required') + t('message.udp.defaultLanguage'),
|
|
195
|
-
trigger: 'blur'
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
title: [{ required: true, message: t('message.required') + t('message.udp.systemTitle'), trigger: 'blur' }]
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
const headers = computed(() => {
|
|
202
|
-
const token = cookies.get(kTOKEN)!;
|
|
203
|
-
const data = JSON.parse(token);
|
|
204
|
-
const headers = {
|
|
205
|
-
Authorization: 'Bearer ' + data.accessToken
|
|
206
|
-
};
|
|
207
|
-
return headers;
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
const submitForm = (xfrom: FormInstance) => {
|
|
211
|
-
// const menthod = dataList.length ? 'put' : 'post';
|
|
212
|
-
Object.keys(record).forEach(field => {
|
|
213
|
-
const obj = {
|
|
214
|
-
configCode: field,
|
|
215
|
-
configValue: record[field],
|
|
216
|
-
configCategory: 'system',
|
|
217
|
-
fileName: ''
|
|
218
|
-
};
|
|
219
|
-
if (isArray(record[field])) {
|
|
220
|
-
obj.configValue = getImgActUrl(record[field][0]).url;
|
|
221
|
-
obj.fileName = getImgActUrl(record[field][0]).name;
|
|
222
|
-
}
|
|
223
|
-
const idx = dataList.findIndex(f => f.configCode === field);
|
|
224
|
-
if (idx !== -1) {
|
|
225
|
-
dataList[idx] = Object.assign(dataList[idx], obj);
|
|
226
|
-
} else {
|
|
227
|
-
dataList.push(obj);
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
// return;
|
|
231
|
-
xfrom?.validate(async valid => {
|
|
232
|
-
if (valid) {
|
|
233
|
-
loading.value = true;
|
|
234
|
-
const addList = dataList.filter(data => !data.id);
|
|
235
|
-
const updateList = dataList.filter(data => data.id);
|
|
236
|
-
const services = [];
|
|
237
|
-
if (addList.length) {
|
|
238
|
-
services.push(serviceApi.post(url, addList));
|
|
239
|
-
} else {
|
|
240
|
-
services.push(serviceApi.put(url, updateList));
|
|
241
|
-
}
|
|
242
|
-
const [err] = await to(Promise.all(services));
|
|
243
|
-
// const [err, data]: [Error, any] = await to(serviceApi[menthod](url, dataList));
|
|
244
|
-
if (!err) {
|
|
245
|
-
successMessage();
|
|
246
|
-
// console.log({ data });
|
|
247
|
-
// dataList = data;
|
|
248
|
-
// setDisplayObject();
|
|
249
|
-
setDisplayObject();
|
|
250
|
-
}
|
|
251
|
-
loading.value = false;
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
const getImgActUrl = file => {
|
|
257
|
-
if (file?.response) {
|
|
258
|
-
return { url: file.response.data, name: file.name };
|
|
259
|
-
}
|
|
260
|
-
return { url: file?.realpath || file?.url, name: file?.name };
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
const handleExceed = file => {
|
|
264
|
-
if (file) {
|
|
265
|
-
return warnMessage(t('message.tip.singleImg'));
|
|
266
|
-
}
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
// const handleBeforUpload = (file, type) => {
|
|
270
|
-
// console.log(file);
|
|
271
|
-
// console.log(type);
|
|
272
|
-
// return true;
|
|
273
|
-
// };
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @description: 处理显示数据
|
|
277
|
-
* @return {*}
|
|
278
|
-
*/
|
|
279
|
-
const setDisplayObject = () => {
|
|
280
|
-
Object.keys(record).forEach(key => {
|
|
281
|
-
const data = dataList.find(f => f.configCode === key);
|
|
282
|
-
if (data) {
|
|
283
|
-
record[data.configCode] = data.configValue || record[data.configCode];
|
|
284
|
-
if (data.fileName) {
|
|
285
|
-
const { configValue, fileName } = data;
|
|
286
|
-
record[data.configCode] = [
|
|
287
|
-
{ url: baseUrl.value + '/ufil' + configValue, realpath: configValue, name: fileName }
|
|
288
|
-
];
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
};
|
|
293
|
-
/**
|
|
294
|
-
* @description: 查询系统配置
|
|
295
|
-
* @return {*}
|
|
296
|
-
*/
|
|
297
|
-
const getSysConfig = async () => {
|
|
298
|
-
const [err, data]: [Error, any] = await to(serviceApi.get(url, {}));
|
|
299
|
-
if (!err) {
|
|
300
|
-
dataList = data.list;
|
|
301
|
-
}
|
|
302
|
-
// dataList = [
|
|
303
|
-
// { configCode: 'logo', configValue: '', fileName: 'logo' },
|
|
304
|
-
// { configCode: 'backgroundImg', configValue: '', fileName: '首页背景' },
|
|
305
|
-
// { configCode: 'favicon', configValue: '', fileName: 'favicon' },
|
|
306
|
-
// { configCode: 'copyright', configValue: '' },
|
|
307
|
-
// { configCode: 'i18nEnabled', configValue: '' },
|
|
308
|
-
// { configCode: 'title', configValue: '' },
|
|
309
|
-
// { configCode: 'defaultLanguage', configValue: '' }
|
|
310
|
-
// ];
|
|
311
|
-
setDisplayObject();
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
onMounted(() => {
|
|
315
|
-
getSysConfig();
|
|
316
|
-
});
|
|
317
|
-
</script>
|
|
318
|
-
<style lang="scss">
|
|
319
|
-
.u-system-config {
|
|
320
|
-
padding-top: 48px;
|
|
321
|
-
|
|
322
|
-
.el-select,
|
|
323
|
-
.el-select--small {
|
|
324
|
-
width: 100%;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.el-form-item__content {
|
|
328
|
-
width: 100%;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.u-upload {
|
|
332
|
-
width: 100%;
|
|
333
|
-
|
|
334
|
-
.el-upload-list {
|
|
335
|
-
margin: 0;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.el-upload-list__item {
|
|
339
|
-
max-height: 60px;
|
|
340
|
-
padding: 0;
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-spinning="loading" class="flex flex-col items-center pt-20 bg-white u-system-config">
|
|
3
|
+
<div class="flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md">
|
|
4
|
+
<el-form ref="xfrom" :model="record" :rules="rules" label-width="90" size="small" status-icon class="w-full">
|
|
5
|
+
<el-form-item :label="$t('message.udp.systemTitle')" prop="title">
|
|
6
|
+
<el-input v-model="record.title" />
|
|
7
|
+
</el-form-item>
|
|
8
|
+
<!-- <el-form-item :label="$t('message.udp.ispTitle')" prop="ispTitle">
|
|
9
|
+
<el-input v-model="record.ispTitle" />
|
|
10
|
+
</el-form-item> -->
|
|
11
|
+
<el-form-item :label="$t('message.udp.copyright')" prop="copyright">
|
|
12
|
+
<el-input v-model="record.copyright" />
|
|
13
|
+
</el-form-item>
|
|
14
|
+
<el-form-item :label="$t('message.udp.defaultLanguage')" prop="defaultLanguage">
|
|
15
|
+
<el-select v-model="record.defaultLanguage" placeholder="please select">
|
|
16
|
+
<el-option label="中文" value="zh" />
|
|
17
|
+
<el-option label="英文" value="en" />
|
|
18
|
+
</el-select>
|
|
19
|
+
</el-form-item>
|
|
20
|
+
<el-form-item :label="$t('message.udp.i18nEnabled')" prop="i18nEnabled">
|
|
21
|
+
<el-switch v-model="record.i18nEnabled" active-value="Y" inactive-value="N" />
|
|
22
|
+
</el-form-item>
|
|
23
|
+
<el-form-item :label="$t('message.udp.orgTaggle')" prop="orgTaggle">
|
|
24
|
+
<el-switch v-model="record.orgTaggle" active-value="Y" inactive-value="N" />
|
|
25
|
+
</el-form-item>
|
|
26
|
+
<el-form-item :label="$t('message.udp.showTitle')" prop="showTitle">
|
|
27
|
+
<el-switch v-model="record.showTitle" active-value="Y" inactive-value="N" />
|
|
28
|
+
</el-form-item>
|
|
29
|
+
<el-form-item :label="$t('message.udp.initialPasswordModification')" prop="initialPasswordModification">
|
|
30
|
+
<el-switch v-model="record.initialPasswordModification" active-value="Y" inactive-value="N" />
|
|
31
|
+
</el-form-item>
|
|
32
|
+
<el-form-item
|
|
33
|
+
v-if="['liwei', 'yanhuaijun', 'phr', 'zhonglijun', 'ccl'].includes(cookies.get(kLOGINER))"
|
|
34
|
+
:label="$t('message.udp.techSupport')"
|
|
35
|
+
prop="techSupport"
|
|
36
|
+
>
|
|
37
|
+
<el-switch v-model="record.techSupport" active-value="Y" inactive-value="N" />
|
|
38
|
+
</el-form-item>
|
|
39
|
+
<el-form-item
|
|
40
|
+
v-if="['liwei', 'yanhuaijun', 'phr', 'zhonglijun', 'ccl'].includes(cookies.get(kLOGINER))"
|
|
41
|
+
:label="$t('message.udp.baseColor')"
|
|
42
|
+
prop="baseColor"
|
|
43
|
+
>
|
|
44
|
+
<vxe-color-picker v-model="record.baseColor" :colors="colorList" type="hex" clearable transfer />
|
|
45
|
+
</el-form-item>
|
|
46
|
+
<el-form-item :label="$t('message.udp.systemLogo')">
|
|
47
|
+
<el-upload
|
|
48
|
+
v-model:file-list="record.logo"
|
|
49
|
+
class="u-upload"
|
|
50
|
+
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
51
|
+
:headers="headers"
|
|
52
|
+
:on-exceed="handleExceed"
|
|
53
|
+
accept=".png,.jpg,.jpeg,.PNG,.JPEG,.jPG"
|
|
54
|
+
list-type="picture"
|
|
55
|
+
:limit="1"
|
|
56
|
+
>
|
|
57
|
+
<!-- :before-upload="handleBeforUpload" -->
|
|
58
|
+
<div class="flex items-center">
|
|
59
|
+
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
60
|
+
<div class="pl-2 text-xs">
|
|
61
|
+
<span>
|
|
62
|
+
{{ $t('message.tip.uploadFormat', { type: ': *.png,*.jpg;' }) }}
|
|
63
|
+
</span>
|
|
64
|
+
<span class="pl-2">{{ $t('message.tip.imageSize', { size: ': 600 * 200' }) }}</span>
|
|
65
|
+
<span class="pl-2">
|
|
66
|
+
{{ $t('message.tip.imageCapacity', { capacity: ': <50kb' }) }}
|
|
67
|
+
</span>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</el-upload>
|
|
71
|
+
</el-form-item>
|
|
72
|
+
<el-form-item :label="$t('message.udp.homeBackimg')">
|
|
73
|
+
<el-upload
|
|
74
|
+
v-model:file-list="record.backgroundImg"
|
|
75
|
+
class="u-upload"
|
|
76
|
+
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
77
|
+
:headers="headers"
|
|
78
|
+
:on-exceed="handleExceed"
|
|
79
|
+
accept=".png,.jpg,.jpeg,.PNG,.JPEG,.jPG"
|
|
80
|
+
list-type="picture"
|
|
81
|
+
:limit="1"
|
|
82
|
+
>
|
|
83
|
+
<div class="flex items-center">
|
|
84
|
+
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
85
|
+
<div class="pl-2 text-xs">
|
|
86
|
+
<span>{{ $t('message.tip.uploadFormat', { type: ': *.png,*.jpg;' }) }}</span>
|
|
87
|
+
<span class="pl-2">{{ $t('message.tip.imageSize', { size: ': 4096 * 2048' }) }}</span>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</el-upload>
|
|
91
|
+
</el-form-item>
|
|
92
|
+
<el-form-item :label="$t('message.udp.systemFavicon')">
|
|
93
|
+
<el-upload
|
|
94
|
+
v-model:file-list="record.favicon"
|
|
95
|
+
class="u-upload"
|
|
96
|
+
:action="baseUrl + '/ufil/file/uploadMultipart'"
|
|
97
|
+
:headers="headers"
|
|
98
|
+
:on-exceed="handleExceed"
|
|
99
|
+
accept=".ico"
|
|
100
|
+
list-type="picture"
|
|
101
|
+
:limit="1"
|
|
102
|
+
>
|
|
103
|
+
<div class="flex items-center">
|
|
104
|
+
<el-button type="primary">{{ $t('message.btn.upload') }}</el-button>
|
|
105
|
+
<div class="pl-2 text-xs">
|
|
106
|
+
{{ $t('message.tip.uploadFormat', { type: ': *.ico,.png*.jpg;' }) }}
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</el-upload>
|
|
110
|
+
</el-form-item>
|
|
111
|
+
</el-form>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="flex justify-end w-1/2 p-2">
|
|
114
|
+
<el-button type="primary" @click="submitForm(xfrom)">
|
|
115
|
+
{{ $t('message.btn.confirm') }}
|
|
116
|
+
</el-button>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</template>
|
|
120
|
+
|
|
121
|
+
<script lang="ts" setup>
|
|
122
|
+
import { reactive, ref, computed, onMounted } from 'vue';
|
|
123
|
+
import type { FormInstance, FormRules } from 'element-plus';
|
|
124
|
+
import { useI18n } from 'vue-i18n';
|
|
125
|
+
import to from 'await-to-js';
|
|
126
|
+
import { successMessage, cookies, warnMessage } from '@utogether/utils';
|
|
127
|
+
import { isArray } from 'xe-utils';
|
|
128
|
+
import { kTOKEN, kLOGINER } from '../../../contant';
|
|
129
|
+
import { getServiceApi, getBaseURL } from '../../../api';
|
|
130
|
+
|
|
131
|
+
const xfrom = ref<FormInstance>();
|
|
132
|
+
const loading = ref(false);
|
|
133
|
+
const record = reactive({
|
|
134
|
+
defaultLanguage: 'zh',
|
|
135
|
+
title: 'U-DP',
|
|
136
|
+
ispTitle: 'U-DP',
|
|
137
|
+
baseColor: '#FFF',
|
|
138
|
+
i18nEnabled: 'N',
|
|
139
|
+
orgTaggle: 'Y',
|
|
140
|
+
showTitle: 'Y',
|
|
141
|
+
initialPasswordModification: 'N',
|
|
142
|
+
techSupport: 'Y',
|
|
143
|
+
copyright: '深圳友聚信息技术有限公司',
|
|
144
|
+
logo: [],
|
|
145
|
+
backgroundImg: [],
|
|
146
|
+
favicon: []
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
const serviceApi = getServiceApi();
|
|
150
|
+
const { t } = useI18n();
|
|
151
|
+
|
|
152
|
+
const baseUrl = ref(getBaseURL());
|
|
153
|
+
|
|
154
|
+
const url = '/upfm/v1/sysConfig';
|
|
155
|
+
let dataList = [];
|
|
156
|
+
|
|
157
|
+
const colorList = [
|
|
158
|
+
'#DC143C',
|
|
159
|
+
'#FF1493',
|
|
160
|
+
'#FF00FF',
|
|
161
|
+
'#9932CC',
|
|
162
|
+
'#6A5ACD',
|
|
163
|
+
'#0000FF',
|
|
164
|
+
'#00008B',
|
|
165
|
+
'#778899',
|
|
166
|
+
'#1E90FF',
|
|
167
|
+
'#00BFFF',
|
|
168
|
+
'#5F9EA0',
|
|
169
|
+
'#00FFFF',
|
|
170
|
+
'#008080',
|
|
171
|
+
'#7FFFAA',
|
|
172
|
+
'#3CB371',
|
|
173
|
+
'#8FBC8F',
|
|
174
|
+
'#008000',
|
|
175
|
+
'#7CFC00',
|
|
176
|
+
'#556B2F',
|
|
177
|
+
'#FFFFE0',
|
|
178
|
+
'#FFFF00',
|
|
179
|
+
'#808000',
|
|
180
|
+
'#EEE8AA',
|
|
181
|
+
'#FFD700',
|
|
182
|
+
'#FFA500',
|
|
183
|
+
'#FF4500',
|
|
184
|
+
'#FA8072',
|
|
185
|
+
'#FF0000',
|
|
186
|
+
'#800000',
|
|
187
|
+
'#C0C0C0'
|
|
188
|
+
];
|
|
189
|
+
|
|
190
|
+
const rules = reactive<FormRules>({
|
|
191
|
+
defaultLanguage: [
|
|
192
|
+
{
|
|
193
|
+
required: true,
|
|
194
|
+
message: t('message.required') + t('message.udp.defaultLanguage'),
|
|
195
|
+
trigger: 'blur'
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
title: [{ required: true, message: t('message.required') + t('message.udp.systemTitle'), trigger: 'blur' }]
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
const headers = computed(() => {
|
|
202
|
+
const token = cookies.get(kTOKEN)!;
|
|
203
|
+
const data = JSON.parse(token);
|
|
204
|
+
const headers = {
|
|
205
|
+
Authorization: 'Bearer ' + data.accessToken
|
|
206
|
+
};
|
|
207
|
+
return headers;
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
const submitForm = (xfrom: FormInstance) => {
|
|
211
|
+
// const menthod = dataList.length ? 'put' : 'post';
|
|
212
|
+
Object.keys(record).forEach(field => {
|
|
213
|
+
const obj = {
|
|
214
|
+
configCode: field,
|
|
215
|
+
configValue: record[field],
|
|
216
|
+
configCategory: 'system',
|
|
217
|
+
fileName: ''
|
|
218
|
+
};
|
|
219
|
+
if (isArray(record[field])) {
|
|
220
|
+
obj.configValue = getImgActUrl(record[field][0]).url;
|
|
221
|
+
obj.fileName = getImgActUrl(record[field][0]).name;
|
|
222
|
+
}
|
|
223
|
+
const idx = dataList.findIndex(f => f.configCode === field);
|
|
224
|
+
if (idx !== -1) {
|
|
225
|
+
dataList[idx] = Object.assign(dataList[idx], obj);
|
|
226
|
+
} else {
|
|
227
|
+
dataList.push(obj);
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
// return;
|
|
231
|
+
xfrom?.validate(async valid => {
|
|
232
|
+
if (valid) {
|
|
233
|
+
loading.value = true;
|
|
234
|
+
const addList = dataList.filter(data => !data.id);
|
|
235
|
+
const updateList = dataList.filter(data => data.id);
|
|
236
|
+
const services = [];
|
|
237
|
+
if (addList.length) {
|
|
238
|
+
services.push(serviceApi.post(url, addList));
|
|
239
|
+
} else {
|
|
240
|
+
services.push(serviceApi.put(url, updateList));
|
|
241
|
+
}
|
|
242
|
+
const [err] = await to(Promise.all(services));
|
|
243
|
+
// const [err, data]: [Error, any] = await to(serviceApi[menthod](url, dataList));
|
|
244
|
+
if (!err) {
|
|
245
|
+
successMessage();
|
|
246
|
+
// console.log({ data });
|
|
247
|
+
// dataList = data;
|
|
248
|
+
// setDisplayObject();
|
|
249
|
+
setDisplayObject();
|
|
250
|
+
}
|
|
251
|
+
loading.value = false;
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
const getImgActUrl = file => {
|
|
257
|
+
if (file?.response) {
|
|
258
|
+
return { url: file.response.data, name: file.name };
|
|
259
|
+
}
|
|
260
|
+
return { url: file?.realpath || file?.url, name: file?.name };
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
const handleExceed = file => {
|
|
264
|
+
if (file) {
|
|
265
|
+
return warnMessage(t('message.tip.singleImg'));
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
// const handleBeforUpload = (file, type) => {
|
|
270
|
+
// console.log(file);
|
|
271
|
+
// console.log(type);
|
|
272
|
+
// return true;
|
|
273
|
+
// };
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @description: 处理显示数据
|
|
277
|
+
* @return {*}
|
|
278
|
+
*/
|
|
279
|
+
const setDisplayObject = () => {
|
|
280
|
+
Object.keys(record).forEach(key => {
|
|
281
|
+
const data = dataList.find(f => f.configCode === key);
|
|
282
|
+
if (data) {
|
|
283
|
+
record[data.configCode] = data.configValue || record[data.configCode];
|
|
284
|
+
if (data.fileName) {
|
|
285
|
+
const { configValue, fileName } = data;
|
|
286
|
+
record[data.configCode] = [
|
|
287
|
+
{ url: baseUrl.value + '/ufil' + configValue, realpath: configValue, name: fileName }
|
|
288
|
+
];
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* @description: 查询系统配置
|
|
295
|
+
* @return {*}
|
|
296
|
+
*/
|
|
297
|
+
const getSysConfig = async () => {
|
|
298
|
+
const [err, data]: [Error, any] = await to(serviceApi.get(url, {}));
|
|
299
|
+
if (!err) {
|
|
300
|
+
dataList = data.list;
|
|
301
|
+
}
|
|
302
|
+
// dataList = [
|
|
303
|
+
// { configCode: 'logo', configValue: '', fileName: 'logo' },
|
|
304
|
+
// { configCode: 'backgroundImg', configValue: '', fileName: '首页背景' },
|
|
305
|
+
// { configCode: 'favicon', configValue: '', fileName: 'favicon' },
|
|
306
|
+
// { configCode: 'copyright', configValue: '' },
|
|
307
|
+
// { configCode: 'i18nEnabled', configValue: '' },
|
|
308
|
+
// { configCode: 'title', configValue: '' },
|
|
309
|
+
// { configCode: 'defaultLanguage', configValue: '' }
|
|
310
|
+
// ];
|
|
311
|
+
setDisplayObject();
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
onMounted(() => {
|
|
315
|
+
getSysConfig();
|
|
316
|
+
});
|
|
317
|
+
</script>
|
|
318
|
+
<style lang="scss">
|
|
319
|
+
.u-system-config {
|
|
320
|
+
padding-top: 48px;
|
|
321
|
+
|
|
322
|
+
.el-select,
|
|
323
|
+
.el-select--small {
|
|
324
|
+
width: 100%;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.el-form-item__content {
|
|
328
|
+
width: 100%;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.u-upload {
|
|
332
|
+
width: 100%;
|
|
333
|
+
|
|
334
|
+
.el-upload-list {
|
|
335
|
+
margin: 0;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.el-upload-list__item {
|
|
339
|
+
max-height: 60px;
|
|
340
|
+
padding: 0;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
</style>
|