imatrix-ui 0.2.7-up → 0.2.8-up
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +444 -447
- package/lib/super-ui.umd.cjs +6 -6
- package/package.json +1 -1
- package/packages/department-tree-inline/src/search-result.vue +2 -2
- package/packages/department-user-tree-inline/src/search-result.vue +2 -2
- package/packages/fs-upload/src/fs-upload-multi.vue +3 -3
- package/packages/fs-upload-list/src/fs-upload-list.vue +2 -2
- package/packages/multipart-upload/src/multipart-upload-form.vue +2 -2
- package/packages/multipart-upload/src/multipart-upload-list.vue +1 -1
- package/packages/remove-department/src/remove-department.vue +2 -2
- package/packages/remove-user/src/remove-user.vue +2 -2
- package/packages/remove-workgroup/src/remove-workgroup.vue +2 -2
- package/packages/super-grid/src/columns-config.vue +2 -2
- package/packages/super-grid/src/dynamic-input.vue +4 -4
- package/packages/super-grid/src/normal-column.vue +10 -10
- package/packages/super-grid/src/search-button.vue +3 -3
- package/packages/super-grid/src/search-condition-input.vue +2 -2
- package/packages/super-grid/src/search-form-advancedQuery.vue +2 -2
- package/packages/super-grid/src/search-form.vue +5 -5
- package/packages/super-nine-grid/src/search-form.vue +3 -3
- package/packages/super-nine-grid/src/super-nine-grid.vue +2 -2
- package/packages/workgroup-tree-inline/src/search-result.vue +2 -2
- package/packages/workgroup-user-tree-inline/src/search-result.vue +2 -2
- package/src/utils/auth-api.js +0 -2
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<div>
|
|
34
34
|
<el-button
|
|
35
35
|
type="primary"
|
|
36
|
-
size="
|
|
36
|
+
size="small"
|
|
37
37
|
:icon="ElIconPlus"
|
|
38
38
|
:disabled="isDisable(scope.row)"
|
|
39
39
|
circle
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
<div>
|
|
64
64
|
<el-button
|
|
65
65
|
type="danger"
|
|
66
|
-
size="
|
|
66
|
+
size="small"
|
|
67
67
|
:icon="ElIconDelete"
|
|
68
68
|
circle
|
|
69
69
|
@click="removeUser(scope.$index, scope.row)"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div>
|
|
47
47
|
<el-button
|
|
48
48
|
type="primary"
|
|
49
|
-
size="
|
|
49
|
+
size="small"
|
|
50
50
|
:icon="ElIconPlus"
|
|
51
51
|
:disabled="isDisable(scope.row)"
|
|
52
52
|
circle
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<div>
|
|
67
67
|
<el-button
|
|
68
68
|
type="danger"
|
|
69
|
-
size="
|
|
69
|
+
size="small"
|
|
70
70
|
:icon="ElIconDelete"
|
|
71
71
|
circle
|
|
72
72
|
@click="removeUser(scope.$index, scope.row)"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
>
|
|
69
69
|
<template v-slot="scope">
|
|
70
70
|
<el-button
|
|
71
|
-
size="
|
|
71
|
+
size="small"
|
|
72
72
|
type="danger"
|
|
73
73
|
@click="deleteFile(scope.$index)"
|
|
74
74
|
>
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
<template v-slot="scope">
|
|
105
105
|
<el-button
|
|
106
106
|
v-if="!disabled"
|
|
107
|
-
size="
|
|
107
|
+
size="small"
|
|
108
108
|
type="danger"
|
|
109
109
|
@click="deleteFile(scope.$index)"
|
|
110
110
|
>
|
|
111
111
|
{{ $t('fsUpload.delete') }}
|
|
112
112
|
</el-button>
|
|
113
|
-
<el-button size="
|
|
113
|
+
<el-button size="small" @click="preview(scope.row)">
|
|
114
114
|
{{ $t('fsUpload.preview') }}
|
|
115
115
|
</el-button>
|
|
116
116
|
</template>
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
<template v-slot:append>
|
|
12
12
|
<el-button
|
|
13
13
|
v-if="!disabled"
|
|
14
|
-
size="
|
|
14
|
+
size="small"
|
|
15
15
|
:icon="ElIconUpload2"
|
|
16
16
|
@click="openAnnexUpload"
|
|
17
17
|
/>
|
|
18
|
-
<el-button size="
|
|
18
|
+
<el-button size="small" :icon="ElIconZoomIn" @click="preview" />
|
|
19
19
|
</template>
|
|
20
20
|
</el-input>
|
|
21
21
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
<template v-slot:append>
|
|
12
12
|
<el-button
|
|
13
13
|
v-if="!disabled"
|
|
14
|
-
size="
|
|
14
|
+
size="small"
|
|
15
15
|
:icon="ElIconUpload2"
|
|
16
16
|
@click="openAnnexUpload"
|
|
17
17
|
/>
|
|
18
|
-
<el-button size="
|
|
18
|
+
<el-button size="small" :icon="ElIconZoomIn" @click="preview" />
|
|
19
19
|
</template>
|
|
20
20
|
</el-input>
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<div style="margin-bottom: 10px">
|
|
16
16
|
<el-button
|
|
17
17
|
type="danger"
|
|
18
|
-
size="
|
|
18
|
+
size="small"
|
|
19
19
|
:icon="ElIconDelete"
|
|
20
20
|
@click="removeAllDept()"
|
|
21
21
|
>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<div>
|
|
42
42
|
<el-button
|
|
43
43
|
type="danger"
|
|
44
|
-
size="
|
|
44
|
+
size="small"
|
|
45
45
|
:icon="ElIconDelete"
|
|
46
46
|
circle
|
|
47
47
|
@click="removeDept(scope.$index)"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<div style="margin-bottom: 10px">
|
|
16
16
|
<el-button
|
|
17
17
|
type="danger"
|
|
18
|
-
size="
|
|
18
|
+
size="small"
|
|
19
19
|
:icon="ElIconDelete"
|
|
20
20
|
@click="removeAllUser()"
|
|
21
21
|
>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<div>
|
|
53
53
|
<el-button
|
|
54
54
|
type="danger"
|
|
55
|
-
size="
|
|
55
|
+
size="small"
|
|
56
56
|
:icon="ElIconDelete"
|
|
57
57
|
circle
|
|
58
58
|
@click="removeUser(scope.$index)"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<div style="margin-bottom: 10px">
|
|
16
16
|
<el-button
|
|
17
17
|
type="danger"
|
|
18
|
-
size="
|
|
18
|
+
size="small"
|
|
19
19
|
:icon="ElIconDelete"
|
|
20
20
|
@click="removeAllWg()"
|
|
21
21
|
>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<div>
|
|
42
42
|
<el-button
|
|
43
43
|
type="danger"
|
|
44
|
-
size="
|
|
44
|
+
size="small"
|
|
45
45
|
:icon="ElIconDelete"
|
|
46
46
|
circle
|
|
47
47
|
@click="removeWg(scope.$index)"
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"
|
|
104
104
|
v-model="scope.row.displayOrder"
|
|
105
105
|
clearable
|
|
106
|
-
size="
|
|
106
|
+
size="small"
|
|
107
107
|
@clear="clearDisplayOrder(scope.row)"
|
|
108
108
|
/>
|
|
109
109
|
<el-select v-else v-model="scope.row.displayOrderType">
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
<el-input
|
|
122
122
|
v-if="scope.row.widthType && scope.row.widthType === 'custom'"
|
|
123
123
|
v-model="scope.row.width"
|
|
124
|
-
size="
|
|
124
|
+
size="small"
|
|
125
125
|
clearable
|
|
126
126
|
@clear="clearWidth(scope.row)"
|
|
127
127
|
/>
|
|
@@ -202,8 +202,8 @@
|
|
|
202
202
|
:disabled="disabled"
|
|
203
203
|
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
204
204
|
>
|
|
205
|
-
<el-button slot="append" size="
|
|
206
|
-
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="
|
|
205
|
+
<el-button slot="append" size="small" :disabled="disabled" icon="el-icon-upload2" @click="openAnnexUpload" />
|
|
206
|
+
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="small" icon="el-icon-zoom-in" @click="previewImg" />
|
|
207
207
|
</el-input>
|
|
208
208
|
|
|
209
209
|
<el-input
|
|
@@ -214,8 +214,8 @@
|
|
|
214
214
|
:disabled="disabled"
|
|
215
215
|
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
216
216
|
>
|
|
217
|
-
<el-button slot="append" size="
|
|
218
|
-
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="
|
|
217
|
+
<el-button slot="append" size="small" :disabled="disabled" icon="el-icon-upload2" @click="openAnnexUpload" />
|
|
218
|
+
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="small" icon="el-icon-zoom-in" @click="previewImg" />
|
|
219
219
|
</el-input> -->
|
|
220
220
|
|
|
221
221
|
<!-- <custom-fma v-if="type==null ||type === ''" /> -->
|
|
@@ -434,18 +434,18 @@
|
|
|
434
434
|
>
|
|
435
435
|
</span>
|
|
436
436
|
</span>
|
|
437
|
+
<view-image-dialog
|
|
438
|
+
v-if="showSingleImgFlag"
|
|
439
|
+
:file-list="fileList"
|
|
440
|
+
@close="showSingleImgFlag = false"
|
|
441
|
+
/>
|
|
442
|
+
<rich-editor-viewer
|
|
443
|
+
v-if="showRichEditorViewer"
|
|
444
|
+
ref="richEditorViewerRef"
|
|
445
|
+
@closeRichEditorContent="closeRichEditorContent"
|
|
446
|
+
/>
|
|
437
447
|
</template>
|
|
438
448
|
</el-table-column>
|
|
439
|
-
<view-image-dialog
|
|
440
|
-
v-if="showSingleImgFlag"
|
|
441
|
-
:file-list="fileList"
|
|
442
|
-
@close="showSingleImgFlag = false"
|
|
443
|
-
/>
|
|
444
|
-
<rich-editor-viewer
|
|
445
|
-
v-if="showRichEditorViewer"
|
|
446
|
-
ref="richEditorViewerRef"
|
|
447
|
-
@closeRichEditorContent="closeRichEditorContent"
|
|
448
|
-
/>
|
|
449
449
|
</template>
|
|
450
450
|
|
|
451
451
|
<script>
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
</el-button>
|
|
18
18
|
<el-button
|
|
19
19
|
size="small"
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
:icon="isMyOpen ? 'el-icon-caret-top' : 'el-icon-caret-bottom'"
|
|
22
22
|
@click="openFold"
|
|
23
23
|
>
|
|
24
24
|
{{ isMyOpen ? $t('superGrid.fold') : $t('superGrid.open') }}
|
|
25
25
|
</el-button>
|
|
26
26
|
<!-- <span v-if="advancedQuery !== null && advancedQuery!== undefined && advancedQuery === true && normalQuery !== null && normalQuery!== undefined && normalQuery === true" style="margin-left:10px">
|
|
27
|
-
<el-button v-if="searchType === 'advanced'" size="
|
|
27
|
+
<el-button v-if="searchType === 'advanced'" size="small" @click="searchType = 'normal'">
|
|
28
28
|
{{ $t('imatrixUIPublicModel.switchToNormalQuery') }}
|
|
29
29
|
</el-button>
|
|
30
|
-
<el-button v-if="searchType === 'normal'" size="
|
|
30
|
+
<el-button v-if="searchType === 'normal'" size="small" @click="searchType = 'advanced'">
|
|
31
31
|
{{ $t('imatrixUIPublicModel.switchToAdvancedQuery') }}
|
|
32
32
|
</el-button>
|
|
33
33
|
</span> -->
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<el-form
|
|
14
14
|
ref="conditionForm"
|
|
15
15
|
:model="searchCondition"
|
|
16
|
-
size="
|
|
16
|
+
size="small"
|
|
17
17
|
label-position="left"
|
|
18
18
|
label-width="120px"
|
|
19
19
|
>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
]"
|
|
30
30
|
>
|
|
31
|
-
<el-input v-model="searchCondition.conditionName" size="
|
|
31
|
+
<el-input v-model="searchCondition.conditionName" size="small" />
|
|
32
32
|
</el-form-item>
|
|
33
33
|
</el-form>
|
|
34
34
|
<template v-slot:footer>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="formFlag">
|
|
3
3
|
<!-- <el-row style="padding-bottom: 8px">
|
|
4
|
-
<el-button type="primary" size="
|
|
4
|
+
<el-button type="primary" size="small" plain icon="el-icon-circle-plus-outline" @click="add">
|
|
5
5
|
{{ $t('imatrixUIPublicModel.add') }}
|
|
6
6
|
</el-button>
|
|
7
|
-
<el-button type="primary" size="
|
|
7
|
+
<el-button type="primary" size="small" plain icon="el-icon-delete" @click="remove">
|
|
8
8
|
{{ $t('imatrixUIPublicModel.delete') }}
|
|
9
9
|
</el-button>
|
|
10
10
|
</el-row> -->
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
<el-button
|
|
46
46
|
:loading="loading"
|
|
47
47
|
type="primary"
|
|
48
|
-
size="
|
|
48
|
+
size="small"
|
|
49
49
|
@click="submitForm('searchForm')"
|
|
50
50
|
>
|
|
51
51
|
{{ $t('imatrixUIPublicModel.sure') }}
|
|
52
52
|
</el-button>
|
|
53
53
|
<el-button
|
|
54
54
|
:loading="loading"
|
|
55
|
-
size="
|
|
55
|
+
size="small"
|
|
56
56
|
@click="resetForm('searchForm')"
|
|
57
57
|
>
|
|
58
58
|
{{ $t('imatrixUIPublicModel.reset') }}
|
|
59
59
|
</el-button>
|
|
60
|
-
<el-button size="
|
|
60
|
+
<el-button size="small" @click="saveCondition">
|
|
61
61
|
{{ $t('superGrid.saveCondition') }}
|
|
62
62
|
</el-button>
|
|
63
63
|
<span
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
>
|
|
74
74
|
<el-button
|
|
75
75
|
v-if="searchType === 'advanced'"
|
|
76
|
-
size="
|
|
76
|
+
size="small"
|
|
77
77
|
@click="searchType = 'normal'"
|
|
78
78
|
>
|
|
79
79
|
{{ $t('imatrixUIPublicModel.switchToNormalQuery') }}
|
|
80
80
|
</el-button>
|
|
81
81
|
<el-button
|
|
82
82
|
v-if="searchType === 'normal'"
|
|
83
|
-
size="
|
|
83
|
+
size="small"
|
|
84
84
|
@click="searchType = 'advanced'"
|
|
85
85
|
>
|
|
86
86
|
{{ $t('imatrixUIPublicModel.switchToAdvancedQuery') }}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:label-width="labelWidth"
|
|
8
8
|
:label-position="query.queryLabelPosition"
|
|
9
9
|
class="grid-search-form"
|
|
10
|
-
size="
|
|
10
|
+
size="small"
|
|
11
11
|
>
|
|
12
12
|
<table>
|
|
13
13
|
<tr v-for="r of rowNum" :key="r">
|
|
@@ -374,14 +374,14 @@
|
|
|
374
374
|
<el-button
|
|
375
375
|
:loading="loading"
|
|
376
376
|
type="primary"
|
|
377
|
-
size="
|
|
377
|
+
size="small"
|
|
378
378
|
@click="submitForm('searchForm')"
|
|
379
379
|
>
|
|
380
380
|
{{ $t('imatrixUIPublicModel.sure') }}
|
|
381
381
|
</el-button>
|
|
382
382
|
<el-button
|
|
383
383
|
:loading="loading"
|
|
384
|
-
size="
|
|
384
|
+
size="small"
|
|
385
385
|
@click="resetForm('searchForm')"
|
|
386
386
|
>
|
|
387
387
|
{{ $t('imatrixUIPublicModel.reset') }}
|
|
@@ -167,14 +167,14 @@
|
|
|
167
167
|
>
|
|
168
168
|
<el-button
|
|
169
169
|
v-if="showEnableButton(params)"
|
|
170
|
-
size="
|
|
170
|
+
size="small"
|
|
171
171
|
@click.stop="changeState(params)"
|
|
172
172
|
>
|
|
173
173
|
禁用
|
|
174
174
|
</el-button>
|
|
175
175
|
<el-button
|
|
176
176
|
v-else
|
|
177
|
-
size="
|
|
177
|
+
size="small"
|
|
178
178
|
type="primary"
|
|
179
179
|
@click.stop="changeState(params)"
|
|
180
180
|
>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<div>
|
|
34
34
|
<el-button
|
|
35
35
|
type="primary"
|
|
36
|
-
size="
|
|
36
|
+
size="small"
|
|
37
37
|
:icon="ElIconPlus"
|
|
38
38
|
:disabled="isDisable(scope.row)"
|
|
39
39
|
circle
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<div>
|
|
54
54
|
<el-button
|
|
55
55
|
type="danger"
|
|
56
|
-
size="
|
|
56
|
+
size="small"
|
|
57
57
|
:icon="ElIconDelete"
|
|
58
58
|
circle
|
|
59
59
|
@click="removeWorkgroup(scope.$index, scope.row)"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<div>
|
|
34
34
|
<el-button
|
|
35
35
|
type="primary"
|
|
36
|
-
size="
|
|
36
|
+
size="small"
|
|
37
37
|
:icon="ElIconPlus"
|
|
38
38
|
:disabled="isDisable(scope.row)"
|
|
39
39
|
circle
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<div>
|
|
54
54
|
<el-button
|
|
55
55
|
type="danger"
|
|
56
|
-
size="
|
|
56
|
+
size="small"
|
|
57
57
|
:icon="ElIconDelete"
|
|
58
58
|
circle
|
|
59
59
|
@click="removeWorkgroupUser(scope.$index, scope.row)"
|
package/src/utils/auth-api.js
CHANGED