cloud-web-corejs 1.0.54-dev.744 → 1.0.54-dev.746

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.
Files changed (53) hide show
  1. package/package.json +192 -192
  2. package/src/App.vue +73 -71
  3. package/src/components/baseArea/index.vue +1628 -1628
  4. package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
  5. package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -298
  6. package/src/components/fileLibrary/index.vue +1109 -1110
  7. package/src/components/fileLibrary/propertiesDialog.vue +190 -190
  8. package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
  9. package/src/components/wf/mixins/setCandidateDialog.js +217 -217
  10. package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
  11. 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
  12. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
  13. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +408 -0
  14. package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -272
  15. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +216 -216
  16. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +928 -928
  17. package/src/components/xform/form-designer/index.vue +195 -195
  18. package/src/components/xform/form-designer/indexMixin.js +848 -848
  19. package/src/components/xform/form-designer/setting-panel/index.vue +313 -314
  20. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -124
  21. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +369 -369
  22. package/src/components/xform/form-designer/widget-panel/index.vue +389 -389
  23. package/src/components/xform/form-designer/widget-panel/indexMixin.js +343 -343
  24. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -4531
  25. package/src/components/xform/form-render/container-item/data-table-mixin.js +4748 -4576
  26. package/src/components/xform/form-render/container-item/tab-item.vue +125 -125
  27. package/src/components/xform/form-render/indexMixin.js +5061 -5078
  28. package/src/components/xform/lang/en-US.js +457 -457
  29. package/src/components/xform/lang/zh-CN.js +628 -628
  30. package/src/components/xform/utils/formHttp.js +162 -0
  31. package/src/components/xform/utils/util.js +1585 -1554
  32. package/src/index.js +344 -230
  33. package/src/layout/components/AppMain.vue +122 -122
  34. package/src/layout/components/extractedCode/viewDialog.vue +207 -207
  35. package/src/layout/components/langTool.vue +128 -123
  36. package/src/layout/defaultLayout.vue +164 -158
  37. package/src/permission.js +185 -135
  38. package/src/store/config/index.js +667 -669
  39. package/src/store/modules/micro.js +46 -0
  40. package/src/store/modules/permission.js +461 -373
  41. package/src/store/modules/user.js +419 -415
  42. package/src/utils/auth.js +27 -1
  43. package/src/utils/index.js +579 -6
  44. package/src/utils/keepAlive.js +4 -0
  45. package/src/utils/menuAdapter.js +183 -0
  46. package/src/utils/request.js +417 -28
  47. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -491
  48. package/src/views/bd/setting/form_script/form_list.vue +174 -174
  49. package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
  50. package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
  51. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
  52. package/src/views/user/menuFallback/index.vue +123 -0
  53. package/src/views/user/wf/wfReport/index.vue +625 -619
