@utogether/udp-core 2.0.0-beta.25 → 2.0.0-beta.26

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.
Files changed (51) hide show
  1. package/dist/{403-QwBKrRZE.js → 403-D6Wb3JJh.js} +1 -1
  2. package/dist/{404-Cr7MbzNV.js → 404-B_HNbPNV.js} +1 -1
  3. package/dist/{500-B7kCOeIA.js → 500-BMemTTy1.js} +1 -1
  4. package/dist/{AuthorityInfo-Dwml2K4S.js → AuthorityInfo-6wHxwiFM.js} +1 -1
  5. package/dist/{AuthorityPanel-DzPhsPpa.js → AuthorityPanel-OqF_DvXA.js} +1 -1
  6. package/dist/{Company-BhOlvl7Q.js → Company-BLXSfow0.js} +1 -1
  7. package/dist/{CompanyPanel-ByhY5-Sq.js → CompanyPanel-B4kRZ5Cg.js} +1 -1
  8. package/dist/{Department-QvngN63N.js → Department-oFhsa7cd.js} +1 -1
  9. package/dist/{DepartmentPanel-DntGycxr.js → DepartmentPanel-B1UGpu-r.js} +2 -2
  10. package/dist/DepartmentPanel-BL58AdoT.js +2 -0
  11. package/dist/{DesignPanel-BMN4DZ0R.js → DesignPanel-DmkFVw1N.js} +2 -2
  12. package/dist/{DictView-ERFqZ5VD.js → DictView-CC5yMzOq.js} +1 -1
  13. package/dist/{Preview-CVZdnHB1.js → Preview-CAzWxLmP.js} +1 -1
  14. package/dist/{ReportDesign-CjfTyyy_.js → ReportDesign-DwchGG2P.js} +1 -1
  15. package/dist/{ReportQuery-CP-E0Puv.js → ReportQuery-D5jaRJEn.js} +1 -1
  16. package/dist/{ReportQueryFrom-D7SPPAps.js → ReportQueryFrom-CNlmtYey.js} +1 -1
  17. package/dist/{ReportTemplate-DE25zc1f.js → ReportTemplate-CNcTmccs.js} +1 -1
  18. package/dist/{Role-K7v_ZhFE.js → Role-Be8WfdCA.js} +1 -1
  19. package/dist/{RoleAssign-C16fjLaX.js → RoleAssign-CtehGAUf.js} +1 -1
  20. package/dist/{RolePanel-DPCe9k8f.js → RolePanel-CAwITg_q.js} +1 -1
  21. package/dist/{RolePanel-CV-xPlYJ.js → RolePanel-SN0FGFZ7.js} +3 -3
  22. package/dist/{Staff-w2ly4qd0.js → Staff-V2YsNKcj.js} +1 -1
  23. package/dist/{StaffInfo-DPDRpz6F.js → StaffInfo-CKRPW0r4.js} +1 -1
  24. package/dist/{StaffPanel-DI1eTTp9.js → StaffPanel-BxcgMg7u.js} +2 -2
  25. package/dist/{SysUser-BMTX1cJM.js → SysUser-Dxyj5w5m.js} +1 -1
  26. package/dist/{SysUserPanel-xwZdVjdp.js → SysUserPanel-DI6CWcZo.js} +1 -1
  27. package/dist/{SystemMenu-TXhiQZVm.js → SystemMenu-BBHREM8T.js} +2 -2
  28. package/dist/{UserInfo-JQqw8FMT.js → UserInfo-BMVQ0xwE.js} +1 -1
  29. package/dist/{authority-Bi6BGB5B.js → authority-BJFEUdrh.js} +1 -1
  30. package/dist/{childView-CyrcwshT.js → childView-BBjPEraB.js} +1 -1
  31. package/dist/{childView-Bk8OD9bV.js → childView-DNqG2UVm.js} +1 -1
  32. package/dist/core.es.js +5 -5
  33. package/dist/{layoutView-DFUjrqAS.js → layoutView-B6Mx2ERA.js} +237 -237
  34. package/dist/{login-BdCDnuXL.js → login-D_Hjy3Jd.js} +82 -84
  35. package/dist/{lov-view-DkmG4K57.js → lov-view-DM5Nm5tW.js} +1 -1
  36. package/dist/{menuInfo-kp2wNYOp.js → menuInfo-BlOY1KZW.js} +1 -1
  37. package/dist/{su-welcome-JeiovGpe.js → su-welcome-DVD3S_du.js} +4 -4
  38. package/dist/{router-CeluSGiD.js → system-Cm3lyBas.js} +451 -454
  39. package/dist/{udp-core-Dhm-BlAs.js → udp-core-DaQd5CF1.js} +212 -216
  40. package/dist/udp-core.css +1 -1
  41. package/dist/{useDataThemeChange-BCy8JBG7.js → useDataThemeChange-DJ4K3VGp.js} +31 -31
  42. package/dist/{useNav-DY8FkltH.js → useNav-BhOJIdrJ.js} +8 -8
  43. package/package.json +1 -1
  44. package/src/App.vue +5 -0
  45. package/src/components/udp/grid/index.vue +9 -11
  46. package/src/components/udp/utils.ts +420 -414
  47. package/src/main.ts +109 -110
  48. package/src/router/utils.ts +2 -3
  49. package/src/views/login/login-view.vue +297 -301
  50. package/src/views/ulogin/login.vue +3 -32
  51. package/dist/DepartmentPanel-BCXqC39J.js +0 -2
