n20-common-lib 3.2.55 → 3.2.56
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/nstc-g6/components/Calendar/src/main.vue +1 -1
- package/nstc-g6/components/Form/AutocompleteCustom/index.vue +3 -1
- package/nstc-g6/components/Form/BusinessSpecific/InputWithUnit.vue +5 -4
- package/nstc-g6/components/Form/BusinessSpecific/SelectTreeDialog.vue +18 -15
- package/nstc-g6/components/Form/Component.vue +1 -1
- package/nstc-g6/components/Form/ComponentSecond.vue +1 -1
- package/nstc-g6/components/Form/DatepickerCustom/index.vue +3 -3
- package/nstc-g6/components/Form/InputAndDialog/src/main.vue +5 -4
- package/nstc-g6/components/Form/InputCustom/index.vue +3 -2
- package/nstc-g6/components/Form/IntervalinputCustom/index.vue +2 -1
- package/nstc-g6/components/Form/ItemSecond.vue +2 -2
- package/nstc-g6/components/Form/SelectAccount/src/main.vue +9 -8
- package/nstc-g6/components/Form/SelectAndDialog/src/main.vue +5 -4
- package/nstc-g6/components/Form/SelectCashFlow/src/main.vue +7 -6
- package/nstc-g6/components/Form/SelectCustom/index.vue +3 -2
- package/nstc-g6/components/Form/SelectSubject/src/main.vue +8 -7
- package/nstc-g6/components/Form/SelectindialogCustom/index.vue +3 -2
- package/nstc-g6/components/Form/UploadCustom/index.vue +4 -3
- package/nstc-g6/components/Form/configs.js +2 -1
- package/nstc-g6/components/Form/configsSecond.js +2 -1
- package/nstc-g6/components/Form/payeePersonSelect/src/main.vue +15 -18
- package/nstc-g6/components/FormGroup/src/main.vue +9 -6
- package/nstc-g6/components/FormGroup/src/validate.js +3 -1
- package/nstc-g6/components/InputTag/InputTag.vue +1 -1
- package/nstc-g6/components/NstcConfirm/NstcConfirm.vue +5 -4
- package/nstc-g6/components/NstcDialog/NstcDialog.vue +5 -2
- package/nstc-g6/components/NstcDialogTable/NstcDialogTable.vue +5 -3
- package/nstc-g6/components/NstcDropdownTree/NstcDropdownTree.vue +5 -4
- package/nstc-g6/components/NstcElectronicFile/NstcElectronicFile.vue +32 -30
- package/nstc-g6/components/NstcExcelCustomImport/NstcExcelCustomImport.vue +17 -15
- package/nstc-g6/components/NstcExcelExport/NstcExcelExport.vue +3 -2
- package/nstc-g6/components/NstcExcelImport/NstcExcelImport.vue +18 -16
- package/nstc-g6/components/NstcExcelImportN/NstcExcelImportN.vue +17 -15
- package/nstc-g6/components/NstcFileUpload/NstcFileUpload.vue +39 -37
- package/nstc-g6/components/NstcForm/AutocompleteCustom/index.vue +3 -1
- package/nstc-g6/components/NstcForm/BusinessSpecific/InputWithUnit.vue +5 -4
- package/nstc-g6/components/NstcForm/BusinessSpecific/SelectTreeDialog.vue +16 -15
- package/nstc-g6/components/NstcForm/Component.vue +1 -1
- package/nstc-g6/components/NstcForm/ComponentSecond.vue +1 -1
- package/nstc-g6/components/NstcForm/DatepickerCustom/index.vue +3 -3
- package/nstc-g6/components/NstcForm/InputAndDialog/NstcInputAndDialog.vue +5 -4
- package/nstc-g6/components/NstcForm/InputCustom/index.vue +3 -2
- package/nstc-g6/components/NstcForm/IntervalInputCustom/index.vue +2 -1
- package/nstc-g6/components/NstcForm/ItemSecond.vue +2 -2
- package/nstc-g6/components/NstcForm/SelectAccount/NstcSelectAccount.vue +11 -10
- package/nstc-g6/components/NstcForm/SelectAndDialog/NstcSelectAndDialog.vue +5 -4
- package/nstc-g6/components/NstcForm/SelectCashFlow/NstcSelectCashFlow.vue +9 -8
- package/nstc-g6/components/NstcForm/SelectCustom/index.vue +3 -2
- package/nstc-g6/components/NstcForm/SelectSubject/NstcSelectSubject.vue +10 -9
- package/nstc-g6/components/NstcForm/SelectindialogCustom/index.vue +4 -3
- package/nstc-g6/components/NstcForm/UploadCustom/index.vue +4 -3
- package/nstc-g6/components/NstcForm/configs.js +2 -1
- package/nstc-g6/components/NstcForm/configsSecond.js +2 -1
- package/nstc-g6/components/NstcForm/payeePersonSelect/NstcPayeePerson.vue +15 -14
- package/nstc-g6/components/NstcPagination/NstcPagination.vue +9 -7
- package/nstc-g6/components/NstcScreenFull/NstcScreenFull.vue +3 -1
- package/nstc-g6/components/NstcSelectTree/NstcSelectTree.vue +6 -5
- package/nstc-g6/components/NstcSelectTreeList/NstcSelectTreeList.vue +4 -3
- package/nstc-g6/components/NstcTable/NstcTable.vue +3 -2
- package/nstc-g6/components/NstcTableSet/NstcTableSet.vue +16 -14
- package/nstc-g6/components/NstcThemePicker/NstcThemePicker.vue +3 -1
- package/nstc-g6/components/NstcWorkBench/NstcWorkBench.vue +36 -32
- package/nstc-g6/components/Search/NstcSearch.vue +8 -6
- package/nstc-g6/components/approvelTwo/main.vue +6 -5
- package/nstc-g6/components/approvelTwo/progress.vue +2 -2
- package/nstc-g6/index.js +3 -1
- package/nstc-g6/utils/dateAndValidator.js +8 -6
- package/nstc-g6/utils/vendor/Export2Zip.js +2 -1
- package/package.json +1 -1
- package/src/components/ApprovalButtons/index.vue +1 -1
- package/src/components/ApprovalButtons/indexApp.vue +1 -1
- package/src/components/ApprovalButtons/selectSpr.vue +3 -3
- package/src/components/ApprovalButtons/showOtherAttr.vue +1 -1
- package/src/components/ApprovalRecord/approvalImg.vue +2 -1
- package/src/components/AttachmentPass/index.vue +1 -1
- package/src/components/DateChoose/index.vue +3 -3
- package/src/components/DateSelect/index.vue +1 -1
- package/src/components/DateSelect/quarterDatePicker.vue +5 -5
- package/src/components/DynamicField/DynamicFieldOptions.vue +4 -4
- package/src/components/DynamicField/tableList.vue +1 -1
- package/src/components/ElectronicArchive/index.vue +1 -1
- package/src/components/FileUploadTable/index.vue +1 -1
- package/src/components/LoginSetting/index.vue +19 -9
- package/src/components/LoginTemporary/form.vue +2 -4
- package/src/components/LoginTemporary/index.vue +1 -1
- package/src/components/LoginTemporary/retrievePw.vue +8 -8
- package/src/components/Pivot/ChartView.vue +1 -1
- package/src/components/Pivot/TableView.vue +1 -1
- package/src/components/Pivot/index.vue +11 -7
- package/src/components/ProFilterView/index.vue +4 -3
- package/src/components/SelectDatePickerPro/halfYearPicker.vue +4 -4
- package/src/components/SelectDatePickerPro/index.vue +1 -1
- package/src/components/SelectDatePickerPro/quarterDatePicker.vue +5 -5
- package/src/components/TableSetSize/index.vue +2 -2
- package/src/components/Upload/index.vue +1 -1
- package/src/components/operatingStatus/index.vue +1 -1
- package/src/components/v3/UploadList/index.vue +1 -1
- package/src/i18n.json +802 -4
- package/src/plugins/Print/print-js/src/js/init.js +2 -1
- package/src/plugins/SetMenuTree/setmenutree.vue +3 -3
- package/src/plugins/SetMenuTree/utils.js +2 -1
- package/src/plugins/Sign/Itrus/index.js +12 -9
- package/src/plugins/Sign/Itrus/sign_3720.js +13 -8
- package/src/plugins/Sign/NetSM3/index.js +14 -11
- package/src/plugins/Sign/NetV3/index.js +17 -16
- package/src/plugins/Sign/SkfSign/index.js +14 -11
- package/src/plugins/Sign/bjca/index.js +21 -18
- package/src/plugins/Sign/cfca/index.js +10 -9
- package/src/plugins/Sign/hnca/index.js +11 -11
- package/src/plugins/Sign/index.js +2 -1
- package/src/plugins/Sign/kySign/index.js +13 -10
- package/src/plugins/Sign/netca/index.js +8 -7
- package/src/plugins/Sign/sdca/index.js +16 -15
- package/src/plugins/Sign/sign.js +13 -10
- package/src/plugins/Sign/signV3/sign.js +17 -14
- package/src/plugins/Sign/sign_back.js +13 -10
- package/src/utils/xls2json.js +2 -1
- package/src/utils/xlsx2json.js +2 -1
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
</el-col>
|
|
55
55
|
<el-col :span="4">
|
|
56
56
|
<div class="search-btn">
|
|
57
|
-
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick"
|
|
58
|
-
<el-button class="nstc-g6-common-btn-3" style="margin-left: 8px" @click="queryReset"
|
|
57
|
+
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick">{{ $lc('查询') }}</el-button>
|
|
58
|
+
<el-button class="nstc-g6-common-btn-3" style="margin-left: 8px" @click="queryReset">{{ $lc('重置') }}</el-button>
|
|
59
59
|
</div>
|
|
60
60
|
</el-col>
|
|
61
61
|
</el-row>
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
<script>
|
|
68
68
|
import axios from '../../../../src/utils/axios'
|
|
69
69
|
import SelectAndDialog from '../SelectAndDialog/NstcSelectAndDialog.vue'
|
|
70
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
70
71
|
export default {
|
|
71
72
|
name: 'NstcSelectAccount',
|
|
72
73
|
components: { SelectAndDialog },
|
|
@@ -107,14 +108,14 @@ export default {
|
|
|
107
108
|
chMapper: {
|
|
108
109
|
type: Object,
|
|
109
110
|
default: () => ({
|
|
110
|
-
title: '选择账号',
|
|
111
|
-
plcInput: '请输入',
|
|
112
|
-
plcSelect: '请输入或选择',
|
|
113
|
-
noselectmsg: '请选择账号',
|
|
114
|
-
accountAgencyLabel: '开户机构',
|
|
115
|
-
accountLabel: '账号',
|
|
116
|
-
accountNameLabel: '账户名',
|
|
117
|
-
accountNameTableLabel: '户名'
|
|
111
|
+
title: $lc('选择账号'),
|
|
112
|
+
plcInput: $lc('请输入'),
|
|
113
|
+
plcSelect: $lc('请输入或选择'),
|
|
114
|
+
noselectmsg: $lc('请选择账号'),
|
|
115
|
+
accountAgencyLabel: $lc('开户机构'),
|
|
116
|
+
accountLabel: $lc('账号'),
|
|
117
|
+
accountNameLabel: $lc('账户名'),
|
|
118
|
+
accountNameTableLabel: $lc('户名')
|
|
118
119
|
})
|
|
119
120
|
},
|
|
120
121
|
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
<script>
|
|
46
46
|
import axios from '../../../../src/utils/axios'
|
|
47
47
|
import DialogTable from '../../NstcDialogTable/NstcDialogTable'
|
|
48
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
48
49
|
export default {
|
|
49
50
|
name: 'NstcSelectAndDialog',
|
|
50
51
|
components: { DialogTable },
|
|
@@ -115,10 +116,10 @@ export default {
|
|
|
115
116
|
chMapper: {
|
|
116
117
|
type: Object,
|
|
117
118
|
default: () => ({
|
|
118
|
-
title: '选择xx',
|
|
119
|
-
noselectmsg: '请选择xx',
|
|
120
|
-
plcInput: '请输入',
|
|
121
|
-
plcSelect: '请选择'
|
|
119
|
+
title: $lc('选择xx'),
|
|
120
|
+
noselectmsg: $lc('请选择xx'),
|
|
121
|
+
plcInput: $lc('请输入'),
|
|
122
|
+
plcSelect: $lc('请选择')
|
|
122
123
|
})
|
|
123
124
|
},
|
|
124
125
|
// 是否添加懒加载
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
<el-input :placeholder="chMapper.plcInput" v-model="formSearch.flowName" maxlength="60" clearable></el-input>
|
|
30
30
|
</el-form-item>
|
|
31
31
|
<el-form-item>
|
|
32
|
-
<el-button type="primary" @click="searchClick"
|
|
33
|
-
<el-button class="nstc-g6-common-btn-3" @click="queryReset"
|
|
32
|
+
<el-button type="primary" @click="searchClick">{{ $lc('查询') }}</el-button>
|
|
33
|
+
<el-button class="nstc-g6-common-btn-3" @click="queryReset">{{ $lc('重置') }}</el-button>
|
|
34
34
|
</el-form-item>
|
|
35
35
|
</el-form>
|
|
36
36
|
</div>
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
<script>
|
|
41
41
|
import SelectAndDialog from '../SelectAndDialog/NstcSelectAndDialog.vue'
|
|
42
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
42
43
|
export default {
|
|
43
44
|
name: 'NstcSelectCashFlow',
|
|
44
45
|
components: { SelectAndDialog },
|
|
@@ -51,12 +52,12 @@ export default {
|
|
|
51
52
|
chMapper: {
|
|
52
53
|
type: Object,
|
|
53
54
|
default: () => ({
|
|
54
|
-
title: '选择现金流',
|
|
55
|
-
plcInput: '请输入',
|
|
56
|
-
plcSelect: '请选择',
|
|
57
|
-
noselectmsg: '请选择现金流',
|
|
58
|
-
flowNoLabel: '现金流编号',
|
|
59
|
-
flowNameLabel: '现金流名称'
|
|
55
|
+
title: $lc('选择现金流'),
|
|
56
|
+
plcInput: $lc('请输入'),
|
|
57
|
+
plcSelect: $lc('请选择'),
|
|
58
|
+
noselectmsg: $lc('请选择现金流'),
|
|
59
|
+
flowNoLabel: $lc('现金流编号'),
|
|
60
|
+
flowNameLabel: $lc('现金流名称')
|
|
60
61
|
})
|
|
61
62
|
}
|
|
62
63
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
v-bind="$attrs"
|
|
7
7
|
class="input-w"
|
|
8
8
|
:style="{ width: parseFloat(width ? width : 224) + 'px' }"
|
|
9
|
-
|
|
9
|
+
:placeholder="placeholder || $lc('请选择')"
|
|
10
10
|
:loading="loading"
|
|
11
11
|
:remote="remote"
|
|
12
12
|
:remote-method="remoteMethod"
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
<script>
|
|
49
49
|
import axios from '../../../../src/utils/axios'
|
|
50
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
50
51
|
|
|
51
52
|
export default {
|
|
52
53
|
name: 'SelectCustom',
|
|
@@ -159,7 +160,7 @@ export default {
|
|
|
159
160
|
placeholder: {
|
|
160
161
|
type: String,
|
|
161
162
|
default: function () {
|
|
162
|
-
return '请选择'
|
|
163
|
+
return $lc('请选择')
|
|
163
164
|
}
|
|
164
165
|
},
|
|
165
166
|
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
<el-input :placeholder="chMapper.plcInput" v-model="formSearch.kmName" maxlength="60" clearable> </el-input>
|
|
26
26
|
</el-form-item>
|
|
27
27
|
<el-form-item>
|
|
28
|
-
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick"
|
|
29
|
-
<el-button style="margin-left: 8px" class="nstc-g6-common-btn-3" @click="queryReset"
|
|
28
|
+
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick">{{ $lc('查询') }}</el-button>
|
|
29
|
+
<el-button style="margin-left: 8px" class="nstc-g6-common-btn-3" @click="queryReset">{{ $lc('重置') }}</el-button>
|
|
30
30
|
</el-form-item>
|
|
31
31
|
</el-form>
|
|
32
32
|
</div>
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
<script>
|
|
37
37
|
import SelectAndDialog from '../SelectAndDialog/NstcSelectAndDialog.vue'
|
|
38
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
38
39
|
|
|
39
40
|
export default {
|
|
40
41
|
name: 'NstcSelectSubject',
|
|
@@ -48,13 +49,13 @@ export default {
|
|
|
48
49
|
chMapper: {
|
|
49
50
|
type: Object,
|
|
50
51
|
default: () => ({
|
|
51
|
-
title: '选择科目',
|
|
52
|
-
plcInput: '请输入',
|
|
53
|
-
plcSelect: '请选择',
|
|
54
|
-
noselectmsg: '请选择科目',
|
|
55
|
-
subjectNoLabel: '科目编号',
|
|
56
|
-
subjectNameLabel: '科目名称',
|
|
57
|
-
balanceDirectionlabel: '余额方向'
|
|
52
|
+
title: $lc('选择科目'),
|
|
53
|
+
plcInput: $lc('请输入'),
|
|
54
|
+
plcSelect: $lc('请选择'),
|
|
55
|
+
noselectmsg: $lc('请选择科目'),
|
|
56
|
+
subjectNoLabel: $lc('科目编号'),
|
|
57
|
+
subjectNameLabel: $lc('科目名称'),
|
|
58
|
+
balanceDirectionlabel: $lc('余额方向')
|
|
58
59
|
})
|
|
59
60
|
},
|
|
60
61
|
disabled: {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
></i>
|
|
32
32
|
</div>
|
|
33
33
|
<div v-else class="select-in-dialog-result" @click="!disabled && (dialogVisible = true) && handleSelectClick()">
|
|
34
|
-
<span :class="{ 'select-in-dialog-result-null': !resultLabel }">{{ resultLabel || '请选择' }}</span>
|
|
34
|
+
<span :class="{ 'select-in-dialog-result-null': !resultLabel }">{{ resultLabel || $lc('请选择') }}</span>
|
|
35
35
|
<el-button
|
|
36
36
|
v-if="clearable && !disabled && hasValue"
|
|
37
37
|
type="text"
|
|
@@ -90,6 +90,7 @@ import SelectCustom from '../SelectCustom/index'
|
|
|
90
90
|
import NstcFormDialog from '../ComponentSecond'
|
|
91
91
|
|
|
92
92
|
import axios from '../../../../src/utils/axios'
|
|
93
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
93
94
|
|
|
94
95
|
export default {
|
|
95
96
|
name: 'NstcSelectInDialog',
|
|
@@ -211,7 +212,7 @@ export default {
|
|
|
211
212
|
placeholder: {
|
|
212
213
|
type: String,
|
|
213
214
|
default: function () {
|
|
214
|
-
return '请选择'
|
|
215
|
+
return $lc('请选择')
|
|
215
216
|
}
|
|
216
217
|
},
|
|
217
218
|
|
|
@@ -281,7 +282,7 @@ export default {
|
|
|
281
282
|
multipleSelected: [],
|
|
282
283
|
footerHandlers: {
|
|
283
284
|
confirm: {
|
|
284
|
-
text: '确认'
|
|
285
|
+
text: $lc('确认')
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
288
|
}
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
import closeImg from './iconxitongshezhi-yichu.png'
|
|
52
52
|
|
|
53
53
|
import axios from '../../../../src/utils/axios'
|
|
54
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
54
55
|
// import OSS from 'ali-oss'
|
|
55
56
|
|
|
56
57
|
export default {
|
|
@@ -62,7 +63,7 @@ export default {
|
|
|
62
63
|
text: {
|
|
63
64
|
type: String,
|
|
64
65
|
default: function () {
|
|
65
|
-
return '请选择附件'
|
|
66
|
+
return $lc('请选择附件')
|
|
66
67
|
}
|
|
67
68
|
},
|
|
68
69
|
|
|
@@ -224,7 +225,7 @@ export default {
|
|
|
224
225
|
},
|
|
225
226
|
|
|
226
227
|
fileBtnName() {
|
|
227
|
-
return this.isView ? '下载' : '删除'
|
|
228
|
+
return this.isView ? $lc('下载') : $lc('删除')
|
|
228
229
|
}
|
|
229
230
|
},
|
|
230
231
|
|
|
@@ -356,7 +357,7 @@ export default {
|
|
|
356
357
|
fileMaxCheck(files) {
|
|
357
358
|
return new Promise((resolve, reject) => {
|
|
358
359
|
if (this.multiple && files.length + this._value.length > this.max) {
|
|
359
|
-
reject({ reason:
|
|
360
|
+
reject({ reason: `${$lc('最多上传文件数:')}${this.max}` })
|
|
360
361
|
}
|
|
361
362
|
|
|
362
363
|
resolve()
|
|
@@ -43,6 +43,7 @@ import selectcashflowCustom from './SelectCashFlow/NstcSelectCashFlow'
|
|
|
43
43
|
import selectsubjectCustom from './SelectSubject/NstcSelectSubject'
|
|
44
44
|
import payeePersonSelect from './payeePersonSelect/NstcPayeePerson'
|
|
45
45
|
import inputAndDialog from './InputAndDialog/NstcInputAndDialog'
|
|
46
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
46
47
|
|
|
47
48
|
// 定义支持的类型
|
|
48
49
|
export const SUPPORT_TYPE = [
|
|
@@ -167,7 +168,7 @@ export function getDefaultValue({ mold, multiple, type, default: def }) {
|
|
|
167
168
|
break
|
|
168
169
|
|
|
169
170
|
default:
|
|
170
|
-
alert(
|
|
171
|
+
alert(`${$lc('未匹配到符合该类型')}${mold}${$lc('的功能,请联系开发人员')}`)
|
|
171
172
|
_def = null
|
|
172
173
|
break
|
|
173
174
|
}
|
|
@@ -32,6 +32,7 @@ import TextCustom from './TextCustom'
|
|
|
32
32
|
import nstcselecttreeCustom from '../NstcSelectTree/NstcSelectTree'
|
|
33
33
|
import nstcselecttreeListCustom from '../NstcSelectTreeList/NstcSelectTreeList'
|
|
34
34
|
import nstcfileuploadCustom from '../NstcFileUpload/NstcFileUpload'
|
|
35
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
35
36
|
|
|
36
37
|
// 定义支持的类型
|
|
37
38
|
export const SUPPORT_TYPE = [
|
|
@@ -135,7 +136,7 @@ export function getDefaultValue({ mold, multiple, type, default: def }) {
|
|
|
135
136
|
break
|
|
136
137
|
|
|
137
138
|
default:
|
|
138
|
-
alert(
|
|
139
|
+
alert(`${$lc('未匹配到符合该类型Second-')}${mold}${$lc('的功能,请联系开发人员')}`)
|
|
139
140
|
_def = null
|
|
140
141
|
break
|
|
141
142
|
}
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
>
|
|
20
20
|
<div class="form-wrap">
|
|
21
21
|
<el-form inline :model="formSearch">
|
|
22
|
-
<el-form-item :label="'所属单位'">
|
|
23
|
-
<el-input :placeholder="'请输入'" v-model="formSearch.unitName" maxlength="60" disabled clearable> </el-input>
|
|
22
|
+
<el-form-item :label="$lc('所属单位')">
|
|
23
|
+
<el-input :placeholder="$lc('请输入')" v-model="formSearch.unitName" maxlength="60" disabled clearable> </el-input>
|
|
24
24
|
</el-form-item>
|
|
25
|
-
<el-form-item :label="'客商类型'">
|
|
26
|
-
<el-select v-model="formSearch.supplierType" disabled placeholder="请选择" clearable>
|
|
25
|
+
<el-form-item :label="$lc('客商类型')">
|
|
26
|
+
<el-select v-model="formSearch.supplierType" disabled :placeholder="$lc('请选择')" clearable>
|
|
27
27
|
<el-option v-for="item in supplierTypeList" :key="item.value" :label="item.label" :value="item.value">
|
|
28
28
|
</el-option>
|
|
29
29
|
</el-select>
|
|
30
30
|
</el-form-item>
|
|
31
|
-
<el-form-item :label="'客商名称'">
|
|
32
|
-
<el-input :placeholder="'请输入'" v-model="formSearch.relCorpFullName" maxlength="60" clearable> </el-input>
|
|
31
|
+
<el-form-item :label="$lc('客商名称')">
|
|
32
|
+
<el-input :placeholder="$lc('请输入')" v-model="formSearch.relCorpFullName" maxlength="60" clearable> </el-input>
|
|
33
33
|
</el-form-item>
|
|
34
34
|
<el-form-item>
|
|
35
|
-
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick"
|
|
36
|
-
<el-button style="margin-left: 8px" class="nstc-g6-common-btn-3" @click="queryReset"
|
|
35
|
+
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick">{{ $lc('查询') }}</el-button>
|
|
36
|
+
<el-button style="margin-left: 8px" class="nstc-g6-common-btn-3" @click="queryReset">{{ $lc('重置') }}</el-button>
|
|
37
37
|
</el-form-item>
|
|
38
38
|
</el-form>
|
|
39
39
|
</div>
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
<script>
|
|
44
44
|
import SelectAndDialog from '../SelectAndDialog/NstcSelectAndDialog.vue'
|
|
45
|
+
import { $lc } from '../../../../src/utils/i18n/index.js'
|
|
45
46
|
|
|
46
47
|
export default {
|
|
47
48
|
name: 'NstcPayeePerson',
|
|
@@ -71,10 +72,10 @@ export default {
|
|
|
71
72
|
chMapper: {
|
|
72
73
|
type: Object,
|
|
73
74
|
default: () => ({
|
|
74
|
-
title: '选择付款人',
|
|
75
|
-
plcInput: '请输入',
|
|
76
|
-
plcSelect: '请选择',
|
|
77
|
-
noselectmsg: '请选择付款人'
|
|
75
|
+
title: $lc('选择付款人'),
|
|
76
|
+
plcInput: $lc('请输入'),
|
|
77
|
+
plcSelect: $lc('请选择'),
|
|
78
|
+
noselectmsg: $lc('请选择付款人')
|
|
78
79
|
})
|
|
79
80
|
}
|
|
80
81
|
},
|
|
@@ -89,11 +90,11 @@ export default {
|
|
|
89
90
|
},
|
|
90
91
|
supplierTypeList: [
|
|
91
92
|
{
|
|
92
|
-
label: '账户',
|
|
93
|
+
label: $lc('账户'),
|
|
93
94
|
value: 0
|
|
94
95
|
},
|
|
95
96
|
{
|
|
96
|
-
label: '供应商',
|
|
97
|
+
label: $lc('供应商'),
|
|
97
98
|
value: 1
|
|
98
99
|
}
|
|
99
100
|
],
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</el-select>
|
|
24
24
|
|
|
25
25
|
<div class="page-jumper">
|
|
26
|
-
<span
|
|
26
|
+
<span>{{ $lc('至第') }}</span>
|
|
27
27
|
<el-input
|
|
28
28
|
v-model="input"
|
|
29
29
|
class="el-pagination__editor is-in-pagination"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@change="handleChange"
|
|
35
35
|
/>
|
|
36
36
|
<!-- v-nstc-number="{ min: 1 }"-->
|
|
37
|
-
<span
|
|
37
|
+
<span>{{ $lc('页') }}</span>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
import { on, off } from 'element-ui/src/utils/dom'
|
|
45
45
|
import setPageNumIcon from './setPageNum.png'
|
|
46
46
|
import setPageDefaultIcon from './setpagedefault.png'
|
|
47
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
47
48
|
|
|
48
49
|
export default {
|
|
49
50
|
name: 'NstcPagination',
|
|
@@ -116,15 +117,15 @@ export default {
|
|
|
116
117
|
|
|
117
118
|
created() {
|
|
118
119
|
let settings = [
|
|
119
|
-
{ value: 10, label: '
|
|
120
|
-
{ value: 20, label: '
|
|
121
|
-
{ value: 50, label: '
|
|
122
|
-
{ value: 100, label: '
|
|
120
|
+
{ value: 10, label: `10${$lc('条/页')}` },
|
|
121
|
+
{ value: 20, label: `20${$lc('条/页')}` },
|
|
122
|
+
{ value: 50, label: `50${$lc('条/页')}` },
|
|
123
|
+
{ value: 100, label: `100${$lc('条/页')}` }
|
|
123
124
|
]
|
|
124
125
|
if (this.configSettings && this.configSettings.length > 0) {
|
|
125
126
|
settings = this.configSettings
|
|
126
127
|
}
|
|
127
|
-
this.isNeedThousand && settings.push({ value: 1000, label: '
|
|
128
|
+
this.isNeedThousand && settings.push({ value: 1000, label: `1000${$lc('条/页')}` })
|
|
128
129
|
this.settings = settings
|
|
129
130
|
},
|
|
130
131
|
|
|
@@ -133,6 +134,7 @@ export default {
|
|
|
133
134
|
this.handleTotal()
|
|
134
135
|
},
|
|
135
136
|
methods: {
|
|
137
|
+
$lc,
|
|
136
138
|
prevent(e) {
|
|
137
139
|
e.preventDefault()
|
|
138
140
|
e.stopPropagation()
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<script>
|
|
13
13
|
import screenfull from 'screenfull'
|
|
14
14
|
import NstcSvgIcon from '../NstcSvgIcon/NstcSvgIcon'
|
|
15
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
15
16
|
export default {
|
|
16
17
|
name: 'NstcScreenFull',
|
|
17
18
|
components: {
|
|
@@ -29,11 +30,12 @@ export default {
|
|
|
29
30
|
this.destroy()
|
|
30
31
|
},
|
|
31
32
|
methods: {
|
|
33
|
+
$lc,
|
|
32
34
|
click() {
|
|
33
35
|
console.log(screenfull)
|
|
34
36
|
if (!screenfull.isEnabled) {
|
|
35
37
|
this.$message({
|
|
36
|
-
message: '浏览器不允许全屏',
|
|
38
|
+
message: $lc('浏览器不允许全屏'),
|
|
37
39
|
type: 'warning'
|
|
38
40
|
})
|
|
39
41
|
return false
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
:ref="inputRefName"
|
|
65
65
|
slot="reference"
|
|
66
66
|
v-model="filterText"
|
|
67
|
-
:placeholder="placeholder || '请选择'"
|
|
67
|
+
:placeholder="placeholder || $lc('请选择')"
|
|
68
68
|
:disabled="disabled"
|
|
69
69
|
:style="{ width: inputWidth }"
|
|
70
70
|
:class="{ 'nstc-input-small': size === 'small' }"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
v-model="filterText"
|
|
93
93
|
:disabled="disabled"
|
|
94
94
|
suffix-icon="el-icon-search"
|
|
95
|
-
:placeholder="placeholder || '请选择'"
|
|
95
|
+
:placeholder="placeholder || $lc('请选择')"
|
|
96
96
|
:style="{ width: inputWidth }"
|
|
97
97
|
:class="{ 'nstc-input-small': size === 'small' }"
|
|
98
98
|
:clearable="clearable"
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
import axios from '../../utils/axios'
|
|
113
113
|
import InputTag from '../InputTag/InputTag'
|
|
114
114
|
import clickoutside from 'element-ui/src/utils/clickoutside'
|
|
115
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
115
116
|
export default {
|
|
116
117
|
name: 'NstcSelectTree', // 单位按树模块查询
|
|
117
118
|
components: {
|
|
@@ -227,7 +228,7 @@ export default {
|
|
|
227
228
|
// 图标类型:搜索(任意)、下拉(drop)
|
|
228
229
|
nullLabel: {
|
|
229
230
|
type: String,
|
|
230
|
-
default: '全部单位'
|
|
231
|
+
default: () => $lc('全部单位')
|
|
231
232
|
},
|
|
232
233
|
// 只能点击叶子节点
|
|
233
234
|
onlyClickLeaf: {
|
|
@@ -278,7 +279,7 @@ export default {
|
|
|
278
279
|
treeRefName: '',
|
|
279
280
|
inputRefName: this.getRefName(),
|
|
280
281
|
queryFlag: true,
|
|
281
|
-
placeholder: '请选择',
|
|
282
|
+
placeholder: $lc('请选择'),
|
|
282
283
|
windowEventFlag: false,
|
|
283
284
|
timeTemp: null
|
|
284
285
|
}
|
|
@@ -498,7 +499,7 @@ export default {
|
|
|
498
499
|
treasurer: null,
|
|
499
500
|
treasurerPhone: null,
|
|
500
501
|
treeNo: '',
|
|
501
|
-
unitName: that.nullLabel || '全部单位',
|
|
502
|
+
unitName: that.nullLabel || $lc('全部单位'),
|
|
502
503
|
unitNo: '1',
|
|
503
504
|
website: null,
|
|
504
505
|
wfdeptViewList: null
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
:ref="inputRefName"
|
|
66
66
|
slot="reference"
|
|
67
67
|
v-model="filterText"
|
|
68
|
-
:placeholder="placeholder || '请选择'"
|
|
68
|
+
:placeholder="placeholder || $lc('请选择')"
|
|
69
69
|
:disabled="disabled"
|
|
70
70
|
:style="{ width: inputWidth }"
|
|
71
71
|
:class="({ 'nstc-input-small': size === 'small' }, 'input-w')"
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
import axios from '../../utils/axios'
|
|
114
114
|
// import InputTag from "../../InputTag/index";
|
|
115
115
|
import clickoutside from 'element-ui/src/utils/clickoutside'
|
|
116
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
116
117
|
export default {
|
|
117
118
|
name: 'NstcSelectTreeList', // 单位按树模块查询
|
|
118
119
|
components: {
|
|
@@ -258,7 +259,7 @@ export default {
|
|
|
258
259
|
treeRefName: '',
|
|
259
260
|
inputRefName: this.getRefName(),
|
|
260
261
|
queryFlag: true,
|
|
261
|
-
placeholder: '请选择',
|
|
262
|
+
placeholder: $lc('请选择'),
|
|
262
263
|
windowEventFlag: false,
|
|
263
264
|
timeTemp: null,
|
|
264
265
|
treeDataAll: []
|
|
@@ -447,7 +448,7 @@ export default {
|
|
|
447
448
|
if (that.showNull) {
|
|
448
449
|
let map = {
|
|
449
450
|
treeNo: '',
|
|
450
|
-
[this.defaultProps.label]: '全部单位',
|
|
451
|
+
[this.defaultProps.label]: $lc('全部单位'),
|
|
451
452
|
[this.nodeKey]: ''
|
|
452
453
|
}
|
|
453
454
|
that.treeData.unshift(map)
|
|
@@ -71,6 +71,7 @@ import ElTableColumnCustom from './ElTableColumnCustom/index'
|
|
|
71
71
|
import Sortable from 'sortablejs'
|
|
72
72
|
import NstcPagination from '../NstcPagination/NstcPagination'
|
|
73
73
|
import axios from '../../utils/axios'
|
|
74
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
74
75
|
|
|
75
76
|
export default {
|
|
76
77
|
name: 'NstcTable',
|
|
@@ -142,7 +143,7 @@ export default {
|
|
|
142
143
|
handlersLabel: {
|
|
143
144
|
type: String,
|
|
144
145
|
default: function () {
|
|
145
|
-
return '操作'
|
|
146
|
+
return $lc('操作')
|
|
146
147
|
}
|
|
147
148
|
},
|
|
148
149
|
|
|
@@ -176,7 +177,7 @@ export default {
|
|
|
176
177
|
sumText: {
|
|
177
178
|
type: String,
|
|
178
179
|
default: function () {
|
|
179
|
-
return '本页合计'
|
|
180
|
+
return $lc('本页合计')
|
|
180
181
|
}
|
|
181
182
|
},
|
|
182
183
|
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
<div :class="`${cName}-inner-title`">
|
|
7
7
|
<div class="title-temp">
|
|
8
8
|
<span>{{ titleObj[type] }}</span>
|
|
9
|
-
<span
|
|
9
|
+
<span>{{ $lc('已选') }}</span>
|
|
10
10
|
<span>{{ result.length || 0 }}</span>
|
|
11
11
|
</div>
|
|
12
12
|
<!-- <div class="choose-all" @click="chooseAllOrCancel">{{ isChkAll ? "取消全选": "全部选中" }}</div>-->
|
|
13
|
-
<div class="choose-all" @click="chooseAllOrCancel"
|
|
13
|
+
<div class="choose-all" @click="chooseAllOrCancel">{{ $lc('全部选中') }}</div>
|
|
14
14
|
</div>
|
|
15
15
|
<!-- checkBox -->
|
|
16
16
|
<div :class="`${cName}-inner-content`">
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</div>
|
|
32
32
|
<!-- 右边排序部分 -->
|
|
33
33
|
<div v-show="['set', 'export', 'condition'].includes(type)" :class="`${cName}-right`">
|
|
34
|
-
<div :class="`${cName}-inner-title`"
|
|
34
|
+
<div :class="`${cName}-inner-title`">{{ $lc('当前选定项') }}</div>
|
|
35
35
|
<div ref="table_columns_set_result" :class="`${cName}-inner-content`">
|
|
36
36
|
<div v-for="(item, index) in result" :key="item.id" :class="`${cName}-result-item`">
|
|
37
37
|
<span>{{ item.name }}</span>
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
>
|
|
62
62
|
{{ footerHandlers.confirm.text }}
|
|
63
63
|
</el-button>
|
|
64
|
-
<el-tooltip class="item" effect="dark" content="重置本次操作" placement="top-start">
|
|
64
|
+
<el-tooltip class="item" effect="dark" :content="$lc('重置本次操作')" placement="top-start">
|
|
65
65
|
<el-button v-if="footerHandlers.cancel" :class="footerHandlers.cancel.className || ''" @click="handleReset">
|
|
66
66
|
{{ footerHandlers.cancel.text }}
|
|
67
67
|
</el-button>
|
|
@@ -76,6 +76,7 @@ import NstcDialog from '../NstcDialog/NstcDialog'
|
|
|
76
76
|
import CheckboxCustom from '../NstcForm/CheckboxCustom/index.vue'
|
|
77
77
|
import axios from '../../utils/axios'
|
|
78
78
|
import Sortable from 'sortablejs'
|
|
79
|
+
import { $lc } from '../../../src/utils/i18n/index.js'
|
|
79
80
|
|
|
80
81
|
export default {
|
|
81
82
|
name: 'NstcTableSet',
|
|
@@ -112,7 +113,7 @@ export default {
|
|
|
112
113
|
return i
|
|
113
114
|
},
|
|
114
115
|
searchObj: {},
|
|
115
|
-
exportFileName: '导出'
|
|
116
|
+
exportFileName: $lc('导出')
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
},
|
|
@@ -120,7 +121,7 @@ export default {
|
|
|
120
121
|
title: {
|
|
121
122
|
type: String,
|
|
122
123
|
default: function () {
|
|
123
|
-
return '设置显示字段'
|
|
124
|
+
return $lc('设置显示字段')
|
|
124
125
|
}
|
|
125
126
|
},
|
|
126
127
|
|
|
@@ -142,14 +143,14 @@ export default {
|
|
|
142
143
|
|
|
143
144
|
footerHandlers: {
|
|
144
145
|
confirm: {
|
|
145
|
-
text: '确定',
|
|
146
|
+
text: $lc('确定'),
|
|
146
147
|
className: {
|
|
147
148
|
'nstc-g6-common-btn-1': true,
|
|
148
149
|
'nstc-g6-common-btn-size-b': true
|
|
149
150
|
}
|
|
150
151
|
},
|
|
151
152
|
cancel: {
|
|
152
|
-
text: '重置',
|
|
153
|
+
text: $lc('重置'),
|
|
153
154
|
className: {
|
|
154
155
|
'nstc-g6-common-btn-1': true,
|
|
155
156
|
'nstc-g6-common-btn-size-b': true
|
|
@@ -158,9 +159,9 @@ export default {
|
|
|
158
159
|
},
|
|
159
160
|
|
|
160
161
|
titleObj: {
|
|
161
|
-
set: '列设置',
|
|
162
|
-
export: '导出',
|
|
163
|
-
condition: '筛选'
|
|
162
|
+
set: $lc('列设置'),
|
|
163
|
+
export: $lc('导出'),
|
|
164
|
+
condition: $lc('筛选')
|
|
164
165
|
},
|
|
165
166
|
|
|
166
167
|
options: [],
|
|
@@ -230,6 +231,7 @@ export default {
|
|
|
230
231
|
},
|
|
231
232
|
|
|
232
233
|
methods: {
|
|
234
|
+
$lc,
|
|
233
235
|
upDown(index) {
|
|
234
236
|
this.$set(this.arrowStates, index, !this.arrowStates[index])
|
|
235
237
|
},
|
|
@@ -280,7 +282,7 @@ export default {
|
|
|
280
282
|
if (['condition', 'set'].includes(this.type)) {
|
|
281
283
|
const k = this.type === 'set' ? 'userUnit' : 'userCondition'
|
|
282
284
|
if (this.result.length == 0) {
|
|
283
|
-
return this.$message.warning('至少勾选一个字段')
|
|
285
|
+
return this.$message.warning($lc('至少勾选一个字段'))
|
|
284
286
|
}
|
|
285
287
|
this.saveObj[k] = this.result.map((item) => item.id).join(',')
|
|
286
288
|
if (k == 'userUnit') {
|
|
@@ -307,12 +309,12 @@ export default {
|
|
|
307
309
|
.catch((e) => {
|
|
308
310
|
this.$message({
|
|
309
311
|
type: 'error',
|
|
310
|
-
message: e.msg || '保存失败'
|
|
312
|
+
message: e.msg || $lc('保存失败')
|
|
311
313
|
})
|
|
312
314
|
})
|
|
313
315
|
} else {
|
|
314
316
|
if (this.result.length == 0) {
|
|
315
|
-
return this.$message.warning('至少勾选一个字段')
|
|
317
|
+
return this.$message.warning($lc('至少勾选一个字段'))
|
|
316
318
|
}
|
|
317
319
|
await this.exportAction()
|
|
318
320
|
}
|