cloud-web-corejs 1.0.54-dev.404 → 1.0.54-dev.406

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,23 +1,49 @@
1
1
  <template>
2
- <div v-show="title!='' && title!=null" style="overflow: hidden;">
2
+ <div v-show="title != '' && title != null" style="overflow: hidden">
3
3
  <div class="tree-box tree-annex fl">
4
- <div class="tit"><b>{{ title }}</b></div>
5
- <div class="tree-form">
6
- <el-input :placeholder="$t2('请输入文件夹名称','components.fileLibrary.categoryPlaceholder')"
7
- v-model="filterText" class="txt">
4
+ <div class="tit">
5
+ <b>{{ title }}</b>
6
+ </div>
7
+ <!-- <div class="tree-form">
8
+ <el-input
9
+ :placeholder="
10
+ $t2('请输入文件夹名称', 'components.fileLibrary.categoryPlaceholder')
11
+ "
12
+ v-model="filterText"
13
+ class="txt"
14
+ >
8
15
  <el-button slot="append" icon="el-icon-search"></el-button>
9
16
  </el-input>
10
- </div>
17
+ </div> -->
11
18
  <div class="tree-btns" v-if="isCategoryEdit">
12
- <el-button type="primary" plain icon="el-icon-circle-plus-outline" class="btn" @click="addFileCategory()"
13
- v-if="fileObjAuth.addAuth">{{ $t2('新增', 'components.fileLibrary.addCategory') }}
19
+ <el-button
20
+ type="primary"
21
+ plain
22
+ icon="el-icon-circle-plus-outline"
23
+ class="btn"
24
+ @click="addFileCategory()"
25
+ v-if="fileObjAuth.addAuth"
26
+ >{{ $t2("新增", "components.fileLibrary.addCategory") }}
14
27
  </el-button>
15
- <el-button type="primary" plain icon="el-icon-edit-outline" class="btn" @click="editFileCategory()"
16
- :disabled="currentFileCategory==null || !currentFileCategory.id" v-if="fileObjAuth.editAuth">
17
- {{ $t2('编辑', 'components.fileLibrary.editCategory') }}
28
+ <el-button
29
+ type="primary"
30
+ plain
31
+ icon="el-icon-edit-outline"
32
+ class="btn"
33
+ @click="editFileCategory()"
34
+ :disabled="currentFileCategory == null || !currentFileCategory.id"
35
+ v-if="fileObjAuth.editAuth"
36
+ >
37
+ {{ $t2("编辑", "components.fileLibrary.editCategory") }}
18
38
  </el-button>
19
- <el-button type="primary" plain class="btn" icon="el-icon-edit" @click="showFileObjAuthDialog=true"
20
- v-if="isEdit && fileObjAuth.authAuth">{{ $t2('权限', 'components.fileLibrary.authAuth') }}
39
+ <el-button
40
+ type="primary"
41
+ plain
42
+ class="btn"
43
+ icon="el-icon-edit"
44
+ @click="showFileObjAuthDialog = true"
45
+ v-if="isEdit && fileObjAuth.authAuth"
46
+ >{{ $t2("权限", "components.fileLibrary.authAuth") }}
21
47
  </el-button>
22
48
  </div>
23
49
  <el-tree
@@ -32,6 +58,7 @@
32
58
  @node-click="handleNodeClick"
33
59
  class="tree-list"
34
60
  icon-class="el-icon-arrow-down"
61
+ style="height: calc(100vh - 113px)"
35
62
  >
36
63
  <span class="el-tree-node__label" slot-scope="{ node }" v-if="!node.data.moreBtn">
37
64
  <i class="ico-wenjian"></i>
@@ -48,91 +75,195 @@
48
75
  <i class="el-icon-more"></i>
49
76
  </div>
50
77
  </label>
51
- <div class="main-right file-library fr" style="overflow: hidden;">
78
+ <div class="main-right file-library fr" style="overflow: hidden">
52
79
  <div class="pop-annex-filter" v-if="popAnnexFilter">
53
- <div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"><span>{{
54
- getBillLabel(checkBillData)
55
- }}</span><i
56
- class="el-icon-close" @click="deleteBillData(index)"></i></div>
80
+ <div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
81
+ <span>{{ getBillLabel(checkBillData) }}</span
82
+ ><i class="el-icon-close" @click="deleteBillData(index)"></i>
83
+ </div>
57
84
  </div>
58
85
  <div class="annex-filter" v-if="isBillEnabled">
59
- <el-button slot="append" icon="el-icon-search" @click="openBillDialog" size="mini" class="an-btn-search"
60
- type="success">
61
- {{ $t2('选择' + billConfig.name, 'components.fileLibrary.selectBill', {billName: billConfig.name}) }}
86
+ <el-button
87
+ slot="append"
88
+ icon="el-icon-search"
89
+ @click="openBillDialog"
90
+ size="mini"
91
+ class="an-btn-search"
92
+ type="success"
93
+ >
94
+ {{
95
+ $t2("选择" + billConfig.name, "components.fileLibrary.selectBill", {
96
+ billName: billConfig.name,
97
+ })
98
+ }}
62
99
  </el-button>
63
100
  <div class="abox">
64
- <div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"><span>{{
65
- getBillLabel(checkBillData)
66
- }}</span><i
67
- class="el-icon-close" @click="deleteBillData(index)"></i></div>
101
+ <div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
102
+ <span>{{ getBillLabel(checkBillData) }}</span
103
+ ><i class="el-icon-close" @click="deleteBillData(index)"></i>
104
+ </div>
68
105
  </div>
69
106
 
70
- <el-button slot="append" icon="iconfont icon-gengduo1" size="mini" class="an-btn-more" type="primary"
71
- @click="popAnnexFilter = false" v-if="popAnnexFilter">
107
+ <el-button
108
+ slot="append"
109
+ icon="iconfont icon-gengduo1"
110
+ size="mini"
111
+ class="an-btn-more"
112
+ type="primary"
113
+ @click="popAnnexFilter = false"
114
+ v-if="popAnnexFilter"
115
+ >
72
116
  </el-button>
