n20-common-lib 3.2.38 → 3.2.40

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 (72) hide show
  1. package/package.json +1 -1
  2. package/src/components/AIButton/index.vue +6 -5
  3. package/src/components/AdvancedFilter/index.vue +4 -3
  4. package/src/components/ApprovalButtons/index.vue +26 -22
  5. package/src/components/ApprovalButtons/indexApp.vue +19 -13
  6. package/src/components/ApprovalButtons/selectSpr.vue +1 -1
  7. package/src/components/ApprovalButtons/showAppOpi.vue +5 -5
  8. package/src/components/ApprovalButtons/showOtherAttr.vue +1 -1
  9. package/src/components/ApprovalButtons/showOtherAttrNew.vue +4 -4
  10. package/src/components/ApprovalCard/index.vue +7 -7
  11. package/src/components/ApprovalCard/indexApp.vue +2 -2
  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 +33 -33
  16. package/src/components/DatePicker/index.vue +1 -1
  17. package/src/components/DateSelect/busiDate.vue +7 -4
  18. package/src/components/DateSelect/index.vue +8 -8
  19. package/src/components/DateSelect/quarterDatePicker.vue +11 -11
  20. package/src/components/DynamicField/DynamicField.vue +2 -2
  21. package/src/components/DynamicField/DynamicFieldOptions.vue +57 -57
  22. package/src/components/DynamicField/DynamicFormView.vue +13 -13
  23. package/src/components/DynamicField/DynamicTable.vue +4 -4
  24. package/src/components/DynamicField/contentPop.vue +6 -6
  25. package/src/components/DynamicField/tableList.vue +5 -5
  26. package/src/components/DynamicField/tableView.vue +20 -6
  27. package/src/components/ElectronicArchive/index.vue +20 -17
  28. package/src/components/FileExportAsync/index.vue +3 -3
  29. package/src/components/FileUploadTable/aiCheckDialog.vue +11 -11
  30. package/src/components/FileUploadTable/index.vue +3 -3
  31. package/src/components/HandlingAdvice/index.vue +3 -3
  32. package/src/components/Layout/HeaderWrap/changePwd.vue +2 -2
  33. package/src/components/Layout/HeaderWrap/index.vue +2 -2
  34. package/src/components/Layout/HeaderWrap/switchUser.vue +1 -1
  35. package/src/components/LoginSetting/setItem.vue +16 -16
  36. package/src/components/LoginTemporary/form.vue +2 -2
  37. package/src/components/LoginTemporary/indexN.vue +15 -15
  38. package/src/components/LoginTemporary/retrievePw.vue +4 -4
  39. package/src/components/MdmSelect/index.vue +179 -0
  40. package/src/components/Pivot/ConfigSidebar.vue +27 -25
  41. package/src/components/Pivot/MainToolbar.vue +9 -9
  42. package/src/components/Pivot/ReportSidebar.vue +4 -4
  43. package/src/components/Pivot/TableView.vue +8 -11
  44. package/src/components/Pivot/index.vue +26 -26
  45. package/src/components/ProFilterView/advancedQuery.vue +57 -63
  46. package/src/components/ProFilterView/index.vue +26 -26
  47. package/src/components/SelectDatePickerPro/busiDate.vue +5 -5
  48. package/src/components/SelectDatePickerPro/halfYearPicker.vue +2 -2
  49. package/src/components/SelectDatePickerPro/index.vue +24 -16
  50. package/src/components/SelectDatePickerPro/quarterDatePicker.vue +4 -4
  51. package/src/components/SelectTree/pro.vue +1 -1
  52. package/src/components/Statis/index.vue +1 -1
  53. package/src/components/Statis/statisItem.vue +1 -1
  54. package/src/components/Table/indexO.vue +1 -1
  55. package/src/components/TablePro/filterContent.vue +2 -2
  56. package/src/components/TablePro/filterContent_tree.vue +5 -5
  57. package/src/components/TablePro/index.js +1 -1
  58. package/src/components/TableTransfer/index.vue +1 -1
  59. package/src/components/Upload/index.vue +2 -2
  60. package/src/components/WornPagination/index.vue +1 -1
  61. package/src/components/operatingStatus/index.vue +7 -7
  62. package/src/components/v3/Footer/index.vue +3 -3
  63. package/src/components/v3/TablePro/filterContent.vue +2 -2
  64. package/src/components/v3/TablePro/filterContent_tree.vue +5 -5
  65. package/src/components/v3/TablePro/index.js +1 -1
  66. package/src/components/v3/UploadList/components/aiCheckDialog.vue +11 -11
  67. package/src/components/v3/UploadList/index.vue +10 -10
  68. package/src/i18n.json +8972 -715
  69. package/src/index.js +3 -0
  70. package/src/plugins/SetMenuTree/index.vue +1 -1
  71. package/src/plugins/SetMenuTree/setmenutree.vue +34 -34
  72. package/src/utils/amountInWords.js +6 -6
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <!--结算 日 周 月 年 时间选择控件封装 -->
3
3
  <div class="n20-date-select">
