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.
Files changed (52) hide show
  1. package/package.json +194 -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 -297
  6. package/src/components/fileLibrary/index.vue +1109 -1109
  7. package/src/components/fileLibrary/propertiesDialog.vue +190 -190
  8. package/src/components/fileLibrary/recycleBinDialog.vue +237 -237
  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/field-widget/area-select-widget.vue +272 -272
  13. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +216 -216
  14. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +928 -928
  15. package/src/components/xform/form-designer/index.vue +195 -195
  16. package/src/components/xform/form-designer/indexMixin.js +848 -848
  17. package/src/components/xform/form-designer/setting-panel/index.vue +313 -313
  18. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -124
  19. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +369 -369
  20. package/src/components/xform/form-designer/widget-panel/index.vue +389 -389
  21. package/src/components/xform/form-designer/widget-panel/indexMixin.js +343 -343
  22. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -4531
  23. package/src/components/xform/form-render/container-item/data-table-mixin.js +4748 -4576
  24. package/src/components/xform/form-render/container-item/tab-item.vue +125 -125
  25. package/src/components/xform/form-render/indexMixin.js +5061 -5078
  26. package/src/components/xform/lang/en-US.js +457 -457
  27. package/src/components/xform/lang/zh-CN.js +628 -628
  28. package/src/components/xform/utils/util.js +1585 -1554
  29. package/src/index.js +347 -230
  30. package/src/layout/components/AppMain.vue +122 -125
  31. package/src/layout/components/extractedCode/viewDialog.vue +207 -207
  32. package/src/layout/components/langTool.vue +128 -123
  33. package/src/layout/defaultLayout.vue +164 -158
  34. package/src/microRouter/index.js +389 -0
  35. package/src/permission.js +185 -135
  36. package/src/public-path.js +8 -0
  37. package/src/store/config/index.js +667 -669
  38. package/src/store/modules/micro.js +46 -0
  39. package/src/store/modules/permission.js +468 -373
  40. package/src/store/modules/user.js +419 -415
  41. package/src/utils/auth.js +27 -1
  42. package/src/utils/index.js +579 -6
  43. package/src/utils/keepAlive.js +4 -0
  44. package/src/utils/menuAdapter.js +183 -0
  45. package/src/utils/request.js +417 -28
  46. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -483
  47. package/src/views/bd/setting/form_script/form_list.vue +174 -174
  48. package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
  49. package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
  50. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -253
  51. package/src/views/user/menuFallback/index.vue +123 -0
  52. package/src/views/user/wf/wfReport/index.vue +625 -625