73
- <el-button slot="append" icon="iconfont icon-gengduo1" size="mini" class="an-btn-more"
74
- @click="popAnnexFilter = true" v-else>
117
+ <el-button
118
+ slot="append"
119
+ icon="iconfont icon-gengduo1"
120
+ size="mini"
121
+ class="an-btn-more"
122
+ @click="popAnnexFilter = true"
123
+ v-else
124
+ >
75
125
  </el-button>
76
- <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">
77
- {{ $t2('取消选择', 'components.fileLibrary.cancelSelect') }}
126
+ <el-button
127
+ slot="append"
128
+ icon="el-icon-delete"
129
+ size="mini"
130
+ class="an-btn-del"
131
+ @click="clearBill"
132
+ >
133
+ {{ $t2("取消选择", "components.fileLibrary.cancelSelect") }}
78
134
  </el-button>
79
135
  </div>
80
136
 
81
- <div class="annex-screen"
82
- v-if="fileObjAuth.uploadAuth || fileObjAuth.downloadAuth || fileObjAuth.deleteAuth || fileObjAuth.moveAuth || fileObjAuth.copyAuth || fileObjAuth.replaceAuth || fileObjAuth.deleteDirAuth">
83
- <el-button type="warning" class="button-sty" icon="el-icon-plus" @click="addFile"
84
- v-if="isEdit && fileObjAuth.uploadAuth">{{ $t2('上传', 'components.fileLibrary.upload') }}
137
+ <div
138
+ class="annex-screen"
139
+ v-if="
140
+ fileObjAuth.uploadAuth ||
141
+ fileObjAuth.downloadAuth ||
142
+ fileObjAuth.deleteAuth ||
143
+ fileObjAuth.moveAuth ||
144
+ fileObjAuth.copyAuth ||
145
+ fileObjAuth.replaceAuth ||
146
+ fileObjAuth.deleteDirAuth
147
+ "
148
+ >
149
+ <el-button
150
+ type="warning"
151
+ class="button-sty"
152
+ icon="el-icon-plus"
153
+ @click="addFile"
154
+ v-if="isEdit && fileObjAuth.uploadAuth"
155
+ >{{ $t2("上传", "components.fileLibrary.upload") }}
85
156
  </el-button>
86
- <el-button type="primary" class="button-sty" icon="el-icon-download" @click.native="mulDownload2"
87
- v-if="fileObjAuth.downloadAuth">{{ $t2('下载', 'components.fileLibrary.download') }}
157
+ <el-button
158
+ type="primary"
159
+ class="button-sty"
160
+ icon="el-icon-download"
161
+ @click.native="mulDownload2"
162
+ v-if="fileObjAuth.downloadAuth"
163
+ >{{ $t2("下载", "components.fileLibrary.download") }}
88
164
  </el-button>
89
- <el-button type="danger" class="button-sty" icon="el-icon-takeaway-box"
90
- @click="showRecycleBinDialog=true"
91
- v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)">
92
- {{ $t2('回收站', 'components.fileLibrary.recycleBin') }}
165
+ <el-button
166
+ type="danger"
167
+ class="button-sty"
168
+ icon="el-icon-takeaway-box"
169
+ @click="showRecycleBinDialog = true"
170
+ v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
171
+ >
172
+ {{ $t2("回收站", "components.fileLibrary.recycleBin") }}
93
173
  </el-button>
94
- <el-button type="primary" plain class="button-sty" icon="el-icon-rank"
95
- @click.native="openCategoryMoveDialog(1)" v-if="isEdit && fileObjAuth.moveAuth">
96
- {{ $t2('移动到', 'components.fileLibrary.moveTo') }}
174
+ <el-button
175
+ type="primary"
176
+ plain
177
+ class="button-sty"
178
+ icon="el-icon-rank"
179
+ @click.native="openCategoryMoveDialog(1)"
180
+ v-if="isEdit && fileObjAuth.moveAuth"
181
+ >
182
+ {{ $t2("移动到", "components.fileLibrary.moveTo") }}
97
183
  </el-button>
98
- <el-button type="primary" plain class="button-sty" icon="el-icon-copy-document"
99
- @click.native="openCategoryMoveDialog(2)" v-if="isEdit && fileObjAuth.copyAuth">
100
- {{ $t2('复制到', 'components.fileLibrary.copyTo') }}
184
+ <el-button
185
+ type="primary"
186
+ plain
187
+ class="button-sty"
188
+ icon="el-icon-copy-document"
189
+ @click.native="openCategoryMoveDialog(2)"
190
+ v-if="isEdit && fileObjAuth.copyAuth"
191
+ >
192
+ {{ $t2("复制到", "components.fileLibrary.copyTo") }}
101
193
  </el-button>
102
- <el-button type="primary" plain class="button-sty" icon="el-icon-refresh"
103
- @click.native="batchReplace" v-if="isEdit && fileObjAuth.replaceAuth">
104
- {{ $t2('替换', 'components.fileLibrary.replace') }}
194
+ <el-button
195
+ type="primary"
196
+ plain
197
+ class="button-sty"
198
+ icon="el-icon-refresh"
199
+ @click.native="batchReplace"
200
+ v-if="isEdit && fileObjAuth.replaceAuth"
201
+ >
202
+ {{ $t2("替换", "components.fileLibrary.replace") }}
105
203
  </el-button>
106
- <el-button type="primary" plain class="button-sty" icon="el-icon-delete"
107
- @click.native="deleteAttach()"
108
- v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)">
109
- {{ $t2('删除', 'components.fileLibrary.delete') }}
204
+ <el-button
205
+ type="primary"
206
+ plain
207
+ class="button-sty"
208
+ icon="el-icon-delete"
209
+ @click.native="deleteAttach()"
210
+ v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
211
+ >
212
+ {{ $t2("删除", "components.fileLibrary.delete") }}
110
213
  </el-button>
111
- <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showFilterDialog = true">
112
- {{ $t1('高级筛选') }}
214
+ <el-button
215
+ icon="iconfont icon-shaixuan"
216
+ class="button-sty"
217
+ @click="showFilterDialog = true"
218
+ >
219
+ {{ $t1("高级筛选") }}
113
220
  </el-button>
114
221
 
