cloud-web-corejs 1.0.54-dev.745 → 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 (50) 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 -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 +344 -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/permission.js +185 -135
  35. package/src/store/config/index.js +667 -669
  36. package/src/store/modules/micro.js +46 -0
  37. package/src/store/modules/permission.js +461 -373
  38. package/src/store/modules/user.js +419 -415
  39. package/src/utils/auth.js +27 -1
  40. package/src/utils/index.js +579 -6
  41. package/src/utils/keepAlive.js +4 -0
  42. package/src/utils/menuAdapter.js +183 -0
  43. package/src/utils/request.js +417 -28
  44. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -483
  45. package/src/views/bd/setting/form_script/form_list.vue +174 -174
  46. package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
  47. package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
  48. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -253
  49. package/src/views/user/menuFallback/index.vue +123 -0
  50. package/src/views/user/wf/wfReport/index.vue +625 -625
@@ -1,190 +1,190 @@
1
- <template>
2
- <el-dialog
3
- :title="$t2('文件详情', 'components.fileLibrary.fileDetail')"
4
- :append-to-body="true"
5
- :modal-append-to-body="falseValue"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- custom-class="dialog-style list-dialog"
10
- width="700px"
11
- height="500px"
12
- @close="dialogClose"
13
- v-el-drag-dialog
14
- v-el-dialog-center
15
- >
16
- <div id="containt">
17
- <div class="detail-wrap" style="height:80vh">
18
- <el-form ref="editForm" :model="attachmentDTO">
19
- <div class="d-header clearfix">
20
- <div class="fl">
21
- <i class="el-icon-info" />
22
- {{ $t2("文件详情", "components.fileLibrary.fileDetail") }}
23
- </div>
24
- <div class="fr">
25
- <el-button
26
- type="primary"
27
- class="button-sty"
28
- icon="el-icon-check"
29
- @click="saveData"
30
- v-if="isEdit && attachmentDTO.status != 1"
31
- >{{ $t2("保存", "system.button.save") }}
32
- </el-button>
33
- </div>
34
- </div>
35
- <baseTabs>
36
- <baseTabPane :label="$t2('基本信息', 'system.label.baseInfo')">
37
- <template #default>
38
- <table class="table-detail">
39
- <tbody>
40
- <tr>
41
- <th>{{ $t2("文件路径", "components.fileLibrary.filePath") }}</th>
42
- <td colspan="3">
43
- <el-breadcrumb separator-class="el-icon-arrow-right">
44
- <el-breadcrumb-item
45
- v-for="(pathName, index) in pathNameArr"
46
- :key="index"
47
- >{{ pathName }}
48
- </el-breadcrumb-item>
49
- </el-breadcrumb>
50
- </td>
51
- </tr>
52
- <tr>
53
- <th>
54
- {{ $t2("文件名称", "components.fileLibrary.fileName") }}
55
- </th>
56
- <td colspan="3">
57
- <el-input v-model="fileName" clearable v-if="isEdit">
58
- <template slot="append">{{ filePrefix }}</template>
59
- </el-input>
60
- <template v-else>{{ attachmentDTO.fileName }}</template>
61
- </td>
62
- </tr>
63
- <tr>
64
- <th>{{ $t2("所属对象描述", "components.fileLibrary.note") }}</th>
65
- <td colspan="3">{{ attachmentDTO.note }}</td>
66
- </tr>
67
- <tr>
68
- <th>{{ $t1("文件类型名") }}</th>
69
- <td colspan="3">
70
- <b>{{ attachmentDTO.fileTypeName }}</b>
71
- </td>
72
- </tr>
73
- <tr>
74
- <th>{{ $t2("文件大小", "components.fileLibrary.fileSize") }}</th>
75
- <td>{{ formatFileSize(attachmentDTO.fileSize) }}</td>
76
- <th>{{ $t2("版本号", "components.fileLibrary.fileRev") }}</th>
77
- <td>{{ attachmentDTO.rev }}</td>
78
- </tr>
79
- <tr>
80
- <th>{{ $t2("分辨率", "components.fileLibrary.widthHeight") }}</th>
81
- <td>{{ attachmentDTO.widthHeight }}</td>
82
- <th>{{ $t2("是否归档", "components.fileLibrary.status") }}</th>
83
- <td>{{ attachmentDTO.status == 1 ? "已归档" : "未归档" }}</td>
84
- </tr>
85
- <!-- <tr>
86
- <th>状态</th>
87
- <td>{{ attachmentDTO.status == 1 ? '归档' : '未归档' }}</td>
88
- </tr>-->
89
- <tr>
90
- <th>{{ $t2("文件编码", "components.fileLibrary.fileSn") }}</th>
91
- <td colspan="3">{{ attachmentDTO.fileSn }}</td>
92
- </tr>
93
- <tr>
94
- <th>{{ $t1("作者") }}</th>
95
- <td>{{ attachmentDTO.fileAuthor }}</td>
96
- <th>{{ $t1("修订人") }}</th>
97
- <td>{{ attachmentDTO.fileReviser }}</td>
98
- </tr>
99
- <tr>
100
- <th>{{ $t2("创建人", "system.label.createBy") }}</th>
101
- <td>{{ attachmentDTO._createBy }}</td>
102
- <th>{{ $t2("创建时间", "system.label.createDate") }}</th>
103
- <td>{{ attachmentDTO.createDate }}</td>
104
- </tr>
105
- </tbody>
106
- </table>
107
- </template>
108
- </baseTabPane>
109
- <baseTabPane :label="$t2('文件属性', 'components.fileLibrary.fileAttribute')">
110
- <template #button>
111
- <el-button
112
- class="button-sty"
113
- @click="addItem"
114
- icon="el-icon-plus"
115
- v-if="isEdit && attachmentDTO.status != 1"
116
- >
117
- {{ $t2("新增文件属性", "components.fileLibrary.addFileAttribute") }}
118
- </el-button>
119
- </template>
120
- <template #default>
121
- <vxe-grid
122
- ref="table-m1"
123
- class="vxe-tableNo"
124
- height="224px"
125
- :data="attachmentDTO.fileAttachAttributeDTOs"
126
- v-bind="vxeOption"
127
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
128
- @custom="$vxeTableUtil.customHandle"
129
- >
130
- <template #attributeName="{ row, rowIndex }">
131
- <el-form-item
132
- :prop="'fileAttachAttributeDTOs.' + rowIndex + '.attributeName'"
133
- :rules="[{ required: true, trigger: 'blur' }]"
134
- >
135
- <el-input v-model="row.attributeName" clearable v-if="isEdit" />
136
- <template v-else>{{ row.attributeName }}</template>
137
- </el-form-item>
138
- </template>
139
- <template #attributeValue="{ row }">
140
- <el-input v-model="row.attributeValue" clearable v-if="isEdit" />
141
- <template v-else>{{ row.attributeValue }}</template>
142
- </template>
143
- <template #operate="{ row, rowIndex }">
144
- <a
145
- class="a-link"
146
- @click="attachmentDTO.fileAttachAttributeDTOs.splice(rowIndex, 1)"
147
- v-if="isEdit"
148
- >
149
- <el-tooltip
150
- :enterable="false"
151
- effect="dark"
152
- :content="$t2('删除', 'components.fileLibrary.delete')"
153
- placement="top"
154
- popper-class="tooltip-skin"
155
- >
156
- <i class="el-icon-delete" />
157
- </el-tooltip>
158
- </a>
159
- </template>
160
- </vxe-grid>
161
- </template>
162
- </baseTabPane>
163
- <baseTabPane :label="$t1('文件关联对象')">
164
- <template #button></template>
165
- <template #default>
166
- <vxe-grid
167
- ref="table-m2"
168
- class="vxe-tableNo"
169
- height="224px"
170
- :data="fileAttachObjDTOs"
171
- v-bind="vxeOption2"
172
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
173
- @custom="$vxeTableUtil.customHandle"
174
- ></vxe-grid>
175
- </template>
176
- </baseTabPane>
177
- </baseTabs>
178
- </el-form>
179
- </div>
180
- </div>
181
- </el-dialog>
182
- </template>
183
-
184
- <script>
185
- import mixins from "./mixins/propertiesDialogMixins";
186
-
187
- export default {
188
- mixins: [mixins],
189
- };
190
- </script>
1
+ <template>
2
+ <el-dialog
3
+ :title="$t2('文件详情', 'components.fileLibrary.fileDetail')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="falseValue"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog"
10
+ width="700px"
11
+ height="500px"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ >
16
+ <div id="containt">
17
+ <div class="detail-wrap" style="height:80vh">
18
+ <el-form ref="editForm" :model="attachmentDTO">
19
+ <div class="d-header clearfix">
20
+ <div class="fl">
21
+ <i class="el-icon-info" />
22
+ {{ $t2("文件详情", "components.fileLibrary.fileDetail") }}
23
+ </div>
24
+ <div class="fr">
25
+ <el-button
26
+ type="primary"
27
+ class="button-sty"
28
+ icon="el-icon-check"
29
+ @click="saveData"
30
+ v-if="isEdit && attachmentDTO.status != 1"
31
+ >{{ $t2("保存", "system.button.save") }}
32
+ </el-button>
33
+ </div>
34
+ </div>
35
+ <baseTabs>
36
+ <baseTabPane :label="$t2('基本信息', 'system.label.baseInfo')">
37
+ <template #default>
38
+ <table class="table-detail">
39
+ <tbody>
40
+ <tr>
41
+ <th>{{ $t2("文件路径", "components.fileLibrary.filePath") }}</th>
42
+ <td colspan="3">
43
+ <el-breadcrumb separator-class="el-icon-arrow-right">
44
+ <el-breadcrumb-item
45
+ v-for="(pathName, index) in pathNameArr"
46
+ :key="index"
47
+ >{{ pathName }}
48
+ </el-breadcrumb-item>
49
+ </el-breadcrumb>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <th>
54
+ {{ $t2("文件名称", "components.fileLibrary.fileName") }}
55
+ </th>
56
+ <td colspan="3">
57
+ <el-input v-model="fileName" clearable v-if="isEdit">
58
+ <template slot="append">{{ filePrefix }}</template>
59
+ </el-input>
60
+ <template v-else>{{ attachmentDTO.fileName }}</template>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <th>{{ $t2("所属对象描述", "components.fileLibrary.note") }}</th>
65
+ <td colspan="3">{{ attachmentDTO.note }}</td>
66
+ </tr>
67
+ <tr>
68
+ <th>{{ $t1("文件类型名") }}</th>
69
+ <td colspan="3">
70
+ <b>{{ attachmentDTO.fileTypeName }}</b>
71
+ </td>
72
+ </tr>
73
+ <tr>
74
+ <th>{{ $t2("文件大小", "components.fileLibrary.fileSize") }}</th>
75
+ <td>{{ formatFileSize(attachmentDTO.fileSize) }}</td>
76
+ <th>{{ $t2("版本号", "components.fileLibrary.fileRev") }}</th>
77
+ <td>{{ attachmentDTO.rev }}</td>
78
+ </tr>
79
+ <tr>
80
+ <th>{{ $t2("分辨率", "components.fileLibrary.widthHeight") }}</th>
81
+ <td>{{ attachmentDTO.widthHeight }}</td>
82
+ <th>{{ $t2("是否归档", "components.fileLibrary.status") }}</th>
83
+ <td>{{ attachmentDTO.status == 1 ? "已归档" : "未归档" }}</td>
84
+ </tr>
85
+ <!-- <tr>
86
+ <th>状态</th>
87
+ <td>{{ attachmentDTO.status == 1 ? '归档' : '未归档' }}</td>
88
+ </tr>-->
89
+ <tr>
90
+ <th>{{ $t2("文件编码", "components.fileLibrary.fileSn") }}</th>
91
+ <td colspan="3">{{ attachmentDTO.fileSn }}</td>
92
+ </tr>
93
+ <tr>
94
+ <th>{{ $t1("作者") }}</th>
95
+ <td>{{ attachmentDTO.fileAuthor }}</td>
96
+ <th>{{ $t1("修订人") }}</th>
97
+ <td>{{ attachmentDTO.fileReviser }}</td>
98
+ </tr>
99
+ <tr>
100
+ <th>{{ $t2("创建人", "system.label.createBy") }}</th>
101
+ <td>{{ attachmentDTO._createBy }}</td>
102
+ <th>{{ $t2("创建时间", "system.label.createDate") }}</th>
103
+ <td>{{ attachmentDTO.createDate }}</td>
104
+ </tr>
105
+ </tbody>
106
+ </table>
107
+ </template>
108
+ </baseTabPane>
109
+ <baseTabPane :label="$t2('文件属性', 'components.fileLibrary.fileAttribute')">
110
+ <template #button>
111
+ <el-button
112
+ class="button-sty"
113
+ @click="addItem"
114
+ icon="el-icon-plus"
115
+ v-if="isEdit && attachmentDTO.status != 1"
116
+ >
117
+ {{ $t2("新增文件属性", "components.fileLibrary.addFileAttribute") }}
118
+ </el-button>
119
+ </template>
120
+ <template #default>
121
+ <vxe-grid
122
+ ref="table-m1"
123
+ class="vxe-tableNo"
124
+ height="224px"
125
+ :data="attachmentDTO.fileAttachAttributeDTOs"
126
+ v-bind="vxeOption"
127
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
128
+ @custom="$vxeTableUtil.customHandle"
129
+ >
130
+ <template #attributeName="{ row, rowIndex }">
131
+ <el-form-item
132
+ :prop="'fileAttachAttributeDTOs.' + rowIndex + '.attributeName'"
133
+ :rules="[{ required: true, trigger: 'blur' }]"
134
+ >
135
+ <el-input v-model="row.attributeName" clearable v-if="isEdit" />
136
+ <template v-else>{{ row.attributeName }}</template>
137
+ </el-form-item>
138
+ </template>
139
+ <template #attributeValue="{ row }">
140
+ <el-input v-model="row.attributeValue" clearable v-if="isEdit" />
141
+ <template v-else>{{ row.attributeValue }}</template>
142
+ </template>
143
+ <template #operate="{ row, rowIndex }">
144
+ <a
145
+ class="a-link"
146
+ @click="attachmentDTO.fileAttachAttributeDTOs.splice(rowIndex, 1)"
147
+ v-if="isEdit"
148
+ >
149
+ <el-tooltip
150
+ :enterable="false"
151
+ effect="dark"
152
+ :content="$t2('删除', 'components.fileLibrary.delete')"
153
+ placement="top"
154
+ popper-class="tooltip-skin"
155
+ >
156
+ <i class="el-icon-delete" />
157
+ </el-tooltip>
158
+ </a>
159
+ </template>
160
+ </vxe-grid>
161
+ </template>
162
+ </baseTabPane>
163
+ <baseTabPane :label="$t1('文件关联对象')">
164
+ <template #button></template>
165
+ <template #default>
166
+ <vxe-grid
167
+ ref="table-m2"
168
+ class="vxe-tableNo"
169
+ height="224px"
170
+ :data="fileAttachObjDTOs"
171
+ v-bind="vxeOption2"
172
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
173
+ @custom="$vxeTableUtil.customHandle"
174
+ ></vxe-grid>
175
+ </template>
176
+ </baseTabPane>
177
+ </baseTabs>
178
+ </el-form>
179
+ </div>
180
+ </div>
181
+ </el-dialog>
182
+ </template>
183
+
184
+ <script>
185
+ import mixins from "./mixins/propertiesDialogMixins";
186
+
187
+ export default {
188
+ mixins: [mixins],
189
+ };
190
+ </script>