@@ -1,237 +1,237 @@
1
- <template>
2
- <div>
3
- <el-dialog
4
- :title="$t2('回收站','components.fileLibrary.recycleBin')"
5
- :close-on-click-modal="false"
6
- :visible.sync="showDialog"
7
- :modal="false"
8
- custom-class="dialog-style list-dialog"
9
- width="80%"
10
- @close="dialogClose"
11
- v-el-drag-dialog
12
- v-el-dialog-center
13
- >
14
- <div id="containt">
15
- <div class="file-library" style="padding:0 6px 6px;height:80vh">
16
- <div class="annex-screen">
17
- <div class="fl">
18
- <el-button type="primary" class="button-sty" icon="el-icon-refresh-left" @click="rever()">{{$t2('还原','components.fileLibrary.revert')}}
19
- </el-button>
20
- </div>
21
- <div class="fr">
22
- <div class="search-box">
23
- <el-input :placeholder="$t2('请输入文件名/文件夹名','components.fileLibrary.reverPlaceholder')" v-model="formData.fileName" clearable>
24
- </el-input>
25
- <el-input v-model="formData.treePathName" placeholder="文件地址" clearable></el-input>
26
- <el-input v-model="formData.deleteBy" placeholder="删除人" clearable></el-input>
27
- </div>
28
- <el-button icon="el-icon-search" class="button-sty icon-btn" @click="searchEvent" type="warning"></el-button>
29
- <el-button icon="iconfont icon-icmenu2" @click="changeShowType()" class="button-sty icon-btn"
30
- v-if="showType==1"></el-button>
31
- <el-button icon="el-icon-menu" @click="changeShowType()"
32
- class="button-sty icon-btn"
33
- v-if="showType==2"></el-button>
34
- </div>
35
- </div>
36
- <div class="annex-crumbs">
37
- <div class="oper">
38
- <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
39
- :indeterminate="checkAllIndeterminate">{{$t2('已选中'+
40
- checkList.length +'项','components.fileLibrary.checkboxLabel',{num:checkList.length})}}
41
- </el-checkbox>
42
- </div>
43
- </div>
44
- <div class="grid-height viewBox">
45
- <div class="mask" v-show="is_show_mask">
46
- </div>
47
- <div ref="containter1" v-show="showType==1" style="/*height:calc(100vh - 120px);*/overflow: auto;">
48
-
49
- <div class="annex-piclist">
50
- <div class="clearfix">
51
- <el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
52
- <template v-for="(attachment,index) in page.records">
53
- <li :key="index" class="item" :class="checkList.includes(attachment.id) ? 'on':''">
54
-
55
- <el-checkbox :label="attachment.id"><span></span></el-checkbox>
56
- <div class="oper">
57
- <el-tooltip effect="dark" :content="$t2('详情','components.fileLibrary.detail')" placement="top"><i
58
- class="el-tooltip iconfont icon-shuxing ico"
59
- @click="openPropertiesDialog(attachment)"></i>
60
- </el-tooltip>
61
- <a
62
- href="javascript:void(0);"
63
- class="a-link ico"
64
- @click="rever([attachment])"
65
- >
66
- <el-tooltip effect="dark" :content="$t2('还原','components.fileLibrary.revert')" placement="top"
67
- popper-class="tooltip-skin">
68
- <i class="el-icon-refresh-left"/>
69
- </el-tooltip>
70
- </a>
71
- </div>
72
- <div class="img" v-if="!attachment.dirs" @click="openPreview(attachment)">
73
- <p><img :src="getShowUrl(attachment)"/></p>
74
- </div>
75
- <div class="img" v-if="attachment.dirs">
76
- <svg-icon icon-class="ico-wenjianjia"/>
77
- </div>
78
- <el-tooltip :enterable="false" effect="dark" :content="attachment.fileName"
79
- placement="top">
80
- <div class="txt-box">
81
- <div class="tb-left"></div>
82
- <div class="tb-mid">
83
- <div class="txt">
84
- <span class="name">{{ getFileName(attachment) }}</span><span
85
- v-if="attachment.extension">.{{ attachment.extension }}</span>
86
- </div>
87
- </div>
88
- <div class="format">... .{{ attachment.extension }}</div>
89
- </div>
90
- </el-tooltip>
91
- </li>
92
- </template>
93
- </el-checkbox-group>
94
- <!-- <div class="item more">
95
- <div class="img"><svg-icon icon-class="ico-more" /></div>
96
- <div class="name">更多</div>
97
- </div>-->
98
- </div>
99
- <div class="vxe-grid">
100
- <div class="vxe-grid&#45;&#45;pager-wrapper">
101
- <vxe-pager
102
- class="pages-box"
103
- :current-page.sync="page.current"
104
- :page-size.sync="page.size"
105
- :total="page.total"
106
- :layouts="['PrevPage', 'Number', 'NextPage']"
107
- @page-change="changePageNew"
108
- >
109
- <template #right>
110
- <span>
111
- <span>{{$t2('当前记录','components.table.pageInfo')}}</span>
112
- <span class="f-red"> {{ page.records.length }} </span>
113
- <span>/</span>
114
- <span class="f-red"> {{ page.total }}</span>
115
- </span>
116
- </template>
117
- </vxe-pager>
118
- </div>
119
- </div>
120
- </div>
121
- </div>
122
- <div v-show="showType==2">
123
- <vxe-grid ref="table-m1" v-bind="vxeOption" :data="page.records"
124
- @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
125
- @checkbox-change="tableCheckChange"
126
- @checkbox-all="tableCheckAll">
127
- <template #pager>
128
- <vxe-pager
129
- class="pages-box"
130
- :current-page.sync="page.current"
131
- :page-size.sync="page.size"
132
- :total="page.total"
133
- :layouts="['PrevPage', 'Number', 'NextPage']"
134
- @page-change="changePageNew"
135
- >
136
- <template #right>
137
- <span>
138
- <span>{{$t2('当前记录','components.table.pageInfo')}}</span>
139
- <span class="f-red"> {{ page.records.length }} </span>
140
- <span>/</span>
141
- <span class="f-red"> {{ page.total }}</span>
142
- </span>
143
- </template>
144
- </vxe-pager>
145
- </template>
146
- <template #operate="{row}">
147
- <a
148
- href="javascript:void(0);"
149
- class="a-link"
150
- @click="openPropertiesDialog(row)"
151
- >
152
- <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')" placement="top"
153
- popper-class="tooltip-skin">
154
- <i class="iconfont icon-shuxing"/>
155
- </el-tooltip>
156
- </a>
157
- <a
158
- href="javascript:void(0);"
159
- class="a-link"
160
- @click="rever([row])"
161
- >
162
- <el-tooltip :enterable="false" effect="dark" :content="$t2('还原','components.fileLibrary.revert')" placement="top"
163
- popper-class="tooltip-skin">
164
- <i class="el-icon-refresh-left"/>
165
- </el-tooltip>
166
- </a>
167
- </template>
168
- </vxe-grid>
169
- </div>
170
- </div>
171
- </div>
172
- </div>
173
- </el-dialog>
174
-
175
- <categoryMoveDialog
176
- v-if="showCategoryMoveDialog"
177
- :visiable.sync="showCategoryMoveDialog"
178
- :checkRows.sync="operateRows"
179
- :handleType="0"
180
- @confirm="confirmMoveDialog"></categoryMoveDialog>
181
- <recycleBinPropertiesDialog v-if="showPropertiesDialog" :visiable.sync="showPropertiesDialog"
182
- :editAttachment.sync="editAttachment"></recycleBinPropertiesDialog>
183
- <el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
184
- :url-list="imageDTOs"/>
185
- </div>
186
- </template>
187
-
188
- <script>
189
- import mixins from './mixins/recycleBinDialogMixins';
190
-
191
- export default {
192
- mixins: [mixins]
193
- }
194
-
195
- </script>
196
- <style lang="scss" scoped>
197
- #labBtn {
198
- height: calc(100vh - 34px);
199
- }
200
-
201
- #containt .main-right {
202
- margin-left: -1%;
203
- padding-left: 18px !important;
204
- padding-top: 8px;
205
- padding-right: 8px;
206
- }
207
-
208
- .upload-list .upload-box {
209
- display: inline-block;
210
- }
211
-
212
-
213
- .vxe-grid .vxe-gird-block {
214
- height: calc(100vh - 161px);
215
- }
216
-
217
- ::v-deep .file-library .annex-screen .search-box > .el-input{
218
- height: 28px !important;
219
- margin-right: 10px;
220
- }
221
-
222
- ::v-deep .file-library .annex-screen .search-box > .el-input .el-input__inner{vertical-align: text-bottom; border-color: #e8e8e8}
223
-
224
- /*.viewBox {
225
- overflow: hidden;
226
- position: relative;
227
- user-select: none;
228
-
229
- .mask {
230
- position: absolute;
231
- background: #409eff;
232
- opacity: 0.4;
233
- z-index: 9999;
234
- }
235
- }*/
236
- .file-library > .grid-height > div{flex:1}
237
- </style>
1
+ <template>
2
+ <div>
3
+ <el-dialog
4
+ :title="$t2('回收站','components.fileLibrary.recycleBin')"
5
+ :close-on-click-modal="false"
6
+ :visible.sync="showDialog"
7
+ :modal="false"
8
+ custom-class="dialog-style list-dialog"
9
+ width="80%"
10
+ @close="dialogClose"
11
+ v-el-drag-dialog
12
+ v-el-dialog-center
13
+ >
14
+ <div id="containt">
15
+ <div class="file-library" style="padding:0 6px 6px;height:80vh">
16
+ <div class="annex-screen">
17
+ <div class="fl">
18
+ <el-button type="primary" class="button-sty" icon="el-icon-refresh-left" @click="rever()">{{$t2('还原','components.fileLibrary.revert')}}
19
+ </el-button>
20
+ </div>
21
+ <div class="fr">
22
+ <div class="search-box">
23
+ <el-input :placeholder="$t2('请输入文件名/文件夹名','components.fileLibrary.reverPlaceholder')" v-model="formData.fileName" clearable>
24
+ </el-input>
25
+ <el-input v-model="formData.treePathName" placeholder="文件地址" clearable></el-input>
26
+ <el-input v-model="formData.deleteBy" placeholder="删除人" clearable></el-input>
27
+ </div>
28
+ <el-button icon="el-icon-search" class="button-sty icon-btn" @click="searchEvent" type="warning"></el-button>
29
+ <el-button icon="iconfont icon-icmenu2" @click="changeShowType()" class="button-sty icon-btn"
30
+ v-if="showType==1"></el-button>
31
+ <el-button icon="el-icon-menu" @click="changeShowType()"
32
+ class="button-sty icon-btn"
33
+ v-if="showType==2"></el-button>
34
+ </div>
35
+ </div>
36
+ <div class="annex-crumbs">
37
+ <div class="oper">
38
+ <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
39
+ :indeterminate="checkAllIndeterminate">{{$t2('已选中'+
40
+ checkList.length +'项','components.fileLibrary.checkboxLabel',{num:checkList.length})}}
41
+ </el-checkbox>
42
+ </div>
43
+ </div>
44
+ <div class="grid-height viewBox">
45
+ <div class="mask" v-show="is_show_mask">
46
+ </div>
47
+ <div ref="containter1" v-show="showType==1" style="/*height:calc(100vh - 120px);*/overflow: auto;">
48
+
49
+ <div class="annex-piclist">
50
+ <div class="clearfix">
51
+ <el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
52
+ <template v-for="(attachment,index) in page.records">
53
+ <li :key="index" class="item" :class="checkList.includes(attachment.id) ? 'on':''">
54
+
55
+ <el-checkbox :label="attachment.id"><span></span></el-checkbox>
56
+ <div class="oper">
57
+ <el-tooltip effect="dark" :content="$t2('详情','components.fileLibrary.detail')" placement="top"><i
58
+ class="el-tooltip iconfont icon-shuxing ico"
59
+ @click="openPropertiesDialog(attachment)"></i>
60
+ </el-tooltip>
61
+ <a
62
+ href="javascript:void(0);"
63
+ class="a-link ico"
64
+ @click="rever([attachment])"
65
+ >
66
+ <el-tooltip effect="dark" :content="$t2('还原','components.fileLibrary.revert')" placement="top"
67
+ popper-class="tooltip-skin">
68
+ <i class="el-icon-refresh-left"/>
69
+ </el-tooltip>
70
+ </a>
71
+ </div>
72
+ <div class="img" v-if="!attachment.dirs" @click="openPreview(attachment)">
73
+ <p><img :src="getShowUrl(attachment)"/></p>
74
+ </div>
75
+ <div class="img" v-if="attachment.dirs">
76
+ <svg-icon icon-class="ico-wenjianjia"/>
77
+ </div>
78
+ <el-tooltip :enterable="false" effect="dark" :content="attachment.fileName"
79
+ placement="top">
80
+ <div class="txt-box">
81
+ <div class="tb-left"></div>
82
+ <div class="tb-mid">
83
+ <div class="txt">
84
+ <span class="name">{{ getFileName(attachment) }}</span><span
85
+ v-if="attachment.extension">.{{ attachment.extension }}</span>
86
+ </div>
87
+ </div>
88
+ <div class="format">... .{{ attachment.extension }}</div>
89
+ </div>
90
+ </el-tooltip>
91
+ </li>
92
+ </template>
93
+ </el-checkbox-group>
94
+ <!-- <div class="item more">
95
+ <div class="img"><svg-icon icon-class="ico-more" /></div>
96
+ <div class="name">更多</div>
97
+ </div>-->
98
+ </div>
99
+ <div class="vxe-grid">
100
+ <div class="vxe-grid&#45;&#45;pager-wrapper">
101
+ <vxe-pager
102
+ class="pages-box"
103
+ :current-page.sync="page.current"
104
+ :page-size.sync="page.size"
105
+ :total="page.total"
106
+ :layouts="['PrevPage', 'Number', 'NextPage']"
107
+ @page-change="changePageNew"
108
+ >
109
+ <template #right>
110
+ <span>
111
+ <span>{{$t2('当前记录','components.table.pageInfo')}}</span>
112
+ <span class="f-red"> {{ page.records.length }} </span>
113
+ <span>/</span>
114
+ <span class="f-red"> {{ page.total }}</span>
115
+ </span>
116
+ </template>
117
+ </vxe-pager>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ <div v-show="showType==2">
123
+ <vxe-grid ref="table-m1" v-bind="vxeOption" :data="page.records"
124
+ @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
125
+ @checkbox-change="tableCheckChange"
126
+ @checkbox-all="tableCheckAll">
127
+ <template #pager>
128
+ <vxe-pager
129
+ class="pages-box"
130
+ :current-page.sync="page.current"
131
+ :page-size.sync="page.size"
132
+ :total="page.total"
133
+ :layouts="['PrevPage', 'Number', 'NextPage']"
134
+ @page-change="changePageNew"
135
+ >
136
+ <template #right>
137
+ <span>
138
+ <span>{{$t2('当前记录','components.table.pageInfo')}}</span>
139
+ <span class="f-red"> {{ page.records.length }} </span>
140
+ <span>/</span>
141
+ <span class="f-red"> {{ page.total }}</span>
142
+ </span>
143
+ </template>
144
+ </vxe-pager>
145
+ </template>
146
+ <template #operate="{row}">
147
+ <a
148
+ href="javascript:void(0);"
149
+ class="a-link"
150
+ @click="openPropertiesDialog(row)"
151
+ >
152
+ <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')" placement="top"
153
+ popper-class="tooltip-skin">
154
+ <i class="iconfont icon-shuxing"/>
155
+ </el-tooltip>
156
+ </a>
157
+ <a
158
+ href="javascript:void(0);"
159
+ class="a-link"
160
+ @click="rever([row])"
161
+ >
162
+ <el-tooltip :enterable="false" effect="dark" :content="$t2('还原','components.fileLibrary.revert')" placement="top"
163
+ popper-class="tooltip-skin">
164
+ <i class="el-icon-refresh-left"/>
165
+ </el-tooltip>
166
+ </a>
167
+ </template>
168
+ </vxe-grid>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </el-dialog>
174
+
175
+ <categoryMoveDialog
176
+ v-if="showCategoryMoveDialog"
177
+ :visiable.sync="showCategoryMoveDialog"
178
+ :checkRows.sync="operateRows"
179
+ :handleType="0"
180
+ @confirm="confirmMoveDialog"></categoryMoveDialog>
181
+ <recycleBinPropertiesDialog v-if="showPropertiesDialog" :visiable.sync="showPropertiesDialog"
182
+ :editAttachment.sync="editAttachment"></recycleBinPropertiesDialog>
183
+ <el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
184
+ :url-list="imageDTOs"/>
185
+ </div>
186
+ </template>
187
+
188
+ <script>
189
+ import mixins from './mixins/recycleBinDialogMixins';
190
+
191
+ export default {
192
+ mixins: [mixins]
193
+ }
194
+
195
+ </script>
196
+ <style lang="scss" scoped>
197
+ #labBtn {
198
+ height: calc(100vh - 34px);
199
+ }
200
+
201
+ #containt .main-right {
202
+ margin-left: -1%;
203
+ padding-left: 18px !important;
204
+ padding-top: 8px;
205
+ padding-right: 8px;
206
+ }
207
+
208
+ .upload-list .upload-box {
209
+ display: inline-block;
210
+ }
211
+
212
+
213
+ .vxe-grid .vxe-gird-block {
214
+ height: calc(100vh - 161px);
215
+ }
216
+
217
+ ::v-deep .file-library .annex-screen .search-box > .el-input{
218
+ height: 28px !important;
219
+ margin-right: 10px;
220
+ }
221
+
222
+ ::v-deep .file-library .annex-screen .search-box > .el-input .el-input__inner{vertical-align: text-bottom; border-color: #e8e8e8}
223
+
224
+ /*.viewBox {
225
+ overflow: hidden;
226
+ position: relative;
227
+ user-select: none;
228
+
229
+ .mask {
230
+ position: absolute;
231
+ background: #409eff;
232
+ opacity: 0.4;
233
+ z-index: 9999;
234
+ }
235
+ }*/
236
+ .file-library > .grid-height > div{flex:1}
237
+ </style>