115
- <template v-for="(fileButton,customToobarButtonIndex) in customToobarButtons">
222
+ <template v-for="(fileButton, customToobarButtonIndex) in customToobarButtons">
116
223
  <template
117
- v-if="fileButton.dirs===null || fileButton.dirs===undefined || (attachment.dirs === fileButton.dirs)">
118
- <template v-if="customFileButtonVisable(fileButton,attachment)">
119
- <el-button type="primary" plain class="button-sty" :icon="fileButton.icon" :key="customToobarButtonIndex"
120
- @click="customToobarButtonEvent(fileButton)">{{ fileButton.label }}
224
+ v-if="
225
+ fileButton.dirs === null ||
226
+ fileButton.dirs === undefined ||
227
+ attachment.dirs === fileButton.dirs
228
+ "
229
+ >
230
+ <template v-if="customFileButtonVisable(fileButton, attachment)">
231
+ <el-button
232
+ type="primary"
233
+ plain
234
+ class="button-sty"
235
+ :icon="fileButton.icon"
236
+ :key="customToobarButtonIndex"
237
+ @click="customToobarButtonEvent(fileButton)"
238
+ >{{ fileButton.label }}
121
239
  </el-button>
122
240
  </template>
123
241
  </template>
124
242
  </template>
125
-
126
243
  </div>
127
- <div class="line"
128
- v-if="fileObjAuth.uploadAuth || fileObjAuth.downloadAuth || fileObjAuth.deleteAuth || fileObjAuth.moveAuth || fileObjAuth.copyAuth || fileObjAuth.replaceAuth || fileObjAuth.deleteDirAuth"></div>
244
+ <div
245
+ class="line"
246
+ v-if="
247
+ fileObjAuth.uploadAuth ||
248
+ fileObjAuth.downloadAuth ||
249
+ fileObjAuth.deleteAuth ||
250
+ fileObjAuth.moveAuth ||
251
+ fileObjAuth.copyAuth ||
252
+ fileObjAuth.replaceAuth ||
253
+ fileObjAuth.deleteDirAuth
254
+ "
255
+ ></div>
129
256
  <div class="annex-crumbs">
130
257
  <span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
131
- <span class="tit" style="padding-right: 0;">{{ $t2('指定路径', 'components.fileLibrary.assignPath') }}:</span>
258
+ <span class="tit" style="padding-right: 0"
259
+ >{{ $t2("指定路径", "components.fileLibrary.assignPath") }}:</span
260
+ >
132
261
  <el-breadcrumb separator-class="el-icon-arrow-right">
133
- <el-breadcrumb-item v-for="treeNode in treeNodeArr" :key="treeNode.id" @click.native="doNav(treeNode)">{{
134
- treeNode.label
135
- }}
262
+ <el-breadcrumb-item
263
+ v-for="treeNode in treeNodeArr"
264
+ :key="treeNode.id"
265
+ @click.native="doNav(treeNode)"
266
+ >{{ treeNode.label }}
136
267
  </el-breadcrumb-item>
137
268
  </el-breadcrumb>
138
269
  </div>
@@ -140,56 +271,102 @@
140
271
  <div class="annex-searchBox">
141
272
  <div class="fl">
142
273
  <div class="oper">
143
- <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
144
- :indeterminate="checkAllIndeterminate">已选中 {{
145
- checkList.length
146
- }} 项{{ $t2('', 'components.fileLibrary.aa') }}
274
+ <el-checkbox
275
+ v-model="checkAll"
276
+ @change="changeCheckAll"
277
+ :disabled="checkAllDisabled"
278
+ :indeterminate="checkAllIndeterminate"
279
+ >已选中 {{ checkList.length }} 项{{
280
+ $t2("", "components.fileLibrary.aa")
281
+ }}
147
282
  </el-checkbox>
148
283
  </div>
149
284
  <div class="search-box">
150
285
  <template v-if="currentFileCategory && currentFileCategory.id">
151
- <el-input :placeholder="$t2('请输入文件名','components.fileLibrary.filePlaceholder')"
152
- v-model="formData.fileName" clearable>
153
- <el-button slot="append" icon="el-icon-search" @click="searchEvent"></el-button>
286
+ <el-input
287
+ :placeholder="
288
+ $t2('请输入文件名', 'components.fileLibrary.filePlaceholder')
289
+ "
290
+ v-model="formData.fileName"
291
+ clearable
292
+ >
293
+ <el-button
294
+ slot="append"
295
+ icon="el-icon-search"
296
+ @click="searchEvent"
297
+ ></el-button>
154
298
  </el-input>
155
- <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">
156
- {{ $t2('筛选', 'components.fileLibrary.screen') }}
299
+ <el-button
300
+ icon="iconfont icon-shaixuan"
301
+ class="button-sty"
302
+ @click="showAdvancedSearch = true"
303
+ >
304
+ {{ $t2("筛选", "components.fileLibrary.screen") }}
157
305
  </el-button>
158
306
  </template>
159
307
  </div>
160
-
161
308
  </div>
162
309
  <div class="fr">
163
- <el-button type="primary" icon="iconfont icon-icmenu2" @click="changeShowType()" class="button-sty icon-btn"
164
- v-show="showType==1">{{ $t2('列表', 'components.fileLibrary.tableList') }}
310
+ <el-button
311
+ type="primary"
312
+ icon="iconfont icon-icmenu2"
313
+ @click="changeShowType()"
314
+ class="button-sty icon-btn"
315
+ v-show="showType == 1"
316
+ >{{ $t2("列表", "components.fileLibrary.tableList") }}
165
317
  </el-button>
166
- <el-button type="primary" style="margin-left:0;" icon="el-icon-menu" @click="changeShowType()"
167
- class="button-sty icon-btn"
168
- v-show="showType==2">{{ $t2('图示', 'components.fileLibrary.imageList') }}
318
+ <el-button
319
+ type="primary"
320
+ style="margin-left: 0"
321
+ icon="el-icon-menu"
322
+ @click="changeShowType()"
323
+ class="button-sty icon-btn"
324
+ v-show="showType == 2"
325
+ >{{ $t2("图示", "components.fileLibrary.imageList") }}
169
326
  </el-button>
