doway-coms 2.11.11 → 2.11.13

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 (91) hide show
  1. package/.browserslistrc +2 -2
  2. package/README.md +28 -28
  3. package/dist/css/chunk-vendors.7f83d8f9.css +8 -0
  4. package/dist/css/index.7946d50b.css +1 -0
  5. package/dist/favicon.ico +0 -0
  6. package/dist/js/chunk-vendors.28fda91d.js +340 -0
  7. package/dist/js/index.49bc6add.js +2 -0
  8. package/lib/doway-coms.common.js +120397 -0
  9. package/lib/doway-coms.css +1 -0
  10. package/lib/doway-coms.umd.js +120407 -0
  11. package/lib/doway-coms.umd.min.js +328 -0
  12. package/package.json +62 -62
  13. package/packages/AuditsList/index.js +7 -7
  14. package/packages/AuditsList/src/index.vue +314 -314
  15. package/packages/BaseButton/index.js +7 -7
  16. package/packages/BaseButton/src/index.vue +242 -242
  17. package/packages/BaseCheckbox/index.js +7 -7
  18. package/packages/BaseCheckbox/src/index.vue +134 -134
  19. package/packages/BaseDate/index.js +7 -7
  20. package/packages/BaseDate/src/index.vue +197 -197
  21. package/packages/BaseDateWeek/index.js +7 -7
  22. package/packages/BaseDateWeek/src/index.vue +163 -163
  23. package/packages/BaseDatetime/index.js +7 -7
  24. package/packages/BaseDatetime/src/index.vue +196 -196
  25. package/packages/BaseFileGroup/index.js +7 -7
  26. package/packages/BaseFileGroup/src/index.vue +724 -724
  27. package/packages/BaseForm/index.js +7 -7
  28. package/packages/BaseForm/src/index.vue +895 -895
  29. package/packages/BaseGantt/index.js +9 -9
  30. package/packages/BaseGantt/src/index.vue +617 -617
  31. package/packages/BaseGrid/index.js +9 -9
  32. package/packages/BaseGrid/src/exportCmp.vue +105 -105
  33. package/packages/BaseGrid/src/gridApi.js +32 -32
  34. package/packages/BaseGrid/src/index.vue +4242 -4230
  35. package/packages/BaseGridAdjust/index.js +9 -9
  36. package/packages/BaseGridAdjust/src/index.vue +482 -482
  37. package/packages/BaseInput/index.js +7 -7
  38. package/packages/BaseInput/src/index.vue +195 -195
  39. package/packages/BaseIntervalInput/index.js +7 -7
  40. package/packages/BaseIntervalInput/src/index.vue +310 -310
  41. package/packages/BaseKanbanEmpty/index.js +7 -7
  42. package/packages/BaseKanbanEmpty/src/index.vue +176 -176
  43. package/packages/BaseNumberInput/index.js +7 -7
  44. package/packages/BaseNumberInput/src/index.vue +291 -291
  45. package/packages/BasePagination/index.js +7 -7
  46. package/packages/BasePagination/src/index.vue +91 -91
  47. package/packages/BasePictureCard/index.js +7 -7
  48. package/packages/BasePictureCard/src/index.vue +671 -671
  49. package/packages/BasePrintPreview/index.js +7 -7
  50. package/packages/BasePrintPreview/src/index.vue +150 -150
  51. package/packages/BasePulldown/index.js +7 -7
  52. package/packages/BasePulldown/src/index.vue +1395 -1395
  53. package/packages/BaseSearch/index.js +7 -7
  54. package/packages/BaseSearch/src/index.vue +935 -935
  55. package/packages/BaseSelect/index.js +7 -7
  56. package/packages/BaseSelect/src/index.vue +155 -155
  57. package/packages/BaseSelectMulti/index.js +7 -7
  58. package/packages/BaseSelectMulti/src/index.vue +148 -148
  59. package/packages/BaseTextArea/index.js +7 -7
  60. package/packages/BaseTextArea/src/index.vue +187 -187
  61. package/packages/BaseTime/index.js +7 -7
  62. package/packages/BaseTime/src/index.vue +166 -166
  63. package/packages/BaseTool/index.js +7 -7
  64. package/packages/BaseTool/src/index.vue +353 -353
  65. package/packages/BaseToolStatus/index.js +7 -7
  66. package/packages/BaseToolStatus/src/ApprovalPersonsGroup.vue +41 -41
  67. package/packages/BaseToolStatus/src/index.vue +439 -439
  68. package/packages/BaseTreeSelect/index.js +8 -8
  69. package/packages/BaseTreeSelect/src/index.vue +437 -437
  70. package/packages/HistoryModal/index.js +8 -8
  71. package/packages/HistoryModal/src/index.vue +144 -144
  72. package/packages/LeaveAMessage/index.js +7 -7
  73. package/packages/LeaveAMessage/src/index.vue +601 -601
  74. package/packages/directive/clickoutside.js +44 -44
  75. package/packages/index.js +197 -197
  76. package/packages/styles/default.css +78 -78
  77. package/packages/styles/default.less +91 -91
  78. package/packages/utils/api.js +122 -122
  79. package/packages/utils/auth.js +38 -38
  80. package/packages/utils/common.js +703 -703
  81. package/packages/utils/dom.js +181 -181
  82. package/packages/utils/enum.js +86 -86
  83. package/packages/utils/filters.js +495 -485
  84. package/packages/utils/gridFormat.js +66 -66
  85. package/packages/utils/msg.js +103 -103
  86. package/packages/utils/patchFiles.js +44 -44
  87. package/packages/utils/request.js +181 -181
  88. package/packages/utils/store.js +372 -372
  89. package/packages/utils/tscPrinter.js +101 -101
  90. package/sync.bash +6 -6
  91. package/vue.config.js +59 -59