@@ -102,7 +102,7 @@ export default { name: 'LoginView' };
102
102
  </script>
103
103
 
104
104
  <script setup lang="ts">
105
- import { ref, reactive, onBeforeMount, onMounted } from 'vue';
105
+ import { ref, reactive, onBeforeMount } from 'vue';
106
106
  import { useRouter } from 'vue-router';
107
107
  import { useI18n } from 'vue-i18n';
108
108
  // import io from 'socket.io-client';
@@ -115,7 +115,7 @@ import { useSystemStoreHook } from '../../store/modules/system';
115
115
  import { useLayout } from '../../layout/hooks/useLayout';
116
116
  import { useDataThemeChange } from '../../layout/hooks/useDataThemeChange';
117
117
  import { getBaseURL, getServiceApi } from '../../api';
118
- import { initDict, userMonitor } from '../../api/user';
118
+ import { userMonitor } from '../../api/user';
119
119
  import { kTOKEN, kCKTOKEN, kLOGINER, kSYSCONFIG, kCRYPTO, kPASSWORD } from '../../contant';
120
120
  import { onLogined, onBeforeLogined } from '../../utils/lifecycle';
121
121
  // import bg from '../../assets/svg/bg.svg?component';
@@ -212,7 +212,7 @@ const onLogin = async () => {
212
212
  cookies.set(kLOGINER, username);
213
213
 
214
214
  // initSocket(username);
215
- await delay(200);
215
+ await delay(64);
216
216
  // 执行登录成功后的函数
217
217
  onLogined();
218
218
  router.push('/');
@@ -272,30 +272,6 @@ const cacheToken = token => {
272
272
  // };
273
273
 
274
274
  const getSysConfig = async () => {
275
- // const [err, data]: [Error, any] = await to(serviceApi.get('/upfm/v1/sysConfig', {}));
276
- // if (!err) {
277
- // const config: any = {};
278
- // data.list?.forEach(item => {
279
- // config[item.configCode] = item.configValue;
280
- // if (item.fileName) {
281
- // config[item.configCode] = getBaseURL() + '/ufil' + item.configValue;
282
- // }
283
- // });
284
- // const title = data.list?.find(f => f.configCode === 'title')?.configValue;
285
- // config['title'] = title || 'U-DP';
286
- // sysConfig.value = config;
287
- // bgStyle.value = {
288
- // backgroundImage: config['backgroundImg'] ? `url(${config['backgroundImg']})` : ``,
289
- // // backgroundImage: config['backgroundImg'] ? `url(${config['backgroundImg']})` : `url1(${welcome})`,
290
- // backgroundRepeat: 'no-repeat',
291
- // backgroundPosition: 'center'
292
- // };
293
- // console.log('bgStyle=', bgStyle);
294
- // const favicon = useFavicon();
295
- // favicon.value = config.favicon || utogether;
296
- // storageLocal.setItem(kSYSCONFIG, config);
297
- // }
298
-
299
275
  sysConfig.value = storageLocal.getItem(kSYSCONFIG);
300
276
 
301
277
  bgStyle.value = {
@@ -310,13 +286,8 @@ const getSysConfig = async () => {
310
286
 
311
287
  dataThemeChange(overallStyle.value);
312
288
 
313
- onMounted(() => {
314
- initDict().then(res => useSystemStoreHook().setDict(res));
315
- });
316
-
317
289
  onBeforeMount(() => {
318
290
  getSysConfig();
319
- // cookies.addPrefix('sitzone-mes');
320
291
  });
321
292
  </script>
322
293
 
@@ -1,2 +0,0 @@
1
- import { t as e } from "./DepartmentPanel-DntGycxr.js";
2
- export { e as default };