170
327
  </div>
171
328
  </div>
172
- <div class="mask" v-show="is_show_mask">
173
- </div>
174
- <div class="containter1" ref="containter1" v-show="showType==1" style="overflow: auto;">
175
-
329
+ <div class="mask" v-show="is_show_mask"></div>
330
+ <div
331
+ class="containter1"
332
+ ref="containter1"
333
+ v-show="showType == 1"
334
+ style="overflow: auto"
335
+ >
176
336
  <div class="annex-piclist">
177
337
  <div class="clearfix">
178
- <el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
179
- <template v-for="(attachment,index) in page.records">
180
- <li :key="index" class="item" :class="checkList.includes(attachment.id) ? 'on':''">
181
-
338
+ <el-checkbox-group
339
+ v-model="checkList"
340
+ @change="checkChange"
341
+ class="f-group"
342
+ >
343
+ <template v-for="(attachment, index) in page.records">
344
+ <li
345
+ :key="index"
346
+ class="item"
347
+ :class="checkList.includes(attachment.id) ? 'on' : ''"
348
+ >
182
349
  <el-checkbox :label="attachment.id"><span></span></el-checkbox>
183
350
  <div class="oper">
184
- <el-tooltip effect="dark" content="详情" placement="top"
185
- v-if="!attachment.dirs && isEdit && fileObjAuth.editAuth"><i
186
- class="el-tooltip iconfont icon-shuxing ico"
187
- @click="openPropertiesDialog(attachment)"></i>
351
+ <el-tooltip
352
+ effect="dark"
353
+ content="详情"
354
+ placement="top"
355
+ v-if="!attachment.dirs && isEdit && fileObjAuth.editAuth"
356
+ ><i
357
+ class="el-tooltip iconfont icon-shuxing ico"
358
+ @click="openPropertiesDialog(attachment)"
359
+ ></i>
188
360
  </el-tooltip>
189
- <el-tooltip effect="dark" content="详情" placement="top"
190
- v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"><i
191
- class="el-tooltip iconfont icon-shuxing ico"
192
- @click="editFileCategory(attachment)"></i>
361
+ <el-tooltip
362
+ effect="dark"
363
+ content="详情"
364
+ placement="top"
365
+ v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"
366
+ ><i
367
+ class="el-tooltip iconfont icon-shuxing ico"
368
+ @click="editFileCategory(attachment)"
369
+ ></i>
193
370
  </el-tooltip>
194
371
  <a
195
372
  href="javascript:void(0);"
@@ -197,45 +374,81 @@
197
374
  v-if="!attachment.dirs && fileObjAuth.downloadAuth"
198
375
  @click="downloadSingerFile(attachment)"
199
376
  >
200
- <el-tooltip effect="dark" content="下载" placement="top"
201
- popper-class="tooltip-skin">
202
- <i class="el-icon-download"/>
377
+ <el-tooltip
378
+ effect="dark"
379
+ content="下载"
380
+ placement="top"
381
+ popper-class="tooltip-skin"
382
+ >
383
+ <i class="el-icon-download" />
203
384
  </el-tooltip>
204
385
  </a>
205
386
  <el-dropdown trigger="click" v-if="isEdit">
206
- <span class="ico"><i class="el-icon-more"></i>
207
- </span>
387
+ <span class="ico"><i class="el-icon-more"></i> </span>
208
388
  <el-dropdown-menu slot="dropdown">
209
- <el-dropdown-item @click.native="openShareDialog(attachment)"
210
- v-if="!attachment.dirs && fileObjAuth.shareAuth"><i
211
- class="el-icon-share"></i>分享
389
+ <el-dropdown-item
390
+ @click.native="openShareDialog(attachment)"
391
+ v-if="!attachment.dirs && fileObjAuth.shareAuth"
392
+ ><i class="el-icon-share"></i>分享
212
393
  </el-dropdown-item>
213
- <el-dropdown-item @click.native="replaceFile(attachment,index,page.records)"
214
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.replaceAuth">
215
- <i
216
- class="el-icon-refresh"></i>替换
394
+ <el-dropdown-item
395
+ @click.native="replaceFile(attachment, index, page.records)"
396
+ v-if="
397
+ !attachment.dirs &&
398
+ isEdit &&
399
+ attachment.status != 1 &&
400
+ fileObjAuth.replaceAuth
401
+ "
402
+ >
403
+ <i class="el-icon-refresh"></i>替换
217
404
  </el-dropdown-item>
218
- <el-dropdown-item @click.native="openFileHistoryDialog(attachment)"
219
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.historyAuth">
220
- <i
221
- class="el-icon-s-order"></i>历史
405
+ <el-dropdown-item
406
+ @click.native="openFileHistoryDialog(attachment)"
407
+ v-if="
408
+ !attachment.dirs &&
409
+ isEdit &&
410
+ attachment.status != 1 &&
411
+ fileObjAuth.historyAuth
412
+ "
413
+ >
414
+ <i class="el-icon-s-order"></i>历史
222
415
  </el-dropdown-item>
223
- <el-dropdown-item @click.native="deleteAttach(attachment)"
224
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.deleteAuth">
225
- <i
226
- class="el-icon-delete"></i>删除
416
+ <el-dropdown-item
417
+ @click.native="deleteAttach(attachment)"
418
+ v-if="
419
+ !attachment.dirs &&
420
+ isEdit &&
421
+ attachment.status != 1 &&
422
+ fileObjAuth.deleteAuth
423
+ "
424
+ >
425
+ <i class="el-icon-delete"></i>删除
227
426
  </el-dropdown-item>
228
- <el-dropdown-item @click.native="deleteCategory(attachment)"
229
- v-if="attachment.dirs && isEdit && fileObjAuth.deleteDirAuth">
230
- <i
231
- class="el-icon-delete"></i>删除
427
+ <el-dropdown-item
428
+ @click.native="deleteCategory(attachment)"
429
+ v-if="attachment.dirs && isEdit && fileObjAuth.deleteDirAuth"
430
+ >
431
+ <i class="el-icon-delete"></i>删除
232
432
  </el-dropdown-item>
