n20-common-lib 2.22.52 → 2.22.53

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 (97) hide show
  1. package/package.json +1 -1
  2. package/src/components/AIButton/index.vue +6 -5
  3. package/src/components/ApprovalButtons/index.vue +3 -3
  4. package/src/components/ApprovalButtons/indexApp.vue +10 -29
  5. package/src/components/ApprovalButtons/selectSpr.vue +1 -1
  6. package/src/components/ApprovalButtons/showAppOpi.vue +5 -5
  7. package/src/components/ApprovalButtons/showOtherAttr.vue +2 -2
  8. package/src/components/ApprovalButtons/showOtherAttrNew.vue +8 -6
  9. package/src/components/ApprovalCard/index.vue +6 -6
  10. package/src/components/ApprovalCard/indexApp.vue +2 -2
  11. package/src/components/ApprovalRecord/approvalImg.vue +1 -1
  12. package/src/components/ApprovalRecord/approvalImgPro/child.vue +3 -3
  13. package/src/components/ApprovalRecord/approvalImgPro/index.vue +3 -3
  14. package/src/components/AttachmentPass/index.vue +7 -7
  15. package/src/components/DateChoose/index.vue +41 -36
  16. package/src/components/DatePicker/index.vue +2 -2
  17. package/src/components/DateSelect/busiDate.vue +5 -4
  18. package/src/components/DateSelect/index.vue +9 -8
  19. package/src/components/DateSelect/quarterDatePicker.vue +12 -11
  20. package/src/components/Diff/index.vue +2 -1
  21. package/src/components/DynamicField/DynamicField.vue +1 -1
  22. package/src/components/DynamicField/DynamicFieldMixin.js +3 -2
  23. package/src/components/DynamicField/DynamicFieldOptions.vue +80 -58
  24. package/src/components/DynamicField/DynamicTable.vue +4 -4
  25. package/src/components/DynamicField/contentPop.vue +8 -6
  26. package/src/components/DynamicField/tableList.vue +7 -5
  27. package/src/components/DynamicField/tableView.vue +20 -6
  28. package/src/components/ElectronicArchive/index.vue +18 -16
  29. package/src/components/EventBubble/demo/c.vue +2 -1
  30. package/src/components/FileExportAsync/index.vue +11 -10
  31. package/src/components/FileImport/index.vue +2 -1
  32. package/src/components/FileUploadTable/FileUploadTableV3.vue +10 -11
  33. package/src/components/FileUploadTable/aiCheckDialog.vue +13 -11
  34. package/src/components/FileUploadTable/index.vue +15 -14
  35. package/src/components/Filters/indexO.vue +3 -2
  36. package/src/components/HandlingAdvice/index.vue +4 -3
  37. package/src/components/InputNumber/index.vue +2 -1
  38. package/src/components/Layout/HeaderWrap/changePwd.vue +8 -7
  39. package/src/components/Layout/HeaderWrap/index.vue +11 -10
  40. package/src/components/Layout/HeaderWrap/indexN.vue +21 -20
  41. package/src/components/Layout/HeaderWrap/noticePop.vue +8 -7
  42. package/src/components/Layout/HeaderWrap/switchUser.vue +1 -1
  43. package/src/components/Layout/index.vue +2 -1
  44. package/src/components/Layout/indexN.vue +2 -1
  45. package/src/components/LoginSetting/index.vue +14 -13
  46. package/src/components/LoginSetting/indexN.vue +11 -10
  47. package/src/components/LoginSetting/setItem.vue +22 -21
  48. package/src/components/LoginTemporary/form.vue +17 -16
  49. package/src/components/LoginTemporary/index.vue +5 -4
  50. package/src/components/LoginTemporary/indexN.vue +20 -19
  51. package/src/components/LoginTemporary/retrievePw.vue +11 -10
  52. package/src/components/PageHeader/index.vue +2 -1
  53. package/src/components/SelectDatePickerPro/busiDate.vue +6 -4
  54. package/src/components/SelectDatePickerPro/halfYearPicker.vue +3 -2
  55. package/src/components/SelectDatePickerPro/index.vue +13 -11
  56. package/src/components/SelectDatePickerPro/quarterDatePicker.vue +6 -4
  57. package/src/components/SelectTree/pro.vue +1 -1
  58. package/src/components/ShowColumn/index.vue +13 -12
  59. package/src/components/Stamp/index.vue +8 -7
  60. package/src/components/Statis/index.vue +9 -8
  61. package/src/components/Statis/statisItem.vue +4 -3
  62. package/src/components/Table/indexO.vue +2 -1
  63. package/src/components/TablePro/filterContent.vue +2 -2
  64. package/src/components/TablePro/filterContent_tree.vue +6 -5
  65. package/src/components/TablePro/index.js +2 -1
  66. package/src/components/TablePro/index.vue +2 -1
  67. package/src/components/TableTransfer/index.vue +2 -1
  68. package/src/components/Upload/index.vue +9 -8
  69. package/src/components/Upload/uploadMsg.vue +2 -1
  70. package/src/components/WornPagination/index.vue +3 -1
  71. package/src/components/operatingStatus/index.vue +9 -7
  72. package/src/i18n.json +5800 -714
  73. package/src/index.js +2 -2
  74. package/src/plugins/SetMenuTree/index.vue +1 -1
  75. package/src/plugins/SetMenuTree/setmenutree.vue +36 -34
  76. package/src/plugins/Sign/CaMap.js +12 -11
  77. package/src/plugins/Sign/Itrus/index.js +58 -56
  78. package/src/plugins/Sign/Itrus/sign_3720.js +53 -51
  79. package/src/plugins/Sign/NetSM3/index.js +12 -10
  80. package/src/plugins/Sign/NetV3/index.js +20 -18
  81. package/src/plugins/Sign/SkfSign/index.js +12 -10
  82. package/src/plugins/Sign/bjca/XTXSAB.js +17 -16
  83. package/src/plugins/Sign/bjca/index.js +19 -17
  84. package/src/plugins/Sign/cfca/index.js +11 -9
  85. package/src/plugins/Sign/codeMap.js +151 -150
  86. package/src/plugins/Sign/hnca/index.js +51 -49
  87. package/src/plugins/Sign/index.js +6 -4
  88. package/src/plugins/Sign/kySign/index.js +11 -9
  89. package/src/plugins/Sign/netca/index.js +9 -7
  90. package/src/plugins/Sign/netca/netca.base.1.1.0.js +29 -28
  91. package/src/plugins/Sign/sdca/index.js +17 -15
  92. package/src/plugins/Sign/sign.js +10 -8
  93. package/src/plugins/Sign/signV3/sign.js +14 -12
  94. package/src/plugins/Sign/sign_back.js +11 -9
  95. package/src/utils/amountInWords.js +8 -6
  96. package/src/utils/axios.js +9 -8
  97. package/src/utils/relaNo.js +3 -1
