cloud-web-corejs 1.0.54-dev.10 → 1.0.54-dev.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -3
- package/src/components/VabUpload/index.vue +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/view.vue +2 -1
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +2 -1
- package/src/components/excelExport/index.vue +8 -6
- package/src/components/excelExport/mixins.js +1 -2
- package/src/components/excelImport/index.vue +2 -1
- package/src/components/excelImport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
- package/src/components/fileLibrary/filterDialog.vue +379 -0
- package/src/components/fileLibrary/index.vue +26 -15
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +8 -3
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +4 -1
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +1 -1
- package/src/components/fileLibrary/mixins/indexMixins.js +59 -17
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +2 -1
- package/src/components/fileLibrary/propertiesDialog.vue +4 -0
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/onlineTalk/index.vue +327 -5
- package/src/components/onlineTalk/mixins.js +1 -1
- package/src/components/table/index.js +2 -1
- package/src/components/tempStorage/tempStorageDialog.vue +2 -2
- package/src/components/wf/wf.js +1737 -1
- package/src/components/wf/wfUtil.js +278 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +1 -0
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
- package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +8 -5
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +989 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +26 -2
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +79 -0
- package/src/components/xform/form-designer/indexMixin.js +864 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +49 -36
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +322 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +13 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +20 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +269 -27
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +57 -7
- package/src/components/xform/form-render/container-item/data-table-item.vue +5 -4
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1881 -1
- package/src/components/xform/form-render/indexMixin.js +1680 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/layout/components/Sidebar/default.vue +18 -6
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/router/modules/customer.js +15 -0
- package/src/store/config/index.js +1 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/user.js +302 -1
- package/src/utils/pddLog.js +103 -0
- package/src/utils/request.js +28 -28
- package/src/utils/vab.js +1 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +2 -2
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +4 -2
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +1 -1
- package/src/views/bd/setting/form_template/mixins/wf_list.js +434 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
- package/src/views/bd/setting/form_template/wf_list.vue +127 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -254
- package/src/views/bd/setting/table_model/edit.vue +1 -1
- package/src/views/bd/setting/table_model/list.vue +4 -2
- package/src/views/bd/setting/table_model/mixins/list.js +14 -14
- package/src/views/user/area/dialog.vue +21 -8
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +19 -9
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/file_type/edit.vue +30 -1
- package/src/views/user/file_type/list.vue +28 -0
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/login/default.vue +4 -2
- package/src/views/user/outLink/form_view.vue +39 -12
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/outLink/view.vue +39 -13
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/user/edit.vue +9 -9
- package/src/views/user/user/form_edit.vue +117 -49
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +19 -3
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
|
@@ -108,6 +108,9 @@
|
|
|
108
108
|
v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)">
|
|
109
109
|
{{ $t2('删除', 'components.fileLibrary.delete') }}
|
|
110
110
|
</el-button>
|
|
111
|
+
<el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showFilterDialog = true">
|
|
112
|
+
{{ $t1('高级筛选') }}
|
|
113
|
+
</el-button>
|
|
111
114
|
|
|
112
115
|
<template v-for="(fileButton,customToobarButtonIndex) in customToobarButtons">
|
|
113
116
|
<template
|
|
@@ -483,7 +486,7 @@
|
|
|
483
486
|
</el-breadcrumb>
|
|
484
487
|
</el-form-item>
|
|
485
488
|
<el-form-item :label="$t2('文件夹编码','components.fileLibrary.fileCategorySn')">
|
|
486
|
-
<span>{{editCategory.fileSn}}</span>
|
|
489
|
+
<span>{{ editCategory.fileSn }}</span>
|
|
487
490
|
</el-form-item>
|
|
488
491
|
<el-form-item :label="$t2('文件夹名称','components.fileLibrary.fileCategoryName')">
|
|
489
492
|
<el-input v-model="editCategory.fileName" clearable class="all-width"/>
|
|
@@ -504,7 +507,7 @@
|
|
|
504
507
|
</div>
|
|
505
508
|
<propertiesDialog v-if="showPropertiesDialog" :visiable.sync="showPropertiesDialog"
|
|
506
509
|
:editAttachment.sync="editAttachment" :isEdit="isEdit"
|
|
507
|
-
:treeNodeArr.sync="treeNodeArr"></propertiesDialog>
|
|
510
|
+
:treeNodeArr.sync="treeNodeArr" :option="option"></propertiesDialog>
|
|
508
511
|
<el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
|
|
509
512
|
:url-list="imageDTOs"/>
|
|
510
513
|
<categoryMoveDialog :checkRows.sync="checkRows" v-if="showCategoryMoveDialog"
|
|
@@ -522,16 +525,16 @@
|
|
|
522
525
|
:formData.sync="advancedFormData" @confirm="searchEvent">
|
|
523
526
|
<template #form>
|
|
524
527
|
<vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
|
|
525
|
-
<vxe-form-item title="属性名称:">
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
528
|
+
<!-- <vxe-form-item title="属性名称:">
|
|
529
|
+
<template v-slot>
|
|
530
|
+
<el-input v-model="advancedFormData.attributeName" clearable/>
|
|
531
|
+
</template>
|
|
532
|
+
</vxe-form-item>
|
|
533
|
+
<vxe-form-item title="属性值:">
|
|
534
|
+
<template v-slot>
|
|
535
|
+
<el-input v-model="advancedFormData.attributeValue" clearable/>
|
|
536
|
+
</template>
|
|
537
|
+
</vxe-form-item>-->
|
|
535
538
|
<!-- <vxe-form-item title="状态:">
|
|
536
539
|
<template v-slot>
|
|
537
540
|
<el-select v-model="advancedFormData.status" clearable>
|
|
@@ -581,6 +584,9 @@
|
|
|
581
584
|
<videoDialog v-if="showVideoDialog" :visiable.sync="showVideoDialog" :option="videoOption"></videoDialog>
|
|
582
585
|
<fileObjAuthDialog v-if="showFileObjAuthDialog" :visiable.sync="showFileObjAuthDialog"
|
|
583
586
|
:fileObjId="currentFileCategory ? currentFileCategory.id:0" :treeNodeArr="treeNodeArr"/>
|
|
587
|
+
|
|
588
|
+
<filterDialog v-if="showFilterDialog" :visiable.sync="showFilterDialog" queryType="pcp" :treeNodeArr="treeNodeArr"
|
|
589
|
+
:currentFileCategory="currentFileCategory" @openFileDirs="openFileDirs"></filterDialog>
|
|
584
590
|
</div>
|
|
585
591
|
</template>
|
|
586
592
|
|
|
@@ -588,16 +594,18 @@
|
|
|
588
594
|
|
|
589
595
|
import mixins from './mixins/indexMixins';
|
|
590
596
|
import fileObjAuthDialog from "../../components/fileLibrary/fileObjAuthDialog";
|
|
597
|
+
import filterDialog from "./filterDialog.vue";
|
|
591
598
|
|
|
592
599
|
export default {
|
|
593
600
|
name: 'ledgerLibrary',
|
|
594
601
|
mixins: [mixins],
|
|
595
|
-
components: {fileObjAuthDialog},
|
|
602
|
+
components: {fileObjAuthDialog, filterDialog},
|
|
596
603
|
data() {
|
|
597
604
|
return {
|
|
598
605
|
showFileObjAuthDialog: false,
|
|
599
606
|
fileObjAuth: {},
|
|
600
|
-
popAnnexFilter: false
|
|
607
|
+
popAnnexFilter: false,
|
|
608
|
+
showFilterDialog: false
|
|
601
609
|
}
|
|
602
610
|
}
|
|
603
611
|
}
|
|
@@ -683,5 +691,8 @@ export default {
|
|
|
683
691
|
height: calc(100vh - 215px);
|
|
684
692
|
}
|
|
685
693
|
}
|
|
686
|
-
|
|
694
|
+
|
|
695
|
+
#labBtn {
|
|
696
|
+
height: calc(100vh - 34px)
|
|
697
|
+
}
|
|
687
698
|
</style>
|
|
@@ -17,7 +17,7 @@ modules = {
|
|
|
17
17
|
components: {
|
|
18
18
|
editView, userDialog, positionDialog, saleOrgDialog, roleDialog, fileObjAuthEditDialog, fileObjNotifyEdit
|
|
19
19
|
},
|
|
20
|
-
inject: ['current_prefix'],
|
|
20
|
+
inject: ['current_prefix', 'getFileStoreArea'],
|
|
21
21
|
mounted() {
|
|
22
22
|
this.initTableList();
|
|
23
23
|
},
|
|
@@ -56,6 +56,11 @@ modules = {
|
|
|
56
56
|
showFileObjNotifyEdit: true
|
|
57
57
|
};
|
|
58
58
|
},
|
|
59
|
+
computed: {
|
|
60
|
+
fileStoreArea() {
|
|
61
|
+
return this.getFileStoreArea();
|
|
62
|
+
}
|
|
63
|
+
},
|
|
59
64
|
methods: {
|
|
60
65
|
searchEvent() {
|
|
61
66
|
this.$refs['table-m1'].commitProxy('reload');
|
|
@@ -285,7 +290,7 @@ modules = {
|
|
|
285
290
|
}
|
|
286
291
|
}
|
|
287
292
|
},
|
|
288
|
-
{
|
|
293
|
+
...(this.fileStoreArea.toDownWatermark ? [{
|
|
289
294
|
title: this.$t1('下载打水印 '),
|
|
290
295
|
field: 'downWatermarkAuth',
|
|
291
296
|
width: 150,
|
|
@@ -297,7 +302,7 @@ modules = {
|
|
|
297
302
|
];
|
|
298
303
|
}
|
|
299
304
|
}
|
|
300
|
-
},
|
|
305
|
+
}] : []),
|
|
301
306
|
{title: this.$t2('创建人', 'system.label.createBy'), field: 'createBy', width: 150},
|
|
302
307
|
{title: this.$t2('创建时间', 'system.label.createDate'), field: 'createDate', width: 150},
|
|
303
308
|
{title: this.$t2('更新人', 'system.label.modifyBy'), field: 'modifyBy', width: 150},
|
|
@@ -14,7 +14,7 @@ modules = {
|
|
|
14
14
|
components: {
|
|
15
15
|
userDialog, positionDialog, saleOrgDialog, roleDialog
|
|
16
16
|
},
|
|
17
|
-
inject: ['current_prefix'],
|
|
17
|
+
inject: ['current_prefix', 'getFileStoreArea'],
|
|
18
18
|
data() {
|
|
19
19
|
return {
|
|
20
20
|
isEdit: false,
|
|
@@ -56,6 +56,9 @@ modules = {
|
|
|
56
56
|
let prevTitle = this.currentRow ? this.$t2('查看', 'system.button.check') : this.$t2('新增', 'system.button.add')
|
|
57
57
|
let title = prevTitle + this.$t2('文件权限', 'components.fileLibrary.fileAuth')
|
|
58
58
|
return title;
|
|
59
|
+
},
|
|
60
|
+
fileStoreArea(){
|
|
61
|
+
return this.getFileStoreArea();
|
|
59
62
|
}
|
|
60
63
|
},
|
|
61
64
|
mounted() {
|
|
@@ -44,6 +44,9 @@ modules = {
|
|
|
44
44
|
getObjectForeignId: () => {
|
|
45
45
|
return this.objectForeignId;
|
|
46
46
|
},
|
|
47
|
+
getFileStoreArea: () => {
|
|
48
|
+
return this.fileStoreArea;
|
|
49
|
+
}
|
|
47
50
|
};
|
|
48
51
|
},
|
|
49
52
|
async created() {
|
|
@@ -73,6 +76,7 @@ modules = {
|
|
|
73
76
|
billDialogContent: null,
|
|
74
77
|
checkBillDatas: [],
|
|
75
78
|
title: "",
|
|
79
|
+
fileStoreArea: {},
|
|
76
80
|
folderStatus: false,
|
|
77
81
|
filterText: "",
|
|
78
82
|
defaultProps: {
|
|
@@ -258,6 +262,34 @@ modules = {
|
|
|
258
262
|
}
|
|
259
263
|
},
|
|
260
264
|
methods: {
|
|
265
|
+
openFileDirs(row) {
|
|
266
|
+
let keys = row.treePath.split(',').filter(item => !!item);
|
|
267
|
+
let size = keys.length
|
|
268
|
+
let tree = this.$refs.tree
|
|
269
|
+
|
|
270
|
+
let parent = null;
|
|
271
|
+
let loopDo = (index) => {
|
|
272
|
+
if (size <= index) return
|
|
273
|
+
let key = keys[index]
|
|
274
|
+
let node = tree.getNode(key + "");
|
|
275
|
+
let data = node.data;
|
|
276
|
+
if (size == index + 1) {
|
|
277
|
+
tree.setCurrentKey(data);
|
|
278
|
+
this.handleNodeClick(data, node, this);
|
|
279
|
+
return
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
if (!data.leaf) {
|
|
283
|
+
node.expand(() => {
|
|
284
|
+
loopDo(index + 1)
|
|
285
|
+
})
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
this.getTopNode().expand(() => {
|
|
289
|
+
loopDo(0)
|
|
290
|
+
})
|
|
291
|
+
|
|
292
|
+
},
|
|
261
293
|
getTopNode() {
|
|
262
294
|
return this.$refs.tree.root.childNodes[0];
|
|
263
295
|
},
|
|
@@ -1004,36 +1036,44 @@ modules = {
|
|
|
1004
1036
|
rows.forEach((value) => {
|
|
1005
1037
|
value.leaf = !value.hasChild;
|
|
1006
1038
|
});
|
|
1039
|
+
let items = [];
|
|
1007
1040
|
if (node.level === 0) {
|
|
1041
|
+
let item = {
|
|
1042
|
+
parent: null,
|
|
1043
|
+
fileName: this.title,
|
|
1044
|
+
leaf: rows.length == 0,
|
|
1045
|
+
allFileBtn: true,
|
|
1046
|
+
id: 0,
|
|
1047
|
+
children: rows,
|
|
1048
|
+
};
|
|
1049
|
+
items.push(item);
|
|
1008
1050
|
setTimeout(() => {
|
|
1009
1051
|
this.$refs.tree.setCurrentKey(node.childNodes[0].data);
|
|
1010
1052
|
this.handleNodeData(node.childNodes[0]);
|
|
1011
1053
|
node.childNodes[0].expand();
|
|
1054
|
+
if (this.option.treeExpandAll) {
|
|
1055
|
+
//默认全部展开树分类
|
|
1056
|
+
node.childNodes[0].childNodes.forEach(item => {
|
|
1057
|
+
if (!item.data.leaf) item.expand();
|
|
1058
|
+
})
|
|
1059
|
+
}
|
|
1012
1060
|
}, 200);
|
|
1013
1061
|
this.$nextTick(() => {
|
|
1014
1062
|
callback && callback();
|
|
1015
1063
|
});
|
|
1016
1064
|
this.searchEvent();
|
|
1017
1065
|
} else {
|
|
1066
|
+
items = rows;
|
|
1018
1067
|
this.$nextTick(() => {
|
|
1068
|
+
if (this.option.treeExpandAll) {
|
|
1069
|
+
//默认全部展开树分类
|
|
1070
|
+
node.childNodes.forEach(item => {
|
|
1071
|
+
if (!item.data.leaf) item.expand();
|
|
1072
|
+
})
|
|
1073
|
+
}
|
|
1019
1074
|
callback && callback();
|
|
1020
1075
|
});
|
|
1021
1076
|
}
|
|
1022
|
-
let items = [];
|
|
1023
|
-
if (node.level === 0) {
|
|
1024
|
-
let item = {
|
|
1025
|
-
parent: null,
|
|
1026
|
-
fileName: this.title,
|
|
1027
|
-
leaf: rows.length == 0,
|
|
1028
|
-
allFileBtn: true,
|
|
1029
|
-
id: 0,
|
|
1030
|
-
children: rows,
|
|
1031
|
-
};
|
|
1032
|
-
items.push(item);
|
|
1033
|
-
} else {
|
|
1034
|
-
items = rows;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
1077
|
resolve(items);
|
|
1038
1078
|
},
|
|
1039
1079
|
});
|
|
@@ -1403,6 +1443,7 @@ modules = {
|
|
|
1403
1443
|
success: (res) => {
|
|
1404
1444
|
let fileStoreArea = res.objx;
|
|
1405
1445
|
if (fileStoreArea) {
|
|
1446
|
+
this.fileStoreArea = fileStoreArea;
|
|
1406
1447
|
this.title = fileStoreArea.storeAreaName;
|
|
1407
1448
|
this.$nextTick(() => {
|
|
1408
1449
|
treeScollx({target: this, type: "default"});
|
|
@@ -1749,11 +1790,12 @@ modules = {
|
|
|
1749
1790
|
}
|
|
1750
1791
|
},
|
|
1751
1792
|
downloadSingerFile(attachment) {
|
|
1793
|
+
|
|
1752
1794
|
let fileObjAuth = this.fileObjAuth;
|
|
1753
1795
|
if (attachment.dirs || !fileObjAuth.downloadAuth) return
|
|
1754
1796
|
let url = attachment.domain + attachment.url;
|
|
1755
|
-
|
|
1756
|
-
|
|
1797
|
+
if (this.fileStoreArea.toDownWatermark && fileObjAuth.downWatermarkAuth) {
|
|
1798
|
+
let loginAccount = this.$store.getters.loginAccount;
|
|
1757
1799
|
url += '?_w=' + encode(loginAccount)
|
|
1758
1800
|
}
|
|
1759
1801
|
this.$commonFileUtil.downloadFile(url, attachment.fileName)
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
<th>{{ $t2('所属对象描述', 'components.fileLibrary.note') }}</th>
|
|
59
59
|
<td colspan="3">{{ attachmentDTO.note }}</td>
|
|
60
60
|
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th>{{ $t1('文件类型名') }}</th>
|
|
63
|
+
<td colspan="3">{{ attachmentDTO.fileTypeName }}</td>
|
|
64
|
+
</tr>
|
|
61
65
|
<tr>
|
|
62
66
|
<th>{{ $t2('文件大小', 'components.fileLibrary.fileSize') }}</th>
|
|
63
67
|
<td>{{ formatFileSize(attachmentDTO.fileSize) }}</td>
|