233
- <template v-for="(fileButton,fileButtonIndex) in customFileButtons">
433
+ <template
434
+ v-for="(fileButton, fileButtonIndex) in customFileButtons"
435
+ >
234
436
  <template
235
- v-if="fileButton.dirs===null || fileButton.dirs===undefined || (attachment.dirs === fileButton.dirs)">
236
- <template v-if="customFileButtonVisable(fileButton,attachment)">
237
- <el-dropdown-item @click.native="customFileButtonEvent(fileButton,attachment)"
238
- :key="fileButtonIndex">
437
+ v-if="
438
+ fileButton.dirs === null ||
439
+ fileButton.dirs === undefined ||
440
+ attachment.dirs === fileButton.dirs
441
+ "
442
+ >
443
+ <template
444
+ v-if="customFileButtonVisable(fileButton, attachment)"
445
+ >
446
+ <el-dropdown-item
447
+ @click.native="
448
+ customFileButtonEvent(fileButton, attachment)
449
+ "
450
+ :key="fileButtonIndex"
451
+ >
239
452
  <i :class="fileButton.icon"></i>{{ fileButton.label }}
240
453
  </el-dropdown-item>
241
454
  </template>
@@ -245,34 +458,55 @@
245
458
  </el-dropdown>
246
459
  </div>
247
460
  <div class="custom-slot">
248
- <slot name="custom" v-bind="{row:attachment}"></slot>
461
+ <slot name="custom" v-bind="{ row: attachment }"></slot>
249
462
  </div>
250
463
  <!-- <div class="status s-1" v-if="!attachment.dirs && attachment.status==1">
251
464
  <el-tooltip effect="dark" content="已归档" placement="top" popper-class="tooltip-skin"><i
252
465
  class="iconfont icon-file"></i>
253
466
  </el-tooltip>
254
467
  </div> -->
255
- <div class="status s-1" v-if="!attachment.dirs && attachment.status==1"></div>
256
- <div class="img" @click="openPreview(attachment)" v-if="!attachment.dirs">
257
- <div class="show-video" v-if="hasPreview(attachment)"><i class="icon-chakan"></i></div>
258
- <div class="show-video" v-if="false"><i class="el-icon-video-play"></i></div>
259
- <p><img :src="getShowUrl(attachment)"/></p>
468
+ <div
469
+ class="status s-1"
470
+ v-if="!attachment.dirs && attachment.status == 1"
471
+ ></div>
472
+ <div
473
+ class="img"
474
+ @click="openPreview(attachment)"
475
+ v-if="!attachment.dirs"
476
+ >
477
+ <div class="show-video" v-if="hasPreview(attachment)">
478
+ <i class="icon-chakan"></i>
479
+ </div>
480
+ <div class="show-video" v-if="false">
481
+ <i class="el-icon-video-play"></i>
482
+ </div>
483
+ <p><img :src="getShowUrl(attachment)" /></p>
260
484
  </div>
261
- <div class="img" @click="changeCategory(attachment)" v-if="attachment.dirs">
262
- <svg-icon icon-class="ico-wenjianjia"/>
485
+ <div
486
+ class="img"
487
+ @click="changeCategory(attachment)"
488
+ v-if="attachment.dirs"
489
+ >
490
+ <svg-icon icon-class="ico-wenjianjia" />
263
491
  </div>
264
- <el-tooltip :enterable="false" effect="dark" :content="attachment.fileName" placement="top">
492
+ <el-tooltip
493
+ :enterable="false"
494
+ effect="dark"
495
+ :content="attachment.fileName"
496
+ placement="top"
497
+ >
265
498
  <div class="txt-box">
266
499
  <div class="tb-left"></div>
267
500
  <div class="tb-mid">
268
501
  <div class="txt">
269
- <span class="name">{{ getFileName(attachment) }}</span><span
270
- v-if="attachment.extension">.{{ attachment.extension }}</span>
502
+ <span class="name">{{ getFileName(attachment) }}</span
503
+ ><span v-if="attachment.extension"
504
+ >.{{ attachment.extension }}</span
505
+ >
271
506
  </div>
272
507
  </div>
273
508
  <div class="format">... .{{ attachment.extension }}</div>
274
509
  </div>
275
-
276
510
  </el-tooltip>
277
511
  </li>
278
512
  </template>
@@ -309,10 +543,16 @@
309
543
  </div>
310
544
  </div>
311
545
  <div class="annex-grid-height">
312
- <vxe-grid v-show="showType==2" ref="table-m1" v-bind="vxeOption" :data="page.records"
313
- @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
314
- @checkbox-change="tableCheckChange"
315
- @checkbox-all="tableCheckAll">
546
+ <vxe-grid
547
+ v-show="showType == 2"
548
+ ref="table-m1"
549
+ v-bind="vxeOption"
550
+ :data="page.records"
551
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
552
+ @custom="$vxeTableUtil.customHandle"
553
+ @checkbox-change="tableCheckChange"
554
+ @checkbox-all="tableCheckAll"
555
+ >
316
556
  <!-- <template #bottom v-if="page.total>page.records.length">
317
557
  <div class="vxe-annex-more" @click="changePage(page.current+1, pageSize)">
318
558
  <span>更多</span>
@@ -329,16 +569,16 @@
329
569
  @page-change="changePageNew"
330
570
  >
331
571
  <template #right>
332
- <span>
333
- <span>{{ $t2('当前记录', 'components.table.pageInfo') }}</span>
334
- <span class="f-red"> {{ page.records.length }} </span>
335
- <span>/</span>
336
- <span class="f-red"> {{ page.total }}</span>
337
- </span>
572
+ <span>
573
+ <span>{{ $t2("当前记录", "components.table.pageInfo") }}</span>
574
+ <span class="f-red"> {{ page.records.length }} </span>
575
+ <span>/</span>
576
+ <span class="f-red"> {{ page.total }}</span>
577
+ </span>
338
578
  </template>
339
579
  </vxe-pager>
340
580
  </template>
341
- <template #operate="{row,rowIndex,items}">
581
+ <template #operate="{ row, rowIndex, items }">
342
582
  <template v-if="!row.dirs">
343
583
  <a
344
584
  href="javascript:void(0);"