4
- <el-select v-model="type" placeholder="请选择" style="width: 75px" @change="dateTypeSelectChange">
4
+ <el-select v-model="type" :placeholder="$lc('请选择')" style="width: 75px" @change="dateTypeSelectChange">
5
5
  <el-option v-for="(item, index) in selectList" :key="index" :label="item" :value="item" />
6
6
  </el-select>
7
7
  <date-picker
8
- v-if="type === '日' && selectList.includes(type)"
8
+ v-if="type === $lc('日') && selectList.includes(type)"
9
9
  key="day"
10
10
  v-model="day"
11
11
  style="width: 100%"
@@ -16,7 +16,7 @@
16
16
  :placeholder="'选择日' | $lc"
17
17
  />
18
18
  <date-picker
19
- v-if="type === '周' && selectList.includes(type)"
19
+ v-if="type === $lc('周') && selectList.includes(type)"
20
20
  key="week"
21
21
  v-model="week"
22
22
  format="yyyy 第 WW 周"
@@ -28,7 +28,7 @@
28
28
  />
29
29
 
30
30
  <date-picker
31
- v-if="type === '月' && selectList.includes(type)"
31
+ v-if="type === $lc('月') && selectList.includes(type)"
32
32
  key="month"
33
33
  v-model="month"
34
34
  type="month"
@@ -38,16 +38,21 @@
38
38
  v-bind="$attrs"
39
39
  :placeholder="'选择月' | $lc"
40
40
  />
41
- <quarter-date-picker v-if="type === '季'" key="quarter" v-model="quarter" :disabled-date="attrs.disabledDate" />
41
+ <quarter-date-picker
42
+ v-if="type === $lc('季')"
43
+ key="quarter"
44
+ v-model="quarter"
45
+ :disabled-date="attrs.disabledDate"
46
+ />
42
47
  <HalfYearPicker
43
- v-if="type === '半年' && selectList.includes(type)"
48
+ v-if="type === $lc('半年') && selectList.includes(type)"
44
49
  key="year"
45
50
  v-model="halfYear"
46
51
  v-bind="$attrs"
47
52
  :placeholder="'选择半年' | $lc"
48
53
  />
49
54
  <date-picker
50
- v-if="type === '年' && selectList.includes(type)"
55
+ v-if="type === $lc('年') && selectList.includes(type)"
51
56
  key="year"
52
57
  v-model="year"
53
58
  type="year"
@@ -58,23 +63,26 @@
58
63
  :placeholder="'选择年' | $lc"
59
64
  />
60
65
  <el-date-picker
61
- v-if="type === '临时' && selectList.includes(type)"
66
+ v-if="type === $lc('临时') && selectList.includes(type)"
62
67
  v-model="custom"
63
68
  type="daterange"