@@ -1,440 +1,440 @@
1
- <template>
2
- <div class="status-bar">
3
- <div class="status-bar-btns">
4
- <a-button
5
- class="status-bar-btn"
6
- size="small"
7
- :type="btn.isPrimary === true ? 'primary' : 'default'"
8
- v-show="btn.visible === true"
9
- :loading="btn.isLoading"
10
- @click="btnClick(btn)"
11
- v-for="btn in internalBtns"
12
- :key="btn.code"
13
- >{{ btn.caption }}</a-button
14
- >
15
- </div>
16
- <div class="status-bar-status">
17
- <div class="el-status-btn-wrapper">
18
- <div
19
- v-for="(status, index) in statuss"
20
- :key="index"
21
- style="display:inline-block"
22
- >
23
- <template v-if="status.users !== undefined">
24
- <a-popover title="审批人员" placement="bottom" @mouseenter="mouseenter">
25
- <template slot="content">
26
- <approval-persons-group ref="pageView" :groupId="index" :users="status.users"/>
27
- </template>
28
- <template>
29
- <a-button
30
-
31
- v-if="!status.notButton"
32
- class="status-primary"
33
- :class="
34
- status.value === (workFlowStatus?workFlowStatus:formRow.status)
35
- ? 'current-status'
36
- : 'inactive-status'
37
- "
38
- type="text"
39
- >
40
- {{ status.caption }}</a-button
41
- >
42
- <div
43
- v-else
44
- class="progressBar"
45
- :class="
46
- formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
47
- "
48
- >
49
- <div class="inProgressBar" :style="{ width: status.progress }">
50
- <div class="text">
51
- {{ status.progress }}
52
- </div>
53
- </div>
54
- </div>
55
- </template>
56
- </a-popover>
57
- </template>
58
- <template v-else>
59
- <a-button
60
-
61
- v-if="!status.notButton"
62
- class="status-primary"
63
- :class="
64
- status.value === (workFlowStatus?workFlowStatus:formRow.status)
65
- ? 'current-status'
66
- : 'inactive-status'
67
- "
68
- type="text"
69
- >
70
- {{ status.caption }}</a-button
71
- >
72
- <div
73
- v-else
74
- class="progressBar"
75
- :class="
76
- formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
77
- "
78
- >
79
- <div class="inProgressBar" :style="{ width: status.progress }">
80
- <div class="text">
81
- {{ status.progress }}
82
- </div>
83
- </div>
84
- </div>
85
- </template>
86
- </div>
87
- </div>
88
- </div>
89
- </div>
90
- </template>
91
-
92
- <script>
93
- import ApprovalPersonsGroup from './ApprovalPersonsGroup.vue'
94
- import { Button } from 'ant-design-vue'
95
- export default {
96
- name: 'BaseToolStatus',
97
- components:{
98
- 'a-button': Button,
99
- 'approval-persons-group':ApprovalPersonsGroup,
100
- },
101
- data() {
102
- return {
103
- internalWorkFlowBtns: [],
104
- internalBtns: [],
105
- internalStatuss: [],
106
- internalFormRow: {}
107
- }
108
- },
109
- props: {
110
- workFlowBtns: {
111
- type: Array,
112
- default: () => {
113
- return []
114
- }
115
- },
116
- actionData: {
117
- type: Object,
118
- default: () => {
119
- return {}
120
- },
121
- deep: true
122
- },
123
- workFlowStatus: {
124
- // 对象信息
125
- type: String,
126
- default: ''
127
- },
128
- objectName: {
129
- // 对象信息
130
- type: String,
131
- default: 'artRout'
132
- },
133
- formRow: {
134
- type: Object,
135
- default: function() {
136
- return {}
137
- }
138
- },
139
- btns: {
140
- // 按钮
141
- type: Array,
142
- default: function() {
143
- return []
144
- }
145
- },
146
- statuss: {
147
- // 状态栏
148
- type: Array,
149
- default: function() {
150
- return []
151
- }
152
- }
153
- },
154
- watch: {
155
- workFlowBtns: {
156
- handler: function(newVal) {
157
- this.internalWorkFlowBtns = newVal
158
- },
159
- deep: true
160
- },
161
- btns: {
162
- handler: function(newVal) {
163
- this.internalBtns = newVal
164
- },
165
- deep: true
166
- }
167
- },
168
- created() {
169
- this.internalWorkFlowBtns = this.workFlowBtns
170
- this.internalBtns = this.btns
171
- },
172
- methods: {
173
- btnClick(btn) {
174
- this.$emit(btn.code, btn)
175
- },
176
- mouseenter(){
177
- if (this.$refs.pageView !== undefined){
178
- if (Array.isArray(this.$refs.pageView)){
179
- this.$refs.pageView.forEach(item => {
180
- item.show()
181
- })
182
- }else {
183
- this.$refs.pageView.show()
184
- }
185
- }
186
- }
187
- }
188
- }
189
- </script>
190
- <style lang="scss" scoped>
191
- .progressBarStop {
192
- background-color: #fafafa;
193
- width: 90px;
194
- height: 32px;
195
- margin-bottom: -12px !important;
196
- .inProgressBar {
197
- background: 0;
198
- }
199
- }
200
- .progressBar {
201
- position: relative;
202
- background-color: #fafafa;
203
- width: 90px;
204
- height: 32px;
205
- margin-bottom: -12px !important;
206
- }
207
- .progressBar:after {
208
- content: "";
209
- position: absolute;
210
- top: 0;
211
- right: 0;
212
- background-color: #ccc;
213
- width: 1px;
214
- height: 32px;
215
- }
216
- .inProgressBar {
217
- width: 90px;
218
- height: 32px;
219
- background: -webkit-repeating-linear-gradient(
220
- 30deg,
221
- #83a7cf 0,
222
- #83a7cf 10px,
223
- #93b3d6 10px,
224
- #93b3d6 20px
225
- );
226
- -webkit-animation: move 5s linear infinite;
227
- }
228
- .text {
229
- position: absolute;
230
- top: 20%;
231
- left: 40%;
232
- color: black;
233
- font-size: 14px;
234
- }
235
- @-webkit-keyframes move {
236
- 0% {
237
- background-position: 0 0;
238
- }
239
- 100% {
240
- background-position: -200px 0;
241
- }
242
- }
243
- //所在状态状态提示样式
244
- .current-status {
245
- color: #010101 !important;
246
- font-weight: bold;
247
- background-color: #ffc56b !important;
248
- }
249
- //所在状态状态指向提示样式
250
- .current-status::before {
251
- content: " ";
252
- display: block;
253
- position: absolute;
254
- top: 0px;
255
- left: auto;
256
- bottom: auto;
257
- right: -12px;
258
- border-top: 16px solid transparent;
259
- border-bottom: 18px solid transparent;
260
- border-right: none;
261
- border-left: 11px solid #ffc56b !important;
262
- z-index: 10;
263
- }
264
- //所在状态状态指向提示样式
265
- .current-status::after {
266
- content: " ";
267
- display: block;
268
- position: absolute;
269
- top: 0px;
270
- left: auto;
271
- bottom: auto;
272
- right: -11px;
273
- border-left: 11px solid #ffc56b !important;
274
- border-top: 16px solid transparent;
275
- border-bottom: 18px solid transparent;
276
- border-right: none;
277
- z-index: 11;
278
- }
279
- //未使用的状态提示样式
280
- .inactive-status {
281
- background-color: #f9f9f9;
282
- }
283
- //未使用的状态指向提示样式
284
- .inactive-status::before {
285
- content: " ";
286
- display: block;
287
- position: absolute;
288
- top: 0px;
289
- left: auto;
290
- bottom: auto;
291
- right: -12px;
292
- border-top: 16px solid transparent;
293
- border-bottom: 18px solid transparent;
294
- border-right: none;
295
- border-left: 11px solid #ccc !important;
296
- z-index: 10;
297
- }
298
- //未使用的状态指向提示样式
299
- .inactive-status::after {
300
- content: " ";
301
- display: block;
302
- position: absolute;
303
- top: 0px;
304
- left: auto;
305
- bottom: auto;
306
- right: -11px;
307
- border-left: 11px solid #f9f9f9 !important;
308
- border-top: 16px solid transparent;
309
- border-bottom: 18px solid transparent;
310
- border-right: none;
311
- z-index: 11;
312
- }
313
- //状态条样式
314
- .status-bar {
315
- display: flex;
316
- justify-content: space-between;
317
- border-bottom: 1px solid #ccc;
318
- border-top: 1px solid #ccc;
319
- // padding-top: 1px;
320
-
321
- padding-left: 8px;
322
- // padding-bottom: 1px;
323
- // border-left: none;
324
- //状态栏高度
325
- .status-bar-btns {
326
- line-height: 30px;
327
- float: left;
328
- margin-left: 10px;
329
- //状态工作按钮样式
330
- .status-bar-btn {
331
- // margin-top: 1px;
332
- // border-radius: 3px;
333
- // height: 28px;
334
- // font-size: 12px;
335
- // padding: 5px 10px;
336
- margin-right: 8px;
337
- }
338
- //状态工作按钮样式
339
- .btn-primary {
340
- color: #efefef;
341
- background-color: #219bff;
342
- cursor: pointer;
343
- // margin-top: 1px;
344
- }
345
- }
346
- //状态提示按钮样式
347
- .status-bar-status {
348
- overflow: hidden;
349
- .el-status-btn-wrapper {
350
- overflow: visible;
351
- border-left: 1px solid #ccc;
352
- // border-bottom: 1px solid #ccc;
353
- .el-status-btn {
354
- margin-left: 0px !important;
355
- color: #000;
356
- padding-left: 20px;
357
- padding-right: 20px;
358
- position: relative;
359
- padding-left: 22px;
360
- cursor: default;
361
- font-size: 11px;
362
- background-color: #fff;
363
- }
364
- .el-status-btn::before {
365
- content: " ";
366
- display: block;
367
- position: absolute;
368
- top: 0px;
369
- left: auto;
370
- bottom: auto;
371
- right: -12px;
372
- border-top: 16px solid transparent;
373
- border-bottom: 18px solid transparent;
374
- border-right: none;
375
- border-left: 11px solid #ccc !important;
376
- z-index: 10;
377
- }
378
- .el-status-btn::after {
379
- content: " ";
380
- display: block;
381
- position: absolute;
382
- top: 0px;
383
- left: auto;
384
- bottom: auto;
385
- right: -11px;
386
- border-left: 11px solid white !important;
387
- border-top: 16px solid transparent;
388
- border-bottom: 18px solid transparent;
389
- border-right: none;
390
- z-index: 11;
391
- }
392
- .status-primary {
393
- color: #0b0b0b;
394
- font-size: 12px;
395
- border-radius: 0;
396
- background-color: #fafafa;
397
- margin-left: 0px !important;
398
- padding-left: 20px;
399
- padding-right: 20px;
400
- position: relative;
401
- padding-left: 22px;
402
- cursor: default;
403
- }
404
- .status-primary::before {
405
- content: " ";
406
- display: block;
407
- position: absolute;
408
- top: 0px;
409
- left: auto;
410
- bottom: auto;
411
- right: -12px;
412
- border-top: 16px solid transparent;
413
- border-bottom: 18px solid transparent;
414
- border-right: none;
415
- border-left: 11px solid #ccc;
416
- z-index: 10;
417
- }
418
-
419
- .status-primary::after {
420
- content: " ";
421
- display: block;
422
- position: absolute;
423
- top: 0px;
424
- left: auto;
425
- bottom: auto;
426
- right: -11px;
427
- border-left: 11px solid #f9f9f9;
428
- border-top: 16px solid transparent;
429
- border-bottom: 18px solid transparent;
430
- border-right: none;
431
- z-index: 11;
432
- }
433
- }
434
- }
435
- }
436
- </style>
437
- <style lang="less">
438
- @import '../../styles/default.less';
439
- </style>
1
+ <template>
2
+ <div class="status-bar">
3
+ <div class="status-bar-btns">
4
+ <a-button
5
+ class="status-bar-btn"
6
+ size="small"
7
+ :type="btn.isPrimary === true ? 'primary' : 'default'"
8
+ v-show="btn.visible === true"
9
+ :loading="btn.isLoading"
10
+ @click="btnClick(btn)"
11
+ v-for="btn in internalBtns"
12
+ :key="btn.code"
13
+ >{{ btn.caption }}</a-button
14
+ >
15
+ </div>
16
+ <div class="status-bar-status">
17
+ <div class="el-status-btn-wrapper">
18
+ <div
19
+ v-for="(status, index) in statuss"
20
+ :key="index"
21
+ style="display:inline-block"
22
+ >
23
+ <template v-if="status.users !== undefined">
24
+ <a-popover title="审批人员" placement="bottom" @mouseenter="mouseenter">
25
+ <template slot="content">
26
+ <approval-persons-group ref="pageView" :groupId="index" :users="status.users"/>
27
+ </template>
28
+ <template>
29
+ <a-button
30
+
31
+ v-if="!status.notButton"
32
+ class="status-primary"
33
+ :class="
34
+ status.value === (workFlowStatus?workFlowStatus:formRow.status)
35
+ ? 'current-status'
36
+ : 'inactive-status'
37
+ "
38
+ type="text"
39
+ >
40
+ {{ status.caption }}</a-button
41
+ >
42
+ <div
43
+ v-else
44
+ class="progressBar"
45
+ :class="
46
+ formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
47
+ "
48
+ >
49
+ <div class="inProgressBar" :style="{ width: status.progress }">
50
+ <div class="text">
51
+ {{ status.progress }}
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </template>
56
+ </a-popover>
57
+ </template>
58
+ <template v-else>
59
+ <a-button
60
+
61
+ v-if="!status.notButton"
62
+ class="status-primary"
63
+ :class="
64
+ status.value === (workFlowStatus?workFlowStatus:formRow.status)
65
+ ? 'current-status'
66
+ : 'inactive-status'
67
+ "
68
+ type="text"
69
+ >
70
+ {{ status.caption }}</a-button
71
+ >
72
+ <div
73
+ v-else
74
+ class="progressBar"
75
+ :class="
76
+ formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
77
+ "
78
+ >
79
+ <div class="inProgressBar" :style="{ width: status.progress }">
80
+ <div class="text">
81
+ {{ status.progress }}
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </template>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </template>
91
+
92
+ <script>
93
+ import ApprovalPersonsGroup from './ApprovalPersonsGroup.vue'
94
+ import { Button } from 'ant-design-vue'
95
+ export default {
96
+ name: 'BaseToolStatus',
97
+ components:{
98
+ 'a-button': Button,
99
+ 'approval-persons-group':ApprovalPersonsGroup,
100
+ },
101
+ data() {
102
+ return {
103
+ internalWorkFlowBtns: [],
104
+ internalBtns: [],
105
+ internalStatuss: [],
106
+ internalFormRow: {}
107
+ }
108
+ },
109
+ props: {
110
+ workFlowBtns: {
111
+ type: Array,
112
+ default: () => {
113
+ return []
114
+ }
115
+ },
116
+ actionData: {
117
+ type: Object,
118
+ default: () => {
119
+ return {}
120
+ },
121
+ deep: true
122
+ },
123
+ workFlowStatus: {
124
+ // 对象信息
125
+ type: String,
126
+ default: ''
127
+ },
128
+ objectName: {
129
+ // 对象信息
130
+ type: String,
131
+ default: 'artRout'
132
+ },
133
+ formRow: {
134
+ type: Object,
135
+ default: function() {
136
+ return {}
137
+ }
138
+ },
139
+ btns: {
140
+ // 按钮
141
+ type: Array,
142
+ default: function() {
143
+ return []
144
+ }
145
+ },
146
+ statuss: {
147
+ // 状态栏
148
+ type: Array,
149
+ default: function() {
150
+ return []
151
+ }
152
+ }
153
+ },
154
+ watch: {
155
+ workFlowBtns: {
156
+ handler: function(newVal) {
157
+ this.internalWorkFlowBtns = newVal
158
+ },
159
+ deep: true
160
+ },
161
+ btns: {
162
+ handler: function(newVal) {
163
+ this.internalBtns = newVal
164
+ },
165
+ deep: true
166
+ }
167
+ },
168
+ created() {
169
+ this.internalWorkFlowBtns = this.workFlowBtns
170
+ this.internalBtns = this.btns
171
+ },
172
+ methods: {
173
+ btnClick(btn) {
174
+ this.$emit(btn.code, btn)
175
+ },
176
+ mouseenter(){
177
+ if (this.$refs.pageView !== undefined){
178
+ if (Array.isArray(this.$refs.pageView)){
179
+ this.$refs.pageView.forEach(item => {
180
+ item.show()
181
+ })
182
+ }else {
183
+ this.$refs.pageView.show()
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ </script>
190
+ <style lang="scss" scoped>
191
+ .progressBarStop {
192
+ background-color: #fafafa;
193
+ width: 90px;
194
+ height: 32px;
195
+ margin-bottom: -12px !important;
196
+ .inProgressBar {
197
+ background: 0;
198
+ }
199
+ }
200
+ .progressBar {
201
+ position: relative;
202
+ background-color: #fafafa;
203
+ width: 90px;
204
+ height: 32px;
205
+ margin-bottom: -12px !important;
206
+ }
207
+ .progressBar:after {
208
+ content: "";
209
+ position: absolute;
210
+ top: 0;
211
+ right: 0;
212
+ background-color: #ccc;
213
+ width: 1px;
214
+ height: 32px;
215
+ }
216
+ .inProgressBar {
217
+ width: 90px;
218
+ height: 32px;
219
+ background: -webkit-repeating-linear-gradient(
220
+ 30deg,
221
+ #83a7cf 0,
222
+ #83a7cf 10px,
223
+ #93b3d6 10px,
224
+ #93b3d6 20px
225
+ );
226
+ -webkit-animation: move 5s linear infinite;
227
+ }
228
+ .text {
229
+ position: absolute;
230
+ top: 20%;
231
+ left: 40%;
232
+ color: black;
233
+ font-size: 14px;
234
+ }
235
+ @-webkit-keyframes move {
236
+ 0% {
237
+ background-position: 0 0;
238
+ }
239
+ 100% {
240
+ background-position: -200px 0;
241
+ }
242
+ }
243
+ //所在状态状态提示样式
244
+ .current-status {
245
+ color: #010101 !important;
246
+ font-weight: bold;
247
+ background-color: #ffc56b !important;
248
+ }
249
+ //所在状态状态指向提示样式
250
+ .current-status::before {
251
+ content: " ";
252
+ display: block;
253
+ position: absolute;
254
+ top: 0px;
255
+ left: auto;
256
+ bottom: auto;
257
+ right: -12px;
258
+ border-top: 16px solid transparent;
259
+ border-bottom: 18px solid transparent;
260
+ border-right: none;
261
+ border-left: 11px solid #ffc56b !important;
262
+ z-index: 10;
263
+ }
264
+ //所在状态状态指向提示样式
265
+ .current-status::after {
266
+ content: " ";
267
+ display: block;
268
+ position: absolute;
269
+ top: 0px;
270
+ left: auto;
271
+ bottom: auto;
272
+ right: -11px;
273
+ border-left: 11px solid #ffc56b !important;
274
+ border-top: 16px solid transparent;
275
+ border-bottom: 18px solid transparent;
276
+ border-right: none;
277
+ z-index: 11;
278
+ }
279
+ //未使用的状态提示样式
280
+ .inactive-status {
281
+ background-color: #f9f9f9;
282
+ }
283
+ //未使用的状态指向提示样式
284
+ .inactive-status::before {
285
+ content: " ";
286
+ display: block;
287
+ position: absolute;
288
+ top: 0px;
289
+ left: auto;
290
+ bottom: auto;
291
+ right: -12px;
292
+ border-top: 16px solid transparent;
293
+ border-bottom: 18px solid transparent;
294
+ border-right: none;
295
+ border-left: 11px solid #ccc !important;
296
+ z-index: 10;
297
+ }
298
+ //未使用的状态指向提示样式
299
+ .inactive-status::after {
300
+ content: " ";
301
+ display: block;
302
+ position: absolute;
303
+ top: 0px;
304
+ left: auto;
305
+ bottom: auto;
306
+ right: -11px;
307
+ border-left: 11px solid #f9f9f9 !important;
308
+ border-top: 16px solid transparent;
309
+ border-bottom: 18px solid transparent;
310
+ border-right: none;
311
+ z-index: 11;
312
+ }
313
+ //状态条样式
314
+ .status-bar {
315
+ display: flex;
316
+ justify-content: space-between;
317
+ border-bottom: 1px solid #ccc;
318
+ border-top: 1px solid #ccc;
319
+ // padding-top: 1px;
320
+
321
+ padding-left: 8px;
322
+ // padding-bottom: 1px;
323
+ // border-left: none;
324
+ //状态栏高度
325
+ .status-bar-btns {
326
+ line-height: 30px;
327
+ float: left;
328
+ margin-left: 10px;
329
+ //状态工作按钮样式
330
+ .status-bar-btn {
331
+ // margin-top: 1px;
332
+ // border-radius: 3px;
333
+ // height: 28px;
334
+ // font-size: 12px;
335
+ // padding: 5px 10px;
336
+ margin-right: 8px;
337
+ }
338
+ //状态工作按钮样式
339
+ .btn-primary {
340
+ color: #efefef;
341
+ background-color: #219bff;
342
+ cursor: pointer;
343
+ // margin-top: 1px;
344
+ }
345
+ }
346
+ //状态提示按钮样式
347
+ .status-bar-status {
348
+ overflow: hidden;
349
+ .el-status-btn-wrapper {
350
+ overflow: visible;
351
+ border-left: 1px solid #ccc;
352
+ // border-bottom: 1px solid #ccc;
353
+ .el-status-btn {
354
+ margin-left: 0px !important;
355
+ color: #000;
356
+ padding-left: 20px;
357
+ padding-right: 20px;
358
+ position: relative;
359
+ padding-left: 22px;
360
+ cursor: default;
361
+ font-size: 11px;
362
+ background-color: #fff;
363
+ }
364
+ .el-status-btn::before {
365
+ content: " ";
366
+ display: block;
367
+ position: absolute;
368
+ top: 0px;
369
+ left: auto;
370
+ bottom: auto;
371
+ right: -12px;
372
+ border-top: 16px solid transparent;
373
+ border-bottom: 18px solid transparent;
374
+ border-right: none;
375
+ border-left: 11px solid #ccc !important;
376
+ z-index: 10;
377
+ }
378
+ .el-status-btn::after {
379
+ content: " ";
380
+ display: block;
381
+ position: absolute;
382
+ top: 0px;
383
+ left: auto;
384
+ bottom: auto;
385
+ right: -11px;
386
+ border-left: 11px solid white !important;
387
+ border-top: 16px solid transparent;
388
+ border-bottom: 18px solid transparent;
389
+ border-right: none;
390
+ z-index: 11;
391
+ }
392
+ .status-primary {
393
+ color: #0b0b0b;
394
+ font-size: 12px;
395
+ border-radius: 0;
396
+ background-color: #fafafa;
397
+ margin-left: 0px !important;
398
+ padding-left: 20px;
399
+ padding-right: 20px;
400
+ position: relative;
401
+ padding-left: 22px;
402
+ cursor: default;
403
+ }
404
+ .status-primary::before {
405
+ content: " ";
406
+ display: block;
407
+ position: absolute;
408
+ top: 0px;
409
+ left: auto;
410
+ bottom: auto;
411
+ right: -12px;
412
+ border-top: 16px solid transparent;
413
+ border-bottom: 18px solid transparent;
414
+ border-right: none;
415
+ border-left: 11px solid #ccc;
416
+ z-index: 10;
417
+ }
418
+
419
+ .status-primary::after {
420
+ content: " ";
421
+ display: block;
422
+ position: absolute;
423
+ top: 0px;
424
+ left: auto;
425
+ bottom: auto;
426
+ right: -11px;
427
+ border-left: 11px solid #f9f9f9;
428
+ border-top: 16px solid transparent;
429
+ border-bottom: 18px solid transparent;
430
+ border-right: none;
431
+ z-index: 11;
432
+ }
433
+ }
434
+ }
435
+ }
436
+ </style>
437
+ <style lang="less">
438
+ @import '../../styles/default.less';
439
+ </style>
440
440