cloud-web-corejs 1.0.258 → 1.0.259
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 +32 -25
- package/src/components/VabUpload/fileLibraryDialog.vue +296 -0
- package/src/components/VabUpload/index.js +22 -2
- package/src/components/VabUpload/index.vue +242 -231
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +1112 -0
- package/src/components/VabUpload/mixins.js +1971 -1829
- package/src/components/VabUpload/privateProfileDialog.vue +2 -2
- package/src/components/baseArea/index.vue +1628 -0
- package/src/components/baseInputExport/mixins.js +48 -31
- package/src/components/baseInputNumber/index.vue +9 -9
- package/src/components/baseTabs/index.vue +16 -8
- package/src/components/code-editor/async.js +29 -0
- package/src/components/code-editor/index.vue +93 -4
- package/src/components/errorMsg/index.js +10 -9
- package/src/components/errorMsg/mixins.js +25 -23
- package/src/components/excelExport/exportFieldDialog.vue +40 -18
- package/src/components/excelExport/index.js +62 -3
- package/src/components/excelExport/index.vue +2 -1
- package/src/components/excelExport/mixins.js +496 -340
- package/src/components/excelImport/index.js +69 -7
- package/src/components/excelImport/mixins.js +841 -9
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileHistoryDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -298
- package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
- package/src/components/fileLibrary/filterDialog.vue +1 -1
- package/src/components/fileLibrary/index.vue +1109 -1110
- package/src/components/fileLibrary/mixins/indexMixins.js +10 -0
- package/src/components/fileLibrary/propertiesDialog.vue +190 -190
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
- package/src/components/formOplog/mixins.js +85 -80
- package/src/components/hiprint/view/design/index.vue +7 -2
- package/src/components/jsonImport/exportUtil.js +106 -0
- package/src/components/jsonImport/index.js +75 -50
- package/src/components/jsonImport/mixins.js +350 -348
- package/src/components/langImport/mixins.js +502 -500
- package/src/components/micro-view-host/contract.js +66 -0
- package/src/components/micro-view-host/index.vue +148 -0
- package/src/components/mobile/file/index.vue +10 -0
- package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +51 -47
- package/src/components/obsUpload/index.vue +234 -231
- package/src/components/obsUpload/mixins.js +1542 -1476
- package/src/components/onlineTalk/talkUserDialog.vue +1 -1
- package/src/components/table/CellSlot.vue +12 -10
- package/src/components/table/config.js +74 -1
- package/src/components/table/index.js +1208 -1
- package/src/components/table/tableFormMixin.js +285 -1
- package/src/components/table/util/index.js +38 -40
- package/src/components/table/vxeFilter/index.js +153 -2
- package/src/components/table/vxeFilter/mixin.js +305 -3
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +10 -5
- package/src/components/wf/addTaskUserdialog.vue +1 -1
- package/src/components/wf/mixins/setCandidateDialog.js +217 -217
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
- package/src/components/wf/wf.js +2224 -2203
- package/src/components/wf/wfUtil.js +2 -1
- package/src/components/xform/docs/2026-08 /345/210/227/350/241/250/345/257/274/345/207/272/350/204/261/346/225/217/345/210/227/345/211/224/351/231/244/350/220/275/345/234/260/346/226/207/346/241/243.md" +173 -0
- package/src/components/xform/form-designer/designer.js +1 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +110 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +282 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -0
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +14 -0
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +18 -73
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/autocomplete-mixin.js +451 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +157 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/utc-transform-mixin.js +75 -0
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +112 -0
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +149 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +179 -1
- package/src/components/xform/form-designer/indexMixin.js +823 -1
- package/src/components/xform/form-designer/refMixinDesign.js +27 -1
- package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +241 -0
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +601 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/index.vue +314 -309
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +324 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +8 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +8 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +344 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaMinLevel-editor.vue +50 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +20 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +199 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-baseAttachment/baseAttachment-fileTypes-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/showAllLevels-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +55 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/vabUpload-fileTypes-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesEditorMixin.js +116 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesSelect.vue +176 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +19 -0
- package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +186 -0
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +566 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
- package/src/components/xform/form-render/compareDelList.vue +83 -0
- package/src/components/xform/form-render/compareView.vue +76 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +378 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +35 -0
- package/src/components/xform/form-render/container-item/detail-item.vue +41 -0
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +285 -0
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +416 -0
- package/src/components/xform/form-render/container-item/list-h5-item.vue +12 -0
- package/src/components/xform/form-render/dynamicDialogRender.js +195 -1
- package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
- package/src/components/xform/form-render/formDynamicFieldMixin.js +131 -0
- package/src/components/xform/form-render/refMixin.js +29 -1
- package/src/components/xform/mixins/scriptHttp.js +172 -1
- package/src/components/xform/utils/dynamicSchemaUtil.js +361 -0
- package/src/components/xform/utils/tableCellValidateUtil.js +148 -0
- package/src/components/xform/utils/textMaskUtil.js +179 -0
- package/src/components/xform/utils/treeTableUtil.js +1265 -0
- package/src/components/xform/utils/util.js +1 -0
- package/src/components/xform/utils/validators.js +133 -1
- package/src/directive/LimitNumber/index.js +143 -124
- package/src/microRouter/index.js +447 -0
- package/src/mixins/tableTree/index.js +77 -14
- package/src/permission.js +132 -107
- package/src/public-path.js +38 -0
- package/src/router/index.js +3 -3
- package/src/store/modules/micro.js +57 -0
- package/src/store/modules/permission.js +535 -371
- package/src/store/modules/tagsView.js +38 -21
- package/src/store/modules/user.js +409 -370
- package/src/utils/aes.js +9 -3
- package/src/utils/auth.js +1 -1
- package/src/utils/componentDialog.js +162 -40
- package/src/utils/global.js +35 -34
- package/src/utils/index.js +579 -579
- package/src/utils/keepAlive.js +8 -4
- package/src/utils/lazyPlugin.js +66 -0
- package/src/utils/menuAdapter.js +277 -0
- package/src/utils/repeatOpen.js +48 -0
- package/src/utils/request.js +417 -395
- package/src/utils/resolveViewComponent.js +203 -0
- package/src/utils/vab.js +14 -3
- package/src/utils/validate.js +104 -106
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/list.vue +1 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
- package/src/views/bd/setting/bd_company_env/list.vue +1 -1
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +488 -489
- package/src/views/bd/setting/form_import_log/list.vue +1 -1
- package/src/views/bd/setting/form_script/dialog.vue +1 -1
- package/src/views/bd/setting/form_script/form_list.vue +174 -166
- package/src/views/bd/setting/form_script/list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +1 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +330 -322
- package/src/views/bd/setting/form_template/dialog.vue +1 -1
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +172 -171
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
- package/src/views/bd/setting/form_template/itemList.vue +1 -1
- package/src/views/bd/setting/form_template/list.vue +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
- package/src/views/bd/setting/form_template/wf_list.vue +3 -3
- package/src/views/bd/setting/logic_param/edit.vue +20 -20
- package/src/views/bd/setting/logic_param/list.vue +1 -1
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +1 -1
- package/src/views/bd/setting/push_data/list.vue +1 -1
- package/src/views/bd/setting/push_data_h/list.vue +1 -1
- package/src/views/bd/setting/request_async_setting/list.vue +1 -1
- package/src/views/bd/setting/request_setting/list.vue +1 -1
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/list.vue +1 -1
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/user/access_log/list.vue +1 -1
- package/src/views/user/access_log/list2.vue +1 -1
- package/src/views/user/api_request/list.vue +1 -1
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area/list.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/code_rules/list.vue +1 -1
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/list.vue +2 -2
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/country/dialog.vue +1 -1
- package/src/views/user/country/list.vue +1 -1
- package/src/views/user/data_type_setting/dialog.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -1
- package/src/views/user/extend_datasource/edit.vue +2 -1
- package/src/views/user/extend_datasource/list.vue +4 -1
- package/src/views/user/fieldTranslation/list.vue +1 -1
- package/src/views/user/field_values_invisible/list.vue +1 -1
- package/src/views/user/file_type/list.vue +1 -1
- package/src/views/user/file_view_area/list.vue +1 -1
- package/src/views/user/file_view_ins/list.vue +22 -1
- package/src/views/user/form/view/list.vue +64 -1
- package/src/views/user/groups/dialog.vue +1 -1
- package/src/views/user/groups/list.vue +1 -1
- package/src/views/user/home/default.vue +2 -2
- package/src/views/user/home/default2.vue +1158 -1148
- package/src/views/user/home/index.vue +3 -10
- package/src/views/user/lang_tag/dialog.vue +1 -1
- package/src/views/user/lang_tag/list.vue +1 -1
- package/src/views/user/language_setting/list.vue +1 -1
- package/src/views/user/login/default.vue +0 -8
- package/src/views/user/login/indexMixin.js +547 -556
- package/src/views/user/menu/list.vue +25 -2
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/mobile_menu/list.vue +1 -1
- package/src/views/user/notify_message/dialog.vue +22 -1
- package/src/views/user/notify_message/list.vue +1 -1
- package/src/views/user/notify_template/list.vue +1 -1
- package/src/views/user/notify_template/list2.vue +1 -1
- package/src/views/user/oplog/list.vue +1 -1
- package/src/views/user/outLink/form_view.vue +5 -14
- package/src/views/user/outLink/index.vue +6 -1
- package/src/views/user/outLink/view.vue +5 -13
- package/src/views/user/position/dialog.vue +1 -1
- package/src/views/user/position/list.vue +1 -1
- package/src/views/user/project_tag/dialog.vue +1 -1
- package/src/views/user/project_tag/list.vue +1 -1
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/request_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +1 -1
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +1 -1
- package/src/views/user/system_notice/list.vue +1 -1
- package/src/views/user/system_parameter/list.vue +1 -1
- package/src/views/user/user/dialog.vue +1 -1
- package/src/views/user/user/edit.vue +306 -159
- package/src/views/user/user/form_dialog.vue +1 -1
- package/src/views/user/user/form_list.vue +1 -1
- package/src/views/user/user/list.vue +2 -2
- package/src/views/user/user_log_classify/list.vue +1 -1
- package/src/views/user/wf/iframe/index.vue +6 -1
- package/src/views/user/wf/iframe/index2.vue +6 -1
- package/src/views/user/wf/wfReport/index.vue +12 -6
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
- package/src/views/user/wf/wf_manage/list.vue +97 -24
- package/src/views/user/wf/wf_manage/list2.vue +875 -0
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +23 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list_form.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +1 -1
- package/src/views/user/workbench_menu/list.vue +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloud-web-corejs",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.259",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vue-cli-service serve",
|
|
7
7
|
"lint": "eslint --ext .js,.vue src",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"concurrent-tasks": "1.0.7",
|
|
25
25
|
"copy-webpack-plugin": "5.1.2",
|
|
26
26
|
"core-js": "^3.8.3",
|
|
27
|
-
"dayjs": "^1.11.13",
|
|
27
|
+
"dayjs": "^1.11.13",
|
|
28
28
|
"dompurify": "^3.3.1",
|
|
29
29
|
"dhtmlx-gantt": "^9.1.1",
|
|
30
30
|
"element-ui": "^2.15.14",
|
|
@@ -101,72 +101,79 @@
|
|
|
101
101
|
"xe-utils": "3.5.2"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
+
"@claviska/jquery-minicolors": "2.3.6",
|
|
104
105
|
"@codemirror/lang-javascript": "^6.1.9",
|
|
106
|
+
"@codemirror/state": "^6.5.4",
|
|
107
|
+
"@codemirror/view": "^6.39.13",
|
|
105
108
|
"@formulajs/formulajs": "^4.3.1",
|
|
106
|
-
"@vue/
|
|
109
|
+
"@vue/composition-api": "1.0.5",
|
|
110
|
+
"ace-builds": "1.11.0",
|
|
107
111
|
"axios": "0.18.1",
|
|
112
|
+
"canvg": "3.0.10",
|
|
113
|
+
"clipboard": "2.0.8",
|
|
108
114
|
"codemirror": "^6.0.1",
|
|
109
115
|
"concurrent-tasks": "1.0.7",
|
|
110
|
-
"copy-webpack-plugin": "5.1.2",
|
|
111
116
|
"core-js": "^3.8.3",
|
|
112
|
-
"
|
|
117
|
+
"crypto-js": "^4.2.0",
|
|
113
118
|
"dhtmlx-gantt": "^9.1.1",
|
|
119
|
+
"dompurify": "^3.3.1",
|
|
120
|
+
"echarts": "5.1.2",
|
|
114
121
|
"element-ui": "^2.15.14",
|
|
115
122
|
"esdk-obs-browserjs": "^3.25.6",
|
|
116
123
|
"exceljs": "^4.4.0",
|
|
117
|
-
"
|
|
124
|
+
"file-saver": "2.0.5",
|
|
118
125
|
"html2canvas": "^1.4.1",
|
|
126
|
+
"jquery": "3.6.0",
|
|
119
127
|
"js-base64": "^3.7.7",
|
|
120
128
|
"js-cookie": "2.2.0",
|
|
129
|
+
"jsbarcode": "3.11.5",
|
|
121
130
|
"jspdf": "^3.0.1",
|
|
122
131
|
"jsqr": "^1.4.0",
|
|
123
132
|
"lodash": "4.17.21",
|
|
124
133
|
"luckyexcel": "^1.0.1",
|
|
125
134
|
"moment": "2.29.4",
|
|
126
|
-
"node-polyfill-webpack-plugin": "^4.0.0",
|
|
127
135
|
"normalize.css": "7.0.0",
|
|
128
136
|
"nprogress": "0.2.0",
|
|
137
|
+
"nzh": "1.0.8",
|
|
138
|
+
"qiankun": "^2.10.16",
|
|
129
139
|
"qrcode": "^1.5.1",
|
|
130
140
|
"qs": "6.10.3",
|
|
131
|
-
"
|
|
141
|
+
"socket.io-client": "4.5.1",
|
|
142
|
+
"sortablejs": "^1.8.4",
|
|
132
143
|
"spark-md5": "^3.0.1",
|
|
133
144
|
"swiper": "4.0.7",
|
|
134
145
|
"vue": "2.6.12",
|
|
146
|
+
"vue-echarts": "6.0.0",
|
|
135
147
|
"vue-i18n": "^8.22.2",
|
|
136
148
|
"vue-ls": "^4.2.0",
|
|
137
149
|
"vue-router": "3.0.2",
|
|
150
|
+
"vuedraggable": "2.24.3",
|
|
138
151
|
"vuex": "3.1.0",
|
|
139
152
|
"vxe-table": "3.5.9",
|
|
153
|
+
"xe-utils": "3.5.2",
|
|
140
154
|
"xlsx": "^0.14.1"
|
|
141
155
|
},
|
|
142
156
|
"devDependencies": {
|
|
143
157
|
"@babel/core": "^7.12.16",
|
|
144
158
|
"@babel/eslint-parser": "^7.12.16",
|
|
145
159
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
146
|
-
"@claviska/jquery-minicolors": "2.3.6",
|
|
147
160
|
"@vue/cli-plugin-babel": "~5.0.0",
|
|
148
161
|
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
162
|
+
"@vue/cli-plugin-unit-jest": "~5.0.9",
|
|
149
163
|
"@vue/cli-service": "~5.0.0",
|
|
150
|
-
"@vue/
|
|
151
|
-
"
|
|
164
|
+
"@vue/test-utils": "^1.3.6",
|
|
165
|
+
"@vue/vue2-jest": "^27.0.0",
|
|
152
166
|
"autoprefixer": "9.5.1",
|
|
153
167
|
"babel-plugin-dynamic-import-node": "2.3.3",
|
|
154
|
-
"canvg": "3.0.10",
|
|
155
168
|
"chalk": "2.4.2",
|
|
156
|
-
"clipboard": "2.0.8",
|
|
157
169
|
"compression-webpack-plugin": "5.0.2",
|
|
158
170
|
"connect": "3.6.6",
|
|
159
|
-
"crypto-js": "^4.2.0",
|
|
160
|
-
"echarts": "5.1.2",
|
|
161
171
|
"eslint": "^7.32.0",
|
|
162
172
|
"eslint-plugin-vue": "^8.0.3",
|
|
163
|
-
"file-saver": "2.0.5",
|
|
164
173
|
"html-webpack-plugin": "~5.0.0",
|
|
165
174
|
"husky": "1.3.1",
|
|
166
|
-
"jquery": "3.6.0",
|
|
167
|
-
"jsbarcode": "3.11.5",
|
|
168
175
|
"lint-staged": "8.1.5",
|
|
169
|
-
"
|
|
176
|
+
"node-polyfill-webpack-plugin": "^4.0.0",
|
|
170
177
|
"plop": "2.3.0",
|
|
171
178
|
"postcss": "^8.2.8",
|
|
172
179
|
"postcss-loader": "^4.0.4",
|
|
@@ -174,15 +181,11 @@
|
|
|
174
181
|
"sass": "^1.32.7",
|
|
175
182
|
"sass-loader": "^12.0.0",
|
|
176
183
|
"serve-static": "1.13.2",
|
|
177
|
-
"socket.io-client": "4.5.1",
|
|
178
184
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
179
185
|
"svg-sprite-loader": "^6.0.11",
|
|
180
186
|
"svgo": "1.2.0",
|
|
181
|
-
"vue-echarts": "6.0.0",
|
|
182
187
|
"vue-template-compiler": "2.6.12",
|
|
183
|
-
"
|
|
184
|
-
"webpack-bundle-analyzer": "^4.9.1",
|
|
185
|
-
"xe-utils": "3.5.2"
|
|
188
|
+
"webpack-bundle-analyzer": "^4.9.1"
|
|
186
189
|
},
|
|
187
190
|
"eslintConfig": {
|
|
188
191
|
"root": true,
|
|
@@ -206,6 +209,7 @@
|
|
|
206
209
|
"src/components/advancedSearchDialog",
|
|
207
210
|
"src/components/baseAlert",
|
|
208
211
|
"src/components/baseAttachment",
|
|
212
|
+
"src/components/baseArea",
|
|
209
213
|
"src/components/baseInputBatch",
|
|
210
214
|
"src/components/baseInputExport",
|
|
211
215
|
"src/components/baseInputNumber",
|
|
@@ -225,6 +229,7 @@
|
|
|
225
229
|
"src/components/jdPrint",
|
|
226
230
|
"src/components/jsonImport",
|
|
227
231
|
"src/components/langImport",
|
|
232
|
+
"src/components/micro-view-host",
|
|
228
233
|
"src/components/mobile",
|
|
229
234
|
"src/components/onlineTalk",
|
|
230
235
|
"src/components/oplogTable",
|
|
@@ -266,10 +271,12 @@
|
|
|
266
271
|
"src/router",
|
|
267
272
|
"src/permission.js",
|
|
268
273
|
"src/index.js",
|
|
274
|
+
"src/public-path.js",
|
|
275
|
+
"src/microRouter",
|
|
269
276
|
"src/App.vue"
|
|
270
277
|
],
|
|
271
278
|
"publishConfig": {
|
|
272
279
|
"access": "public",
|
|
273
280
|
"registry": "https://registry.npmjs.org/"
|
|
274
281
|
}
|
|
275
|
-
}
|
|
282
|
+
}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dialog
|
|
4
|
+
ref="privateProfileDialog"
|
|
5
|
+
:title="title"
|
|
6
|
+
:visible.sync="showDialog"
|
|
7
|
+
v-if="showDialog"
|
|
8
|
+
:append-to-body="true"
|
|
9
|
+
:close-on-click-modal="false"
|
|
10
|
+
width="1102px"
|
|
11
|
+
custom-class="dialog-style drag-space"
|
|
12
|
+
:destroy-on-close="true"
|
|
13
|
+
@close="handleClose"
|
|
14
|
+
v-el-drag-dialog
|
|
15
|
+
top="0px"
|
|
16
|
+
>
|
|
17
|
+
<div id="containt1">
|
|
18
|
+
<div v-show="title!='' && title !== null && title !== undefined" style="overflow: hidden;" class="flex">
|
|
19
|
+
<div class="tree-box tree-annex fl">
|
|
20
|
+
<div class="tit"><b>{{ title }}</b></div>
|
|
21
|
+
<div class="tree-form">
|
|
22
|
+
<el-input placeholder="请输入文件夹名称" v-model="filterText" class="txt">
|
|
23
|
+
<el-button slot="append" icon="el-icon-search"></el-button>
|
|
24
|
+
</el-input>
|
|
25
|
+
</div>
|
|
26
|
+
<el-tree
|
|
27
|
+
v-if="treeFlag"
|
|
28
|
+
:props="defaultProps"
|
|
29
|
+
:load="loadNode"
|
|
30
|
+
node-key="id"
|
|
31
|
+
ref="tree"
|
|
32
|
+
lazy
|
|
33
|
+
:filter-node-method="filterNode"
|
|
34
|
+
:expand-on-click-node="false"
|
|
35
|
+
@node-click="handleNodeClick"
|
|
36
|
+
class="tree-list"
|
|
37
|
+
icon-class="el-icon-arrow-down"
|
|
38
|
+
>
|
|
39
|
+
<span class="el-tree-node__label" slot-scope="{ node, data }" v-if="!node.data.moreBtn">
|
|
40
|
+
<i class="ico-wenjian"></i>
|
|
41
|
+
<span>{{ node.label }}</span>
|
|
42
|
+
</span>
|
|
43
|
+
<span v-else class="el-tree-node__label">
|
|
44
|
+
<el-button type="primary" plain class="button-sty">{{ node.label }}</el-button>
|
|
45
|
+
</span>
|
|
46
|
+
</el-tree>
|
|
47
|
+
</div>
|
|
48
|
+
<label id="labBtn">
|
|
49
|
+
<div class="icon">
|
|
50
|
+
<i class="el-icon-more"></i>
|
|
51
|
+
<i class="el-icon-more"></i>
|
|
52
|
+
</div>
|
|
53
|
+
</label>
|
|
54
|
+
<div class="main-right file-library fr" style="overflow: hidden;">
|
|
55
|
+
<div class="annex-filter" v-if="isBillEnabled">
|
|
56
|
+
<el-button slot="append" icon="el-icon-search" @click="openBillDialog" size="mini" class="an-btn-search"
|
|
57
|
+
type="success"></el-button>
|
|
58
|
+
<div class="abox">
|
|
59
|
+
<div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"><span>{{
|
|
60
|
+
getBillLabel(checkBillData)
|
|
61
|
+
}}</span><i
|
|
62
|
+
class="el-icon-close" @click="deleteBillData(index)"></i></div>
|
|
63
|
+
</div>
|
|
64
|
+
<el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">全部删除
|
|
65
|
+
</el-button>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="annex-screen"
|
|
68
|
+
v-if="fileObjAuth.downloadAuth">
|
|
69
|
+
<el-button type="primary" class="button-sty" icon="el-icon-download" @click.native="mulDownload2"
|
|
70
|
+
v-if="fileObjAuth.downloadAuth">下载
|
|
71
|
+
</el-button>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="line"
|
|
74
|
+
v-if="fileObjAuth.downloadAuth"></div>
|
|
75
|
+
<div class="annex-crumbs">
|
|
76
|
+
<span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
|
|
77
|
+
<span class="tit" style="padding-right: 0;">指定路径:</span>
|
|
78
|
+
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
79
|
+
<el-breadcrumb-item v-for="treeNode in treeNodeArr" :key="treeNode.id" @click.native="doNav(treeNode)">
|
|
80
|
+
{{
|
|
81
|
+
treeNode.label
|
|
82
|
+
}}
|
|
83
|
+
</el-breadcrumb-item>
|
|
84
|
+
</el-breadcrumb>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="grid-height viewBox">
|
|
87
|
+
<div class="annex-searchBox">
|
|
88
|
+
<div class="fl">
|
|
89
|
+
<div class="oper">
|
|
90
|
+
<el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
|
|
91
|
+
:indeterminate="checkAllIndeterminate">已选中 {{
|
|
92
|
+
checkList.length
|
|
93
|
+
}} 项
|
|
94
|
+
</el-checkbox>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="search-box">
|
|
97
|
+
<template v-if="currentFileCategory && currentFileCategory.id">
|
|
98
|
+
<el-input placeholder="请输入文件名" v-model="formData.fileName" clearable>
|
|
99
|
+
<el-button slot="append" icon="el-icon-search" @click="searchEvent"></el-button>
|
|
100
|
+
</el-input>
|
|
101
|
+
<el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">筛选
|
|
102
|
+
</el-button>
|
|
103
|
+
</template>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
</div>
|
|
107
|
+
<div class="fr">
|
|
108
|
+
<el-button type="primary" icon="iconfont icon-icmenu2" @click="changeShowType()"
|
|
109
|
+
class="button-sty icon-btn"
|
|
110
|
+
v-show="showType==1">列表
|
|
111
|
+
</el-button>
|
|
112
|
+
<el-button type="primary" style="margin-left:0;" icon="el-icon-menu" @click="changeShowType()"
|
|
113
|
+
class="button-sty icon-btn"
|
|
114
|
+
v-show="showType==2">图示
|
|
115
|
+
</el-button>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="mask" v-show="is_show_mask">
|
|
119
|
+
</div>
|
|
120
|
+
<div class="containter1" ref="containter1" v-show="showType==1" style="overflow: auto;">
|
|
121
|
+
<div class="annex-piclist">
|
|
122
|
+
<div class="clearfix">
|
|
123
|
+
<el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
|
|
124
|
+
<template v-for="(attachment,index) in page.records">
|
|
125
|
+
<li class="item" :class="checkList.includes(attachment.id) ? 'on':''" :key="index">
|
|
126
|
+
<el-checkbox :label="attachment.id" :disabled="attachment.dirs"><span></span></el-checkbox>
|
|
127
|
+
<div class="oper">
|
|
128
|
+
<a
|
|
129
|
+
href="javascript:void(0);"
|
|
130
|
+
class="a-link ico"
|
|
131
|
+
v-if="!attachment.dirs && fileObjAuth.downloadAuth"
|
|
132
|
+
@click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.fileName)"
|
|
133
|
+
>
|
|
134
|
+
<el-tooltip effect="dark" content="下载" placement="top"
|
|
135
|
+
popper-class="tooltip-skin">
|
|
136
|
+
<i class="el-icon-download"/>
|
|
137
|
+
</el-tooltip>
|
|
138
|
+
</a>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="img" @click="openPreview(attachment)" v-if="!attachment.dirs">
|
|
141
|
+
<div class="show-video" v-if="hasPreview(attachment)"><i class="icon-chakan"></i></div>
|
|
142
|
+
<div class="show-video" v-if="false"><i class="el-icon-video-play"></i></div>
|
|
143
|
+
<p><img :src="getShowUrl(attachment)"/></p>
|
|
144
|
+
</div>
|
|
145
|
+
<div class="img" @click="changeCategory(attachment)" v-if="attachment.dirs">
|
|
146
|
+
<svg-icon icon-class="ico-wenjianjia"/>
|
|
147
|
+
</div>
|
|
148
|
+
<el-tooltip :enterable="false" effect="dark" :content="attachment.fileName" placement="top">
|
|
149
|
+
<div class="txt-box">
|
|
150
|
+
<div class="tb-left"></div>
|
|
151
|
+
<div class="tb-mid">
|
|
152
|
+
<div class="txt">
|
|
153
|
+
<span class="name">{{ getFileName(attachment) }}</span><span
|
|
154
|
+
v-if="attachment.extension">.{{ attachment.extension }}</span>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="format">... .{{ attachment.extension }}</div>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
</el-tooltip>
|
|
161
|
+
</li>
|
|
162
|
+
</template>
|
|
163
|
+
</el-checkbox-group>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="vxe-grid">
|
|
166
|
+
<div class="vxe-grid--pager-wrapper">
|
|
167
|
+
<vxe-pager
|
|
168
|
+
class="pages-box"
|
|
169
|
+
:current-page.sync="page.current"
|
|
170
|
+
:page-size.sync="page.size"
|
|
171
|
+
:total="page.total"
|
|
172
|
+
:layouts="['PrevPage', 'Number', 'NextPage']"
|
|
173
|
+
@page-change="changePageNew"
|
|
174
|
+
>
|
|
175
|
+
<template #right>
|
|
176
|
+
<span>
|
|
177
|
+
<span>当前记录</span>
|
|
178
|
+
<span class="f-red"> {{ page.records.length }} </span>
|
|
179
|
+
<span>/</span>
|
|
180
|
+
<span class="f-red"> {{ page.total }}</span>
|
|
181
|
+
</span>
|
|
182
|
+
</template>
|
|
183
|
+
</vxe-pager>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="annex-grid-height">
|
|
189
|
+
<vxe-grid v-show="showType==2" ref="table-m1" v-bind="vxeOption" :data="page.records"
|
|
190
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
|
|
191
|
+
@checkbox-change="tableCheckChange"
|
|
192
|
+
@checkbox-all="tableCheckAll">
|
|
193
|
+
<template #pager>
|
|
194
|
+
<vxe-pager
|
|
195
|
+
class="pages-box"
|
|
196
|
+
:current-page.sync="page.current"
|
|
197
|
+
:page-size.sync="page.size"
|
|
198
|
+
:total="page.total"
|
|
199
|
+
:layouts="['PrevPage', 'Number', 'NextPage']"
|
|
200
|
+
@page-change="changePageNew"
|
|
201
|
+
>
|
|
202
|
+
<template #right>
|
|
203
|
+
<span>
|
|
204
|
+
<span>当前记录</span>
|
|
205
|
+
<span class="f-red"> {{ page.records.length }} </span>
|
|
206
|
+
<span>/</span>
|
|
207
|
+
<span class="f-red"> {{ page.total }}</span>
|
|
208
|
+
</span>
|
|
209
|
+
</template>
|
|
210
|
+
</vxe-pager>
|
|
211
|
+
</template>
|
|
212
|
+
</vxe-grid>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<span slot="footer" class="dialog-footer">
|
|
219
|
+
<el-button type="primary" plain class="button-sty" @click="handleClose">
|
|
220
|
+
<i class="el-icon-close el-icon"></i>
|
|
221
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
222
|
+
</el-button>
|
|
223
|
+
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
224
|
+
<i class="el-icon-check el-icon"></i>
|
|
225
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
|
226
|
+
</el-button>
|
|
227
|
+
</span>
|
|
228
|
+
</el-dialog>
|
|
229
|
+
<el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
|
|
230
|
+
:url-list="imageDTOs"/>
|
|
231
|
+
<advancedSearchDialog v-if="showAdvancedSearch" :visiable.sync="showAdvancedSearch"
|
|
232
|
+
:formData.sync="advancedFormData" @confirm="searchEvent">
|
|
233
|
+
<template #form>
|
|
234
|
+
<vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
|
|
235
|
+
<vxe-form-item title="属性名称:">
|
|
236
|
+
<template v-slot>
|
|
237
|
+
<el-input v-model="advancedFormData.attributeName" clearable/>
|
|
238
|
+
</template>
|
|
239
|
+
</vxe-form-item>
|
|
240
|
+
<vxe-form-item title="属性值:">
|
|
241
|
+
<template v-slot>
|
|
242
|
+
<el-input v-model="advancedFormData.attributeValue" clearable/>
|
|
243
|
+
</template>
|
|
244
|
+
</vxe-form-item>
|
|
245
|
+
<!-- <vxe-form-item title="状态:">
|
|
246
|
+
<template v-slot>
|
|
247
|
+
<el-select v-model="advancedFormData.status" clearable>
|
|
248
|
+
<el-option :value="0" label="未归档"></el-option>
|
|
249
|
+
<el-option :value="1" label="已归档"></el-option>
|
|
250
|
+
</el-select>
|
|
251
|
+
</template>
|
|
252
|
+
</vxe-form-item>-->
|
|
253
|
+
<vxe-form-item title="说明:" class-name="block">
|
|
254
|
+
<template v-slot>
|
|
255
|
+
<el-input v-model="advancedFormData.note" clearable/>
|
|
256
|
+
</template>
|
|
257
|
+
</vxe-form-item>
|
|
258
|
+
<vxe-form-item title="创建时间:">
|
|
259
|
+
<template v-slot>
|
|
260
|
+
<el-date-picker
|
|
261
|
+
v-model="advancedFormData.startTime"
|
|
262
|
+
type="date"
|
|
263
|
+
placeholder=""
|
|
264
|
+
size="small"
|
|
265
|
+
clearable
|
|
266
|
+
value-format="yyyy-MM-dd"
|
|
267
|
+
:picker-options="$baseStartPickerOptions(advancedFormData.endTime)"
|
|
268
|
+
></el-date-picker>
|
|
269
|
+
<span>-</span>
|
|
270
|
+
<el-date-picker
|
|
271
|
+
v-model="advancedFormData.endTime"
|
|
272
|
+
type="date"
|
|
273
|
+
placeholder=""
|
|
274
|
+
size="small"
|
|
275
|
+
clearable
|
|
276
|
+
value-format="yyyy-MM-dd"
|
|
277
|
+
:picker-options="$baseEndPickerOptions(advancedFormData.startTime)"
|
|
278
|
+
></el-date-picker>
|
|
279
|
+
</template>
|
|
280
|
+
</vxe-form-item>
|
|
281
|
+
</vxe-form>
|
|
282
|
+
</template>
|
|
283
|
+
</advancedSearchDialog>
|
|
284
|
+
</div>
|
|
285
|
+
</template>
|
|
286
|
+
|
|
287
|
+
<script>
|
|
288
|
+
import mixins from './mixins/fileLibraryDialog'
|
|
289
|
+
|
|
290
|
+
export default {
|
|
291
|
+
mixins: [mixins]
|
|
292
|
+
};
|
|
293
|
+
</script>
|
|
294
|
+
<style lang="scss" scoped>
|
|
295
|
+
|
|
296
|
+
</style>
|
|
@@ -2,13 +2,15 @@ const moudule = {};
|
|
|
2
2
|
import vue from "vue";
|
|
3
3
|
import objView from './index.vue';
|
|
4
4
|
import {openObsUploadDialog} from "@base/components/obsUpload/index.js"
|
|
5
|
+
import fileLibraryDialog from './fileLibraryDialog.vue'
|
|
5
6
|
|
|
6
7
|
let configUtil = {
|
|
7
8
|
vue,
|
|
8
9
|
objView
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
const objInstance =
|
|
12
|
+
const objInstance = vue.extend(configUtil.objView);
|
|
13
|
+
const fileLibraryDialogInstance = vue.extend(fileLibraryDialog);
|
|
12
14
|
const initInstance = (containter) => {
|
|
13
15
|
// 实例化vue实例
|
|
14
16
|
let currentInstance = new objInstance({i18n: window.$vueRoot._i18n});
|
|
@@ -16,6 +18,16 @@ const initInstance = (containter) => {
|
|
|
16
18
|
containter.appendChild(dom);
|
|
17
19
|
return currentInstance;
|
|
18
20
|
};
|
|
21
|
+
const initFileLibraryDialogInstance = (containter, options = {}) => {
|
|
22
|
+
// 实例化vue实例
|
|
23
|
+
let currentInstance = new fileLibraryDialogInstance({
|
|
24
|
+
i18n: window.$vueRoot._i18n,
|
|
25
|
+
propsData: options
|
|
26
|
+
});
|
|
27
|
+
let dom = currentInstance.$mount().$el;
|
|
28
|
+
containter.appendChild(dom);
|
|
29
|
+
return currentInstance;
|
|
30
|
+
};
|
|
19
31
|
|
|
20
32
|
function toDo(options) {
|
|
21
33
|
let model = window.$vueRoot.$store.getters.fileServerInfo?.model;
|
|
@@ -33,6 +45,12 @@ function toDo(options) {
|
|
|
33
45
|
|
|
34
46
|
};
|
|
35
47
|
|
|
48
|
+
function openFileLibrary(options = {}) {
|
|
49
|
+
let containter = document.body;
|
|
50
|
+
let currentInstance = initFileLibraryDialogInstance(containter, options);
|
|
51
|
+
return currentInstance.handleShow(options);
|
|
52
|
+
};
|
|
53
|
+
|
|
36
54
|
function toDo2(options) {
|
|
37
55
|
let containter = document.body;
|
|
38
56
|
let currentInstance = initInstance(containter);
|
|
@@ -46,8 +64,10 @@ moudule.install = function (Vue) {
|
|
|
46
64
|
// 在Vue的原型上添加实例方法,以全局调用
|
|
47
65
|
Vue.prototype.$baseUpload = {
|
|
48
66
|
open: toDo,
|
|
49
|
-
upload: toDo2
|
|
67
|
+
upload: toDo2,
|
|
68
|
+
|
|
50
69
|
}
|
|
70
|
+
Vue.prototype.$openFileLibraryDialog = openFileLibrary;
|
|
51
71
|
};
|
|
52
72
|
|
|
53
73
|
export default moudule;
|