64
69
  style="width: 100%"
65
70
  value-format="yyyy-MM-dd"
66
- :start-placeholder="$l('开始日期')"
67
- :end-placeholder="$l('结束日期')"
71
+ :start-placeholder="$lc('开始日期')"
72
+ :end-placeholder="$lc('结束日期')"
68
73
  />
69
74
  </div>
70
75
  </template>
71
76
 
72
77
  <script>
73
78
  // TODO: 双向绑定数值格式不统一
74
- import datePicker from '../DatePicker/index.vue'
75
- import quarterDatePicker from './quarterDatePicker'
76
- import HalfYearPicker from './halfYearPicker'
77
79
  import dayjs from 'dayjs'
80
+
81
+ import HalfYearPicker from './halfYearPicker'
82
+ import quarterDatePicker from './quarterDatePicker'
83
+
84
+ import datePicker from '../DatePicker/index.vue'
85
+
78
86
  export default {
79
87
  name: 'SelectDatePickerPro',
80
88
  components: { datePicker, quarterDatePicker, HalfYearPicker },
@@ -96,7 +104,7 @@ export default {
96
104
  ) {
97
105
  return true
98
106
  } else {
99
- console.error('双向绑定的数据必须为个对象,且必须有startDate和endDate属性')
107
+ console.error($lc('双向绑定的数据必须为个对象,且必须有startDate和endDate属性'))
100
108
  return false
101
109
  }
102
110
  }
@@ -104,7 +112,7 @@ export default {
104
112
  selectList: {
105
113
  type: Array,
106
114
  default: () => {
107
- return ['日', '周', '月', '季', '半年', '年', '临时']
115
+ return [$lc('日'), $lc('周'), $lc('月'), $lc('季'), $lc('半年'), $lc('年'), $lc('临时')]
108
116
  }
109
117
  }
110
118
  },
@@ -118,7 +126,7 @@ export default {
118
126
  if (this.selectList.includes(this.value.typeDate)) {
119
127
  return this.value.typeDate
120
128
  } else {
121
- console.error('selectList中没有对应的选项')
129
+ console.error($lc('selectList中没有对应的选项'))
122
130
  return ''
123
131
  }
124
132
  },
