n20-common-lib 2.4.5 → 2.4.7
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/README.md +1 -1
- package/nstc-g6/components/Calendar/index.js +5 -5
- package/nstc-g6/components/Calendar/src/basic/month-table.vue +12 -20
- package/nstc-g6/components/Calendar/src/basic/year-table.vue +18 -22
- package/nstc-g6/components/Calendar/src/main.vue +1 -5
- package/nstc-g6/components/DialogForm/index.js +5 -5
- package/nstc-g6/components/DialogForm/src/demo/index.vue +18 -27
- package/nstc-g6/components/DialogForm/src/main.vue +15 -21
- package/nstc-g6/components/Form/A_DEMO/component/originalForm.vue +35 -50
- package/nstc-g6/components/Form/A_DEMO/config/config_3.js +1115 -1110
- package/nstc-g6/components/Form/A_DEMO/index.vue +7 -29
- package/nstc-g6/components/Form/AutocompleteCustom/index.vue +3 -5
- package/nstc-g6/components/Form/BusinessSpecific/InputMultiple.vue +60 -62
- package/nstc-g6/components/Form/BusinessSpecific/InputWithUnit.vue +12 -35
- package/nstc-g6/components/Form/BusinessSpecific/SelectTreeDialog.vue +77 -77
- package/nstc-g6/components/Form/CascaderCustom/index.vue +4 -4
- package/nstc-g6/components/Form/CheckboxCustom/index.vue +5 -11
- package/nstc-g6/components/Form/Component.vue +56 -78
- package/nstc-g6/components/Form/ComponentSecond.vue +55 -77
- package/nstc-g6/components/Form/InputAndDialog/index.js +5 -5
- package/nstc-g6/components/Form/InputAndDialog/src/main.vue +130 -153
- package/nstc-g6/components/Form/InputCustom/demo/index.vue +4 -12
- package/nstc-g6/components/Form/InputCustom/index.vue +51 -54
- package/nstc-g6/components/Form/IntervalinputCustom/demo/index.vue +1 -3
- package/nstc-g6/components/Form/IntervalinputCustom/index.vue +19 -41
- package/nstc-g6/components/Form/Item.vue +15 -30
- package/nstc-g6/components/Form/ItemSecond.vue +7 -22
- package/nstc-g6/components/Form/List.vue +12 -28
- package/nstc-g6/components/Form/ListSecond.vue +11 -27
- package/nstc-g6/components/Form/RadioCustom/index.vue +5 -23
- package/nstc-g6/components/Form/SelectAccount/index.js +5 -5
- package/nstc-g6/components/Form/SelectAccount/src/demo/index.vue +34 -28
- package/nstc-g6/components/Form/SelectAccount/src/main.vue +112 -83
- package/nstc-g6/components/Form/SelectAndDialog/index.js +5 -5
- package/nstc-g6/components/Form/SelectAndDialog/src/main.vue +126 -149
- package/nstc-g6/components/Form/SelectCashFlow/index.js +5 -5
- package/nstc-g6/components/Form/SelectCashFlow/src/demo/index.vue +18 -19
- package/nstc-g6/components/Form/SelectCashFlow/src/main.vue +52 -41
- package/nstc-g6/components/Form/SelectCustom/demo/index.vue +14 -16
- package/nstc-g6/components/Form/SelectCustom/index.vue +129 -139
- package/nstc-g6/components/Form/SelectSubject/index.js +5 -5
- package/nstc-g6/components/Form/SelectSubject/src/demo/index.vue +42 -48
- package/nstc-g6/components/Form/SelectSubject/src/main.vue +83 -86
- package/nstc-g6/components/Form/SelectindialogCustom/demo/index.vue +34 -35
- package/nstc-g6/components/Form/SelectindialogCustom/index.vue +133 -148
- package/nstc-g6/components/Form/SelectindialogCustom/install.js +3 -3
- package/nstc-g6/components/Form/TableRadioCustom/demo/index.vue +1 -7
- package/nstc-g6/components/Form/TableRadioCustom/index.vue +17 -26
- package/nstc-g6/components/Form/TextCustom/index.vue +2 -2
- package/nstc-g6/components/Form/UploadCustom/demo/index.vue +1 -3
- package/nstc-g6/components/Form/UploadCustom/index.vue +143 -173
- package/nstc-g6/components/Form/configs.js +3 -14
- package/nstc-g6/components/Form/configsSecond.js +3 -16
- package/nstc-g6/components/Form/index.js +1 -1
- package/nstc-g6/components/Form/payeePersonSelect/index.js +5 -5
- package/nstc-g6/components/Form/payeePersonSelect/src/demo/index.vue +50 -44
- package/nstc-g6/components/Form/payeePersonSelect/src/main.vue +73 -82
- package/nstc-g6/components/FormGroup/index.js +5 -5
- package/nstc-g6/components/FormGroup/src/demo/config.js +18 -19
- package/nstc-g6/components/FormGroup/src/demo/index.vue +14 -22
- package/nstc-g6/components/FormGroup/src/main.vue +122 -141
- package/nstc-g6/components/FormGroup/src/validate.js +11 -13
- package/nstc-g6/components/InputTag/InputTag.vue +78 -111
- package/nstc-g6/components/NstcBackToTop/NstcBackToTop.vue +24 -24
- package/nstc-g6/components/NstcBranchLazyLoad/NstcBranchLazyLoad.vue +4 -13
- package/nstc-g6/components/NstcCharts/NstcCharts.vue +9 -18
- package/nstc-g6/components/NstcCharts/define.js +1 -6
- package/nstc-g6/components/NstcConfirm/NstcConfirm.vue +6 -21
- package/nstc-g6/components/NstcConfirm/index.js +21 -19
- package/nstc-g6/components/NstcDialog/NstcDialog.vue +34 -38
- package/nstc-g6/components/NstcDialogForm/NstcDialogForm.vue +17 -21
- package/nstc-g6/components/NstcDialogTable/NstcDialogTable.vue +4 -17
- package/nstc-g6/components/NstcDropdown/NstcDropdown.vue +2 -12
- package/nstc-g6/components/NstcDropdownTree/NstcDropdownTree.vue +3 -13
- package/nstc-g6/components/NstcElectronicFile/NstcElectronicFile.vue +18 -78
- package/nstc-g6/components/NstcExcelCustomImport/NstcExcelCustomImport.vue +121 -147
- package/nstc-g6/components/NstcExcelImport/NstcExcelImport.vue +9 -31
- package/nstc-g6/components/NstcExcelImportN/NstcExcelImportN.vue +10 -33
- package/nstc-g6/components/NstcExpandCollapse/NstcExpandCollapse.vue +12 -16
- package/nstc-g6/components/NstcFileUpload/NstcFileUpload.vue +19 -75
- package/nstc-g6/components/NstcForm/A_DEMO/component/originalForm.vue +35 -50
- package/nstc-g6/components/NstcForm/A_DEMO/config/config_3.js +1115 -1110
- package/nstc-g6/components/NstcForm/A_DEMO/index.vue +340 -354
- package/nstc-g6/components/NstcForm/AutocompleteCustom/index.vue +2 -2
- package/nstc-g6/components/NstcForm/BusinessSpecific/InputWithUnit.vue +11 -34
- package/nstc-g6/components/NstcForm/BusinessSpecific/SelectTreeDialog.vue +77 -77
- package/nstc-g6/components/NstcForm/CheckboxCustom/index.vue +5 -11
- package/nstc-g6/components/NstcForm/Component.vue +17 -62
- package/nstc-g6/components/NstcForm/ComponentSecond.vue +55 -77
- package/nstc-g6/components/NstcForm/InputAndDialog/NstcInputAndDialog.vue +6 -24
- package/nstc-g6/components/NstcForm/InputCustom/index.vue +2 -8
- package/nstc-g6/components/NstcForm/IntervalInputCustom/index.vue +4 -21
- package/nstc-g6/components/NstcForm/Item.vue +3 -15
- package/nstc-g6/components/NstcForm/ItemSecond.vue +7 -22
- package/nstc-g6/components/NstcForm/List.vue +12 -28
- package/nstc-g6/components/NstcForm/ListSecond.vue +11 -27
- package/nstc-g6/components/NstcForm/RadioCustom/index.vue +5 -23
- package/nstc-g6/components/NstcForm/SelectAccount/NstcSelectAccount.vue +4 -24
- package/nstc-g6/components/NstcForm/SelectAndDialog/NstcSelectAndDialog.vue +7 -30
- package/nstc-g6/components/NstcForm/SelectCashFlow/NstcSelectCashFlow.vue +50 -38
- package/nstc-g6/components/NstcForm/SelectCustom/index.vue +6 -16
- package/nstc-g6/components/NstcForm/SelectSubject/NstcSelectSubject.vue +72 -82
- package/nstc-g6/components/NstcForm/SelectindialogCustom/index.vue +6 -20
- package/nstc-g6/components/NstcForm/TableRadioCustom/index.vue +17 -26
- package/nstc-g6/components/NstcForm/TextCustom/index.vue +2 -2
- package/nstc-g6/components/NstcForm/UploadCustom/index.vue +13 -60
- package/nstc-g6/components/NstcForm/configs.js +3 -14
- package/nstc-g6/components/NstcForm/configsSecond.js +3 -16
- package/nstc-g6/components/NstcForm/index.js +1 -1
- package/nstc-g6/components/NstcForm/payeePersonSelect/NstcPayeePerson.vue +57 -73
- package/nstc-g6/components/NstcPagination/NstcPagination.vue +2 -12
- package/nstc-g6/components/NstcScreenFull/NstcScreenFull.vue +2 -3
- package/nstc-g6/components/NstcSelectTree/NstcSelectTree.vue +4 -15
- package/nstc-g6/components/NstcSelectTreeList/NstcSelectTreeList.vue +5 -20
- package/nstc-g6/components/NstcSticky/NstcSticky.vue +10 -4
- package/nstc-g6/components/NstcSvgIcon/NstcSvgIcon.vue +1 -7
- package/nstc-g6/components/NstcTab/NstcTab.vue +8 -20
- package/nstc-g6/components/NstcTabWithBadge/NstcTabWithBadge.vue +7 -7
- package/nstc-g6/components/NstcTable/ElTableColumnCustom/index.vue +88 -126
- package/nstc-g6/components/NstcTable/NstcTable.vue +4 -17
- package/nstc-g6/components/NstcTableSet/NstcTableSet.vue +27 -72
- package/nstc-g6/components/NstcThemePicker/NstcThemePicker.vue +13 -14
- package/nstc-g6/components/NstcUploadCustomExcel/NstcUploadCustomExcel.vue +3 -13
- package/nstc-g6/components/NstcUploadExcel/NstcUploadExcel.vue +21 -22
- package/nstc-g6/components/NstcWorkBench/NstcWorkBench.vue +4 -17
- package/nstc-g6/components/Search/NstcSearch.vue +12 -47
- package/nstc-g6/components/Search/src/demo/index copy.vue +28 -28
- package/nstc-g6/components/Search/src/demo/index.vue +36 -36
- package/nstc-g6/components/Search/src/main copy.vue +169 -204
- package/nstc-g6/components/approvelTwo/main.vue +2 -6
- package/nstc-g6/components/approvelTwo/progress.vue +7 -29
- package/nstc-g6/directives/VCopy/index.js +52 -54
- package/nstc-g6/directives/VNstcNumber/index.js +1 -1
- package/nstc-g6/directives/VNstcNumber/temp.js +357 -362
- package/nstc-g6/utils/mapper_aims.js +774 -775
- package/nstc-g6/utils/parseTime.js +38 -36
- package/nstc-g6/utils/validate/index.js +2 -2
- package/nstc-g6/utils/vendor/Export2Excel.js +110 -111
- package/nstc-g6/utils/vendor/Export2Zip.js +12 -7
- package/nstc-g6/utils/vue-bus.js +1 -1
- package/package.json +1 -1
- package/src/assets/iconFont/demo_index.html +1 -1
- package/src/assets/iconFont/iconfont.js +66 -1
- package/src/assets/iconFont2/demo_index.html +277 -286
- package/src/assets/iconFont2/iconfont.js +66 -1
- package/src/components/Button/button-group.vue +1 -1
- package/src/components/Layout/HeaderWrap/indexN.vue +1 -1
- package/src/components/Layout/indexN.vue +1 -2
- package/src/components/LoginTemporary/indexN.vue +12 -2
- package/src/components/TableOperateColumn/index.vue +1 -1
- package/src/plugins/Print/print-js/README.md +5 -5
- package/src/plugins/Print/print-js/package.json +2 -2
- package/src/plugins/Print/print-js/src/index.d.ts +36 -36
- package/src/plugins/Print/print-js/src/js/browser.js +3 -1
- package/src/plugins/Print/print-js/src/js/functions.js +16 -10
- package/src/plugins/Print/print-js/src/js/html.js +2 -2
- package/src/plugins/Print/print-js/src/js/image.js +1 -1
- package/src/plugins/Print/print-js/src/js/init.js +15 -7
- package/src/plugins/Print/print-js/src/js/json.js +14 -4
- package/src/plugins/Print/print-js/src/js/modal.js +16 -15
- package/src/plugins/Print/print-js/src/js/pdf.js +1 -1
- package/src/plugins/Print/print-js/src/js/print.js +6 -6
- package/src/plugins/Sign/NetSM3/InfosecNetSignCNGAgent.min.js +1825 -1592
- package/src/plugins/Sign/cfca/index.js +525 -520
- package/src/plugins/Sign/sign.js +128 -128
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
|
@@ -7,44 +7,33 @@
|
|
|
7
7
|
* @FilePath: NstcSelectSubject.vue
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
|
-
<SelectAndDialog
|
|
11
|
-
|
|
10
|
+
<SelectAndDialog
|
|
11
|
+
v-if="bindProps"
|
|
12
|
+
v-model="_value"
|
|
13
|
+
ref="select"
|
|
14
|
+
v-bind="bindProps"
|
|
15
|
+
:table-form="formSearch"
|
|
16
|
+
:format-data="formatData"
|
|
17
|
+
:format-params="formatParams"
|
|
18
|
+
@show-dialog="onShowDialog"
|
|
19
|
+
>
|
|
12
20
|
<div class="form-wrap">
|
|
13
21
|
<el-form inline :model="formSearch">
|
|
14
22
|
<el-form-item :label="'所属单位'">
|
|
15
|
-
<el-input
|
|
16
|
-
:placeholder="'请输入'"
|
|
17
|
-
v-model="formSearch.unitName"
|
|
18
|
-
maxlength="60"
|
|
19
|
-
disabled
|
|
20
|
-
clearable
|
|
21
|
-
>
|
|
22
|
-
</el-input>
|
|
23
|
+
<el-input :placeholder="'请输入'" v-model="formSearch.unitName" maxlength="60" disabled clearable> </el-input>
|
|
23
24
|
</el-form-item>
|
|
24
25
|
<el-form-item :label="'客商类型'">
|
|
25
26
|
<el-select v-model="formSearch.supplierType" disabled placeholder="请选择" clearable>
|
|
26
|
-
<el-option
|
|
27
|
-
v-for="item in supplierTypeList"
|
|
28
|
-
:key="item.value"
|
|
29
|
-
:label="item.label"
|
|
30
|
-
:value="item.value">
|
|
27
|
+
<el-option v-for="item in supplierTypeList" :key="item.value" :label="item.label" :value="item.value">
|
|
31
28
|
</el-option>
|
|
32
29
|
</el-select>
|
|
33
30
|
</el-form-item>
|
|
34
31
|
<el-form-item :label="'客商名称'">
|
|
35
|
-
<el-input
|
|
36
|
-
:placeholder="'请输入'"
|
|
37
|
-
v-model="formSearch.relCorpFullName"
|
|
38
|
-
maxlength="60"
|
|
39
|
-
clearable
|
|
40
|
-
>
|
|
41
|
-
</el-input>
|
|
32
|
+
<el-input :placeholder="'请输入'" v-model="formSearch.relCorpFullName" maxlength="60" clearable> </el-input>
|
|
42
33
|
</el-form-item>
|
|
43
34
|
<el-form-item>
|
|
44
|
-
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick">查询
|
|
45
|
-
</el-button>
|
|
46
|
-
<el-button style="margin-left:8px;" class="nstc-g6-common-btn-3" @click="queryReset">重置
|
|
47
|
-
</el-button>
|
|
35
|
+
<el-button type="primary" class="nstc-g6-common-btn-1" @click="searchClick">查询 </el-button>
|
|
36
|
+
<el-button style="margin-left: 8px" class="nstc-g6-common-btn-3" @click="queryReset">重置 </el-button>
|
|
48
37
|
</el-form-item>
|
|
49
38
|
</el-form>
|
|
50
39
|
</div>
|
|
@@ -52,17 +41,16 @@
|
|
|
52
41
|
</template>
|
|
53
42
|
|
|
54
43
|
<script>
|
|
55
|
-
import SelectAndDialog from
|
|
44
|
+
import SelectAndDialog from '../SelectAndDialog/NstcSelectAndDialog.vue'
|
|
56
45
|
|
|
57
46
|
export default {
|
|
58
|
-
name:
|
|
59
|
-
components: {SelectAndDialog},
|
|
47
|
+
name: 'NstcPayeePerson',
|
|
48
|
+
components: { SelectAndDialog },
|
|
60
49
|
props: {
|
|
61
50
|
value: [String, Object],
|
|
62
51
|
queryConf: {
|
|
63
52
|
type: Object,
|
|
64
|
-
default: () => {
|
|
65
|
-
}
|
|
53
|
+
default: () => {}
|
|
66
54
|
},
|
|
67
55
|
disabled: {
|
|
68
56
|
type: Boolean,
|
|
@@ -70,35 +58,34 @@ export default {
|
|
|
70
58
|
},
|
|
71
59
|
dialogParams: {
|
|
72
60
|
type: Object,
|
|
73
|
-
default: () => {
|
|
74
|
-
}
|
|
61
|
+
default: () => {}
|
|
75
62
|
},
|
|
76
63
|
formatData: {
|
|
77
64
|
type: Function,
|
|
78
|
-
default: (d) => d
|
|
65
|
+
default: (d) => d
|
|
79
66
|
},
|
|
80
67
|
formatParams: {
|
|
81
68
|
type: Function,
|
|
82
|
-
default: (d) => d
|
|
69
|
+
default: (d) => d
|
|
83
70
|
},
|
|
84
71
|
chMapper: {
|
|
85
72
|
type: Object,
|
|
86
73
|
default: () => ({
|
|
87
|
-
title:
|
|
88
|
-
plcInput:
|
|
89
|
-
plcSelect:
|
|
90
|
-
noselectmsg:
|
|
91
|
-
})
|
|
92
|
-
}
|
|
74
|
+
title: '选择付款人',
|
|
75
|
+
plcInput: '请输入',
|
|
76
|
+
plcSelect: '请选择',
|
|
77
|
+
noselectmsg: '请选择付款人'
|
|
78
|
+
})
|
|
79
|
+
}
|
|
93
80
|
},
|
|
94
81
|
data() {
|
|
95
82
|
return {
|
|
96
|
-
showText:
|
|
83
|
+
showText: '',
|
|
97
84
|
formSearch: {
|
|
98
|
-
unitCode:
|
|
99
|
-
unitName:
|
|
85
|
+
unitCode: '',
|
|
86
|
+
unitName: '',
|
|
100
87
|
supplierType: 0,
|
|
101
|
-
relCorpFullName:
|
|
88
|
+
relCorpFullName: ''
|
|
102
89
|
},
|
|
103
90
|
supplierTypeList: [
|
|
104
91
|
{
|
|
@@ -114,68 +101,65 @@ export default {
|
|
|
114
101
|
columns: [],
|
|
115
102
|
options: [],
|
|
116
103
|
inputHovering: false,
|
|
117
|
-
remoteQuery:
|
|
118
|
-
bindProps: {}
|
|
119
|
-
|
|
120
|
-
};
|
|
104
|
+
remoteQuery: '',
|
|
105
|
+
bindProps: {}
|
|
106
|
+
}
|
|
121
107
|
},
|
|
122
108
|
wacth: {},
|
|
123
109
|
computed: {
|
|
124
110
|
_value: {
|
|
125
111
|
set(val) {
|
|
126
|
-
this.$emit(
|
|
112
|
+
this.$emit('input', val)
|
|
127
113
|
},
|
|
128
114
|
get() {
|
|
129
|
-
return this.value
|
|
130
|
-
}
|
|
131
|
-
}
|
|
115
|
+
return this.value
|
|
116
|
+
}
|
|
117
|
+
}
|
|
132
118
|
},
|
|
133
119
|
created() {
|
|
134
120
|
// 选择弹窗的参数传递
|
|
135
121
|
console.log('this.formSearch', this.dialogParams)
|
|
136
122
|
this.formSearch.unitCode = this.dialogParams.unitCode
|
|
137
123
|
this.formSearch.unitName = this.dialogParams.unitName
|
|
138
|
-
this.bindProps = {...this.queryConf, chMapper: this.chMapper}
|
|
124
|
+
this.bindProps = { ...this.queryConf, chMapper: this.chMapper }
|
|
139
125
|
|
|
140
126
|
console.log('this.payeePerson====', this.bindProps)
|
|
141
127
|
},
|
|
142
|
-
mounted() {
|
|
143
|
-
},
|
|
128
|
+
mounted() {},
|
|
144
129
|
methods: {
|
|
145
130
|
formatData(res) {
|
|
146
131
|
let data = [],
|
|
147
|
-
|
|
132
|
+
total = 0
|
|
148
133
|
if (res && !res.total && Array.isArray(res)) {
|
|
149
|
-
data = res
|
|
150
|
-
total = res.length
|
|
134
|
+
data = res
|
|
135
|
+
total = res.length
|
|
151
136
|
} else if (res && res.total && res.list) {
|
|
152
|
-
data = res.list || []
|
|
153
|
-
total = res.total
|
|
137
|
+
data = res.list || []
|
|
138
|
+
total = res.total
|
|
154
139
|
}
|
|
155
|
-
return {data, total}
|
|
140
|
+
return { data, total }
|
|
156
141
|
},
|
|
157
142
|
|
|
158
|
-
|
|
159
143
|
onShowDialog() {
|
|
160
|
-
this.queryReset()
|
|
144
|
+
this.queryReset()
|
|
161
145
|
},
|
|
162
146
|
|
|
163
147
|
searchClick() {
|
|
164
|
-
this.$refs.select.queryTableData()
|
|
148
|
+
this.$refs.select.queryTableData()
|
|
165
149
|
},
|
|
166
150
|
|
|
167
151
|
queryReset() {
|
|
168
152
|
this.formSearch = {
|
|
169
|
-
unitCode:
|
|
170
|
-
unitName:
|
|
153
|
+
unitCode: '',
|
|
154
|
+
unitName: '',
|
|
171
155
|
supplierType: 0,
|
|
172
|
-
relCorpFullName:
|
|
173
|
-
}
|
|
156
|
+
relCorpFullName: ''
|
|
157
|
+
}
|
|
174
158
|
this.formSearch.unitCode = this.dialogParams.unitCode
|
|
175
159
|
this.formSearch.unitName = this.dialogParams.unitName
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
179
163
|
</script>
|
|
180
164
|
|
|
181
165
|
<style>
|
|
@@ -185,4 +169,4 @@ export default {
|
|
|
185
169
|
right: 5px;
|
|
186
170
|
top: -1px;
|
|
187
171
|
}
|
|
188
|
-
</style>
|
|
172
|
+
</style>
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
:class="[
|
|
4
|
-
'pagination',
|
|
5
|
-
isInterFace ? 'pagination-interface' : 'pagination-default'
|
|
6
|
-
]"
|
|
7
|
-
>
|
|
2
|
+
<div :class="['pagination', isInterFace ? 'pagination-interface' : 'pagination-default']">
|
|
8
3
|
<div class="pagination-wrap">
|
|
9
4
|
<div class="arrow" @click="prev">
|
|
10
5
|
<i class="el-icon-arrow-left"></i>
|
|
@@ -24,12 +19,7 @@
|
|
|
24
19
|
placeholder=""
|
|
25
20
|
@change="handleSizeChange"
|
|
26
21
|
>
|
|
27
|
-
<el-option
|
|
28
|
-
v-for="item in settings"
|
|
29
|
-
:key="item.value"
|
|
30
|
-
:label="item.label"
|
|
31
|
-
:value="item.value"
|
|
32
|
-
/>
|
|
22
|
+
<el-option v-for="item in settings" :key="item.value" :label="item.label" :value="item.value" />
|
|
33
23
|
</el-select>
|
|
34
24
|
|
|
35
25
|
<div class="page-jumper">
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<template>
|
|
7
7
|
<div>
|
|
8
|
-
<nstc-svg-icon :icon-class="isFullscreen?'exit-fullscreen':'fullscreen'" @click="click" />
|
|
8
|
+
<nstc-svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="click" />
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
@@ -61,10 +61,9 @@ export default {
|
|
|
61
61
|
.screenfull-svg {
|
|
62
62
|
display: inline-block;
|
|
63
63
|
cursor: pointer;
|
|
64
|
-
fill: #5a5e66
|
|
64
|
+
fill: #5a5e66;
|
|
65
65
|
width: 20px;
|
|
66
66
|
height: 20px;
|
|
67
67
|
vertical-align: 10px;
|
|
68
68
|
}
|
|
69
69
|
</style>
|
|
70
|
-
|
|
@@ -78,20 +78,12 @@
|
|
|
78
78
|
v-on="$listeners"
|
|
79
79
|
>
|
|
80
80
|
<span
|
|
81
|
-
v-if="
|
|
82
|
-
clearable &&
|
|
83
|
-
(disabled ? false : checkedValue && (changeSuffix || isHover))
|
|
84
|
-
"
|
|
81
|
+
v-if="clearable && (disabled ? false : checkedValue && (changeSuffix || isHover))"
|
|
85
82
|
slot="suffix"
|
|
86
83
|
class="input-icon el-icon-circle-close"
|
|
87
84
|
@click.stop="$emit('input', '')"
|
|
88
85
|
></span>
|
|
89
|
-
<span
|
|
90
|
-
v-else
|
|
91
|
-
slot="suffix"
|
|
92
|
-
class="input-icon el-icon-arrow-down"
|
|
93
|
-
:class="[changeSuffix ? 'up' : 'down']"
|
|
94
|
-
></span>
|
|
86
|
+
<span v-else slot="suffix" class="input-icon el-icon-arrow-down" :class="[changeSuffix ? 'up' : 'down']"></span>
|
|
95
87
|
</el-input>
|
|
96
88
|
<el-input
|
|
97
89
|
v-else
|
|
@@ -398,9 +390,7 @@ export default {
|
|
|
398
390
|
* 随机生成 formId
|
|
399
391
|
*/
|
|
400
392
|
getRefName() {
|
|
401
|
-
return `ref_${new Date().getTime()}_${Math.random()
|
|
402
|
-
.toString()
|
|
403
|
-
.slice(5, 13)}`
|
|
393
|
+
return `ref_${new Date().getTime()}_${Math.random().toString().slice(5, 13)}`
|
|
404
394
|
},
|
|
405
395
|
|
|
406
396
|
/**
|
|
@@ -548,8 +538,7 @@ export default {
|
|
|
548
538
|
treeNodeClick(data, node, tree) {
|
|
549
539
|
if (!this.multiple) {
|
|
550
540
|
if (this.onlyClickLeaf && !node.isLeaf) return
|
|
551
|
-
if (this.defaultProps.disabled && !!data[this.defaultProps.disabled])
|
|
552
|
-
return
|
|
541
|
+
if (this.defaultProps.disabled && !!data[this.defaultProps.disabled]) return
|
|
553
542
|
this.queryFlag = false
|
|
554
543
|
|
|
555
544
|
const k = this.defaultProps.label || 'label'
|
|
@@ -79,20 +79,12 @@
|
|
|
79
79
|
v-on="$listeners"
|
|
80
80
|
>
|
|
81
81
|
<span
|
|
82
|
-
v-if="
|
|
83
|
-
clearable &&
|
|
84
|
-
(disabled ? false : checkedValue && (changeSuffix || isHover))
|
|
85
|
-
"
|
|
82
|
+
v-if="clearable && (disabled ? false : checkedValue && (changeSuffix || isHover))"
|
|
86
83
|
slot="suffix"
|
|
87
84
|
class="input-icon el-icon-circle-close"
|
|
88
85
|
@click.stop="clear"
|
|
89
86
|
></span>
|
|
90
|
-
<span
|
|
91
|
-
v-else
|
|
92
|
-
slot="suffix"
|
|
93
|
-
class="input-icon el-icon-arrow-down"
|
|
94
|
-
:class="[changeSuffix ? 'up' : 'down']"
|
|
95
|
-
></span>
|
|
87
|
+
<span v-else slot="suffix" class="input-icon el-icon-arrow-down" :class="[changeSuffix ? 'up' : 'down']"></span>
|
|
96
88
|
</el-input>
|
|
97
89
|
<el-input
|
|
98
90
|
v-else
|
|
@@ -391,9 +383,7 @@ export default {
|
|
|
391
383
|
* 随机生成 formId
|
|
392
384
|
*/
|
|
393
385
|
getRefName() {
|
|
394
|
-
return `ref_${new Date().getTime()}_${Math.random()
|
|
395
|
-
.toString()
|
|
396
|
-
.slice(5, 13)}`
|
|
386
|
+
return `ref_${new Date().getTime()}_${Math.random().toString().slice(5, 13)}`
|
|
397
387
|
},
|
|
398
388
|
/**
|
|
399
389
|
* 获取url
|
|
@@ -451,11 +441,7 @@ export default {
|
|
|
451
441
|
.then((data) => {
|
|
452
442
|
console.log(data, 'data')
|
|
453
443
|
if (type === 'first') {
|
|
454
|
-
that.treeDataAll = data.list
|
|
455
|
-
? data.list
|
|
456
|
-
: data.data
|
|
457
|
-
? data.data
|
|
458
|
-
: data
|
|
444
|
+
that.treeDataAll = data.list ? data.list : data.data ? data.data : data
|
|
459
445
|
}
|
|
460
446
|
that.treeData = data.list ? data.list : data.data ? data.data : data
|
|
461
447
|
if (that.showNull) {
|
|
@@ -498,8 +484,7 @@ export default {
|
|
|
498
484
|
console.log(data)
|
|
499
485
|
if (!this.multiple) {
|
|
500
486
|
if (this.onlyClickLeaf && !node.isLeaf) return
|
|
501
|
-
if (this.defaultProps.disabled && !!data[this.defaultProps.disabled])
|
|
502
|
-
return
|
|
487
|
+
if (this.defaultProps.disabled && !!data[this.defaultProps.disabled]) return
|
|
503
488
|
this.queryFlag = false
|
|
504
489
|
|
|
505
490
|
const k = this.defaultProps.label || 'label'
|
|
@@ -5,10 +5,16 @@
|
|
|
5
5
|
-->
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<div :style="{height:height+'px',zIndex:zIndex}">
|
|
8
|
+
<div :style="{ height: height + 'px', zIndex: zIndex }">
|
|
9
9
|
<div
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
:class="className"
|
|
11
|
+
:style="{
|
|
12
|
+
top: isSticky ? stickyTop + 'px' : '',
|
|
13
|
+
zIndex: zIndex,
|
|
14
|
+
position: position,
|
|
15
|
+
width: width,
|
|
16
|
+
height: height + 'px'
|
|
17
|
+
}"
|
|
12
18
|
>
|
|
13
19
|
<slot>
|
|
14
20
|
<div>sticky</div>
|
|
@@ -45,7 +51,7 @@ export default {
|
|
|
45
51
|
},
|
|
46
52
|
mounted() {
|
|
47
53
|
this.height = this.$el.getBoundingClientRect().height
|
|
48
|
-
window.addEventListener('scroll', this.handleScroll,true)
|
|
54
|
+
window.addEventListener('scroll', this.handleScroll, true)
|
|
49
55
|
window.addEventListener('resize', this.handleResize, true)
|
|
50
56
|
},
|
|
51
57
|
activated() {
|
|
@@ -4,12 +4,7 @@
|
|
|
4
4
|
创建时间: 2021-02-05
|
|
5
5
|
-->
|
|
6
6
|
<template>
|
|
7
|
-
<div
|
|
8
|
-
v-if="isExternal"
|
|
9
|
-
:style="styleExternalIcon"
|
|
10
|
-
class="svg-external-icon svg-icon"
|
|
11
|
-
v-on="$listeners"
|
|
12
|
-
></div>
|
|
7
|
+
<div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners"></div>
|
|
13
8
|
<svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
|
|
14
9
|
<use :xlink:href="iconName" />
|
|
15
10
|
</svg>
|
|
@@ -69,4 +64,3 @@ export default {
|
|
|
69
64
|
display: inline-block;
|
|
70
65
|
}
|
|
71
66
|
</style>
|
|
72
|
-
|
|
@@ -5,18 +5,8 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<template>
|
|
7
7
|
<div class="nstc-tab-custom">
|
|
8
|
-
<el-tabs
|
|
9
|
-
|
|
10
|
-
v-bind="$attrs"
|
|
11
|
-
class="nstc-tab"
|
|
12
|
-
v-on="$listeners"
|
|
13
|
-
>
|
|
14
|
-
<el-tab-pane
|
|
15
|
-
v-for="tab in options"
|
|
16
|
-
:key="tab.value"
|
|
17
|
-
v-bind="tab"
|
|
18
|
-
:name="tab.value"
|
|
19
|
-
/>
|
|
8
|
+
<el-tabs v-model="_value" v-bind="$attrs" class="nstc-tab" v-on="$listeners">
|
|
9
|
+
<el-tab-pane v-for="tab in options" :key="tab.value" v-bind="tab" :name="tab.value" />
|
|
20
10
|
</el-tabs>
|
|
21
11
|
</div>
|
|
22
12
|
</template>
|
|
@@ -55,26 +45,24 @@ export default {
|
|
|
55
45
|
<style lang="scss">
|
|
56
46
|
.nstc-tab {
|
|
57
47
|
font-size: 16px;
|
|
58
|
-
.el-tabs_{
|
|
48
|
+
.el-tabs_ {
|
|
59
49
|
&_item {
|
|
60
50
|
font-size: 16px !important;
|
|
61
51
|
height: 24px !important;
|
|
62
|
-
line-height: 24px!important;
|
|
63
|
-
padding: 0 14px!important;
|
|
52
|
+
line-height: 24px !important;
|
|
53
|
+
padding: 0 14px !important;
|
|
64
54
|
}
|
|
65
55
|
&_item.is-active {
|
|
66
56
|
color: #007aff !important;
|
|
67
57
|
font-weight: 500;
|
|
68
58
|
}
|
|
69
59
|
&_item:hover {
|
|
70
|
-
color: #007aff
|
|
71
|
-
cursor: pointer
|
|
60
|
+
color: #007aff !important;
|
|
61
|
+
cursor: pointer;
|
|
72
62
|
}
|
|
73
63
|
&_nav-wrap::after {
|
|
74
|
-
background-color: rgba(0,0,0,0);
|
|
64
|
+
background-color: rgba(0, 0, 0, 0);
|
|
75
65
|
}
|
|
76
66
|
}
|
|
77
67
|
}
|
|
78
|
-
|
|
79
68
|
</style>
|
|
80
|
-
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="tab-with-badge">
|
|
3
3
|
<el-badge
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
v-for="tab in options"
|
|
5
|
+
:key="tab.value"
|
|
6
|
+
:value="tab.badgeValue"
|
|
7
|
+
v-bind="tab"
|
|
8
|
+
:hidden="!tab.badgeValue"
|
|
9
|
+
:class="{ active: value === tab.value }"
|
|
10
10
|
>
|
|
11
11
|
<span @click="handleClick(tab)">
|
|
12
12
|
{{ tab.label }}
|
|
@@ -41,5 +41,5 @@ export default {
|
|
|
41
41
|
</script>
|
|
42
42
|
|
|
43
43
|
<style lang="scss">
|
|
44
|
-
@import
|
|
44
|
+
@import 'index';
|
|
45
45
|
</style>
|