@@ -1,298 +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 class="cont">
17
- <div id="containt">
18
- <el-tabs v-model="activeName" class="tab-box">
19
- <el-tab-pane :label="$t1('用户权限设置')" name="first">
20
- <div class="grid-height" style="height: 500px">
21
- <vxe-grid
22
- class="is-pointer"
23
- ref="table-m1"
24
- :data="tableData"
25
- v-bind="vxeOption"
26
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
27
- @custom="$vxeTableUtil.customHandle"
28
- >
29
- <template #form>
30
- <div class="clearfix screen-btns">
31
- <div class="fl">
32
- <vxe-button
33
- status="primary"
34
- class="button-sty"
35
- icon="el-icon-plus"
36
- @click="openSaleOrgAddDialog"
37
- >
38
- {{ $t1("新增机构") }}
39
- </vxe-button>
40
- <vxe-button
41
- status="primary"
42
- class="button-sty"
43
- icon="el-icon-plus"
44
- @click="openPositionAddDialog"
45
- >
46
- {{ $t1("新增岗位") }}
47
- </vxe-button>
48
- <vxe-button
49
- status="primary"
50
- class="button-sty"
51
- icon="el-icon-plus"
52
- @click="openUserAddDialog"
53
- >
54
- {{ $t1("新增用户") }}
55
- </vxe-button>
56
- <vxe-button
57
- status="primary"
58
- class="button-sty"
59
- icon="el-icon-plus"
60
- @click="openRoleAddDialog"
61
- >
62
- {{ $t1("新增角色") }}
63
- </vxe-button>
64
- <!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
65
- @click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
66
- </vxe-button>-->
67
- </div>
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
- >
74
- <el-breadcrumb separator-class="el-icon-arrow-right">
75
- <el-breadcrumb-item
76
- v-for="(treeNode, index) in treeNodeArr"
77
- :key="index"
78
- >{{ treeNode.label }}
79
- </el-breadcrumb-item>
80
- </el-breadcrumb>
81
- </div>
82
- </div>
83
- </template>
84
- <template #saleOrg="{ row, rowIndex }">
85
- <el-input
86
- class="search-input"
87
- v-model="row.saleOrgName"
88
- clearable
89
- @clear="row.saleOrgId = null"
90
- v-if="!row._isParent"
91
- v-el-readonly
92
- >
93
- <i
94
- slot="suffix"
95
- class="el-input__icon el-icon-search"
96
- @click="openSaleOrgRowDialog(row, rowIndex)"
97
- ></i>
98
- </el-input>
99
- <template v-else>{{ row.saleOrgName }}</template>
100
- </template>
101
- <template #position="{ row, rowIndex }">
102
- <el-input
103
- class="search-input"
104
- v-model="row.positionName"
105
- clearable
106
- @clear="row.positionId = null"
107
- v-if="!row._isParent"
108
- v-el-readonly
109
- >
110
- <i
111
- slot="suffix"
112
- class="el-input__icon el-icon-search"
113
- @click="openPositionRowDialog(row, rowIndex)"
114
- ></i>
115
- </el-input>
116
- <template v-else>{{ row.positionName }}</template>
117
- </template>
118
- <template #role="{ row, rowIndex }">
119
- <el-input
120
- class="search-input"
121
- v-model="row.roleName"
122
- clearable
123
- @clear="row.roleId = null"
124
- v-if="!row._isParent"
125
- v-el-readonly
126
- >
127
- <i
128
- slot="suffix"
129
- class="el-input__icon el-icon-search"
130
- @click="openRoleRowDialog(row, rowIndex)"
131
- ></i>
132
- </el-input>
133
- <template v-else>{{ row.roleName }}</template>
134
- </template>
135
- <template #user="{ row, rowIndex }">
136
- <el-input
137
- class="search-input"
138
- v-model="row.nickName"
139
- clearable
140
- @clear="row.userId = null"
141
- v-if="!row._isParent"
142
- v-el-readonly
143
- >
144
- <i
145
- slot="suffix"
146
- class="el-input__icon el-icon-search"
147
- @click="openUserRowDialog(row, rowIndex)"
148
- ></i>
149
- </el-input>
150
- <template v-else>{{ row.nickName }}</template>
151
- </template>
152
- <template #operate="{ row }">
153
- <a
154
- href="javascript:void(0);"
155
- class="a-link"
156
- @click="openEditDialog(row.id)"
157
- >
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" />
166
- </el-tooltip>
167
- </a>
168
- </template>
169
- </vxe-grid>
170
- </div>
171
- </el-tab-pane>
172
- <el-tab-pane
173
- :label="$t1('文件操作,发系统通知')"
174
- name="second"
175
- v-if="fileStoreArea.toNotify"
176
- >
177
- <div class="grid-height" style="height: 500px">
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>
186
- </div>
187
- </el-tab-pane>
188
- </el-tabs>
189
- </div>
190
- </div>
191
- <span slot="footer" class="dialog-footer">
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>
206
- </el-dialog>
207
-
208
- <fileObjAuthEditDialog
209
- v-if="showDetailDialog"
210
- :visiable.sync="showDetailDialog"
211
- @confirm="confirmDetailDialog"
212
- :treeNodeArr="treeNodeArr"
213
- :currentRow="currentRow"
214
- ></fileObjAuthEditDialog>
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
- />
234
-
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
- />
253
-
254
- <roleDialog
255
- v-if="showRoleRowDialog"
256
- :visiable.sync="showRoleRowDialog"
257
- @confirm="confirmRoleRow"
258
- multi="false"
259
- />
260
-
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
- />
279
-
280
- <roleDialog
281
- v-if="showRoleAddDialog"
282
- :visiable.sync="showRoleAddDialog"
283
- @confirm="confirmRoleAddDialog"
284
- multi="true"
285
- />
286
- </div>
287
- </template>
288
-
289
- <script>
290
- import mixin from "./mixins/fileObjAuthDialogMixin";
291
-
292
- export default {
293
- name: "fileObjAuthDialog",
294
- mixins: [mixin],
295
- };
296
- </script>
297
-
298
- <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>