cloud-web-corejs 1.0.54-dev.745 → 1.0.54-dev.747
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 +194 -192
- package/src/App.vue +73 -71
- package/src/components/baseArea/index.vue +1628 -1628
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -297
- package/src/components/fileLibrary/index.vue +1109 -1109
- package/src/components/fileLibrary/propertiesDialog.vue +190 -190
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -237
- package/src/components/wf/mixins/setCandidateDialog.js +217 -217
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +986 -986
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -272
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +216 -216
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +928 -928
- package/src/components/xform/form-designer/index.vue +195 -195
- package/src/components/xform/form-designer/indexMixin.js +848 -848
- package/src/components/xform/form-designer/setting-panel/index.vue +313 -313
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -124
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +369 -369
- package/src/components/xform/form-designer/widget-panel/index.vue +389 -389
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +343 -343
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -4531
- package/src/components/xform/form-render/container-item/data-table-mixin.js +4748 -4576
- package/src/components/xform/form-render/container-item/tab-item.vue +125 -125
- package/src/components/xform/form-render/indexMixin.js +5061 -5078
- package/src/components/xform/lang/en-US.js +457 -457
- package/src/components/xform/lang/zh-CN.js +628 -628
- package/src/components/xform/utils/util.js +1585 -1554
- package/src/index.js +347 -230
- package/src/layout/components/AppMain.vue +122 -125
- package/src/layout/components/extractedCode/viewDialog.vue +207 -207
- package/src/layout/components/langTool.vue +128 -123
- package/src/layout/defaultLayout.vue +164 -158
- package/src/microRouter/index.js +389 -0
- package/src/permission.js +185 -135
- package/src/public-path.js +8 -0
- package/src/store/config/index.js +667 -669
- package/src/store/modules/micro.js +46 -0
- package/src/store/modules/permission.js +468 -373
- package/src/store/modules/user.js +419 -415
- package/src/utils/auth.js +27 -1
- package/src/utils/index.js +579 -6
- package/src/utils/keepAlive.js +4 -0
- package/src/utils/menuAdapter.js +183 -0
- package/src/utils/request.js +417 -28
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -483
- package/src/views/bd/setting/form_script/form_list.vue +174 -174
- package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -253
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/wf/wfReport/index.vue +625 -625
|
@@ -1,297 +1,297 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-dialog
|
|
4
|
-
:title="$t1('设置权限')"
|
|
5
|
-
:append-to-body="true"
|
|
6
|
-
:modal-append-to-body="true"
|
|
7
|
-
:close-on-click-modal="false"
|
|
8
|
-
:visible.sync="showDialog"
|
|
9
|
-
:modal="false"
|
|
10
|
-
custom-class="dialog-style list-dialog dialog-checkbox pd_0"
|
|
11
|
-
width="1200px"
|
|
12
|
-
@close="dialogClose"
|
|
13
|
-
v-el-drag-dialog
|
|
14
|
-
v-el-dialog-center
|
|
15
|
-
>
|
|
16
|
-
<div id="containt">
|
|
17
|
-
<el-tabs v-model="activeName" class="tab-box">
|
|
18
|
-
<el-tab-pane :label="$t1('用户权限设置')" name="first">
|
|
19
|
-
<div class="grid-height" style="height: 500px">
|
|
20
|
-
<vxe-grid
|
|
21
|
-
class="is-pointer"
|
|
22
|
-
ref="table-m1"
|
|
23
|
-
:data="tableData"
|
|
24
|
-
v-bind="vxeOption"
|
|
25
|
-
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
26
|
-
@custom="$vxeTableUtil.customHandle"
|
|
27
|
-
>
|
|
28
|
-
<template #form>
|
|
29
|
-
<div class="clearfix screen-btns">
|
|
30
|
-
<div class="fl">
|
|
31
|
-
<vxe-button
|
|
32
|
-
status="primary"
|
|
33
|
-
class="button-sty"
|
|
34
|
-
icon="el-icon-plus"
|
|
35
|
-
@click="openSaleOrgAddDialog"
|
|
36
|
-
>
|
|
37
|
-
{{ $t1("新增机构") }}
|
|
38
|
-
</vxe-button>
|
|
39
|
-
<vxe-button
|
|
40
|
-
status="primary"
|
|
41
|
-
class="button-sty"
|
|
42
|
-
icon="el-icon-plus"
|
|
43
|
-
@click="openPositionAddDialog"
|
|
44
|
-
>
|
|
45
|
-
{{ $t1("新增岗位") }}
|
|
46
|
-
</vxe-button>
|
|
47
|
-
<vxe-button
|
|
48
|
-
status="primary"
|
|
49
|
-
class="button-sty"
|
|
50
|
-
icon="el-icon-plus"
|
|
51
|
-
@click="openUserAddDialog"
|
|
52
|
-
>
|
|
53
|
-
{{ $t1("新增用户") }}
|
|
54
|
-
</vxe-button>
|
|
55
|
-
<vxe-button
|
|
56
|
-
status="primary"
|
|
57
|
-
class="button-sty"
|
|
58
|
-
icon="el-icon-plus"
|
|
59
|
-
@click="openRoleAddDialog"
|
|
60
|
-
>
|
|
61
|
-
{{ $t1("新增角色") }}
|
|
62
|
-
</vxe-button>
|
|
63
|
-
<!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
|
|
64
|
-
@click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
|
|
65
|
-
</vxe-button>-->
|
|
66
|
-
</div>
|
|
67
|
-
<div class="fl screen-breadcrumb" style="margin-left: 30px">
|
|
68
|
-
<span style="font-size: 12px"
|
|
69
|
-
>{{
|
|
70
|
-
$t2("文件路径", "components.fileLibrary.filePath")
|
|
71
|
-
}}:</span
|
|
72
|
-
>
|
|
73
|
-
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
74
|
-
<el-breadcrumb-item
|
|
75
|
-
v-for="(treeNode, index) in treeNodeArr"
|
|
76
|
-
:key="index"
|
|
77
|
-
>{{ treeNode.label }}
|
|
78
|
-
</el-breadcrumb-item>
|
|
79
|
-
</el-breadcrumb>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</template>
|
|
83
|
-
<template #saleOrg="{ row, rowIndex }">
|
|
84
|
-
<el-input
|
|
85
|
-
class="search-input"
|
|
86
|
-
v-model="row.saleOrgName"
|
|
87
|
-
clearable
|
|
88
|
-
@clear="row.saleOrgId = null"
|
|
89
|
-
v-if="!row._isParent"
|
|
90
|
-
v-el-readonly
|
|
91
|
-
>
|
|
92
|
-
<i
|
|
93
|
-
slot="suffix"
|
|
94
|
-
class="el-input__icon el-icon-search"
|
|
95
|
-
@click="openSaleOrgRowDialog(row, rowIndex)"
|
|
96
|
-
></i>
|
|
97
|
-
</el-input>
|
|
98
|
-
<template v-else>{{ row.saleOrgName }}</template>
|
|
99
|
-
</template>
|
|
100
|
-
<template #position="{ row, rowIndex }">
|
|
101
|
-
<el-input
|
|
102
|
-
class="search-input"
|
|
103
|
-
v-model="row.positionName"
|
|
104
|
-
clearable
|
|
105
|
-
@clear="row.positionId = null"
|
|
106
|
-
v-if="!row._isParent"
|
|
107
|
-
v-el-readonly
|
|
108
|
-
>
|
|
109
|
-
<i
|
|
110
|
-
slot="suffix"
|
|
111
|
-
class="el-input__icon el-icon-search"
|
|
112
|
-
@click="openPositionRowDialog(row, rowIndex)"
|
|
113
|
-
></i>
|
|
114
|
-
</el-input>
|
|
115
|
-
<template v-else>{{ row.positionName }}</template>
|
|
116
|
-
</template>
|
|
117
|
-
<template #role="{ row, rowIndex }">
|
|
118
|
-
<el-input
|
|
119
|
-
class="search-input"
|
|
120
|
-
v-model="row.roleName"
|
|
121
|
-
clearable
|
|
122
|
-
@clear="row.roleId = null"
|
|
123
|
-
v-if="!row._isParent"
|
|
124
|
-
v-el-readonly
|
|
125
|
-
>
|
|
126
|
-
<i
|
|
127
|
-
slot="suffix"
|
|
128
|
-
class="el-input__icon el-icon-search"
|
|
129
|
-
@click="openRoleRowDialog(row, rowIndex)"
|
|
130
|
-
></i>
|
|
131
|
-
</el-input>
|
|
132
|
-
<template v-else>{{ row.roleName }}</template>
|
|
133
|
-
</template>
|
|
134
|
-
<template #user="{ row, rowIndex }">
|
|
135
|
-
<el-input
|
|
136
|
-
class="search-input"
|
|
137
|
-
v-model="row.nickName"
|
|
138
|
-
clearable
|
|
139
|
-
@clear="row.userId = null"
|
|
140
|
-
v-if="!row._isParent"
|
|
141
|
-
v-el-readonly
|
|
142
|
-
>
|
|
143
|
-
<i
|
|
144
|
-
slot="suffix"
|
|
145
|
-
class="el-input__icon el-icon-search"
|
|
146
|
-
@click="openUserRowDialog(row, rowIndex)"
|
|
147
|
-
></i>
|
|
148
|
-
</el-input>
|
|
149
|
-
<template v-else>{{ row.nickName }}</template>
|
|
150
|
-
</template>
|
|
151
|
-
<template #operate="{ row }">
|
|
152
|
-
<a
|
|
153
|
-
href="javascript:void(0);"
|
|
154
|
-
class="a-link"
|
|
155
|
-
@click="openEditDialog(row.id)"
|
|
156
|
-
>
|
|
157
|
-
<el-tooltip
|
|
158
|
-
:enterable="false"
|
|
159
|
-
effect="dark"
|
|
160
|
-
:content="$t2('查看', 'common.view')"
|
|
161
|
-
placement="top"
|
|
162
|
-
popper-class="tooltip-skin"
|
|
163
|
-
>
|
|
164
|
-
<i class="el-icon-edit" />
|
|
165
|
-
</el-tooltip>
|
|
166
|
-
</a>
|
|
167
|
-
</template>
|
|
168
|
-
</vxe-grid>
|
|
169
|
-
</div>
|
|
170
|
-
</el-tab-pane>
|
|
171
|
-
<el-tab-pane
|
|
172
|
-
:label="$t1('文件操作,发系统通知')"
|
|
173
|
-
name="second"
|
|
174
|
-
v-if="fileStoreArea.toNotify"
|
|
175
|
-
>
|
|
176
|
-
<div class="grid-height" style="height: 500px">
|
|
177
|
-
<fileObjNotifyEdit
|
|
178
|
-
v-if="showFileObjNotifyEdit"
|
|
179
|
-
visible-key="showFileObjNotifyEdit"
|
|
180
|
-
:current_prefix="current_prefix"
|
|
181
|
-
:_dataId="fileObjId"
|
|
182
|
-
:parent-target="_self"
|
|
183
|
-
@reload="$reloadHandle"
|
|
184
|
-
></fileObjNotifyEdit>
|
|
185
|
-
</div>
|
|
186
|
-
</el-tab-pane>
|
|
187
|
-
</el-tabs>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
<span slot="footer" class="dialog-footer">
|
|
191
|
-
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
192
|
-
<i class="el-icon-close el-icon"></i>
|
|
193
|
-
{{ $t2("取 消", "system.button.cancel2") }}
|
|
194
|
-
</el-button>
|
|
195
|
-
<el-button
|
|
196
|
-
type="primary"
|
|
197
|
-
@click="saveData"
|
|
198
|
-
class="button-sty"
|
|
199
|
-
v-if="activeName == 'first'"
|
|
200
|
-
>
|
|
201
|
-
<i class="el-icon-check el-icon"></i>
|
|
202
|
-
{{ $t2("确 定", "system.button.confirm2") }}
|
|
203
|
-
</el-button>
|
|
204
|
-
</span>
|
|
205
|
-
</el-dialog>
|
|
206
|
-
|
|
207
|
-
<fileObjAuthEditDialog
|
|
208
|
-
v-if="showDetailDialog"
|
|
209
|
-
:visiable.sync="showDetailDialog"
|
|
210
|
-
@confirm="confirmDetailDialog"
|
|
211
|
-
:treeNodeArr="treeNodeArr"
|
|
212
|
-
:currentRow="currentRow"
|
|
213
|
-
></fileObjAuthEditDialog>
|
|
214
|
-
|
|
215
|
-
<userDialog
|
|
216
|
-
v-if="showUserDialog"
|
|
217
|
-
:visiable.sync="showUserDialog"
|
|
218
|
-
@confirm="confirmInsertUser"
|
|
219
|
-
multi="false"
|
|
220
|
-
/>
|
|
221
|
-
<saleOrgDialog
|
|
222
|
-
v-if="showSaleOrgDialog"
|
|
223
|
-
:visiable.sync="showSaleOrgDialog"
|
|
224
|
-
@confirm="confirmInsertSaleOrg"
|
|
225
|
-
multi="false"
|
|
226
|
-
/>
|
|
227
|
-
<positionDialog
|
|
228
|
-
v-if="showPositionDialog"
|
|
229
|
-
:visiable.sync="showPositionDialog"
|
|
230
|
-
@confirm="confirmInsertPosition"
|
|
231
|
-
multi="false"
|
|
232
|
-
/>
|
|
233
|
-
|
|
234
|
-
<userDialog
|
|
235
|
-
v-if="showUserRowDialog"
|
|
236
|
-
:visiable.sync="showUserRowDialog"
|
|
237
|
-
@confirm="confirmtUserRow"
|
|
238
|
-
multi="false"
|
|
239
|
-
/>
|
|
240
|
-
<saleOrgDialog
|
|
241
|
-
v-if="showSaleOrgRowDialog"
|
|
242
|
-
:visiable.sync="showSaleOrgRowDialog"
|
|
243
|
-
@confirm="confirmSaleOrgRow"
|
|
244
|
-
multi="false"
|
|
245
|
-
/>
|
|
246
|
-
<positionDialog
|
|
247
|
-
v-if="showPositionRowDialog"
|
|
248
|
-
:visiable.sync="showPositionRowDialog"
|
|
249
|
-
@confirm="confirmPositionRow"
|
|
250
|
-
multi="false"
|
|
251
|
-
/>
|
|
252
|
-
|
|
253
|
-
<roleDialog
|
|
254
|
-
v-if="showRoleRowDialog"
|
|
255
|
-
:visiable.sync="showRoleRowDialog"
|
|
256
|
-
@confirm="confirmRoleRow"
|
|
257
|
-
multi="false"
|
|
258
|
-
/>
|
|
259
|
-
|
|
260
|
-
<userDialog
|
|
261
|
-
v-if="showUserAddDialog"
|
|
262
|
-
:visiable.sync="showUserAddDialog"
|
|
263
|
-
@confirm="confirmtUserAddDialog"
|
|
264
|
-
multi="true"
|
|
265
|
-
/>
|
|
266
|
-
<saleOrgDialog
|
|
267
|
-
v-if="showSaleOrgAddDialog"
|
|
268
|
-
:visiable.sync="showSaleOrgAddDialog"
|
|
269
|
-
@confirm="confirmSaleOrgAddDialog"
|
|
270
|
-
multi="true"
|
|
271
|
-
/>
|
|
272
|
-
<positionDialog
|
|
273
|
-
v-if="showPositionAddDialog"
|
|
274
|
-
:visiable.sync="showPositionAddDialog"
|
|
275
|
-
@confirm="confirmPositionAddDialog"
|
|
276
|
-
multi="true"
|
|
277
|
-
/>
|
|
278
|
-
|
|
279
|
-
<roleDialog
|
|
280
|
-
v-if="showRoleAddDialog"
|
|
281
|
-
:visiable.sync="showRoleAddDialog"
|
|
282
|
-
@confirm="confirmRoleAddDialog"
|
|
283
|
-
multi="true"
|
|
284
|
-
/>
|
|
285
|
-
</div>
|
|
286
|
-
</template>
|
|
287
|
-
|
|
288
|
-
<script>
|
|
289
|
-
import mixin from "./mixins/fileObjAuthDialogMixin";
|
|
290
|
-
|
|
291
|
-
export default {
|
|
292
|
-
name: "fileObjAuthDialog",
|
|
293
|
-
mixins: [mixin],
|
|
294
|
-
};
|
|
295
|
-
</script>
|
|
296
|
-
|
|
297
|
-
<style scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dialog
|
|
4
|
+
:title="$t1('设置权限')"
|
|
5
|
+
:append-to-body="true"
|
|
6
|
+
:modal-append-to-body="true"
|
|
7
|
+
:close-on-click-modal="false"
|
|
8
|
+
:visible.sync="showDialog"
|
|
9
|
+
:modal="false"
|
|
10
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_0"
|
|
11
|
+
width="1200px"
|
|
12
|
+
@close="dialogClose"
|
|
13
|
+
v-el-drag-dialog
|
|
14
|
+
v-el-dialog-center
|
|
15
|
+
>
|
|
16
|
+
<div id="containt">
|
|
17
|
+
<el-tabs v-model="activeName" class="tab-box">
|
|
18
|
+
<el-tab-pane :label="$t1('用户权限设置')" name="first">
|
|
19
|
+
<div class="grid-height" style="height: 500px">
|
|
20
|
+
<vxe-grid
|
|
21
|
+
class="is-pointer"
|
|
22
|
+
ref="table-m1"
|
|
23
|
+
:data="tableData"
|
|
24
|
+
v-bind="vxeOption"
|
|
25
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
26
|
+
@custom="$vxeTableUtil.customHandle"
|
|
27
|
+
>
|
|
28
|
+
<template #form>
|
|
29
|
+
<div class="clearfix screen-btns">
|
|
30
|
+
<div class="fl">
|
|
31
|
+
<vxe-button
|
|
32
|
+
status="primary"
|
|
33
|
+
class="button-sty"
|
|
34
|
+
icon="el-icon-plus"
|
|
35
|
+
@click="openSaleOrgAddDialog"
|
|
36
|
+
>
|
|
37
|
+
{{ $t1("新增机构") }}
|
|
38
|
+
</vxe-button>
|
|
39
|
+
<vxe-button
|
|
40
|
+
status="primary"
|
|
41
|
+
class="button-sty"
|
|
42
|
+
icon="el-icon-plus"
|
|
43
|
+
@click="openPositionAddDialog"
|
|
44
|
+
>
|
|
45
|
+
{{ $t1("新增岗位") }}
|
|
46
|
+
</vxe-button>
|
|
47
|
+
<vxe-button
|
|
48
|
+
status="primary"
|
|
49
|
+
class="button-sty"
|
|
50
|
+
icon="el-icon-plus"
|
|
51
|
+
@click="openUserAddDialog"
|
|
52
|
+
>
|
|
53
|
+
{{ $t1("新增用户") }}
|
|
54
|
+
</vxe-button>
|
|
55
|
+
<vxe-button
|
|
56
|
+
status="primary"
|
|
57
|
+
class="button-sty"
|
|
58
|
+
icon="el-icon-plus"
|
|
59
|
+
@click="openRoleAddDialog"
|
|
60
|
+
>
|
|
61
|
+
{{ $t1("新增角色") }}
|
|
62
|
+
</vxe-button>
|
|
63
|
+
<!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
|
|
64
|
+
@click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
|
|
65
|
+
</vxe-button>-->
|
|
66
|
+
</div>
|
|
67
|
+
<div class="fl screen-breadcrumb" style="margin-left: 30px">
|
|
68
|
+
<span style="font-size: 12px"
|
|
69
|
+
>{{
|
|
70
|
+
$t2("文件路径", "components.fileLibrary.filePath")
|
|
71
|
+
}}:</span
|
|
72
|
+
>
|
|
73
|
+
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
74
|
+
<el-breadcrumb-item
|
|
75
|
+
v-for="(treeNode, index) in treeNodeArr"
|
|
76
|
+
:key="index"
|
|
77
|
+
>{{ treeNode.label }}
|
|
78
|
+
</el-breadcrumb-item>
|
|
79
|
+
</el-breadcrumb>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</template>
|
|
83
|
+
<template #saleOrg="{ row, rowIndex }">
|
|
84
|
+
<el-input
|
|
85
|
+
class="search-input"
|
|
86
|
+
v-model="row.saleOrgName"
|
|
87
|
+
clearable
|
|
88
|
+
@clear="row.saleOrgId = null"
|
|
89
|
+
v-if="!row._isParent"
|
|
90
|
+
v-el-readonly
|
|
91
|
+
>
|
|
92
|
+
<i
|
|
93
|
+
slot="suffix"
|
|
94
|
+
class="el-input__icon el-icon-search"
|
|
95
|
+
@click="openSaleOrgRowDialog(row, rowIndex)"
|
|
96
|
+
></i>
|
|
97
|
+
</el-input>
|
|
98
|
+
<template v-else>{{ row.saleOrgName }}</template>
|
|
99
|
+
</template>
|
|
100
|
+
<template #position="{ row, rowIndex }">
|
|
101
|
+
<el-input
|
|
102
|
+
class="search-input"
|
|
103
|
+
v-model="row.positionName"
|
|
104
|
+
clearable
|
|
105
|
+
@clear="row.positionId = null"
|
|
106
|
+
v-if="!row._isParent"
|
|
107
|
+
v-el-readonly
|
|
108
|
+
>
|
|
109
|
+
<i
|
|
110
|
+
slot="suffix"
|
|
111
|
+
class="el-input__icon el-icon-search"
|
|
112
|
+
@click="openPositionRowDialog(row, rowIndex)"
|
|
113
|
+
></i>
|
|
114
|
+
</el-input>
|
|
115
|
+
<template v-else>{{ row.positionName }}</template>
|
|
116
|
+
</template>
|
|
117
|
+
<template #role="{ row, rowIndex }">
|
|
118
|
+
<el-input
|
|
119
|
+
class="search-input"
|
|
120
|
+
v-model="row.roleName"
|
|
121
|
+
clearable
|
|
122
|
+
@clear="row.roleId = null"
|
|
123
|
+
v-if="!row._isParent"
|
|
124
|
+
v-el-readonly
|
|
125
|
+
>
|
|
126
|
+
<i
|
|
127
|
+
slot="suffix"
|
|
128
|
+
class="el-input__icon el-icon-search"
|
|
129
|
+
@click="openRoleRowDialog(row, rowIndex)"
|
|
130
|
+
></i>
|
|
131
|
+
</el-input>
|
|
132
|
+
<template v-else>{{ row.roleName }}</template>
|
|
133
|
+
</template>
|
|
134
|
+
<template #user="{ row, rowIndex }">
|
|
135
|
+
<el-input
|
|
136
|
+
class="search-input"
|
|
137
|
+
v-model="row.nickName"
|
|
138
|
+
clearable
|
|
139
|
+
@clear="row.userId = null"
|
|
140
|
+
v-if="!row._isParent"
|
|
141
|
+
v-el-readonly
|
|
142
|
+
>
|
|
143
|
+
<i
|
|
144
|
+
slot="suffix"
|
|
145
|
+
class="el-input__icon el-icon-search"
|
|
146
|
+
@click="openUserRowDialog(row, rowIndex)"
|
|
147
|
+
></i>
|
|
148
|
+
</el-input>
|
|
149
|
+
<template v-else>{{ row.nickName }}</template>
|
|
150
|
+
</template>
|
|
151
|
+
<template #operate="{ row }">
|
|
152
|
+
<a
|
|
153
|
+
href="javascript:void(0);"
|
|
154
|
+
class="a-link"
|
|
155
|
+
@click="openEditDialog(row.id)"
|
|
156
|
+
>
|
|
157
|
+
<el-tooltip
|
|
158
|
+
:enterable="false"
|
|
159
|
+
effect="dark"
|
|
160
|
+
:content="$t2('查看', 'common.view')"
|
|
161
|
+
placement="top"
|
|
162
|
+
popper-class="tooltip-skin"
|
|
163
|
+
>
|
|
164
|
+
<i class="el-icon-edit" />
|
|
165
|
+
</el-tooltip>
|
|
166
|
+
</a>
|
|
167
|
+
</template>
|
|
168
|
+
</vxe-grid>
|
|
169
|
+
</div>
|
|
170
|
+
</el-tab-pane>
|
|
171
|
+
<el-tab-pane
|
|
172
|
+
:label="$t1('文件操作,发系统通知')"
|
|
173
|
+
name="second"
|
|
174
|
+
v-if="fileStoreArea.toNotify"
|
|
175
|
+
>
|
|
176
|
+
<div class="grid-height" style="height: 500px">
|
|
177
|
+
<fileObjNotifyEdit
|
|
178
|
+
v-if="showFileObjNotifyEdit"
|
|
179
|
+
visible-key="showFileObjNotifyEdit"
|
|
180
|
+
:current_prefix="current_prefix"
|
|
181
|
+
:_dataId="fileObjId"
|
|
182
|
+
:parent-target="_self"
|
|
183
|
+
@reload="$reloadHandle"
|
|
184
|
+
></fileObjNotifyEdit>
|
|
185
|
+
</div>
|
|
186
|
+
</el-tab-pane>
|
|
187
|
+
</el-tabs>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<span slot="footer" class="dialog-footer">
|
|
191
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
192
|
+
<i class="el-icon-close el-icon"></i>
|
|
193
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
|
194
|
+
</el-button>
|
|
195
|
+
<el-button
|
|
196
|
+
type="primary"
|
|
197
|
+
@click="saveData"
|
|
198
|
+
class="button-sty"
|
|
199
|
+
v-if="activeName == 'first'"
|
|
200
|
+
>
|
|
201
|
+
<i class="el-icon-check el-icon"></i>
|
|
202
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
|
203
|
+
</el-button>
|
|
204
|
+
</span>
|
|
205
|
+
</el-dialog>
|
|
206
|
+
|
|
207
|
+
<fileObjAuthEditDialog
|
|
208
|
+
v-if="showDetailDialog"
|
|
209
|
+
:visiable.sync="showDetailDialog"
|
|
210
|
+
@confirm="confirmDetailDialog"
|
|
211
|
+
:treeNodeArr="treeNodeArr"
|
|
212
|
+
:currentRow="currentRow"
|
|
213
|
+
></fileObjAuthEditDialog>
|
|
214
|
+
|
|
215
|
+
<userDialog
|
|
216
|
+
v-if="showUserDialog"
|
|
217
|
+
:visiable.sync="showUserDialog"
|
|
218
|
+
@confirm="confirmInsertUser"
|
|
219
|
+
multi="false"
|
|
220
|
+
/>
|
|
221
|
+
<saleOrgDialog
|
|
222
|
+
v-if="showSaleOrgDialog"
|
|
223
|
+
:visiable.sync="showSaleOrgDialog"
|
|
224
|
+
@confirm="confirmInsertSaleOrg"
|
|
225
|
+
multi="false"
|
|
226
|
+
/>
|
|
227
|
+
<positionDialog
|
|
228
|
+
v-if="showPositionDialog"
|
|
229
|
+
:visiable.sync="showPositionDialog"
|
|
230
|
+
@confirm="confirmInsertPosition"
|
|
231
|
+
multi="false"
|
|
232
|
+
/>
|
|
233
|
+
|
|
234
|
+
<userDialog
|
|
235
|
+
v-if="showUserRowDialog"
|
|
236
|
+
:visiable.sync="showUserRowDialog"
|
|
237
|
+
@confirm="confirmtUserRow"
|
|
238
|
+
multi="false"
|
|
239
|
+
/>
|
|
240
|
+
<saleOrgDialog
|
|
241
|
+
v-if="showSaleOrgRowDialog"
|
|
242
|
+
:visiable.sync="showSaleOrgRowDialog"
|
|
243
|
+
@confirm="confirmSaleOrgRow"
|
|
244
|
+
multi="false"
|
|
245
|
+
/>
|
|
246
|
+
<positionDialog
|
|
247
|
+
v-if="showPositionRowDialog"
|
|
248
|
+
:visiable.sync="showPositionRowDialog"
|
|
249
|
+
@confirm="confirmPositionRow"
|
|
250
|
+
multi="false"
|
|
251
|
+
/>
|
|
252
|
+
|
|
253
|
+
<roleDialog
|
|
254
|
+
v-if="showRoleRowDialog"
|
|
255
|
+
:visiable.sync="showRoleRowDialog"
|
|
256
|
+
@confirm="confirmRoleRow"
|
|
257
|
+
multi="false"
|
|
258
|
+
/>
|
|
259
|
+
|
|
260
|
+
<userDialog
|
|
261
|
+
v-if="showUserAddDialog"
|
|
262
|
+
:visiable.sync="showUserAddDialog"
|
|
263
|
+
@confirm="confirmtUserAddDialog"
|
|
264
|
+
multi="true"
|
|
265
|
+
/>
|
|
266
|
+
<saleOrgDialog
|
|
267
|
+
v-if="showSaleOrgAddDialog"
|
|
268
|
+
:visiable.sync="showSaleOrgAddDialog"
|
|
269
|
+
@confirm="confirmSaleOrgAddDialog"
|
|
270
|
+
multi="true"
|
|
271
|
+
/>
|
|
272
|
+
<positionDialog
|
|
273
|
+
v-if="showPositionAddDialog"
|
|
274
|
+
:visiable.sync="showPositionAddDialog"
|
|
275
|
+
@confirm="confirmPositionAddDialog"
|
|
276
|
+
multi="true"
|
|
277
|
+
/>
|
|
278
|
+
|
|
279
|
+
<roleDialog
|
|
280
|
+
v-if="showRoleAddDialog"
|
|
281
|
+
:visiable.sync="showRoleAddDialog"
|
|
282
|
+
@confirm="confirmRoleAddDialog"
|
|
283
|
+
multi="true"
|
|
284
|
+
/>
|
|
285
|
+
</div>
|
|
286
|
+
</template>
|
|
287
|
+
|
|
288
|
+
<script>
|
|
289
|
+
import mixin from "./mixins/fileObjAuthDialogMixin";
|
|
290
|
+
|
|
291
|
+
export default {
|
|
292
|
+
name: "fileObjAuthDialog",
|
|
293
|
+
mixins: [mixin],
|
|
294
|
+
};
|
|
295
|
+
</script>
|
|
296
|
+
|
|
297
|
+
<style scoped></style>
|