@@ -346,10 +586,14 @@
346
586
  v-if="isEdit && fileObjAuth.editAuth == 1"
347
587
  @click="openPropertiesDialog(row)"
348
588
  >
349
- <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')"
350
- placement="top"
351
- popper-class="tooltip-skin">
352
- <i class="iconfont icon-shuxing"/>
589
+ <el-tooltip
590
+ :enterable="false"
591
+ effect="dark"
592
+ :content="$t2('详情', 'components.fileLibrary.detail')"
593
+ placement="top"
594
+ popper-class="tooltip-skin"
595
+ >
596
+ <i class="iconfont icon-shuxing" />
353
597
  </el-tooltip>
354
598
  </a>
355
599
  <a
@@ -358,10 +602,14 @@
358
602
  v-if="fileObjAuth.downloadAuth == 1"
359
603
  @click="downloadSingerFile(row)"
360
604
  >
361
- <el-tooltip :enterable="false" effect="dark" :content="$t2('下载','components.fileLibrary.download')"
362
- placement="top"
363
- popper-class="tooltip-skin">
364
- <i class="el-icon-download"/>
605
+ <el-tooltip
606
+ :enterable="false"
607
+ effect="dark"
608
+ :content="$t2('下载', 'components.fileLibrary.download')"
609
+ placement="top"
610
+ popper-class="tooltip-skin"
611
+ >
612
+ <i class="el-icon-download" />
365
613
  </el-tooltip>
366
614
  </a>
367
615
  <a
@@ -370,10 +618,14 @@
370
618
  v-if="fileObjAuth.shareAuth == 1"
371
619
  @click="openShareDialog(row)"
372
620
  >
373
- <el-tooltip :enterable="false" effect="dark" :content="$t2('分享','components.fileLibrary.share')"
374
- placement="top"
375
- popper-class="tooltip-skin">
376
- <i class="el-icon-share"/>
621
+ <el-tooltip
622
+ :enterable="false"
623
+ effect="dark"
624
+ :content="$t2('分享', 'components.fileLibrary.share')"
625
+ placement="top"
626
+ popper-class="tooltip-skin"
627
+ >
628
+ <i class="el-icon-share" />
377
629
  </el-tooltip>
378
630
  </a>
379
631
  <a
@@ -382,10 +634,14 @@
382
634
  v-if="isEdit && row.status != 1 && fileObjAuth.replaceAuth == 1"
383
635
  @click="replaceFile(row, rowIndex, items)"
384
636
  >
385
- <el-tooltip :enterable="false" effect="dark" :content="$t2('替换','components.fileLibrary.replace')"
386
- placement="top"
387
- popper-class="tooltip-skin">
388
- <i class="el-icon-refresh"/>
637
+ <el-tooltip
638
+ :enterable="false"
639
+ effect="dark"
640
+ :content="$t2('替换', 'components.fileLibrary.replace')"
641
+ placement="top"
642
+ popper-class="tooltip-skin"
643
+ >
644
+ <i class="el-icon-refresh" />
389
645
  </el-tooltip>
390
646
  </a>
391
647
  <a
@@ -394,10 +650,14 @@
394
650
  v-if="isEdit && row.status != 1 && fileObjAuth.historyAuth == 1"
395
651
  @click="openFileHistoryDialog(row)"
396
652
  >
397
- <el-tooltip :enterable="false" effect="dark" :content="$t2('历史','components.fileLibrary.history')"
398
- placement="top"
399
- popper-class="tooltip-skin">
400
- <i class="el-icon-s-order"/>
653
+ <el-tooltip
654
+ :enterable="false"
655
+ effect="dark"
656
+ :content="$t2('历史', 'components.fileLibrary.history')"
657
+ placement="top"
658
+ popper-class="tooltip-skin"
659
+ >
660
+ <i class="el-icon-s-order" />
401
661
  </el-tooltip>
402
662
  </a>
403
663
  <a
@@ -406,10 +666,14 @@
406
666
  v-if="isEdit && row.status != 1 && fileObjAuth.deleteAuth == 1"
407
667
  @click="deleteAttach(row)"
408
668
  >
409
- <el-tooltip :enterable="false" effect="dark" :content="$t2('删除','components.fileLibrary.delete')"
410
- placement="top"
411
- popper-class="tooltip-skin">
412
- <i class="el-icon-delete"/>
669
+ <el-tooltip
670
+ :enterable="false"
671
+ effect="dark"
672
+ :content="$t2('删除', 'components.fileLibrary.delete')"
673
+ placement="top"
674
+ popper-class="tooltip-skin"
675
+ >
676
+ <i class="el-icon-delete" />
413
677
  </el-tooltip>
414
678
  </a>
415
679
  </template>
@@ -420,10 +684,14 @@
420
684
  v-if="isEdit && isCategoryEdit && fileObjAuth.editAuth == 1"
421
685
  @click="editFileCategory(row)"
422
686
  >
423
- <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')"
424
- placement="top"
425
- popper-class="tooltip-skin">
426
- <i class="iconfont icon-shuxing"/>
687
+ <el-tooltip
688
+ :enterable="false"
689
+ effect="dark"
690
+ :content="$t2('详情', 'components.fileLibrary.detail')"
691
+ placement="top"
692
+ popper-class="tooltip-skin"
693
+ >
694
+ <i class="iconfont icon-shuxing" />
427
695
  </el-tooltip>
428
696
  </a>
429
697
  <a
@@ -432,16 +700,25 @@
432
700
  v-if="isEdit && isCategoryEdit && fileObjAuth.deleteDirAuth == 1"
433
701
  @click="deleteAttach(row)"
434
702
  >
435
- <el-tooltip :enterable="false" effect="dark" :content="$t2('删除','components.fileLibrary.delete')"
436
- placement="top"
437
- popper-class="tooltip-skin">
438
- <i class="el-icon-delete"/>
703
+ <el-tooltip
704
+ :enterable="false"
705
+ effect="dark"
706
+ :content="$t2('删除', 'components.fileLibrary.delete')"
707
+ placement="top"
708
+ popper-class="tooltip-skin"
709
+ >
710
+ <i class="el-icon-delete" />
439
711
  </el-tooltip>