@@ -418,12 +418,13 @@ dayjs.extend(duration)
418
418
 
419
419
  import { siteTree2menus } from '../../LoginTemporary/utils'
420
420
 
421
+
421
422
  const prefix =
422
423
  window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || process.env.BASE_URL || '/'
423
424
  const SYSTEM_LIST = [
424
425
  {
425
426
  NO: 'CSZHYW',
426
- NAME: $lc('财司综合业务系统'),
427
+ NAME: $lc("财司综合业务系统"),
427
428
  ICON: undefined,
428
429
  LOGIN_MODE: [],
429
430
  LOGIN_FORGET_MODE: [],
@@ -431,7 +432,7 @@ const SYSTEM_LIST = [
431
432
  },
432
433
  {
433
434
  NO: 'CSYWGL',
434
- NAME: $lc('财司业务管理系统'),
435
+ NAME: $lc("财司业务管理系统"),
435
436
  ICON: undefined,
436
437
  LOGIN_MODE: [],
437
438
  LOGIN_FORGET_MODE: [],
@@ -439,7 +440,7 @@ const SYSTEM_LIST = [
439
440
  },
440
441
  {
441
442
  NO: 'CSFZJC',
442
- NAME: $lc('财司辅助决策系统'),
443
+ NAME: $lc("财司辅助决策系统"),
443
444
  ICON: undefined,
444
445
  LOGIN_MODE: [],
445
446
  LOGIN_FORGET_MODE: [],
@@ -447,7 +448,7 @@ const SYSTEM_LIST = [
447
448
  },
448
449
  {
449
450
  NO: 'CSWY',
450
- NAME: $lc('财司网银系统'),
451
+ NAME: $lc("财司网银系统"),
451
452
  ICON: undefined,
452
453
  LOGIN_MODE: [],
453
454
  LOGIN_FORGET_MODE: [],
@@ -455,7 +456,7 @@ const SYSTEM_LIST = [
455
456
  },
456
457
  {
457
458
  NO: 'JTZL',
458
- NAME: $lc('财司直连平台系统'),
459
+ NAME: $lc("财司直连平台系统"),
459
460
  ICON: undefined,
460
461
  LOGIN_MODE: [],
461
462
  LOGIN_FORGET_MODE: [],
@@ -463,7 +464,7 @@ const SYSTEM_LIST = [
463
464
  },
464
465
  {
465
466
  NO: 'JRWG',
466
- NAME: $lc('金融网关系统'),
467
+ NAME: $lc("金融网关系统"),
467
468
  ICON: undefined,
468
469
  LOGIN_MODE: [],
469
470
  LOGIN_FORGET_MODE: [],
@@ -471,7 +472,7 @@ const SYSTEM_LIST = [
471
472
  },
472
473
  {
473
474
  NO: 'JTSKYWGK',
474
- NAME: $lc('集团司库业务管控系统'),
475
+ NAME: $lc("集团司库业务管控系统"),
475
476
  ICON: undefined,
476
477
  LOGIN_MODE: [],
477
478
  LOGIN_FORGET_MODE: [],
@@ -479,7 +480,7 @@ const SYSTEM_LIST = [
479
480
  },
480
481
  {
481
482
  NO: 'JTSKSJFX',
482
- NAME: $lc('集团数据分析系统'),
483
+ NAME: $lc("集团数据分析系统"),
483
484
  ICON: undefined,
484
485
  LOGIN_MODE: [],
485
486
  LOGIN_FORGET_MODE: [],
@@ -487,7 +488,7 @@ const SYSTEM_LIST = [
487
488
  },
488
489
  {
489
490
  NO: 'ZHIYONG',
490
- NAME: $lc('致用助手'),
491
+ NAME: $lc("致用助手"),
491
492
  ICON: undefined,
492
493
  LOGIN_MODE: [],
493
494
  LOGIN_FORGET_MODE: [],
@@ -495,7 +496,7 @@ const SYSTEM_LIST = [
495
496
  },
496
497
  {
497
498
  NO: 'JRFXGKXT',
498
- NAME: $lc('金融风险管控系统'),
499
+ NAME: $lc("金融风险管控系统"),
499
500
  ICON: undefined,
500
501
  LOGIN_MODE: [],
501
502
  LOGIN_FORGET_MODE: [],
@@ -503,7 +504,7 @@ const SYSTEM_LIST = [
503
504
  },
504
505
  {
505
506
  NO: 'YFW',
506
- NAME: $lc('云服务平台'),
507
+ NAME: $lc("云服务平台"),
507
508
  ICON: undefined,
508
509
  LOGIN_MODE: [],
509
510
  LOGIN_FORGET_MODE: [],
@@ -570,7 +571,7 @@ export default {
570
571
  showNavigation: false,
571
572
  systemChange: false,
572
573
  userNo: window.sessionStorage.getItem('userNo'),
573
- durationTime: $lc('00小时00分00秒'),
574
+ durationTime: $lc("00小时00分00秒"),
574
575
  cpwdV: false,
575
576
  langV: false,
576
577
  langVal: window.localStorage.getItem('pageLang') || 'zh-cn',
@@ -774,7 +775,7 @@ export default {
774
775
  setDurationTime(loginTime) {
775
776
  this.durationTime = dayjs
776
777
  .duration(Date.now() - loginTime)
777
- .format(`HH${$lc('小时')}mm${$lc('')}ss${$lc('')}`)
778
+ .format(`HH${$lc("小时")}mm${$lc("")}ss${$lc("")}`)
778
779
  },
779
780
  // 打开帮助文档
780
781
  openHelp() {
@@ -790,14 +791,14 @@ export default {
790
791
  )
791
792
  .then((res) => {
792
793
  let url = window.URL.createObjectURL(res)
793
- let win = window.open(url, $lc('帮助文档'))
794
+ let win = window.open(url, $lc("帮助文档"))
794
795
  setTimeout(function () {
795
- win.document.title = $lc('帮助文档')
796
+ win.document.title = $lc("帮助文档")
796
797
  }, 1000)
797
798
  })
798
799
  .catch(({ code }) => {
799
800
  if (code === 404) {
800
- this.$message.error($lc('暂无帮助文档,请联系管理员!'))
801
+ this.$message.error($lc("暂无帮助文档,请联系管理员!"))
801
802
  return
802
803
  }
803
804
  })
@@ -943,11 +944,11 @@ export default {
943
944
  logOut() {
944
945
  // alert('退出登录')
945
946
  this.$confirm(
946
- $lc('退出将清除未保存的临时操作,请确认是否继续?'),
947
- $lc('退出提示'),
947
+ $lc("退出将清除未保存的临时操作,请确认是否继续?"),
948
+ $lc("退出提示"),
948
949
  {
949
- confirmButtonText: $lc('确定'),
950
- cancelButtonText: $lc('取消'),
950
+ confirmButtonText: $lc("确定"),
951
+ cancelButtonText: $lc("取消"),
951
952
  type: 'warning'
952
953
  }
953
954
  ).then(() => {
@@ -59,6 +59,7 @@
59
59
  import { $lc } from '../../../utils/i18n/index'
60
60
  import axios from '../../../utils/axios'
61
61
  import emptyC from '../../Empty/index.vue'
62
+
62
63
  export default {
63
64
  components: {
64
65
  emptyC
@@ -68,14 +69,14 @@ export default {
68
69
  let msgT = ''
69
70
  switch (item.messageType) {
70
71
  case '0':
71
- msgT = $lc('业务提醒')
72
+ msgT = $lc("业务提醒")
72
73
  break
73
74
  case '1':
74
- msgT = $lc('异常提醒')
75
+ msgT = $lc("异常提醒")
75
76
  break
76
77
 
77
78
  default:
78
- msgT = $lc('其他提醒')
79
+ msgT = $lc("其他提醒")
79
80
  break
80
81
  }
81
82
  return `【${msgT}】${item.title}`
@@ -188,8 +189,8 @@ export default {
188
189
  },
189
190
  readAll() {
190
191
  this.$msgboxPor({
191
- title: $lc('一键已读'),
192
- message: $lc('确定要把所有未读消息标注为已读吗?'),
192
+ title: $lc("一键已读"),
193
+ message: $lc("确定要把所有未读消息标注为已读吗?"),
193
194
  type: 'warning'
194
195
  }).then(() => {
195
196
  axios
@@ -199,7 +200,7 @@ export default {
199
200
  })
200
201
  .then(({ msg = '' }) => {
201
202
  this.$message({
202
- message: $lc('消息一键已读成功') + msg,
203
+ message: $lc("消息一键已读成功") + msg,
203
204
  type: 'success'
204
205
  })
205
206
  window.postMessage('NstcUpdateNotice')
@@ -213,7 +214,7 @@ export default {
213
214
  readAllAffiche() {
214
215
  axios.post('/bems/1.0/portalNoticeReadRecord', { data: [] }, { loading: false }).then((res) => {
215
216
  this.$message({
216
- message: $lc('系统公告一键已读成功'),
217
+ message: $lc("系统公告一键已读成功"),
217
218
  type: 'success'
218
219
  })
219
220
  window.postMessage('NstcUpdateNotice')
@@ -2,7 +2,7 @@
2
2
  <div>
3
3
  <div>
4
4
  <el-input v-model="searchValue" class="w-224 m-r" />
5
- <el-button type="primary" @click="search">查询</el-button>
5
+ <el-button type="primary" @click="search">{{ $lc('查询') }}</el-button>
6
6
  </div>
7
7
  <el-table :data="userListBanck" height="400px" style="width: 100%; margin-top: 8px">
8
8
  <el-table-column type="index" :label="'序号' | $lc" />
@@ -43,6 +43,7 @@ import asideNav from './AsideNav/index.vue'
43
43
  import headerWrap from './HeaderWrap/index.vue'
44
44
  import tabsNav from './TabsNav/index.vue'
45
45
 
46
+
46
47
  export default {
47
48
  name: 'Layout',
48
49
  components: {
@@ -347,7 +348,7 @@ export default {
347
348
  this.addRouterKey(path, query)
348
349
  }, 300)
349
350
  } else {
350
- console.warn($lc('请求关闭的Tab页签不存在'))
351
+ console.warn($lc("请求关闭的Tab页签不存在"))
351
352
  }
352
353
  },
353
354
  tabCloseNexts(uuid) {
@@ -65,6 +65,7 @@ import headerWrap from './HeaderWrap/indexN.vue'
65
65
  import menuDrawer from './HeaderWrap/menuDrawer.vue'
66
66
  import tabsNav from './TabsNav/index.vue'
67
67
 
68
+
68
69
  export default {
69
70
  name: 'Layout',
70
71
  components: {
@@ -408,7 +409,7 @@ export default {
408
409
  this.addRouterKey(path, query)
409
410
  }, 300)
410
411
  } else {
411
- console.warn($lc('请求关闭的Tab页签不存在'))
412
+ console.warn($lc("请求关闭的Tab页签不存在"))
412
413
  }
413
414
  },
414
415
  tabCloseNexts(uuid) {
@@ -103,6 +103,7 @@
103
103
  <script>
104
104
  import { $lc } from '../../utils/i18n/index'
105
105
 
106
+
106
107
  export default {
107
108
  data() {
108
109
  return {
@@ -127,10 +128,10 @@ export default {
127
128
  checkedList: ['account'],
128
129
  lastCheck: [],
129
130
  plainOptions: [
130
- { label: $lc('账户密码登录'), value: 'account' },
131
- { label: $lc('手机验证码登录'), value: 'pthon' },
132
- { label: $lc('二维码扫码登录'), value: 'qrcode' },
133
- { label: $lc('账户密码验证码登录'), value: 'accountPthon' }
131
+ { label: $lc("账户密码登录"), value: 'account' },
132
+ { label: $lc("手机验证码登录"), value: 'pthon' },
133
+ { label: $lc("二维码扫码登录"), value: 'qrcode' },
134
+ { label: $lc("账户密码验证码登录"), value: 'accountPthon' }
134
135
  ]
135
136
  }
136
137
  },
@@ -163,7 +164,7 @@ export default {
163
164
  _this.loginModel.MAIN_PAGE_TEXT = i.pmValue
164
165
  _this.MAIN_PAGE_TEXT_ID = i.pmId
165
166
  } else if (i.pmName === 'SYSTEM_NAME') {
166
- _this.loginModel.SYSTEM_NAME = i.pmValue ? i.pmValue : $lc('N20智能资金平台')
167
+ _this.loginModel.SYSTEM_NAME = i.pmValue ? i.pmValue : $lc("N20智能资金平台")
167
168
  _this.SYSTEM_NAME_ID = i.pmId
168
169
  }
169
170
  }
@@ -202,7 +203,7 @@ export default {
202
203
  if (this.imgSize < size) {
203
204
  await this.$confirm(
204
205
  `当前图片尺寸大于建议大小(${screen.width}*${screen.height}),将以填充的方式进行处理,是否继续?`,
205
- $lc('提示'),
206
+ $lc("提示"),
206
207
  {
207
208
  type: 'warning'
208
209
  }
@@ -211,7 +212,7 @@ export default {
211
212
  } else if (this.imgSize >= size) {
212
213
  await this.$confirm(
213
214
  `当前图片尺寸小于建议大小(${screen.width}*${screen.height}),可能会发生失真,是否继续?`,
214
- $lc('提示'),
215
+ $lc("提示"),
215
216
  {
216
217
  type: 'warning'
217
218
  }
@@ -222,14 +223,14 @@ export default {
222
223
  if (this.logoSize < size) {
223
224
  await this.$confirm(
224
225
  `当前图片尺寸大于建议大小(108*30px),将以填充的方式进行处理,是否继续?`,
225
- $lc('提示'),
226
+ $lc("提示"),
226
227
  {
227
228
  type: 'warning'
228
229
  }
229
230
  )
230
231
  this.$refs.logUpload.$refs.upload.submit()
231
232
  } else if (this.logoSize >= size) {
232
- await this.$confirm(`当前图片尺寸小于建议大小(108*30px),可能会发生失真,是否继续?`, $lc('提示'), {
233
+ await this.$confirm(`当前图片尺寸小于建议大小(108*30px),可能会发生失真,是否继续?`, $lc("提示"), {
233
234
  type: 'warning'
234
235
  })
235
236
  this.$refs.logUpload.$refs.upload.submit()
@@ -252,13 +253,13 @@ export default {
252
253
  checkError(i) {
253
254
  switch (i.pmName) {
254
255
  case 'SYSTEM_NAME':
255
- this.$message.error($lc('系统名称不能为空'))
256
+ this.$message.error($lc("系统名称不能为空"))
256
257
  break
257
258
  case 'MAIN_PAGE_TEXT':
258
- this.$message.error($lc('登录首页文字显示信息不能为空'))
259
+ this.$message.error($lc("登录首页文字显示信息不能为空"))
259
260
  break
260
261
  case 'LOGIN_MODE':
261
- this.$message.error($lc('登录方式至少勾选一种方式'))
262
+ this.$message.error($lc("登录方式至少勾选一种方式"))
262
263
  break
263
264
  }
264
265
  },
@@ -295,7 +296,7 @@ export default {
295
296
  let secondsToGo = 5
296
297
  this.$message({
297
298
  type: 'success',
298
- message: `${$lc('设置成功,系统将在')} ${secondsToGo} ${$lc('秒后退出到登录页面.')}`
299
+ message: `${$lc("设置成功,系统将在")} ${secondsToGo} ${$lc("秒后退出到登录页面.")}`
299
300
  })
300
301
  const interval = setInterval(() => {
301
302
  secondsToGo -= 1
@@ -51,6 +51,7 @@
51
51
  <script>
52
52
  import { $lc } from '../../utils/i18n/index'
53
53
  import SetItem from './setItem.vue'
54
+
54
55
  export default {
55
56
  components: { SetItem },
56
57
  data() {
@@ -89,18 +90,18 @@ export default {
89
90
  })
90
91
  },
91
92
  async addItem() {
92
- let { value } = await this.$prompt($lc('请输入登录页名称'), $lc('新增'), {
93
- confirmButtonText: $lc('确定'),
94
- cancelButtonText: $lc('取消')
93
+ let { value } = await this.$prompt($lc("请输入登录页名称"), $lc("新增"), {
94
+ confirmButtonText: $lc("确定"),
95
+ cancelButtonText: $lc("取消")
95
96
  })
96
97
  await this.$axios.get(`/bems/portal/portalSysLoginCon/saveLoginCon/${value}`, null, { loading: false })
97
98
 
98
99
  this.Init(value)
99
100
  },
100
101
  async updateItem(item) {
101
- let { value } = await this.$prompt($lc('请输入登录页名称'), $lc('修改'), {
102
- confirmButtonText: $lc('确定'),
103
- cancelButtonText: $lc('取消'),
102
+ let { value } = await this.$prompt($lc("请输入登录页名称"), $lc("修改"), {
103
+ confirmButtonText: $lc("确定"),
104
+ cancelButtonText: $lc("取消"),
104
105
  inputValue: item.logName
105
106
  })
106
107
  await this.$axios.get(`/bems/portal/portalSysLoginCon/updateLoginCon/${item.id}/${value}`, null, {
@@ -111,11 +112,11 @@ export default {
111
112
  },
112
113
  async delItem(item) {
113
114
  await this.$msgboxPor({
114
- title: $lc('确认要删除吗?'),
115
- message: $lc('配置删除后,将不可恢复'),
115
+ title: $lc("确认要删除吗?"),
116
+ message: $lc("配置删除后,将不可恢复"),
116
117
  type: 'error',
117
- confirmButtonText: $lc('确定'),
118
- cancelButtonText: $lc('取消')
118
+ confirmButtonText: $lc("确定"),
119
+ cancelButtonText: $lc("取消")
119
120
  })
120
121
  await this.$axios.get(`/bems/portal/portalSysLoginCon/deleteLoginCon/${item.id}`, null, { loading: false })
121
122
 
@@ -59,7 +59,7 @@
59
59
  form.LOGIN_BG_TYPE = 'dark'
60
60
  }
61
61
  "
62
- >恢复默认</el-button
62
+ >{{ $lc('恢复默认') }}</el-button
63
63
  >
64
64
  </div>
65
65
  <div class="color-placeholder f-s-s">
@@ -71,10 +71,10 @@
71
71
  prop="LOGIN_BG_TYPE"
72
72
  :rules="{ required: true, message: $lc('背景模式不能为空'), trigger: 'change' }"
73
73
  >
74
- <label class="m-r"><span class="m-r-ss" style="color: var(--color-danger)">*</span>背景模式</label>
74
+ <label class="m-r"><span class="m-r-ss" style="color: var(--color-danger)">*</span>{{ $lc('背景模式') }}</label>
75
75
  <el-radio-group v-model="form.LOGIN_BG_TYPE">
76
- <el-radio label="dark">深色背景</el-radio>
77
- <el-radio label="light">浅色背景</el-radio>
76
+ <el-radio label="dark">{{ $lc('深色背景') }}</el-radio>
77
+ <el-radio label="light">{{ $lc('浅色背景') }}</el-radio>
78
78
  </el-radio-group>
79
79
  </el-form-item>
80
80
  </div>
@@ -115,7 +115,7 @@
115
115
  <el-form-item :label="'系统启用设置' | $lc" required class="m-b-0" />
116
116
  <div class="bd-l bd-t bd-r m-b">
117
117
  <el-table :data="form.SYSTEM_LIST">
118
- <el-table-column label="序号" align="center" width="100">
118
+ <el-table-column :label="$lc('序号')" align="center" width="100">
119
119
  <span slot-scope="scope">{{ '0' + (scope.$index + 1) }}</span>
120
120
  </el-table-column>
121
121
  <el-table-column :label="'系统名称' | $lc" prop="NAME">
@@ -205,6 +205,7 @@ import { $lc } from '../../utils/i18n/index'
205
205
  import realUrl from '../../assets/realUrl'
206
206
  import IconMap from '../LoginTemporary/systemIconMap'
207
207
  import imgLoad from '../../utils/imgLoad'
208
+
208
209
  window.imgLoad = imgLoad
209
210
 
210
211
  export default {
@@ -238,56 +239,56 @@ export default {
238
239
  SYSTEM_LIST: [
239
240
  {
240
241
  NO: 'CSZHYW',
241
- NAME: '财司综合业务系统',
242
+ NAME: $lc("财司综合业务系统"),
242
243
  ICON: '',
243
244
  LOGIN_MODE: [],
244
245
  OPEN: true
245
246
  },
246
247
  {
247
248
  NO: 'CSYWGL',
248
- NAME: '财司业务管理系统',
249
+ NAME: $lc("财司业务管理系统"),
249
250
  ICON: '',
250
251
  LOGIN_MODE: [],
251
252
  OPEN: false
252
253
  },
253
254
  {
254
255
  NO: 'CSFZJC',
255
- NAME: '财司辅助决策系统',
256
+ NAME: $lc("财司辅助决策系统"),
256
257
  ICON: '',
257
258
  LOGIN_MODE: [],
258
259
  OPEN: false
259
260
  },
260
261
  {
261
262
  NO: 'CSWY',
262
- NAME: '财司网银系统',
263
+ NAME: $lc("财司网银系统"),
263
264
  ICON: '',
264
265
  LOGIN_MODE: [],
265
266
  OPEN: false
266
267
  },
267
268
  {
268
269
  NO: 'JTZL',
269
- NAME: '财司直连平台系统',
270
+ NAME: $lc("财司直连平台系统"),
270
271
  ICON: '',
271
272
  LOGIN_MODE: [],
272
273
  OPEN: false
273
274
  },
274
275
  {
275
276
  NO: 'JRWG',
276
- NAME: '金融网关系统',
277
+ NAME: $lc("金融网关系统"),
277
278
  ICON: '',
278
279
  LOGIN_MODE: [],
279
280
  OPEN: false
280
281
  },
281
282
  {
282
283
  NO: 'JTSKYWGK',
283
- NAME: '集团司库业务管控系统',
284
+ NAME: $lc("集团司库业务管控系统"),
284
285
  ICON: '',
285
286
  LOGIN_MODE: [],
286
287
  OPEN: false
287
288
  },
288
289
  {
289
290
  NO: 'JTSKSJFX',
290
- NAME: '集团数据分析系统',
291
+ NAME: $lc("集团数据分析系统"),
291
292
  ICON: '',
292
293
  LOGIN_MODE: [],
293
294
  OPEN: false
@@ -295,10 +296,10 @@ export default {
295
296
  ]
296
297
  },
297
298
  plainOptions: [
298
- { label: $lc('账户密码登录'), value: 'account' },
299
- { label: $lc('手机验证码登录'), value: 'pthon' },
300
- { label: $lc('二维码扫码登录'), value: 'qrcode' },
301
- { label: $lc('账户密码验证码登录'), value: 'accountPthon' }
299
+ { label: $lc("账户密码登录"), value: 'account' },
300
+ { label: $lc("手机验证码登录"), value: 'pthon' },
301
+ { label: $lc("二维码扫码登录"), value: 'qrcode' },
302
+ { label: $lc("账户密码验证码登录"), value: 'accountPthon' }
302
303
  ],
303
304
  systemItem: undefined,
304
305
  key_1: 0,
@@ -331,7 +332,7 @@ export default {
331
332
  try {
332
333
  this.form[k] = k === 'LOGIN_URL' ? obj.pmValue : JSON.parse(obj.pmValue)
333
334
  } catch (error) {
334
- console.error(k + '解析错误')
335
+ console.error(k + $lc("解析错误"))
335
336
  }
336
337
  }
337
338
  } else {
@@ -342,7 +343,7 @@ export default {
342
343
  try {
343
344
  this.$set(this.form.SYSTEM_LIST, i, JSON.parse(obj.pmValue))
344
345
  } catch (error) {
345
- console.error('SYSTEM_LIST[' + item.NO + ']解析错误')
346
+ console.error('SYSTEM_LIST[' + item.NO + $lc("]解析错误"))
346
347
  }
347
348
  }
348
349
  })
@@ -360,7 +361,7 @@ export default {
360
361
  async save() {
361
362
  let vPro = this.$refs['form'].validate()
362
363
  vPro.catch(() => {
363
- this.$message.error($lc('必填项不能为空'))
364
+ this.$message.error($lc("必填项不能为空"))
364
365
  })
365
366
  await vPro
366
367
  let data = []
@@ -399,7 +400,7 @@ export default {
399
400
  let secondsToGo = 5
400
401
  this.$message({
401
402
  type: 'success',
402
- message: `${$lc('设置成功,系统将在')} ${secondsToGo} ${$lc('秒后退出到登录页面.')}`
403
+ message: `${$lc("设置成功,系统将在")} ${secondsToGo} ${$lc("秒后退出到登录页面.")}`
403
404
  })
404
405
  const interval = setInterval(() => {
405
406
  secondsToGo -= 1
@@ -212,6 +212,7 @@ import { setItem } from '../../utils/storageEdit'
212
212
  import qrCode from './qrcode.vue'
213
213
  import { siteTree2menus, siteTree2RelaNos } from './utils'
214
214
 
215
+
215
216
  function encode(pwd = '', key = 0) {
216
217
  if (pwd === '') return ''
217
218
 
@@ -273,10 +274,10 @@ export default {
273
274
  fakePwd: 'a1b2c3d4',
274
275
  loadingN: 0,
275
276
  loginTypeMap: {
276
- account: $lc('账号密码登录'),
277
- pthon: $lc('手机验证码登录'),
278
- qrcode: $lc('二维码扫码登录'),
279
- accountPthon: $lc('账户密码验证码登录')
277
+ account: $lc("账号密码登录"),
278
+ pthon: $lc("手机验证码登录"),
279
+ qrcode: $lc("二维码扫码登录"),
280
+ accountPthon: $lc("账户密码验证码登录")
280
281
  },
281
282
 
282
283
  theType: this.loginTypes[0],
@@ -289,27 +290,27 @@ export default {
289
290
  pwd: '',
290
291
  rules: {
291
292
  username: [
292
- { required: true, message: $lc('请输入账号!'), trigger: 'blur' }
293
+ { required: true, message: $lc("请输入账号!"), trigger: 'blur' }
293
294
  ],
294
295
  password: [
295
- { required: true, message: $lc('请输入密码!'), trigger: 'blur' }
296
+ { required: true, message: $lc("请输入密码!"), trigger: 'blur' }
296
297
  ],
297
298
  code: [
298
- { required: true, message: $lc('请输入验证码!'), trigger: 'blur' }
299
+ { required: true, message: $lc("请输入验证码!"), trigger: 'blur' }
299
300
  ],
300
301
  imageCode: [
301
- { required: true, message: $lc('请输入图形验证码!'), trigger: 'blur' }
302
+ { required: true, message: $lc("请输入图形验证码!"), trigger: 'blur' }
302
303
  ],
303
304
  phone: [
304
- { required: true, message: $lc('请输入手机号!'), trigger: 'blur' },
305
+ { required: true, message: $lc("请输入手机号!"), trigger: 'blur' },
305
306
  {
306
307
  pattern: /^1\d{10}$/,
307
- message: $lc('请输入正确手机号!'),
308
+ message: $lc("请输入正确手机号!"),
308
309
  trigger: 'blur'
309
310
  }
310
311
  ]
311
312
  },
312
- codeNum: $lc('验证码'),
313
+ codeNum: $lc("验证码"),
313
314
  getAzCount: 0,
314
315
  imageUrl: undefined
315
316
  }
@@ -379,10 +380,10 @@ export default {
379
380
  num--
380
381
  } else {
381
382
  clearTimeout(this.setTimeNum)
382
- this.codeNum = $lc('验证码')
383
+ this.codeNum = $lc("验证码")
383
384
  }
384
385
  },
385
- sendMsg(type = 'phone', typeName = $lc('手机号')) {
386
+ sendMsg(type = 'phone', typeName = $lc("手机号")) {
386
387
  this.$refs['login-form'].validateField(type, (valid) => {
387
388
  if (!valid) {
388
389
  this.outTime(60)
@@ -409,7 +410,7 @@ export default {
409
410
  })
410
411
  .catch(() => {
411
412
  clearTimeout(this.setTimeNum)
412
- this.codeNum = $lc('验证码')
413
+ this.codeNum = $lc("验证码")
413
414
  })
414
415
  }
415
416
  })
@@ -462,7 +463,7 @@ export default {
462
463
  this.getAzCount = 0
463
464
  resolve()
464
465
  } catch (error) {
465
- console.error('密码加密错误:' + JSON.stringify(data))
466
+ console.error($lc("密码加密错误:") + JSON.stringify(data))
466
467
  this.authorizationCode(username, password, code) // 再次请求
467
468
  .then(resolve)
468
469
  .catch(reject)
@@ -662,7 +663,7 @@ export default {
662
663
  this.userNo = userInfo.userNo
663
664
  sessionStorage.setItem('User_Info', tokenObj.user_name)
664
665
  } catch (error) {
665
- console.error('accessToken解析错误:' + data.accessToken)
666
+ console.error($lc("accessToken解析错误:") + data.accessToken)
666
667
  }
667
668
  this.loadingSub()
668
669