@@ -194,16 +194,16 @@ export default {
194
194
  let value = ''
195
195
  switch (val) {
196
196
  case 1:
197
- value = ''
197
+ value = $lc("")
198
198
  break
199
199
  case 2:
200
- value = ''
200
+ value = $lc("")
201
201
  break
202
202
  case 3:
203
- value = ''
203
+ value = $lc("")
204
204
  break
205
205
  case 4:
206
- value = ''
206
+ value = $lc("")
207
207
  break
208
208
  default:
209
209
  break
@@ -17,7 +17,7 @@
17
17
  :value="item[defineProps.value]"
18
18
  style="display: none"
19
19
  />
20
- <el-checkbox v-model="checkD" class="m-l-lg" :label="checkD ? '取消勾选' : '全部勾选'" @change="handleCheckBox" />
20
+ <el-checkbox v-model="checkD" class="m-l-lg" :label="checkD ? $lc('取消勾选') : $lc('全部勾选')" @change="handleCheckBox" />
21
21
  <Tree
22
22
  ref="tree"
23
23
  :data="data"
@@ -70,7 +70,7 @@ export default {
70
70
  },
71
71
  label: {
72
72
  type: String,
73
- default: '已选'
73
+ default: $lc("已选")
74
74
  }
75
75
  },
76
76
  computed: {
@@ -70,7 +70,7 @@ export default {
70
70
  },
71
71
  countLabel: {
72
72
  type: Array,
73
- default: () => ['笔数']
73
+ default: () => [$lc("笔数")]
74
74
  },
75
75
  // 是否多币种
76
76
  isDbz: {
@@ -128,7 +128,7 @@ export default {
128
128
  },
129
129
  created() {
130
130
  if (this.column) {
131
- console.warn('调整列顺序,请使用ShowColumn组件')
131
+ console.warn($lc("调整列顺序,请使用ShowColumn组件"))
132
132
  }
133
133
  }
134
134
  }
@@ -50,12 +50,12 @@
50
50
  </div>
51
51
  </template>
52
52
  <template v-else>
53
- <div class="my-fc-search-empty">无匹配项</div>
53
+ <div class="my-fc-search-empty">{{ $lc('无匹配项') }}</div>
54
54
  </template>
55
55
  </div>
56
56
  <div v-else class="my-fc-search-content">
57
57
  <div class="my-fc-search-top">
58
- <el-input v-model="searchVal" placeholder="输入关键字进行过滤" />
58
+ <el-input v-model="searchVal" :placeholder="$lc('输入关键字进行过滤')" />
59
59
  </div>
60
60
  <ul class="el-table-filter__list">
61
61
  <li
@@ -2,7 +2,7 @@
2
2
  <div class="my-filter-content">
3
3
  <div class="my-fc-search">
4
4
  <div class="my-fc-search-top">
5
- <el-input v-model="filterText" placeholder="输入关键字进行过滤" />
5
+ <el-input v-model="filterText" :placeholder="$lc('输入关键字进行过滤')" />
6
6
  </div>
7
7
  <div class="my-fc-search-content">
8
8
  <template v-if="data.length">
@@ -19,13 +19,13 @@
19
19
  />
20
20
  </template>
21
21
  <template v-else>
22
- <div class="my-fc-search-empty">无匹配项</div>
22
+ <div class="my-fc-search-empty">{{ $lc('无匹配项') }}</div>
23
23
  </template>
24
24
  </div>
25
25
  </div>
26
26
  <div class="flex-box flex-c m-t-s" style="width: 100%">
27
- <el-button type="primary" size="mini" @click="confirmFilterEvent">确认</el-button>
28
- <el-button plan size="mini" @click="resetFilterEvent">重置</el-button>
27
+ <el-button type="primary" size="mini" @click="confirmFilterEvent">{{ $lc('确认') }}</el-button>
28
+ <el-button plan size="mini" @click="resetFilterEvent">{{ $lc('重置') }}</el-button>
29
29
  </div>
30
30
  </div>
31
31
  </template>
@@ -85,7 +85,7 @@ export default {
85
85
  this.data = [
86
86
  {
87
87
  value: 0,
88
- label: '全部',
88
+ label: $lc("全部"),
89
89
  children: column.filters
90
90
  }
91
91
  ]
@@ -84,7 +84,7 @@ vxeTable.formats.mixin({
84
84
  },
85
85
  // 格式化性别
86
86
  formatSex({ cellValue }) {
87
- return cellValue ? (cellValue === '1' ? '' : '') : '--'
87
+ return cellValue ? (cellValue === '1' ? $lc("") : $lc("")) : '--'
88
88
  },
89
89
  // 格式化下拉选项
90
90
  formatSelect({ cellValue }, list) {
@@ -34,7 +34,7 @@ export default {
34
34
  },
35
35
  header: {
36
36
  type: String,
37
- default: '已选择'
37
+ default: $lc("已选择")
38
38
  },
39
39
  selectList: {
40
40
  type: Array,
@@ -41,7 +41,7 @@
41
41
  :percent-msg="percentMsg"
42
42
  :percent="percent"
43
43
  :width="width"
44
- title="文件导入"
44
+ :title="$lc('文件导入')"
45
45
  :show-error-export="showErrorExport"
46
46
  :pagination="pagination"
47
47
  :footer-btn="footer"
@@ -218,7 +218,7 @@ export default {
218
218
  this.fileNameC = ''
219
219
  this.fileUrlC = ''
220
220
  this.fileList.pop()
221
- console.log('删除上传')
221
+ console.log($lc("删除上传"))
222
222
  }
223
223
  } else {
224
224
  const before = this.beforeRemove(this.fileList)
@@ -53,7 +53,7 @@ export default {
53
53
  }
54
54
  },
55
55
  mounted() {
56
- console.warn('WornPagination组件已废弃,未来版本将剔除,请使用Pagination组件')
56
+ console.warn($lc("WornPagination组件已废弃,未来版本将剔除,请使用Pagination组件"))
57
57
  },
58
58
  methods: {
59
59
  pageChange(v) {
@@ -14,13 +14,13 @@ import XEUtils from 'xe-utils'
14
14
  import getJsonc from '../../assets/getJsonc.js'
15
15
  import axios from '../../utils/axios'
16
16
  let enumData = {
17
- D001: '营业阶段',
18
- D002: '日终阶段',
19
- D003: '业务截止',
20
- D004: '营业结束',
21
- D005: '暂停营业',
22
- D006: '反关机',
23
- D007: '系统有异常'
17
+ D001: $lc("营业阶段"),
18
+ D002: $lc("日终阶段"),
19
+ D003: $lc("业务截止"),
20
+ D004: $lc("营业结束"),
21
+ D005: $lc("暂停营业"),
22
+ D006: $lc("反关机"),
23
+ D007: $lc("系统有异常")
24
24
  }
25
25
  export default {
26
26
  name: 'OperatingStatus',
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div class="n20-page-footer-v3" :style="showTopDivider ? 'border-top: 1px solid #E5E6EB;' : undefined">
3
- <div v-if="$slots.leftExtra || $scopedSlots.leftExtra" :class="`n20-page-footer-left ${leftExtraClass}`">
3
+ <div :class="`n20-page-footer-left ${leftExtraClass}`">
4
4
  <slot name="leftExtra"></slot>
5
5
  </div>
6
- <div v-if="$slots.default || $scopedSlots.default" :class="`n20-page-footer-center ${centerClass}`">
6
+ <div :class="`n20-page-footer-center ${centerClass}`">
7
7
  <slot></slot>
8
8
  </div>
9
- <div v-if="$slots.rightExtra || $scopedSlots.rightExtra" :class="`n20-page-footer-right ${rightExtraClass}`">
9
+ <div :class="`n20-page-footer-right ${rightExtraClass}`">
10
10
  <slot name="rightExtra"></slot>
11
11
  </div>
12
12
  </div>
@@ -50,12 +50,12 @@
50
50
  </div>
51
51
  </template>
52
52
  <template v-else>
53
- <div class="my-fc-search-empty">无匹配项</div>
53
+ <div class="my-fc-search-empty">{{ $lc('无匹配项') }}</div>
54
54
  </template>
55
55
  </div>
56
56
  <div v-else class="my-fc-search-content">
57
57
  <div class="my-fc-search-top">
58
- <el-input v-model="searchVal" placeholder="输入关键字进行过滤" />
58
+ <el-input v-model="searchVal" :placeholder="$lc('输入关键字进行过滤')" />
59
59
  </div>
60
60
  <ul class="el-table-filter__list">
61
61
  <li
@@ -2,7 +2,7 @@
2
2
  <div class="my-filter-content">
3
3
  <div class="my-fc-search">
4
4
  <div class="my-fc-search-top">
5
- <el-input v-model="filterText" placeholder="输入关键字进行过滤" />
5
+ <el-input v-model="filterText" :placeholder="$lc('输入关键字进行过滤')" />
6
6
  </div>
7
7
  <div class="my-fc-search-content">
8
8
  <template v-if="data.length">
@@ -19,13 +19,13 @@
19
19
  />
20
20
  </template>
21
21
  <template v-else>
22
- <div class="my-fc-search-empty">无匹配项</div>
22
+ <div class="my-fc-search-empty">{{ $lc('无匹配项') }}</div>
23
23
  </template>
24
24
  </div>
25
25
  </div>
26
26
  <div class="flex-box flex-c m-t-s" style="width: 100%">
27
- <el-button type="primary" size="mini" @click="confirmFilterEvent">确认</el-button>
28
- <el-button plan size="mini" @click="resetFilterEvent">重置</el-button>
27
+ <el-button type="primary" size="mini" @click="confirmFilterEvent">{{ $lc('确认') }}</el-button>
28
+ <el-button plan size="mini" @click="resetFilterEvent">{{ $lc('重置') }}</el-button>
29
29
  </div>
30
30
  </div>
31
31
  </template>
@@ -85,7 +85,7 @@ export default {
85
85
  this.data = [
86
86
  {
87
87
  value: 0,
88
- label: '全部',
88
+ label: $lc("全部"),
89
89
  children: column.filters
90
90
  }
91
91
  ]
@@ -75,7 +75,7 @@ vxeTable.formats.mixin({
75
75
  },
76
76
  // 格式化性别
77
77
  formatSex({ cellValue }) {
78
- return cellValue ? (cellValue === '1' ? '' : '') : '--'
78
+ return cellValue ? (cellValue === '1' ? $lc("") : $lc("")) : '--'
79
79
  },
80
80
  // 格式化下拉选项
81
81
  formatSelect({ cellValue }, list) {
@@ -11,15 +11,15 @@
11
11
  <Table :data="tableData" :columns="checkColumns" height="400px" :show-setsize="true" :cell-default="true">
12
12
  <el-table-column slot="checkStatus" slot-scope="{ column }" v-bind="column">
13
13
  <template slot-scope="{ row }">
14
- <el-tag v-if="row.checkStatus === '0'" effect="dark" type="warning" size="mini">不通过</el-tag>
15
- <el-tag v-if="row.checkStatus === '1'" effect="dark" type="success" size="mini">通过</el-tag>
14
+ <el-tag v-if="row.checkStatus === '0'" effect="dark" type="warning" size="mini">{{ $lc('不通过') }}</el-tag>
15
+ <el-tag v-if="row.checkStatus === '1'" effect="dark" type="success" size="mini">{{ $lc('通过') }}</el-tag>
16
16
  </template>
17
17
  </el-table-column>
18
18
  <el-table-column slot="remark" slot-scope="{ column }" v-bind="column">
19
19
  <template slot-scope="{ row }">
20
20
  <el-input
21
21
  v-model="row.remark"
22
- placeholder="请输入"
22
+ :placeholder="$lc('请输入')"
23
23
  size="normal"
24
24
  clearable
25
25
  :disabled="readonly || row.status === '1'"
@@ -28,8 +28,8 @@
28
28
  </el-table-column>
29
29
  </Table>
30
30
  <div slot="footer" class="flex-box flex-c flex-v p-t-m" style="border-top: 1px solid var(--border-2, #e5e6eb)">
31
- <el-button plain @click="cancel">取消</el-button>
32
- <el-button v-if="!readonly" type="primary" @click="save">确定</el-button>
31
+ <el-button plain @click="cancel">{{ $lc('取消') }}</el-button>
32
+ <el-button v-if="!readonly" type="primary" @click="save">{{ $lc('确定') }}</el-button>
33
33
  </div>
34
34
  </Dialog>
35
35
  </template>
@@ -58,13 +58,13 @@ export default {
58
58
  checkColumns: [
59
59
  {
60
60
  type: 'index',
61
- label: '序号',
61
+ label: $lc("序号"),
62
62
  width: '56',
63
63
  align: 'center',
64
64
  static: 'pre'
65
65
  },
66
66
  {
67
- label: '提示词',
67
+ label: $lc("提示词"),
68
68
  prop: 'prompt',
69
69
  align: 'center',
70
70
  minWidth: '120',
@@ -72,7 +72,7 @@ export default {
72
72
  'show-overflow-tooltip': true
73
73
  },
74
74
  {
75
- label: 'AI识别结果',
75
+ label: $lc("AI识别结果"),
76
76
  prop: 'aiResult',
77
77
  align: 'center',
78
78
  minWidth: '120',
@@ -80,7 +80,7 @@ export default {
80
80
  'show-overflow-tooltip': true
81
81
  },
82
82
  {
83
- label: '校验结果',
83
+ label: $lc("校验结果"),
84
84
  prop: 'checkStatus',
85
85
  slotName: 'checkStatus',
86
86
  align: 'center',
@@ -89,7 +89,7 @@ export default {
89
89
  'show-overflow-tooltip': true
90
90
  },
91
91
  {
92
- label: '说明',
92
+ label: $lc("说明"),
93
93
  prop: 'remark',
94
94
  slotName: 'remark',
95
95
  align: 'center',
@@ -129,7 +129,7 @@ export default {
129
129
  list
130
130
  )
131
131
  if (code === 200) {
132
- this.$message.success('保存成功')
132
+ this.$message.success($lc("保存成功"))
133
133
  this.visibleP = false
134
134
  }
135
135
  },
@@ -4,8 +4,8 @@
4
4
  <div class="panel-top">
5
5
  <div class="summary">
6
6
  <i class="v3-icon-link"></i>
7
- <span>{{ uploadedCount }} 个附件</span>
8
- <el-button type="text" class="summary-action v3-icon-download" @click="downRows">全部下载</el-button>
7
+ <span>{{ uploadedCount }}{{ $lc('个附件') }}</span>
8
+ <el-button type="text" class="summary-action v3-icon-download" @click="downRows">{{ $lc('全部下载') }}</el-button>
9
9
  </div>
10
10
  <div class="flex-box flex-v" v-if="!readonly">
11
11
  <div>
@@ -63,7 +63,7 @@
63
63
  :on-success="(response, file, fileList) => onTypeUploadSuccess(response, file, fileList, group.item)"
64
64
  :on-error="(err, file, fileList) => onTypeUploadError(err, file, fileList, group.item, index)"
65
65
  >
66
- <el-button v-show="!readonly" slot="trigger" type="text" class="upload-trigger">去上传</el-button>
66
+ <el-button v-show="!readonly" slot="trigger" type="text" class="upload-trigger">{{ $lc('去上传') }}</el-button>
67
67
  </Upload>
68
68
  </div>
69
69
 
@@ -128,7 +128,7 @@
128
128
  <Dialog
129
129
  v-drag
130
130
  class="p-a-0"
131
- :title="'附件预览' | $lc"
131
+ :title="$lc('附件预览') | $lc"
132
132
  :visible.sync="visibleP"
133
133
  top="2vh"
134
134
  width="96%"
@@ -278,10 +278,10 @@ export default {
278
278
 
279
279
  return {
280
280
  tabs: [
281
- { key: 'apply', label: '申请附件' },
282
- { key: 'base', label: '基础档案' },
283
- { key: 'credit', label: '征信报告' },
284
- { key: 'source', label: '原始附件' }
281
+ { key: 'apply', label: $lc("申请附件") },
282
+ { key: 'base', label: $lc("基础档案") },
283
+ { key: 'credit', label: $lc("征信报告") },
284
+ { key: 'source', label: $lc("原始附件") }
285
285
  ],
286
286
  activeTab: 0,
287
287
  showAllTypes: true,
@@ -392,7 +392,7 @@ export default {
392
392
  })
393
393
  } else {
394
394
  if (!this.AIOptions.bussType) {
395
- this.$message.error('请先配置bussType')
395
+ this.$message.error($lc("请先配置bussType"))
396
396
  return
397
397
  }
398
398
  try {
@@ -415,7 +415,7 @@ export default {
415
415
  })
416
416
  }
417
417
  } catch (e) {
418
- this.$message.error('AI校验请求失败')
418
+ this.$message.error($lc("AI校验请求失败"))
419
419
  }
420
420
  }
421
421
  },