440
712
  </a>
441
713
  </template>
442
- <template v-for="(fileButton,index) in customFileButtons">
714
+ <template v-for="(fileButton, index) in customFileButtons">
443
715
  <template
444
- v-if="fileButton.dirs === null || fileButton.dirs === undefined || (row.dirs === fileButton.dirs)">
716
+ v-if="
717
+ fileButton.dirs === null ||
718
+ fileButton.dirs === undefined ||
719
+ row.dirs === fileButton.dirs
720
+ "
721
+ >
445
722
  <a
446
723
  :key="index"
447
724
  href="javascript:void(0);"
@@ -449,21 +726,28 @@
449
726
  v-if="customFileButtonVisable(fileButton, row)"
450
727
  @click="customFileButtonEvent(fileButton, row)"
451
728
  >
452
- <el-tooltip :enterable="false" effect="dark" :content="fileButton.label" placement="top"
453
- popper-class="tooltip-skin">
454
- <i :class="fileButton.icon"/>
729
+ <el-tooltip
730
+ :enterable="false"
731
+ effect="dark"
732
+ :content="fileButton.label"
733
+ placement="top"
734
+ popper-class="tooltip-skin"
735
+ >
736
+ <i :class="fileButton.icon" />
455
737
  </el-tooltip>
456
738
  </a>
457
739
  </template>
458
740
  </template>
459
-
460
741
  </template>
461
742
  </vxe-grid>
462
743
  </div>
463
-
464
744
  </div>
465
745
  <el-dialog
466
- :title="editCategory.id?$t2('编辑文件夹','components.fileLibrary.editCategoryTitle'):$t2('新增文件夹','components.fileLibrary.addCategoryTitle')"
746
+ :title="
747
+ editCategory.id
748
+ ? $t2('编辑文件夹', 'components.fileLibrary.editCategoryTitle')
749
+ : $t2('新增文件夹', 'components.fileLibrary.addCategoryTitle')
750
+ "
467
751
  :append-to-body="true"
468
752
  :modal-append-to-body="true"
469
753
  :close-on-click-modal="false"
@@ -476,55 +760,109 @@
476
760
  v-el-dialog-center
477
761
  >
478
762
  <div class="cont">
479
- <el-form ref="editCategoryForm" :model="editCategory" label-width="102px" class="adSearchForm">
480
- <el-form-item :label="$t2('文件夹路径','components.fileLibrary.fileCategoryPath')">
763
+ <el-form
764
+ ref="editCategoryForm"
765
+ :model="editCategory"
766
+ label-width="102px"
767
+ class="adSearchForm"
768
+ >
769
+ <el-form-item
770
+ :label="$t2('文件夹路径', 'components.fileLibrary.fileCategoryPath')"
771
+ >
481
772
  <el-breadcrumb separator-class="el-icon-arrow-right">
482
- <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
483
- treeNode.label
484
- }}
773
+ <el-breadcrumb-item v-for="(treeNode, index) in treeNodeArr" :key="index"
774
+ >{{ treeNode.label }}
485
775
  </el-breadcrumb-item>
486
776
  </el-breadcrumb>
487
777
  </el-form-item>
488
- <el-form-item :label="$t2('文件夹编码','components.fileLibrary.fileCategorySn')">
778
+ <el-form-item
779
+ :label="$t2('文件夹编码', 'components.fileLibrary.fileCategorySn')"
780
+ >
489
781
  <span>{{ editCategory.fileSn }}</span>
490
782
  </el-form-item>
491
- <el-form-item :label="$t2('文件夹名称','components.fileLibrary.fileCategoryName')">
492
- <el-input v-model="editCategory.fileName" clearable class="all-width"/>
783
+ <el-form-item
784
+ :label="$t2('文件夹名称', 'components.fileLibrary.fileCategoryName')"
785
+ >
786
+ <el-input v-model="editCategory.fileName" clearable class="all-width" />
493
787
  </el-form-item>
494
788
  </el-form>
495
789
  </div>
496
790
  <span slot="footer" class="dialog-footer">
497
- <el-button type="primary" plain class="button-sty" @click="showEditCategoryDialog=false">
498
- <i class="el-icon-close el-icon"></i>
499
- {{ $t2('取 消', 'system.button.cancel2') }}
500
- </el-button>
501
- <el-button type="primary" @click="confirmEditCategoryDialog" class="button-sty">
502
- <i class="el-icon-check el-icon"></i>
503
- {{ $t2('确 定', 'system.button.confirm2') }}
504
- </el-button>
505
- </span>
791
+ <el-button
792
+ type="primary"
793
+ plain
794
+ class="button-sty"
795
+ @click="showEditCategoryDialog = false"
796
+ >
797
+ <i class="el-icon-close el-icon"></i>
798
+ {{ $t2("取 消", "system.button.cancel2") }}
799
+ </el-button>
800
+ <el-button type="primary" @click="confirmEditCategoryDialog" class="button-sty">
801
+ <i class="el-icon-check el-icon"></i>
802
+ {{ $t2("确 定", "system.button.confirm2") }}
803
+ </el-button>
804
+ </span>
506
805
  </el-dialog>
507
806
  </div>
