cloud-web-corejs 1.0.167 → 1.0.168
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<el-dialog
|
|
4
|
-
title="设置权限"
|
|
4
|
+
:title="$t1('设置权限')"
|
|
5
5
|
:append-to-body="true"
|
|
6
6
|
:modal-append-to-body="true"
|
|
7
7
|
:close-on-click-modal="false"
|
|
@@ -29,168 +29,260 @@
|
|
|
29
29
|
<template #form>
|
|
30
30
|
<div class="clearfix screen-btns">
|
|
31
31
|
<div class="fl">
|
|
32
|
-
<vxe-button
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
<vxe-button
|
|
33
|
+
status="primary"
|
|
34
|
+
class="button-sty"
|
|
35
|
+
icon="el-icon-plus"
|
|
36
|
+
@click="openSaleOrgAddDialog"
|
|
37
|
+
>
|
|
38
|
+
{{ $t1("新增机构") }}
|
|
35
39
|
</vxe-button>
|
|
36
|
-
<vxe-button
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
<vxe-button
|
|
41
|
+
status="primary"
|
|
42
|
+
class="button-sty"
|
|
43
|
+
icon="el-icon-plus"
|
|
44
|
+
@click="openPositionAddDialog"
|
|
45
|
+
>
|
|
46
|
+
{{ $t1("新增岗位") }}
|
|
39
47
|
</vxe-button>
|
|
40
|
-
<vxe-button
|
|
41
|
-
|
|
48
|
+
<vxe-button
|
|
49
|
+
status="primary"
|
|
50
|
+
class="button-sty"
|
|
51
|
+
icon="el-icon-plus"
|
|
52
|
+
@click="openUserAddDialog"
|
|
53
|
+
>
|
|
54
|
+
{{ $t1("新增用户") }}
|
|
42
55
|
</vxe-button>
|
|
43
|
-
<vxe-button
|
|
44
|
-
|
|
56
|
+
<vxe-button
|
|
57
|
+
status="primary"
|
|
58
|
+
class="button-sty"
|
|
59
|
+
icon="el-icon-plus"
|
|
60
|
+
@click="openRoleAddDialog"
|
|
61
|
+
>
|
|
62
|
+
{{ $t1("新增角色") }}
|
|
45
63
|
</vxe-button>
|
|
46
64
|
<!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
|
|
47
65
|
@click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
|
|
48
66
|
</vxe-button>-->
|
|
49
67
|
</div>
|
|
50
|
-
<div class="fl screen-breadcrumb" style="margin-left: 30px
|
|
51
|
-
<span style="font-size: 12px
|
|
68
|
+
<div class="fl screen-breadcrumb" style="margin-left: 30px">
|
|
69
|
+
<span style="font-size: 12px"
|
|
70
|
+
>{{
|
|
71
|
+
$t2("文件路径", "components.fileLibrary.filePath")
|
|
72
|
+
}}:</span
|
|
73
|
+
>
|
|
52
74
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
53
|
-
<el-breadcrumb-item
|
|
54
|
-
|
|
55
|
-
|
|
75
|
+
<el-breadcrumb-item
|
|
76
|
+
v-for="(treeNode, index) in treeNodeArr"
|
|
77
|
+
:key="index"
|
|
78
|
+
>{{ treeNode.label }}
|
|
56
79
|
</el-breadcrumb-item>
|
|
57
80
|
</el-breadcrumb>
|
|
58
81
|
</div>
|
|
59
82
|
</div>
|
|
60
83
|
</template>
|
|
61
|
-
<template #saleOrg="{row,rowIndex}">
|
|
84
|
+
<template #saleOrg="{ row, rowIndex }">
|
|
62
85
|
<el-input
|
|
63
86
|
class="search-input"
|
|
64
87
|
v-model="row.saleOrgName"
|
|
65
88
|
clearable
|
|
66
|
-
@clear="
|
|
67
|
-
row.saleOrgId = null;
|
|
68
|
-
"
|
|
89
|
+
@clear="row.saleOrgId = null"
|
|
69
90
|
v-if="!row._isParent"
|
|
70
91
|
v-el-readonly
|
|
71
92
|
>
|
|
72
|
-
<i
|
|
73
|
-
|
|
93
|
+
<i
|
|
94
|
+
slot="suffix"
|
|
95
|
+
class="el-input__icon el-icon-search"
|
|
96
|
+
@click="openSaleOrgRowDialog(row, rowIndex)"
|
|
97
|
+
></i>
|
|
74
98
|
</el-input>
|
|
75
99
|
<template v-else>{{ row.saleOrgName }}</template>
|
|
76
100
|
</template>
|
|
77
|
-
<template #position="{row,rowIndex}">
|
|
101
|
+
<template #position="{ row, rowIndex }">
|
|
78
102
|
<el-input
|
|
79
103
|
class="search-input"
|
|
80
104
|
v-model="row.positionName"
|
|
81
105
|
clearable
|
|
82
|
-
@clear="
|
|
83
|
-
row.positionId = null;
|
|
84
|
-
"
|
|
106
|
+
@clear="row.positionId = null"
|
|
85
107
|
v-if="!row._isParent"
|
|
86
108
|
v-el-readonly
|
|
87
109
|
>
|
|
88
|
-
<i
|
|
89
|
-
|
|
110
|
+
<i
|
|
111
|
+
slot="suffix"
|
|
112
|
+
class="el-input__icon el-icon-search"
|
|
113
|
+
@click="openPositionRowDialog(row, rowIndex)"
|
|
114
|
+
></i>
|
|
90
115
|
</el-input>
|
|
91
116
|
<template v-else>{{ row.positionName }}</template>
|
|
92
117
|
</template>
|
|
93
|
-
<template #role="{row,rowIndex}">
|
|
118
|
+
<template #role="{ row, rowIndex }">
|
|
94
119
|
<el-input
|
|
95
120
|
class="search-input"
|
|
96
121
|
v-model="row.roleName"
|
|
97
122
|
clearable
|
|
98
|
-
@clear="
|
|
99
|
-
row.roleId = null;
|
|
100
|
-
"
|
|
123
|
+
@clear="row.roleId = null"
|
|
101
124
|
v-if="!row._isParent"
|
|
102
125
|
v-el-readonly
|
|
103
126
|
>
|
|
104
|
-
<i
|
|
105
|
-
|
|
127
|
+
<i
|
|
128
|
+
slot="suffix"
|
|
129
|
+
class="el-input__icon el-icon-search"
|
|
130
|
+
@click="openRoleRowDialog(row, rowIndex)"
|
|
131
|
+
></i>
|
|
106
132
|
</el-input>
|
|
107
133
|
<template v-else>{{ row.roleName }}</template>
|
|
108
134
|
</template>
|
|
109
|
-
<template #user="{row,rowIndex}">
|
|
135
|
+
<template #user="{ row, rowIndex }">
|
|
110
136
|
<el-input
|
|
111
137
|
class="search-input"
|
|
112
138
|
v-model="row.nickName"
|
|
113
139
|
clearable
|
|
114
|
-
@clear="
|
|
115
|
-
row.userId = null;
|
|
116
|
-
"
|
|
140
|
+
@clear="row.userId = null"
|
|
117
141
|
v-if="!row._isParent"
|
|
118
142
|
v-el-readonly
|
|
119
143
|
>
|
|
120
|
-
<i
|
|
121
|
-
|
|
144
|
+
<i
|
|
145
|
+
slot="suffix"
|
|
146
|
+
class="el-input__icon el-icon-search"
|
|
147
|
+
@click="openUserRowDialog(row, rowIndex)"
|
|
148
|
+
></i>
|
|
122
149
|
</el-input>
|
|
123
150
|
<template v-else>{{ row.nickName }}</template>
|
|
124
151
|
</template>
|
|
125
|
-
<template #operate="{row}">
|
|
152
|
+
<template #operate="{ row }">
|
|
126
153
|
<a
|
|
127
154
|
href="javascript:void(0);"
|
|
128
155
|
class="a-link"
|
|
129
156
|
@click="openEditDialog(row.id)"
|
|
130
157
|
>
|
|
131
|
-
<el-tooltip
|
|
132
|
-
|
|
133
|
-
|
|
158
|
+
<el-tooltip
|
|
159
|
+
:enterable="false"
|
|
160
|
+
effect="dark"
|
|
161
|
+
:content="$t2('查看', 'common.view')"
|
|
162
|
+
placement="top"
|
|
163
|
+
popper-class="tooltip-skin"
|
|
164
|
+
>
|
|
165
|
+
<i class="el-icon-edit" />
|
|
134
166
|
</el-tooltip>
|
|
135
167
|
</a>
|
|
136
168
|
</template>
|
|
137
169
|
</vxe-grid>
|
|
138
170
|
</div>
|
|
139
171
|
</el-tab-pane>
|
|
140
|
-
<el-tab-pane
|
|
172
|
+
<el-tab-pane
|
|
173
|
+
:label="$t1('文件操作,发系统通知')"
|
|
174
|
+
name="second"
|
|
175
|
+
v-if="fileStoreArea.toNotify"
|
|
176
|
+
>
|
|
141
177
|
<div class="grid-height" style="height: 500px">
|
|
142
|
-
<fileObjNotifyEdit
|
|
143
|
-
|
|
144
|
-
|
|
178
|
+
<fileObjNotifyEdit
|
|
179
|
+
v-if="showFileObjNotifyEdit"
|
|
180
|
+
visible-key="showFileObjNotifyEdit"
|
|
181
|
+
:current_prefix="current_prefix"
|
|
182
|
+
:_dataId="fileObjId"
|
|
183
|
+
:parent-target="_self"
|
|
184
|
+
@reload="$reloadHandle"
|
|
185
|
+
></fileObjNotifyEdit>
|
|
145
186
|
</div>
|
|
146
187
|
</el-tab-pane>
|
|
147
188
|
</el-tabs>
|
|
148
189
|
</div>
|
|
149
190
|
</div>
|
|
150
191
|
<span slot="footer" class="dialog-footer">
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
192
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
193
|
+
<i class="el-icon-close el-icon"></i>
|
|
194
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
|
195
|
+
</el-button>
|
|
196
|
+
<el-button
|
|
197
|
+
type="primary"
|
|
198
|
+
@click="saveData"
|
|
199
|
+
class="button-sty"
|
|
200
|
+
v-if="activeName == 'first'"
|
|
201
|
+
>
|
|
202
|
+
<i class="el-icon-check el-icon"></i>
|
|
203
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
|
204
|
+
</el-button>
|
|
205
|
+
</span>
|
|
160
206
|
</el-dialog>
|
|
161
207
|
|
|
162
|
-
<fileObjAuthEditDialog
|
|
163
|
-
|
|
208
|
+
<fileObjAuthEditDialog
|
|
209
|
+
v-if="showDetailDialog"
|
|
210
|
+
:visiable.sync="showDetailDialog"
|
|
211
|
+
@confirm="confirmDetailDialog"
|
|
212
|
+
:treeNodeArr="treeNodeArr"
|
|
213
|
+
:currentRow="currentRow"
|
|
214
|
+
></fileObjAuthEditDialog>
|
|
164
215
|
|
|
216
|
+
<userDialog
|
|
217
|
+
v-if="showUserDialog"
|
|
218
|
+
:visiable.sync="showUserDialog"
|
|
219
|
+
@confirm="confirmInsertUser"
|
|
220
|
+
multi="false"
|
|
221
|
+
/>
|
|
222
|
+
<saleOrgDialog
|
|
223
|
+
v-if="showSaleOrgDialog"
|
|
224
|
+
:visiable.sync="showSaleOrgDialog"
|
|
225
|
+
@confirm="confirmInsertSaleOrg"
|
|
226
|
+
multi="false"
|
|
227
|
+
/>
|
|
228
|
+
<positionDialog
|
|
229
|
+
v-if="showPositionDialog"
|
|
230
|
+
:visiable.sync="showPositionDialog"
|
|
231
|
+
@confirm="confirmInsertPosition"
|
|
232
|
+
multi="false"
|
|
233
|
+
/>
|
|
165
234
|
|
|
166
|
-
<userDialog
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
235
|
+
<userDialog
|
|
236
|
+
v-if="showUserRowDialog"
|
|
237
|
+
:visiable.sync="showUserRowDialog"
|
|
238
|
+
@confirm="confirmtUserRow"
|
|
239
|
+
multi="false"
|
|
240
|
+
/>
|
|
241
|
+
<saleOrgDialog
|
|
242
|
+
v-if="showSaleOrgRowDialog"
|
|
243
|
+
:visiable.sync="showSaleOrgRowDialog"
|
|
244
|
+
@confirm="confirmSaleOrgRow"
|
|
245
|
+
multi="false"
|
|
246
|
+
/>
|
|
247
|
+
<positionDialog
|
|
248
|
+
v-if="showPositionRowDialog"
|
|
249
|
+
:visiable.sync="showPositionRowDialog"
|
|
250
|
+
@confirm="confirmPositionRow"
|
|
251
|
+
multi="false"
|
|
252
|
+
/>
|
|
172
253
|
|
|
254
|
+
<roleDialog
|
|
255
|
+
v-if="showRoleRowDialog"
|
|
256
|
+
:visiable.sync="showRoleRowDialog"
|
|
257
|
+
@confirm="confirmRoleRow"
|
|
258
|
+
multi="false"
|
|
259
|
+
/>
|
|
173
260
|
|
|
174
|
-
<userDialog
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
261
|
+
<userDialog
|
|
262
|
+
v-if="showUserAddDialog"
|
|
263
|
+
:visiable.sync="showUserAddDialog"
|
|
264
|
+
@confirm="confirmtUserAddDialog"
|
|
265
|
+
multi="true"
|
|
266
|
+
/>
|
|
267
|
+
<saleOrgDialog
|
|
268
|
+
v-if="showSaleOrgAddDialog"
|
|
269
|
+
:visiable.sync="showSaleOrgAddDialog"
|
|
270
|
+
@confirm="confirmSaleOrgAddDialog"
|
|
271
|
+
multi="true"
|
|
272
|
+
/>
|
|
273
|
+
<positionDialog
|
|
274
|
+
v-if="showPositionAddDialog"
|
|
275
|
+
:visiable.sync="showPositionAddDialog"
|
|
276
|
+
@confirm="confirmPositionAddDialog"
|
|
277
|
+
multi="true"
|
|
278
|
+
/>
|
|
180
279
|
|
|
181
|
-
<roleDialog
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
multi="true"/>
|
|
188
|
-
<positionDialog v-if="showPositionAddDialog" :visiable.sync="showPositionAddDialog"
|
|
189
|
-
@confirm="confirmPositionAddDialog"
|
|
190
|
-
multi="true"/>
|
|
191
|
-
|
|
192
|
-
<roleDialog v-if="showRoleAddDialog" :visiable.sync="showRoleAddDialog" @confirm="confirmRoleAddDialog"
|
|
193
|
-
multi="true"/>
|
|
280
|
+
<roleDialog
|
|
281
|
+
v-if="showRoleAddDialog"
|
|
282
|
+
:visiable.sync="showRoleAddDialog"
|
|
283
|
+
@confirm="confirmRoleAddDialog"
|
|
284
|
+
multi="true"
|
|
285
|
+
/>
|
|
194
286
|
</div>
|
|
195
287
|
</template>
|
|
196
288
|
|
|
@@ -199,10 +291,8 @@ import mixin from "./mixins/fileObjAuthDialogMixin";
|
|
|
199
291
|
|
|
200
292
|
export default {
|
|
201
293
|
name: "fileObjAuthDialog",
|
|
202
|
-
mixins: [mixin]
|
|
203
|
-
}
|
|
294
|
+
mixins: [mixin],
|
|
295
|
+
};
|
|
204
296
|
</script>
|
|
205
297
|
|
|
206
|
-
<style scoped>
|
|
207
|
-
|
|
208
|
-
</style>
|
|
298
|
+
<style scoped></style>
|