vue2-client 1.15.64 → 1.15.65

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.
@@ -1,391 +1,391 @@
1
- <template>
2
- <!-- 抽屉 -->
3
- <a-drawer
4
- :visible="visible"
5
- width="95vw"
6
- title="流程详情"
7
- @close="onClose"
8
- class="modern-workflow-drawer"
9
- :bodyStyle="{ padding: '0', background: '#f5f7fa', flex: 1 }"
10
- :headerStyle="{ borderBottom: '1px solid #eaedf2', padding: '16px 24px' }"
11
- >
12
- <div class="workflow-container">
13
- <!-- 基础信息卡片 -->
14
- <div class="info-section">
15
- <workflow-base-information
16
- v-if="details"
17
- ref="baseInformation"
18
- :workflow-id="workflowId"
19
- :details="details"
20
- :visible="visible"
21
- class="base-info-card"
22
- />
23
- </div>
24
-
25
- <!-- 内容区域 -->
26
- <div class="content-section">
27
- <a-card class="content-card" :bordered="false">
28
- <a-tabs
29
- :activeKey="activeKey"
30
- @change="changeTab"
31
- class="modern-tabs"
32
- :tabBarStyle="{ marginBottom: '5px', borderBottom: '1px solid #eaedf2' }"
33
- >
34
- <!-- 查看/编辑进度标签页 -->
35
- <a-tab-pane key="1" tab="开始工作">
36
- <WorkFlowHandle
37
- v-if="isWorkflowDataReady"
38
- ref="workflowHandle"
39
- :workflow-id="workflowId"
40
- :workflowState="details.f_state === 1"
41
- :complete-time="details.f_complete_time"
42
- :stepsForChild="steps"
43
- :visible="visible"
44
- :taskName="details.f_task_name"
45
- :details="details"
46
- :renderCurrentNode="renderCurrentNode"
47
- :initStepId="initStepId"
48
- @refresh="stepChanged"
49
- @success="success"
50
- @nextClick="nextClick"
51
- @x-form-item-emit-func="handleFormItemEvent"
52
- class="handle-content"
53
- />
54
- <div v-else-if="activeKey === '1'" class="loading-placeholder">
55
- <a-spin size="large" tip="正在加载工作流数据..."/>
56
- </div>
57
- </a-tab-pane>
58
-
59
- <!-- 任务流转记录标签页 -->
60
- <a-tab-pane key="2" tab="流转记录">
61
- <workflow-log
62
- v-if="activeKey === '2'"
63
- :workflow-id="workflowId"
64
- class="log-content"
65
- />
66
- </a-tab-pane>
67
-
68
- <!-- 任务留言标签页 -->
69
- <a-tab-pane key="4">
70
- <span slot="tab" class="message-tab">
71
- <span>任务留言</span>
72
- <a-badge
73
- :count="messageList.length"
74
- :offset="[8, -4]"
75
- :numberStyle="{ backgroundColor: '#5B6B8F', fontSize: '12px', padding: '0 6px', height: '18px', lineHeight: '18px', borderRadius: '9px' }"
76
- />
77
- </span>
78
- <div class="message-content">
79
- <template v-if="activeKey === '4' && details">
80
- <leave-message
81
- :workflowId="workflowId"
82
- :projectName="details.f_task_name"
83
- :data="messageList"
84
- :loading="messageLoading"
85
- @success="success"
86
- class="leave-message-component"
87
- />
88
- </template>
89
- </div>
90
- </a-tab-pane>
91
-
92
- <!-- 查看附件标签页 -->
93
- <a-tab-pane key="5" tab="查看附件">
94
- <template v-if="activeKey === '5' && details">
95
- <file-item-group @search="getWorkFlowFiles"/>
96
- </template>
97
- </a-tab-pane>
98
-
99
- <!-- 任务流转记录标签页 -->
100
- <a-tab-pane key="6" tab="工作日志">
101
- <worklog
102
- v-if="activeKey === '6'"
103
- :workflow-id="workflowId"
104
- :details="details"
105
- class="log-content"
106
- />
107
- </a-tab-pane>
108
- </a-tabs>
109
- </a-card>
110
- </div>
111
- </div>
112
- </a-drawer>
113
- </template>
114
-
115
- <script>
116
- import { mapState } from 'vuex'
117
- import workflowBaseInformation from './WorkflowPageDetail/WorkFlowBaseInformation.vue'
118
- import WorkFlowHandle from './WorkflowPageDetail/WorkFlowHandle.vue'
119
- import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
120
- import { postByServiceName } from '@vue2-client/services/api/restTools'
121
- import { workFlowViewApi } from '@vue2-client/services/api/workFlow'
122
- import WorkflowLog from './WorkflowPageDetail/WorkflowLog.vue'
123
- import LeaveMessage from './WorkflowPageDetail/LeaveMessage'
124
- import XUploadFilesView from '@vue2-client/base-client/components/common/XUploadFilesView/index.vue'
125
- import FileItemGroup from '@vue2-client/components/FileImageItem/FileItemGroup.vue'
126
- import worklog from './WorkflowPageDetail/worklog.vue'
127
-
128
- export default {
129
- name: 'WorkflowDetail',
130
- components: {
131
- FileItemGroup,
132
- workflowBaseInformation,
133
- WorkFlowHandle,
134
- XFormTable,
135
- WorkflowLog,
136
- LeaveMessage,
137
- XUploadFilesView,
138
- worklog
139
- },
140
- props: {},
141
- data () {
142
- return {
143
- // 页面宽度
144
- screenWidth: document.documentElement.clientWidth,
145
- // 页面高度
146
- screenHeight: document.documentElement.clientHeight,
147
- // 控制当前标签页
148
- activeKey: '1',
149
- // 保存流程和留言信息
150
- steps: undefined,
151
- // 基础信息
152
- details: undefined,
153
- // 给XFormTable增加额外查询条件
154
- fixedAddForm: {},
155
- fixedQueryForm: {},
156
- // 留言数据
157
- messageList: [],
158
- messageLoading: true,
159
- workflowId: '',
160
- initStepId: null,
161
- visible: false,
162
- // 控制流程是否可操作
163
- renderCurrentNode: true
164
- }
165
- },
166
- expose: ['setFormValue'],
167
- computed: {
168
- ...mapState('account', { currUser: 'user' }),
169
- ...mapState('setting', ['isMobile']),
170
- // 检查 WorkFlowHandle 组件渲染所需的数据是否都已准备好
171
- isWorkflowDataReady () {
172
- return this.activeKey === '1' &&
173
- this.details &&
174
- this.details.f_state !== undefined &&
175
- this.steps !== undefined
176
- }
177
- },
178
- mounted () {
179
- // this.init()
180
- },
181
- methods: {
182
- // 内部组件更新了当前步骤后的回调
183
- stepChanged () {
184
- this.initStepId = null
185
- this.loading = true
186
- this.reload()
187
- },
188
- // 获取所有步骤
189
- getSteps () {
190
- return postByServiceName(workFlowViewApi.getStepNoteAndHandler, {
191
- workflowId: this.workflowId
192
- })
193
- .then(res => {
194
- this.steps = res
195
- }, err => {
196
- console.log(err)
197
- })
198
- },
199
- // 关闭抽屉的回调
200
- onClose () {
201
- if (this.$refs.workflowHandle !== undefined) {
202
- this.$refs.workflowHandle.onClose()
203
- }
204
- this.visible = false
205
- this.activeKey = '1'
206
- this.details = undefined
207
- this.fixedAddForm = {}
208
- this.fixedQueryForm = {}
209
- this.steps = undefined
210
- this.messageList = []
211
- this.currStepId = null
212
- },
213
- // 获取基础信息
214
- getBaseInfo () {
215
- this.loading = true
216
- return postByServiceName(workFlowViewApi.getWorkFlowBasicInfo, {
217
- workflowId: this.workflowId
218
- })
219
- .then(res => {
220
- // 主动传入得优先级较高
221
- if (this.currStepId) {
222
- res.f_sub_state = this.steps.find(item => item.id === this.currStepId)?.name
223
- } else {
224
- res.f_sub_state = this.steps.find(item => item.id === res.f_step_id)?.name
225
- }
226
- this.details = res
227
- }, err => {
228
- console.log(err)
229
- })
230
- },
231
- // 获取附件列表
232
- getWorkFlowFiles (date, callback, errorCallback) {
233
- postByServiceName(workFlowViewApi.getWorkFlowAttachments, {
234
- workflowId: this.workflowId,
235
- uploadDate: date
236
- })
237
- .then(res => callback(res))
238
- .catch((e) => errorCallback(e))
239
- },
240
- async reload () {
241
- await this.getSteps()
242
- await this.getBaseInfo()
243
- this.fixedQueryForm.a_f_workflow_id = this.workflowId
244
- this.fixedAddForm.a_f_workflow_id = this.workflowId
245
- },
246
- // 初始化两张固定表
247
- async init ({ workflowId, stepId, renderCurrentNode = true, visible = true }) {
248
- this.workflowId = workflowId
249
- if (stepId) {
250
- this.initStepId = stepId
251
- }
252
- this.visible = visible
253
- this.renderCurrentNode = renderCurrentNode
254
- await this.reload()
255
- },
256
- // 切换标签页
257
- changeTab (id) {
258
- this.activeKey = id
259
- },
260
- // 提交完成后事件
261
- success (res) {
262
- this.visible = false
263
- this.$emit('success', res)
264
- },
265
- // 提交完成后事件
266
- nextClick (res) {
267
- this.$emit('nextClick', res)
268
- },
269
- handleFormItemEvent (func, data, value) {
270
- this.$emit('x-form-item-emit-func', func, data, value)
271
- },
272
- // 给地址选择表单项赋值
273
- setFormValue (record) {
274
- this.$refs.workflowHandle.$refs.xAddForm.setForm(record)
275
- }
276
- }
277
- }
278
- </script>
279
-
280
- <style lang="less" scoped>
281
- .workflow-container {
282
- height: 100%;
283
- display: flex;
284
- flex-direction: column;
285
-
286
- .info-section {
287
- padding: 16px 24px;
288
- background-color: #fff;
289
- border-bottom: 1px solid #eaedf2;
290
- }
291
-
292
- .content-section {
293
- flex: 1;
294
- padding: 16px 24px;
295
-
296
- .content-card {
297
- border-radius: 8px;
298
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
299
- min-height: 100%;
300
-
301
- /deep/ .ant-card-body {
302
- padding: 12px 24px 24px;
303
- }
304
- }
305
- }
306
- }
307
-
308
- .modern-tabs {
309
- /deep/ .ant-tabs-nav {
310
- margin-bottom: 0;
311
- }
312
-
313
- /deep/ .ant-tabs-tab {
314
- padding: 12px 0;
315
- margin-right: 48px;
316
- font-size: 15px;
317
- }
318
-
319
- /deep/ .ant-tabs-tab-active {
320
- font-weight: 500;
321
- }
322
-
323
- /deep/ .ant-tabs-ink-bar {
324
- height: 3px;
325
- border-radius: 3px 3px 0 0;
326
- }
327
- }
328
-
329
- .message-tab {
330
- display: flex;
331
- align-items: center;
332
- gap: 6px;
333
- }
334
-
335
- .message-content {
336
-
337
- .leave-message-component {
338
- width: 100%;
339
- }
340
- }
341
-
342
- .log-content {
343
- margin-top: 16px;
344
- }
345
-
346
- /deep/ .step-label {
347
- &:not(:first-child) {
348
- margin-left: 16px;
349
- }
350
-
351
- .step-icon {
352
- position: relative;
353
- top: 1px;
354
- display: inline-block;
355
- width: 12px;
356
- height: 12px;
357
- background: #ffffff;
358
- border-radius: 50%;
359
- margin-right: 8px;
360
-
361
- &.blue {
362
- border: 3px solid #5B6B8F;
363
- }
364
-
365
- &.green {
366
- border: 3px solid #4CAF50;
367
- }
368
-
369
- &.gray {
370
- border: 3px solid #cfd8e3;
371
- }
372
- }
373
- }
374
-
375
- :deep(.ant-drawer-wrapper-body) {
376
- display: flex;
377
- flex-direction: column;
378
- }
379
-
380
- .loading-placeholder {
381
- display: flex;
382
- justify-content: center;
383
- align-items: center;
384
- height: 300px;
385
-
386
- /deep/ .ant-spin-text {
387
- color: #666;
388
- margin-top: 16px;
389
- }
390
- }
391
- </style>
1
+ <template>
2
+ <!-- 抽屉 -->
3
+ <a-drawer
4
+ :visible="visible"
5
+ width="95vw"
6
+ title="流程详情"
7
+ @close="onClose"
8
+ class="modern-workflow-drawer"
9
+ :bodyStyle="{ padding: '0', background: '#f5f7fa', flex: 1 }"
10
+ :headerStyle="{ borderBottom: '1px solid #eaedf2', padding: '16px 24px' }"
11
+ >
12
+ <div class="workflow-container">
13
+ <!-- 基础信息卡片 -->
14
+ <div class="info-section">
15
+ <workflow-base-information
16
+ v-if="details"
17
+ ref="baseInformation"
18
+ :workflow-id="workflowId"
19
+ :details="details"
20
+ :visible="visible"
21
+ class="base-info-card"
22
+ />
23
+ </div>
24
+
25
+ <!-- 内容区域 -->
26
+ <div class="content-section">
27
+ <a-card class="content-card" :bordered="false">
28
+ <a-tabs
29
+ :activeKey="activeKey"
30
+ @change="changeTab"
31
+ class="modern-tabs"
32
+ :tabBarStyle="{ marginBottom: '5px', borderBottom: '1px solid #eaedf2' }"
33
+ >
34
+ <!-- 查看/编辑进度标签页 -->
35
+ <a-tab-pane key="1" tab="开始工作">
36
+ <WorkFlowHandle
37
+ v-if="isWorkflowDataReady"
38
+ ref="workflowHandle"
39
+ :workflow-id="workflowId"
40
+ :workflowState="details.f_state === 1"
41
+ :complete-time="details.f_complete_time"
42
+ :stepsForChild="steps"
43
+ :visible="visible"
44
+ :taskName="details.f_task_name"
45
+ :details="details"
46
+ :renderCurrentNode="renderCurrentNode"
47
+ :initStepId="initStepId"
48
+ @refresh="stepChanged"
49
+ @success="success"
50
+ @nextClick="nextClick"
51
+ @x-form-item-emit-func="handleFormItemEvent"
52
+ class="handle-content"
53
+ />
54
+ <div v-else-if="activeKey === '1'" class="loading-placeholder">
55
+ <a-spin size="large" tip="正在加载工作流数据..."/>
56
+ </div>
57
+ </a-tab-pane>
58
+
59
+ <!-- 任务流转记录标签页 -->
60
+ <a-tab-pane key="2" tab="流转记录">
61
+ <workflow-log
62
+ v-if="activeKey === '2'"
63
+ :workflow-id="workflowId"
64
+ class="log-content"
65
+ />
66
+ </a-tab-pane>
67
+
68
+ <!-- 任务留言标签页 -->
69
+ <a-tab-pane key="4">
70
+ <span slot="tab" class="message-tab">
71
+ <span>任务留言</span>
72
+ <a-badge
73
+ :count="messageList.length"
74
+ :offset="[8, -4]"
75
+ :numberStyle="{ backgroundColor: '#5B6B8F', fontSize: '12px', padding: '0 6px', height: '18px', lineHeight: '18px', borderRadius: '9px' }"
76
+ />
77
+ </span>
78
+ <div class="message-content">
79
+ <template v-if="activeKey === '4' && details">
80
+ <leave-message
81
+ :workflowId="workflowId"
82
+ :projectName="details.f_task_name"
83
+ :data="messageList"
84
+ :loading="messageLoading"
85
+ @success="success"
86
+ class="leave-message-component"
87
+ />
88
+ </template>
89
+ </div>
90
+ </a-tab-pane>
91
+
92
+ <!-- 查看附件标签页 -->
93
+ <a-tab-pane key="5" tab="查看附件">
94
+ <template v-if="activeKey === '5' && details">
95
+ <file-item-group @search="getWorkFlowFiles"/>
96
+ </template>
97
+ </a-tab-pane>
98
+
99
+ <!-- 任务流转记录标签页 -->
100
+ <a-tab-pane key="6" tab="工作日志">
101
+ <worklog
102
+ v-if="activeKey === '6'"
103
+ :workflow-id="workflowId"
104
+ :details="details"
105
+ class="log-content"
106
+ />
107
+ </a-tab-pane>
108
+ </a-tabs>
109
+ </a-card>
110
+ </div>
111
+ </div>
112
+ </a-drawer>
113
+ </template>
114
+
115
+ <script>
116
+ import { mapState } from 'vuex'
117
+ import workflowBaseInformation from './WorkflowPageDetail/WorkFlowBaseInformation.vue'
118
+ import WorkFlowHandle from './WorkflowPageDetail/WorkFlowHandle.vue'
119
+ import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
120
+ import { postByServiceName } from '@vue2-client/services/api/restTools'
121
+ import { workFlowViewApi } from '@vue2-client/services/api/workFlow'
122
+ import WorkflowLog from './WorkflowPageDetail/WorkflowLog.vue'
123
+ import LeaveMessage from './WorkflowPageDetail/LeaveMessage'
124
+ import XUploadFilesView from '@vue2-client/base-client/components/common/XUploadFilesView/index.vue'
125
+ import FileItemGroup from '@vue2-client/components/FileImageItem/FileItemGroup.vue'
126
+ import worklog from './WorkflowPageDetail/worklog.vue'
127
+
128
+ export default {
129
+ name: 'WorkflowDetail',
130
+ components: {
131
+ FileItemGroup,
132
+ workflowBaseInformation,
133
+ WorkFlowHandle,
134
+ XFormTable,
135
+ WorkflowLog,
136
+ LeaveMessage,
137
+ XUploadFilesView,
138
+ worklog
139
+ },
140
+ props: {},
141
+ data () {
142
+ return {
143
+ // 页面宽度
144
+ screenWidth: document.documentElement.clientWidth,
145
+ // 页面高度
146
+ screenHeight: document.documentElement.clientHeight,
147
+ // 控制当前标签页
148
+ activeKey: '1',
149
+ // 保存流程和留言信息
150
+ steps: undefined,
151
+ // 基础信息
152
+ details: undefined,
153
+ // 给XFormTable增加额外查询条件
154
+ fixedAddForm: {},
155
+ fixedQueryForm: {},
156
+ // 留言数据
157
+ messageList: [],
158
+ messageLoading: true,
159
+ workflowId: '',
160
+ initStepId: null,
161
+ visible: false,
162
+ // 控制流程是否可操作
163
+ renderCurrentNode: true
164
+ }
165
+ },
166
+ expose: ['setFormValue'],
167
+ computed: {
168
+ ...mapState('account', { currUser: 'user' }),
169
+ ...mapState('setting', ['isMobile']),
170
+ // 检查 WorkFlowHandle 组件渲染所需的数据是否都已准备好
171
+ isWorkflowDataReady () {
172
+ return this.activeKey === '1' &&
173
+ this.details &&
174
+ this.details.f_state !== undefined &&
175
+ this.steps !== undefined
176
+ }
177
+ },
178
+ mounted () {
179
+ // this.init()
180
+ },
181
+ methods: {
182
+ // 内部组件更新了当前步骤后的回调
183
+ stepChanged () {
184
+ this.initStepId = null
185
+ this.loading = true
186
+ this.reload()
187
+ },
188
+ // 获取所有步骤
189
+ getSteps () {
190
+ return postByServiceName(workFlowViewApi.getStepNoteAndHandler, {
191
+ workflowId: this.workflowId
192
+ })
193
+ .then(res => {
194
+ this.steps = res
195
+ }, err => {
196
+ console.log(err)
197
+ })
198
+ },
199
+ // 关闭抽屉的回调
200
+ onClose () {
201
+ if (this.$refs.workflowHandle !== undefined) {
202
+ this.$refs.workflowHandle.onClose()
203
+ }
204
+ this.visible = false
205
+ this.activeKey = '1'
206
+ this.details = undefined
207
+ this.fixedAddForm = {}
208
+ this.fixedQueryForm = {}
209
+ this.steps = undefined
210
+ this.messageList = []
211
+ this.currStepId = null
212
+ },
213
+ // 获取基础信息
214
+ getBaseInfo () {
215
+ this.loading = true
216
+ return postByServiceName(workFlowViewApi.getWorkFlowBasicInfo, {
217
+ workflowId: this.workflowId
218
+ })
219
+ .then(res => {
220
+ // 主动传入得优先级较高
221
+ if (this.currStepId) {
222
+ res.f_sub_state = this.steps.find(item => item.id === this.currStepId)?.name
223
+ } else {
224
+ res.f_sub_state = this.steps.find(item => item.id === res.f_step_id)?.name
225
+ }
226
+ this.details = res
227
+ }, err => {
228
+ console.log(err)
229
+ })
230
+ },
231
+ // 获取附件列表
232
+ getWorkFlowFiles (date, callback, errorCallback) {
233
+ postByServiceName(workFlowViewApi.getWorkFlowAttachments, {
234
+ workflowId: this.workflowId,
235
+ uploadDate: date
236
+ })
237
+ .then(res => callback(res))
238
+ .catch((e) => errorCallback(e))
239
+ },
240
+ async reload () {
241
+ await this.getSteps()
242
+ await this.getBaseInfo()
243
+ this.fixedQueryForm.a_f_workflow_id = this.workflowId
244
+ this.fixedAddForm.a_f_workflow_id = this.workflowId
245
+ },
246
+ // 初始化两张固定表
247
+ async init ({ workflowId, stepId, renderCurrentNode = true, visible = true }) {
248
+ this.workflowId = workflowId
249
+ if (stepId) {
250
+ this.initStepId = stepId
251
+ }
252
+ this.visible = visible
253
+ this.renderCurrentNode = renderCurrentNode
254
+ await this.reload()
255
+ },
256
+ // 切换标签页
257
+ changeTab (id) {
258
+ this.activeKey = id
259
+ },
260
+ // 提交完成后事件
261
+ success (res) {
262
+ this.visible = false
263
+ this.$emit('success', res)
264
+ },
265
+ // 提交完成后事件
266
+ nextClick (res) {
267
+ this.$emit('nextClick', res)
268
+ },
269
+ handleFormItemEvent (func, data, value) {
270
+ this.$emit('x-form-item-emit-func', func, data, value)
271
+ },
272
+ // 给地址选择表单项赋值
273
+ setFormValue (record) {
274
+ this.$refs.workflowHandle.$refs.xAddForm.setForm(record)
275
+ }
276
+ }
277
+ }
278
+ </script>
279
+
280
+ <style lang="less" scoped>
281
+ .workflow-container {
282
+ height: 100%;
283
+ display: flex;
284
+ flex-direction: column;
285
+
286
+ .info-section {
287
+ padding: 16px 24px;
288
+ background-color: #fff;
289
+ border-bottom: 1px solid #eaedf2;
290
+ }
291
+
292
+ .content-section {
293
+ flex: 1;
294
+ padding: 16px 24px;
295
+
296
+ .content-card {
297
+ border-radius: 8px;
298
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
299
+ min-height: 100%;
300
+
301
+ /deep/ .ant-card-body {
302
+ padding: 12px 24px 24px;
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
+ .modern-tabs {
309
+ /deep/ .ant-tabs-nav {
310
+ margin-bottom: 0;
311
+ }
312
+
313
+ /deep/ .ant-tabs-tab {
314
+ padding: 12px 0;
315
+ margin-right: 48px;
316
+ font-size: 15px;
317
+ }
318
+
319
+ /deep/ .ant-tabs-tab-active {
320
+ font-weight: 500;
321
+ }
322
+
323
+ /deep/ .ant-tabs-ink-bar {
324
+ height: 3px;
325
+ border-radius: 3px 3px 0 0;
326
+ }
327
+ }
328
+
329
+ .message-tab {
330
+ display: flex;
331
+ align-items: center;
332
+ gap: 6px;
333
+ }
334
+
335
+ .message-content {
336
+
337
+ .leave-message-component {
338
+ width: 100%;
339
+ }
340
+ }
341
+
342
+ .log-content {
343
+ margin-top: 16px;
344
+ }
345
+
346
+ /deep/ .step-label {
347
+ &:not(:first-child) {
348
+ margin-left: 16px;
349
+ }
350
+
351
+ .step-icon {
352
+ position: relative;
353
+ top: 1px;
354
+ display: inline-block;
355
+ width: 12px;
356
+ height: 12px;
357
+ background: #ffffff;
358
+ border-radius: 50%;
359
+ margin-right: 8px;
360
+
361
+ &.blue {
362
+ border: 3px solid #5B6B8F;
363
+ }
364
+
365
+ &.green {
366
+ border: 3px solid #4CAF50;
367
+ }
368
+
369
+ &.gray {
370
+ border: 3px solid #cfd8e3;
371
+ }
372
+ }
373
+ }
374
+
375
+ :deep(.ant-drawer-wrapper-body) {
376
+ display: flex;
377
+ flex-direction: column;
378
+ }
379
+
380
+ .loading-placeholder {
381
+ display: flex;
382
+ justify-content: center;
383
+ align-items: center;
384
+ height: 300px;
385
+
386
+ /deep/ .ant-spin-text {
387
+ color: #666;
388
+ margin-top: 16px;
389
+ }
390
+ }
391
+ </style>