508
- <propertiesDialog v-if="showPropertiesDialog" :visiable.sync="showPropertiesDialog"
509
- :editAttachment.sync="editAttachment" :isEdit="isEdit"
510
- :treeNodeArr.sync="treeNodeArr" :option="option"></propertiesDialog>
511
- <el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
512
- :url-list="imageDTOs"/>
513
- <categoryMoveDialog :checkRows.sync="checkRows" v-if="showCategoryMoveDialog"
514
- :visiable.sync="showCategoryMoveDialog" @confirm="confirmMoveDialog"
515
- :handleType.sync="handleType"></categoryMoveDialog>
516
- <fileHistoryDialog v-if="showFileHistoryDialog" :visiable.sync="showFileHistoryDialog"
517
- :currentFile.sync="operateFileHistory" @confirm="confirmFileHistoryDialog" :multi="false"/>
807
+ <propertiesDialog
808
+ v-if="showPropertiesDialog"
809
+ :visiable.sync="showPropertiesDialog"
810
+ :editAttachment.sync="editAttachment"
811
+ :isEdit="isEdit"
812
+ :treeNodeArr.sync="treeNodeArr"
813
+ :option="option"
814
+ ></propertiesDialog>
815
+ <el-image-viewer
816
+ v-if="showViewer"
817
+ :on-close="
818
+ () => {
819
+ showViewer = false;
820
+ }
821
+ "
822
+ :initial-index.sync="chooseIndex"
823
+ :url-list="imageDTOs"
824
+ />
825
+ <categoryMoveDialog
826
+ :checkRows.sync="checkRows"
827
+ v-if="showCategoryMoveDialog"
828
+ :visiable.sync="showCategoryMoveDialog"
829
+ @confirm="confirmMoveDialog"
830
+ :handleType.sync="handleType"
831
+ ></categoryMoveDialog>
832
+ <fileHistoryDialog
833
+ v-if="showFileHistoryDialog"
834
+ :visiable.sync="showFileHistoryDialog"
835
+ :currentFile.sync="operateFileHistory"
836
+ @confirm="confirmFileHistoryDialog"
837
+ :multi="false"
838
+ />
518
839
 
519
- <shareDialog v-if="showShareDialog" :visiable.sync="showShareDialog"
520
- :attachment.sync="shareAttachment"></shareDialog>
521
- <recycleBinDialog v-if="showRecycleBinDialog" :visiable.sync="showRecycleBinDialog"
522
- :option.sync="option" :treeNodeArr="treeNodeArr" :currentFileCategory="currentFileCategory"
523
- @confirm="confirmRecycleBinDialog"></recycleBinDialog>
524
- <advancedSearchDialog v-if="showAdvancedSearch" :visiable.sync="showAdvancedSearch"
525
- :formData.sync="advancedFormData" @confirm="searchEvent">
840
+ <shareDialog
841
+ v-if="showShareDialog"
842
+ :visiable.sync="showShareDialog"
843
+ :attachment.sync="shareAttachment"
844
+ ></shareDialog>
845
+ <recycleBinDialog
846
+ v-if="showRecycleBinDialog"
847
+ :visiable.sync="showRecycleBinDialog"
848
+ :option.sync="option"
849
+ :treeNodeArr="treeNodeArr"
850
+ :currentFileCategory="currentFileCategory"
851
+ @confirm="confirmRecycleBinDialog"
852
+ ></recycleBinDialog>
853
+ <advancedSearchDialog
854
+ v-if="showAdvancedSearch"
855
+ :visiable.sync="showAdvancedSearch"
856
+ :formData.sync="advancedFormData"
857
+ @confirm="searchEvent"
858
+ >
526
859
  <template #form>
527
- <vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
860
+ <vxe-form
861
+ :model="advancedFormData"
862
+ title-width="102px"
863
+ :inline="true"
864
+ class="adSearchForm"
865
+ >
528
866
  <!-- <vxe-form-item title="属性名称:">
529
867
  <template v-slot>
530
868
  <el-input v-model="advancedFormData.attributeName" clearable/>
@@ -545,7 +883,7 @@
545
883
  </vxe-form-item>-->
546
884
  <vxe-form-item title="所属对象描述:" class-name="block">
547
885
  <template v-slot>
548
- <el-input v-model="advancedFormData.note" clearable/>
886
+ <el-input v-model="advancedFormData.note" clearable />
549
887
  </template>
550
888
  </vxe-form-item>
551
889
  <vxe-form-item title="创建时间:">
@@ -581,22 +919,35 @@
581
919
  v-bind="billDialogParam"
582
920
  @confirm="confirmBillDialog"
583
921
  ></component>
584
- <videoDialog v-if="showVideoDialog" :visiable.sync="showVideoDialog" :option="videoOption"></videoDialog>
585
- <fileObjAuthDialog v-if="showFileObjAuthDialog" :visiable.sync="showFileObjAuthDialog"
586
- :fileObjId="currentFileCategory ? currentFileCategory.id:0" :treeNodeArr="treeNodeArr"/>
922
+ <videoDialog
923
+ v-if="showVideoDialog"
924
+ :visiable.sync="showVideoDialog"
925
+ :option="videoOption"
926
+ ></videoDialog>
927
+ <fileObjAuthDialog
928
+ v-if="showFileObjAuthDialog"
929
+ :visiable.sync="showFileObjAuthDialog"
930
+ :fileObjId="currentFileCategory ? currentFileCategory.id : 0"
931
+ :treeNodeArr="treeNodeArr"
932
+ />
587
933
 
588
- <filterDialog v-if="showFilterDialog" :visiable.sync="showFilterDialog" queryType="pcp" :treeNodeArr="treeNodeArr"
589
- :currentFileCategory="currentFileCategory" @openFileDirs="openFileDirs"></filterDialog>
934
+ <filterDialog
935
+ v-if="showFilterDialog"
936
+ :visiable.sync="showFilterDialog"
937
+ queryType="pcp"
938
+ :treeNodeArr="treeNodeArr"
939
+ :currentFileCategory="currentFileCategory"
940
+ @openFileDirs="openFileDirs"
941
+ ></filterDialog>
590
942
  </div>
591
943
  </template>
592
944
 
593
945
  <script>
594
-
595
- import mixins from './mixins/indexMixins';
946
+ import mixins from "./mixins/indexMixins";
596
947
  export default {
597
- name: 'ledgerLibrary',
598
- mixins: [mixins]
599
- }
948
+ name: "ledgerLibrary",
949
+ mixins: [mixins],
950
+ };
600
951
  </script>
601
952
  <style lang="scss" scoped>
602
953
  #labBtn {
@@ -619,7 +970,6 @@ export default {
619
970
  display: inline-block;
620
971
  }
621
972
 
622
-
623
973
  .vxe-grid .vxe-gird-block {
624
974
  height: calc(100vh - 161px);
625
975
  }
@@ -681,6 +1031,6 @@ export default {
681
1031
  }
682
1032
 
683
1033
  #labBtn {
684
- height: calc(100vh - 34px)
1034
+ height: calc(100vh - 34px);
685
1035
  }
686
1036
  </style>