cloud-web-corejs 1.0.54-dev.9 → 1.0.55
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 +1 -1
- package/src/components/excelExport/index.js +5 -5
- package/src/components/excelExport/index.vue +0 -1
- package/src/components/excelExport/mixins.js +1 -4
- package/src/components/excelImport/index.js +13 -13
- package/src/components/excelImport/index.vue +5 -7
- package/src/components/excelImport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +103 -125
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +1 -6
- package/src/components/fileLibrary/index.vue +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +6 -21
- package/src/components/fileLibrary/mixins/indexMixins.js +0 -11
- package/src/components/jsonImport/index.js +17 -17
- package/src/components/table/index.js +1 -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/preformDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +5 -4
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +2 -36
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +0 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +33 -277
- package/src/components/xform/form-render/indexMixin.js +1 -24
- package/src/layout/components/Sidebar/default.vue +1222 -1222
- package/src/layout/components/notify_message/unreadDialog.vue +5 -11
- package/src/utils/vab.js +1 -1
- package/src/views/bd/setting/bd_attach_setting/edit.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_template/edit.vue +0 -4
- 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/menu_kind/mixins/authDialog.js +7 -7
- package/src/views/user/access_log/list.vue +349 -349
- package/src/views/user/company_info/edit.vue +1 -9
- package/src/views/user/home/index.vue +2 -4
- package/src/views/user/system_notice/infoDialog.vue +1 -25
- package/src/views/user/user/list.vue +563 -563
- package/src/views/user/wf/wf_obj_config/edit.vue +1 -5
- package/src/views/user/wf/wf_obj_config/list.vue +0 -15
- package/src/components/excelExport/exportFieldDialog.vue +0 -201
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +0 -170
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +0 -223
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +0 -62
- package/src/components/xform/form-designer/setting-panel/wfObjConfigDialog.vue +0 -189
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
3
|
<el-dialog
|
4
|
-
title="
|
4
|
+
title="设置文件权限"
|
5
5
|
:append-to-body="true"
|
6
6
|
:modal-append-to-body="true"
|
7
7
|
:close-on-click-modal="false"
|
@@ -14,137 +14,115 @@
|
|
14
14
|
v-el-dialog-center
|
15
15
|
>
|
16
16
|
<div class="cont">
|
17
|
-
<div
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
>
|
29
|
-
<
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
</div>
|
60
|
-
</template>
|
61
|
-
<template #saleOrg="{row,rowIndex}">
|
62
|
-
<el-input
|
63
|
-
class="search-input"
|
64
|
-
v-model="row.saleOrgName"
|
65
|
-
clearable
|
66
|
-
@clear="
|
17
|
+
<div class="grid-height" style="height: 500px">
|
18
|
+
<vxe-grid
|
19
|
+
class="is-pointer"
|
20
|
+
ref="table-m1"
|
21
|
+
:data="tableData"
|
22
|
+
v-bind="vxeOption"
|
23
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
24
|
+
@custom="$vxeTableUtil.customHandle"
|
25
|
+
>
|
26
|
+
<template #form>
|
27
|
+
<div class="clearfix screen-btns">
|
28
|
+
<div class="fl">
|
29
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openSaleOrgAddDialog">新增机构
|
30
|
+
</vxe-button>
|
31
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openPositionAddDialog">
|
32
|
+
新增岗位
|
33
|
+
</vxe-button>
|
34
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openUserAddDialog">新增用户
|
35
|
+
</vxe-button>
|
36
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openRoleAddDialog">新增角色
|
37
|
+
</vxe-button>
|
38
|
+
<!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
|
39
|
+
@click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
|
40
|
+
</vxe-button>-->
|
41
|
+
</div>
|
42
|
+
<div class="fl screen-breadcrumb" style="margin-left: 30px;">
|
43
|
+
<span style="font-size: 12px;">{{ $t2('文件路径', 'components.fileLibrary.filePath') }}:</span>
|
44
|
+
<el-breadcrumb separator-class="el-icon-arrow-right">
|
45
|
+
<el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
|
46
|
+
treeNode.label
|
47
|
+
}}
|
48
|
+
</el-breadcrumb-item>
|
49
|
+
</el-breadcrumb>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</template>
|
53
|
+
<template #saleOrg="{row,rowIndex}">
|
54
|
+
<el-input
|
55
|
+
class="search-input"
|
56
|
+
v-model="row.saleOrgName"
|
57
|
+
clearable
|
58
|
+
@clear="
|
67
59
|
row.saleOrgId = null;
|
68
60
|
"
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
@clear="
|
61
|
+
v-if="!row._isParent"
|
62
|
+
v-el-readonly
|
63
|
+
>
|
64
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="openSaleOrgRowDialog(row,rowIndex)"></i>
|
65
|
+
</el-input>
|
66
|
+
<template v-else>{{ row.saleOrgName }}</template>
|
67
|
+
</template>
|
68
|
+
<template #position="{row,rowIndex}">
|
69
|
+
<el-input
|
70
|
+
class="search-input"
|
71
|
+
v-model="row.positionName"
|
72
|
+
clearable
|
73
|
+
@clear="
|
83
74
|
row.positionId = null;
|
84
75
|
"
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
@clear="
|
76
|
+
v-if="!row._isParent"
|
77
|
+
v-el-readonly
|
78
|
+
>
|
79
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="openPositionRowDialog(row,rowIndex)"></i>
|
80
|
+
</el-input>
|
81
|
+
<template v-else>{{ row.positionName }}</template>
|
82
|
+
</template>
|
83
|
+
<template #role="{row,rowIndex}">
|
84
|
+
<el-input
|
85
|
+
class="search-input"
|
86
|
+
v-model="row.roleName"
|
87
|
+
clearable
|
88
|
+
@clear="
|
99
89
|
row.roleId = null;
|
100
90
|
"
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
@clear="
|
91
|
+
v-if="!row._isParent"
|
92
|
+
v-el-readonly
|
93
|
+
>
|
94
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="openRoleRowDialog(row,rowIndex)"></i>
|
95
|
+
</el-input>
|
96
|
+
<template v-else>{{ row.roleName }}</template>
|
97
|
+
</template>
|
98
|
+
<template #user="{row,rowIndex}">
|
99
|
+
<el-input
|
100
|
+
class="search-input"
|
101
|
+
v-model="row.nickName"
|
102
|
+
clearable
|
103
|
+
@clear="
|
115
104
|
row.userId = null;
|
116
105
|
"
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
</vxe-grid>
|
138
|
-
</div>
|
139
|
-
</el-tab-pane>
|
140
|
-
<el-tab-pane :label="$t1('文件操作,发系统通知')" name="second">
|
141
|
-
<div class="grid-height" style="height: 500px">
|
142
|
-
<fileObjNotifyEdit v-if="showFileObjNotifyEdit" visible-key="showFileObjNotifyEdit"
|
143
|
-
:current_prefix="current_prefix" :_dataId="fileObjId" :parent-target="_self"
|
144
|
-
@reload="$reloadHandle"></fileObjNotifyEdit>
|
145
|
-
</div>
|
146
|
-
</el-tab-pane>
|
147
|
-
</el-tabs>
|
106
|
+
v-if="!row._isParent"
|
107
|
+
v-el-readonly
|
108
|
+
>
|
109
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="openUserRowDialog(row,rowIndex)"></i>
|
110
|
+
</el-input>
|
111
|
+
<template v-else>{{ row.nickName }}</template>
|
112
|
+
</template>
|
113
|
+
<template #operate="{row}">
|
114
|
+
<a
|
115
|
+
href="javascript:void(0);"
|
116
|
+
class="a-link"
|
117
|
+
@click="openEditDialog(row.id)"
|
118
|
+
>
|
119
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t2('查看','common.view')" placement="top"
|
120
|
+
popper-class="tooltip-skin">
|
121
|
+
<i class="el-icon-edit"/>
|
122
|
+
</el-tooltip>
|
123
|
+
</a>
|
124
|
+
</template>
|
125
|
+
</vxe-grid>
|
148
126
|
</div>
|
149
127
|
</div>
|
150
128
|
<span slot="footer" class="dialog-footer">
|
@@ -152,7 +130,7 @@
|
|
152
130
|
<i class="el-icon-close el-icon"></i>
|
153
131
|
取 消
|
154
132
|
</el-button>
|
155
|
-
<el-button type="primary" @click="saveData" class="button-sty"
|
133
|
+
<el-button type="primary" @click="saveData" class="button-sty">
|
156
134
|
<i class="el-icon-check el-icon"></i>
|
157
135
|
确 定
|
158
136
|
</el-button>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
v-el-dialog-center
|
14
14
|
@close="handleClose"
|
15
15
|
>
|
16
|
-
<div class="cont"
|
16
|
+
<div class="cont">
|
17
17
|
<el-form ref="editForm" :model="fileObjAuth" label-width="110px" class="adSearchForm"
|
18
18
|
style="width: 362px;height: auto;">
|
19
19
|
<el-form-item label="文件路径">
|
@@ -150,11 +150,6 @@
|
|
150
150
|
<el-switch v-model="fileObjAuth.shareAuth" :active-value="1" :inactive-value="0"
|
151
151
|
:disabled="fileObjAuth._isParent"/>
|
152
152
|
</el-form-item>
|
153
|
-
<el-form-item prop="downWatermarkAuth" :label="$t1('下载打水印')"
|
154
|
-
:rules="[{ required: false, trigger: 'blur' }]">
|
155
|
-
<el-switch v-model="fileObjAuth.downWatermarkAuth" :active-value="1" :inactive-value="0"
|
156
|
-
:disabled="fileObjAuth._isParent"/>
|
157
|
-
</el-form-item>
|
158
153
|
</el-form>
|
159
154
|
</div>
|
160
155
|
<span slot="footer" class="dialog-footer">
|
@@ -192,7 +192,7 @@
|
|
192
192
|
href="javascript:void(0);"
|
193
193
|
class="a-link ico"
|
194
194
|
v-if="!attachment.dirs && fileObjAuth.downloadAuth"
|
195
|
-
@click="
|
195
|
+
@click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.fileName)"
|
196
196
|
>
|
197
197
|
<el-tooltip effect="dark" content="下载" placement="top"
|
198
198
|
popper-class="tooltip-skin">
|
@@ -353,7 +353,7 @@
|
|
353
353
|
href="javascript:void(0);"
|
354
354
|
class="a-link"
|
355
355
|
v-if="fileObjAuth.downloadAuth == 1"
|
356
|
-
@click="
|
356
|
+
@click="$commonFileUtil.downloadFile(row.domain + row.url,row.fileName)"
|
357
357
|
>
|
358
358
|
<el-tooltip :enterable="false" effect="dark" :content="$t2('下载','components.fileLibrary.download')"
|
359
359
|
placement="top"
|
@@ -4,7 +4,6 @@ import positionDialog from "../../../views/user/position/dialog";
|
|
4
4
|
import saleOrgDialog from "../../../views/user/sale_org/dialog";
|
5
5
|
import roleDialog from "../../../views/user/role/dialog";
|
6
6
|
import fileObjAuthEditDialog from "../../../components/fileLibrary/fileObjAuthEditDialog.vue";
|
7
|
-
import fileObjNotifyEdit from "@base/components/fileLibrary/fileObjNotifyEdit.vue";
|
8
7
|
|
9
8
|
|
10
9
|
let modules = {};
|
@@ -15,7 +14,7 @@ modules = {
|
|
15
14
|
treeNodeArr: Array
|
16
15
|
},
|
17
16
|
components: {
|
18
|
-
editView, userDialog, positionDialog, saleOrgDialog, roleDialog,
|
17
|
+
editView, userDialog, positionDialog, saleOrgDialog, roleDialog,fileObjAuthEditDialog
|
19
18
|
},
|
20
19
|
inject: ['current_prefix'],
|
21
20
|
mounted() {
|
@@ -25,7 +24,7 @@ modules = {
|
|
25
24
|
let that = this;
|
26
25
|
return {
|
27
26
|
showDialog: true,
|
28
|
-
activeName: '
|
27
|
+
activeName: 'second',
|
29
28
|
value10: '',
|
30
29
|
dataId: '',
|
31
30
|
showEdit: false,
|
@@ -51,9 +50,9 @@ modules = {
|
|
51
50
|
showSaleOrgAddDialog: false,
|
52
51
|
showPositionAddDialog: false,
|
53
52
|
showRoleAddDialog: false,
|
54
|
-
showDetailDialog:
|
55
|
-
currentRow:
|
56
|
-
|
53
|
+
showDetailDialog:false,
|
54
|
+
currentRow:null,
|
55
|
+
|
57
56
|
};
|
58
57
|
},
|
59
58
|
methods: {
|
@@ -285,19 +284,6 @@ modules = {
|
|
285
284
|
}
|
286
285
|
}
|
287
286
|
},
|
288
|
-
{
|
289
|
-
title: this.$t1('下载打水印 '),
|
290
|
-
field: 'downWatermarkAuth',
|
291
|
-
width: 150,
|
292
|
-
slots: {
|
293
|
-
default: ({row}) => {
|
294
|
-
return [
|
295
|
-
<el-switch v-model={row.downWatermarkAuth} active-value={1} inactive-value={0}
|
296
|
-
disabled={row._isParent}></el-switch>
|
297
|
-
];
|
298
|
-
}
|
299
|
-
}
|
300
|
-
},
|
301
287
|
{title: this.$t2('创建人', 'system.label.createBy'), field: 'createBy', width: 150},
|
302
288
|
{title: this.$t2('创建时间', 'system.label.createDate'), field: 'createDate', width: 150},
|
303
289
|
{title: this.$t2('更新人', 'system.label.modifyBy'), field: 'modifyBy', width: 150},
|
@@ -617,7 +603,6 @@ modules = {
|
|
617
603
|
deleteDirAuth: 1,
|
618
604
|
historyAuth: 1,
|
619
605
|
shareAuth: 1,
|
620
|
-
downWatermarkAuth: 0,
|
621
606
|
fileObjId: this.fileObjId
|
622
607
|
}
|
623
608
|
return row;
|
@@ -628,7 +613,7 @@ modules = {
|
|
628
613
|
this.showDetailDialog = true;
|
629
614
|
},
|
630
615
|
confirmDetailDialog(row) {
|
631
|
-
this.tableData.splice(this.operateIndex,
|
616
|
+
this.tableData.splice(this.operateIndex,1,row)
|
632
617
|
this.showDetailDialog = false;
|
633
618
|
}
|
634
619
|
}
|
@@ -7,7 +7,6 @@ import shareDialog from "../shareDialog";
|
|
7
7
|
import recycleBinDialog from "../recycleBinDialog";
|
8
8
|
import videoDialog from "../../../components/video/dialog";
|
9
9
|
import userDialog from "../../../views/user/user/dialog";
|
10
|
-
import {encode} from "js-base64";
|
11
10
|
|
12
11
|
let modules;
|
13
12
|
modules = {
|
@@ -1747,16 +1746,6 @@ modules = {
|
|
1747
1746
|
} else {
|
1748
1747
|
return customFileButton.visable;
|
1749
1748
|
}
|
1750
|
-
},
|
1751
|
-
downloadSingerFile(attachment) {
|
1752
|
-
let fileObjAuth = this.fileObjAuth;
|
1753
|
-
if (attachment.dirs || !fileObjAuth.downloadAuth) return
|
1754
|
-
let url = attachment.domain + attachment.url;
|
1755
|
-
let loginAccount = this.$store.getters.loginAccount;
|
1756
|
-
if (fileObjAuth.downWatermarkAuth) {
|
1757
|
-
url += '?_w=' + encode(loginAccount)
|
1758
|
-
}
|
1759
|
-
this.$commonFileUtil.downloadFile(url, attachment.fileName)
|
1760
1749
|
}
|
1761
1750
|
},
|
1762
1751
|
};
|