n20-common-lib 1.3.24 → 1.3.25
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/package.json +1 -1
- package/src/assets/css/cl-approve-card.scss +2 -2
- package/src/assets/css/cl-expandable-pane.scss +3 -4
- package/src/assets/css/cl-expandable.scss +2 -2
- package/src/assets/css/cl-upload.scss +5 -0
- package/src/assets/css/plain-text.scss +28 -130
- package/src/assets/css/rootvar.scss +4 -0
- package/src/components/ApprovalButtons/index.vue +1 -1
- package/src/components/ApprovalCard/index.vue +4 -4
- package/src/components/ApprovalRecord/index.vue +5 -1
- package/src/components/Descriptions/index.vue +42 -0
- package/src/components/ECharts/index.vue +9 -10
- package/src/components/ECharts/mixins/resize.js +10 -43
- package/src/components/Expandable/main.vue +1 -1
- package/src/components/FileUploadTable/index.vue +32 -3
- package/src/components/Statis/index.vue +16 -2
- package/src/components/Statis/statisItem.vue +10 -4
- package/src/components/Statis/statisPopover.vue +7 -0
- package/src/components/Upload/index.vue +8 -4
- package/src/index.js +3 -6
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
- package/theme/blue.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
- package/src/components/PlainText/PlainTextItem.vue +0 -17
- package/src/components/PlainText/index.vue +0 -12
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
:headers="headers"
|
|
6
6
|
:accept="accept"
|
|
7
7
|
:multiple="multiple"
|
|
8
|
-
:file-list="fileList
|
|
9
|
-
:show-file-list="
|
|
8
|
+
:file-list="fileList"
|
|
9
|
+
:show-file-list="multiple ? true : showFileList"
|
|
10
10
|
v-bind="$attrs"
|
|
11
11
|
:on-success="successFn"
|
|
12
12
|
:on-error="errorFn"
|
|
@@ -95,6 +95,10 @@ export default {
|
|
|
95
95
|
type: [String, Number],
|
|
96
96
|
default: undefined
|
|
97
97
|
},
|
|
98
|
+
showFileList: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: false
|
|
101
|
+
},
|
|
98
102
|
accept: {
|
|
99
103
|
type: String,
|
|
100
104
|
default: undefined
|
|
@@ -216,9 +220,9 @@ export default {
|
|
|
216
220
|
if (this.onSuccess) {
|
|
217
221
|
this.onSuccess(response, file, fileList)
|
|
218
222
|
} else {
|
|
219
|
-
this.fileNameC = file.name
|
|
223
|
+
this.fileNameC = this.multiple ? '' : file.name
|
|
220
224
|
this.fileUrlC = response.data
|
|
221
|
-
this.fileList =
|
|
225
|
+
this.fileList = fileList
|
|
222
226
|
}
|
|
223
227
|
|
|
224
228
|
if (this.msgType === 'dialog') {
|
package/src/index.js
CHANGED
|
@@ -50,8 +50,7 @@ import FlowDialog from './components/ApprovalRecord/flowDialog.vue'
|
|
|
50
50
|
import ChildRange from './components/ChildRange/index'
|
|
51
51
|
import FileImport from './components/FileImport/index'
|
|
52
52
|
import PageHeader from './components/PageHeader/index'
|
|
53
|
-
import
|
|
54
|
-
import PlainTextItem from './components/PlainText/PlainTextItem'
|
|
53
|
+
import Descriptions from './components/Descriptions'
|
|
55
54
|
// ECharts 不要打包进来
|
|
56
55
|
// import Search from './components/Search/index.vue'
|
|
57
56
|
import Stamp from './components/Stamp/index.vue'
|
|
@@ -140,8 +139,7 @@ const components = [
|
|
|
140
139
|
ChildRange,
|
|
141
140
|
FileImport,
|
|
142
141
|
PageHeader,
|
|
143
|
-
|
|
144
|
-
PlainTextItem,
|
|
142
|
+
Descriptions,
|
|
145
143
|
// Search,
|
|
146
144
|
approvalImg,
|
|
147
145
|
Stamp,
|
|
@@ -249,8 +247,7 @@ export {
|
|
|
249
247
|
ChildRange,
|
|
250
248
|
FileImport,
|
|
251
249
|
PageHeader,
|
|
252
|
-
|
|
253
|
-
PlainTextItem,
|
|
250
|
+
Descriptions,
|
|
254
251
|
// Search,
|
|
255
252
|
approvalImg,
|
|
256
253
|
Stamp
|