cloud-web-corejs-haier 1.0.43 → 1.0.44
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 +8 -6
- package/src/api/user.js +54 -46
- package/src/components/baseAlert/index.vue +57 -53
- package/src/components/baseInputExport/index.vue +3 -3
- package/src/components/baseTabs/mixins.js +12 -1
- package/src/components/errorMsg/index.vue +78 -78
- package/src/components/excelExport/button.vue +54 -45
- package/src/components/excelExport/exportFieldDialog.vue +3 -3
- package/src/components/excelExport/index.js +1 -43
- package/src/components/excelExport/index.vue +62 -34
- package/src/components/excelExport/mixins.js +74 -87
- package/src/components/excelImport/index.js +1 -62
- package/src/components/excelImport/mixins.js +1 -774
- package/src/components/fileLibrary/index.vue +113 -33
- package/src/components/fileLibrary/propertiesDialog.vue +6 -0
- package/src/components/hiprint/view/design/index.vue +139 -47
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +69 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- package/src/components/onlineTalk/index.vue +328 -6
- package/src/components/onlineTalk/talkUserDialog.vue +280 -0
- package/src/components/wf/addTaskUserdialog.vue +5 -5
- package/src/components/wf/content.vue +1244 -1169
- package/src/components/wf/mixins/setCandidateDialog.js +228 -2
- package/src/components/wf/mixins/setCandidateDialog2.js +115 -100
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
- package/src/components/wf/setCandidateDialog.vue +5 -7
- package/src/components/wf/setCandidateDialog2.vue +14 -10
- package/src/components/wf/wf.js +527 -411
- package/src/components/wf/wfTaskUserRangeDialog.vue +1 -1
- package/src/components/wf/wfUtil.js +129 -91
- package/src/components/xform/form-designer/designer.js +1994 -9
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +10 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1756 -2
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1630 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +153 -40
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +65 -46
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +231 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +7 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +659 -221
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +18 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +26 -26
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +67 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showViewButton-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +8 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +20 -17
- package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
- package/src/components/xform/form-render/container-item/sub-form-item.vue +10 -2
- package/src/components/xform/form-render/container-item/table2-item.vue +40 -10
- package/src/components/xform/form-render/indexMixin.js +3705 -1
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/components/xform/lang/zh-CN.js +2 -1
- package/src/components/xform/mixins/defaultHandle.js +366 -2
- package/src/components/xform/utils/formula-util.js +3 -0
- package/src/components/xform/utils/sfc-generator.js +2 -2
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/tableColumnHelper.js +54 -10
- package/src/components/xform/utils/util.js +1547 -1
- package/src/index.js +190 -211
- package/src/lang/locale/en/login.js +26 -19
- package/src/lang/locale/zh/login.js +25 -19
- package/src/layout/components/Sidebar/default.vue +252 -71
- package/src/layout/components/Sidebar/index.vue +6 -1
- package/src/layout/components/TagsView/index.vue +6 -0
- package/src/layout/components/langTool.vue +32 -29
- package/src/layout/defaultLayout.vue +16 -8
- package/src/layout/index.vue +5 -3
- package/src/permission.js +135 -1
- package/src/router/index.js +1 -4
- package/src/store/config/index.js +667 -1
- package/src/store/getters.js +2 -1
- package/src/store/modules/permission.js +332 -1
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +190 -1
- package/src/store/modules/user.js +358 -1
- package/src/utils/aes.js +15 -1
- package/src/utils/auth.js +27 -1
- package/src/utils/componentDialog.js +217 -0
- package/src/utils/request.js +368 -1
- package/src/utils/vab.js +1256 -7
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +125 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +539 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +65 -0
- package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
- package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
- package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
- package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +491 -0
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
- package/src/views/bd/setting/formVersion/tableDetailDiff.js +99 -0
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +514 -0
- package/src/views/bd/setting/formVersion/textDiff.js +102 -0
- package/src/views/bd/setting/form_import_log/edit.vue +6 -3
- package/src/views/bd/setting/form_import_log/list.vue +5 -0
- package/src/views/bd/setting/form_script/edit.vue +196 -83
- package/src/views/bd/setting/form_script/edit1.vue +410 -220
- package/src/views/bd/setting/form_script/form_list.vue +19 -0
- package/src/views/bd/setting/form_script/list.vue +95 -21
- package/src/views/bd/setting/form_script/list1.vue +24 -0
- package/src/views/bd/setting/form_script/mixins/dialog.js +2 -2
- package/src/views/bd/setting/form_script/mixins/edit.js +265 -207
- package/src/views/bd/setting/form_script/mixins/edit1.js +259 -201
- package/src/views/bd/setting/form_script/mixins/form_list.js +322 -296
- package/src/views/bd/setting/form_script/mixins/list.js +163 -95
- package/src/views/bd/setting/form_script/mixins/list1.js +244 -155
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/edit.vue +355 -205
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
- package/src/views/bd/setting/form_template/list.vue +49 -74
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +51 -8
- package/src/views/bd/setting/form_template/mixins/itemList.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +114 -82
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -7
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
- package/src/views/bd/setting/request_setting/edit.vue +300 -300
- package/src/views/bd/setting/request_setting/list.vue +15 -25
- package/src/views/bd/setting/table_model/edit.vue +702 -498
- package/src/views/bd/setting/table_model/list.vue +28 -0
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +228 -121
- package/src/views/bd/setting/table_model/mixins/list.js +55 -20
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +50 -46
- package/src/views/bd/setting/utils/index.js +15 -0
- package/src/views/user/api_request/list.vue +203 -203
- package/src/views/user/bill_setting/list.vue +345 -345
- package/src/views/user/code_rules/list.vue +204 -204
- package/src/views/user/common_attribute/list.vue +378 -378
- package/src/views/user/common_script/list.vue +341 -341
- package/src/views/user/company_info/dialog.vue +80 -49
- package/src/views/user/country/list.vue +197 -197
- package/src/views/user/extend_datasource/dialog.vue +0 -3
- package/src/views/user/extend_datasource/edit.vue +1 -2
- package/src/views/user/extend_datasource/list.vue +221 -224
- package/src/views/user/fieldTranslation/editDialog.vue +1 -1
- package/src/views/user/fieldTranslation/list.vue +473 -473
- package/src/views/user/field_values_invisible/list.vue +207 -207
- package/src/views/user/file_type/list.vue +271 -271
- package/src/views/user/file_view_area/list.vue +331 -331
- package/src/views/user/form/vform/designer.vue +303 -287
- package/src/views/user/form/vform/formFieldMapping.js +2 -3
- package/src/views/user/form/view/edit.vue +19 -1
- package/src/views/user/form/view/list.vue +59 -17
- package/src/views/user/groups/list.vue +158 -158
- package/src/views/user/home/default.vue +274 -182
- package/src/views/user/home/default2.vue +1148 -0
- package/src/views/user/home/index.vue +2 -1
- package/src/views/user/lang_tag/list.vue +170 -170
- package/src/views/user/language_setting/list.vue +208 -208
- package/src/views/user/ledger_library/list.vue +12 -10
- package/src/views/user/login/default.vue +1 -1
- package/src/views/user/login/indexMixin.js +204 -169
- package/src/views/user/menu/list.vue +575 -575
- package/src/views/user/notify_message/dialog.vue +7 -1
- package/src/views/user/notify_template/list.vue +192 -192
- package/src/views/user/notify_template/list2.vue +190 -190
- package/src/views/user/position/list.vue +188 -188
- package/src/views/user/project_tag/list.vue +175 -175
- package/src/views/user/push_setting/list.vue +236 -236
- package/src/views/user/request_setting/list.vue +248 -248
- package/src/views/user/role/list.vue +182 -182
- package/src/views/user/system_notice/infoDialog.vue +61 -2
- package/src/views/user/system_notice/list.vue +203 -203
- package/src/views/user/system_parameter/list.vue +141 -141
- package/src/views/user/user/edit.vue +45 -0
- package/src/views/user/user/form_list.vue +245 -245
- package/src/views/user/user/info.vue +253 -140
- package/src/views/user/user_log_classify/list.vue +197 -197
- package/src/views/user/wf/iframe/index.vue +46 -46
- package/src/views/user/wf/wfReport/index.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +659 -659
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list.vue +795 -795
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +106 -106
- package/src/views/user/wf/wf_obj_config/dialog.vue +2 -2
- package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit_form.vue +2 -2
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemOperateDialog.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list.vue +28 -28
- package/src/views/user/wf/wf_obj_config/list_form.vue +5 -5
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -292
- package/src/views/user/wf/wf_param/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +321 -319
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +369 -367
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +401 -399
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +6 -6
- package/src/views/user/wf/wf_work_calendar/date.js +84 -83
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -6
- package/src/views/user/workbench_menu/list.vue +555 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloud-web-corejs-haier",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.44",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vue-cli-service serve",
|
|
7
7
|
"lint": "eslint --ext .js,.vue src",
|
|
@@ -25,17 +25,18 @@
|
|
|
25
25
|
"copy-webpack-plugin": "5.1.2",
|
|
26
26
|
"core-js": "^3.8.3",
|
|
27
27
|
"dayjs": "^1.11.13",
|
|
28
|
-
"dhtmlx-gantt": "^9.1.
|
|
28
|
+
"dhtmlx-gantt": "^9.1.1",
|
|
29
29
|
"element-ui": "^2.15.14",
|
|
30
30
|
"esdk-obs-browserjs": "^3.25.6",
|
|
31
|
+
"exceljs": "^4.4.0",
|
|
32
|
+
"FileSaver": "^0.10.0",
|
|
31
33
|
"html2canvas": "^1.4.1",
|
|
32
34
|
"js-base64": "^3.7.7",
|
|
33
35
|
"js-cookie": "2.2.0",
|
|
34
36
|
"jspdf": "^3.0.1",
|
|
35
37
|
"jsqr": "^1.4.0",
|
|
36
|
-
"less": "^4.2.0",
|
|
37
|
-
"less-loader": "^7.0.1",
|
|
38
38
|
"lodash": "4.17.21",
|
|
39
|
+
"luckyexcel": "^1.0.1",
|
|
39
40
|
"moment": "2.29.4",
|
|
40
41
|
"node-polyfill-webpack-plugin": "^4.0.0",
|
|
41
42
|
"normalize.css": "7.0.0",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"vue-router": "3.0.2",
|
|
52
53
|
"vuex": "3.1.0",
|
|
53
54
|
"vxe-table": "3.5.9",
|
|
54
|
-
"xlsx": "0.14.1"
|
|
55
|
+
"xlsx": "^0.14.1"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@babel/core": "^7.12.16",
|
|
@@ -120,6 +121,7 @@
|
|
|
120
121
|
"src/components/advancedSearchDialog",
|
|
121
122
|
"src/components/baseAlert",
|
|
122
123
|
"src/components/baseAttachment",
|
|
124
|
+
"src/components/baseArea",
|
|
123
125
|
"src/components/baseInputBatch",
|
|
124
126
|
"src/components/baseInputExport",
|
|
125
127
|
"src/components/baseInputNumber",
|
|
@@ -152,6 +154,7 @@
|
|
|
152
154
|
"src/components/table",
|
|
153
155
|
"src/components/tempStorage",
|
|
154
156
|
"src/components/Tinymce",
|
|
157
|
+
"src/components/luckysheet",
|
|
155
158
|
"src/components/obsUpload",
|
|
156
159
|
"src/components/VabUpload",
|
|
157
160
|
"src/components/vb-tabs",
|
|
@@ -161,7 +164,6 @@
|
|
|
161
164
|
"src/components/xform",
|
|
162
165
|
"src/components/xhsPrint",
|
|
163
166
|
"src/components/langTag",
|
|
164
|
-
"src/components/luckysheet",
|
|
165
167
|
"src/api",
|
|
166
168
|
"src/views/bd",
|
|
167
169
|
"src/views/support",
|
package/src/api/user.js
CHANGED
|
@@ -1,107 +1,115 @@
|
|
|
1
|
-
import request from
|
|
1
|
+
import request from "@base/utils/request";
|
|
2
2
|
|
|
3
3
|
export function loginYx(option) {
|
|
4
4
|
return request({
|
|
5
|
-
url: USER_PREFIX +
|
|
6
|
-
method:
|
|
7
|
-
...option
|
|
8
|
-
})
|
|
5
|
+
url: USER_PREFIX + "/auth/login",
|
|
6
|
+
method: "post",
|
|
7
|
+
...option,
|
|
8
|
+
});
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export function getInfo(option) {
|
|
12
12
|
return request({
|
|
13
|
-
url: USER_PREFIX +
|
|
14
|
-
method:
|
|
15
|
-
...option
|
|
16
|
-
})
|
|
13
|
+
url: USER_PREFIX + "/user/currentUser",
|
|
14
|
+
method: "post",
|
|
15
|
+
...option,
|
|
16
|
+
});
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export function logout(option) {
|
|
20
20
|
return request({
|
|
21
|
-
url: USER_PREFIX +
|
|
22
|
-
method:
|
|
23
|
-
...option
|
|
24
|
-
})
|
|
21
|
+
url: USER_PREFIX + "/auth/logout",
|
|
22
|
+
method: "post",
|
|
23
|
+
...option,
|
|
24
|
+
});
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export function saveAccessMenuLog(option) {
|
|
28
28
|
return request({
|
|
29
|
-
url: USER_PREFIX +
|
|
30
|
-
method:
|
|
31
|
-
...option
|
|
32
|
-
})
|
|
29
|
+
url: USER_PREFIX + "/access_log/saveAccessMenuLog",
|
|
30
|
+
method: "post",
|
|
31
|
+
...option,
|
|
32
|
+
});
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export function getLoginTp(duration, option) {
|
|
36
36
|
return request({
|
|
37
|
-
url: USER_PREFIX +
|
|
38
|
-
method:
|
|
37
|
+
url: USER_PREFIX + "/thirdparty_auth/getTp",
|
|
38
|
+
method: "post",
|
|
39
39
|
isLoading: true,
|
|
40
|
-
data: {duration: duration},
|
|
41
|
-
...option
|
|
42
|
-
})
|
|
40
|
+
data: { duration: duration },
|
|
41
|
+
...option,
|
|
42
|
+
});
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export function loginByTp(tp, option) {
|
|
46
46
|
return request({
|
|
47
|
-
url: USER_PREFIX +
|
|
48
|
-
method:
|
|
47
|
+
url: USER_PREFIX + "/thirdparty_auth/login",
|
|
48
|
+
method: "post",
|
|
49
49
|
isLoading: true,
|
|
50
50
|
useToken: false,
|
|
51
|
-
data: {tp: tp},
|
|
52
|
-
...option
|
|
53
|
-
})
|
|
51
|
+
data: { tp: tp },
|
|
52
|
+
...option,
|
|
53
|
+
});
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export function getParameterVauleByCode(option) {
|
|
57
57
|
//初始化外部用户编码
|
|
58
58
|
return request({
|
|
59
|
-
url: USER_PREFIX +
|
|
60
|
-
method:
|
|
61
|
-
...option
|
|
59
|
+
url: USER_PREFIX + "/system_parameter/getByCode",
|
|
60
|
+
method: "post",
|
|
61
|
+
...option,
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export function languageSettingListPage(option) {
|
|
66
66
|
//获取语种
|
|
67
67
|
return request({
|
|
68
|
-
url: USER_PREFIX +
|
|
69
|
-
method:
|
|
68
|
+
url: USER_PREFIX + "/language_setting/listPage",
|
|
69
|
+
method: "post",
|
|
70
70
|
data: {
|
|
71
|
-
enabled: true
|
|
71
|
+
enabled: true,
|
|
72
72
|
},
|
|
73
|
-
...option
|
|
73
|
+
...option,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export function getBdEnv(option) {
|
|
78
78
|
return request({
|
|
79
79
|
url: USER_PREFIX + `/form_develop/getBdEnv`,
|
|
80
|
-
method:
|
|
81
|
-
...option
|
|
82
|
-
})
|
|
80
|
+
method: "post",
|
|
81
|
+
...option,
|
|
82
|
+
});
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export function getBdFlag(option) {
|
|
86
86
|
return request({
|
|
87
87
|
url: USER_PREFIX + `/form_develop/getBdFlag`,
|
|
88
|
-
method:
|
|
89
|
-
...option
|
|
90
|
-
})
|
|
88
|
+
method: "post",
|
|
89
|
+
...option,
|
|
90
|
+
});
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export function getFileServerInfo(option){
|
|
93
|
+
export function getFileServerInfo(option) {
|
|
94
94
|
return request({
|
|
95
95
|
url: USER_PREFIX + "/logic_param/getFileServerInfo",
|
|
96
96
|
method: "post",
|
|
97
|
-
...option
|
|
98
|
-
})
|
|
97
|
+
...option,
|
|
98
|
+
});
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export function getLoginConfig(option){
|
|
101
|
+
export function getLoginConfig(option) {
|
|
102
102
|
return request({
|
|
103
103
|
url: USER_PREFIX + "/login_page/readData",
|
|
104
104
|
method: "post",
|
|
105
|
-
...option
|
|
106
|
-
})
|
|
105
|
+
...option,
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function getLogicParamValue(option) {
|
|
110
|
+
return request({
|
|
111
|
+
url: USER_PREFIX + "/logic_param/getParamValue",
|
|
112
|
+
method: "post",
|
|
113
|
+
...option,
|
|
114
|
+
});
|
|
107
115
|
}
|
|
@@ -1,53 +1,57 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="!$baseEventBus.isMobile">
|
|
3
|
-
<el-dialog
|
|
4
|
-
:title="title!=null?title
|
|
5
|
-
:visible.sync="showWrap"
|
|
6
|
-
v-if="showWrap"
|
|
7
|
-
:close-on-click-modal="false"
|
|
8
|
-
width="501px"
|
|
9
|
-
custom-class="dialog-style tips-dialog warning"
|
|
10
|
-
v-el-drag-dialog
|
|
11
|
-
@close="closeDialog"
|
|
12
|
-
>
|
|
13
|
-
<div class="cont" ref="cont">
|
|
14
|
-
|
|
15
|
-
</div>
|
|
16
|
-
<span slot="footer" class="dialog-footer">
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="!$baseEventBus.isMobile">
|
|
3
|
+
<el-dialog
|
|
4
|
+
:title="title != null ? title : $t2('提示', 'components.baseAlert.title')"
|
|
5
|
+
:visible.sync="showWrap"
|
|
6
|
+
v-if="showWrap"
|
|
7
|
+
:close-on-click-modal="false"
|
|
8
|
+
width="501px"
|
|
9
|
+
custom-class="dialog-style tips-dialog warning"
|
|
10
|
+
v-el-drag-dialog
|
|
11
|
+
@close="closeDialog"
|
|
12
|
+
>
|
|
13
|
+
<div class="cont" ref="cont">
|
|
14
|
+
<p v-html="content"></p>
|
|
15
|
+
</div>
|
|
16
|
+
<span slot="footer" class="dialog-footer">
|
|
17
|
+
<input
|
|
18
|
+
type="text"
|
|
19
|
+
ref="hbtn"
|
|
20
|
+
style="position: absolute; left: -999px; top: -999px"
|
|
21
|
+
/>
|
|
22
|
+
<el-button type="primary" @click="resolve()" class="button-sty"
|
|
23
|
+
><i class="el-icon-check el-icon"></i
|
|
24
|
+
>{{ $t2("确 定", "system.button.confirm2") }}</el-button
|
|
25
|
+
>
|
|
26
|
+
</span>
|
|
27
|
+
</el-dialog>
|
|
28
|
+
</div>
|
|
29
|
+
<div v-else-if="showWrap">
|
|
30
|
+
<div class="pop-tipsBox" :style="'display: block;z-index:' + zIndex">
|
|
31
|
+
<div>
|
|
32
|
+
<i class="icon"></i>
|
|
33
|
+
<div class="cont">
|
|
34
|
+
<p class="name">
|
|
35
|
+
{{ title != null ? title : $t2("提示", "components.baseAlert.title") }}
|
|
36
|
+
</p>
|
|
37
|
+
<p class="txt" v-html="content"></p>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="btns">
|
|
40
|
+
<el-button type="primary" class="btn" @click="resolve()">{{
|
|
41
|
+
$t2("确 定", "system.button.confirm2")
|
|
42
|
+
}}</el-button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script>
|
|
50
|
+
import { mixins } from "./mixins";
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
mixins: [mixins],
|
|
54
|
+
};
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style></style>
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
<el-dropdown-menu slot="dropdown">
|
|
8
8
|
<template v-for="(item, index) in exportTemplates">
|
|
9
9
|
<el-dropdown-item
|
|
10
|
-
v-if="
|
|
10
|
+
v-if="exportTypes.includes(item.etType)"
|
|
11
11
|
icon="el-icon-upload2"
|
|
12
12
|
:command="item"
|
|
13
13
|
:key="index"
|
|
14
14
|
>
|
|
15
|
-
{{ item.etName }}
|
|
15
|
+
{{ $t1(item.etName) }}
|
|
16
16
|
</el-dropdown-item>
|
|
17
17
|
<el-dropdown-item
|
|
18
18
|
v-else-if="printTypes.includes(item.etType)"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
:command="item"
|
|
21
21
|
:key="index"
|
|
22
22
|
>
|
|
23
|
-
{{ item.etName }}
|
|
23
|
+
{{ $t1(item.etName) }}
|
|
24
24
|
</el-dropdown-item>
|
|
25
25
|
</template>
|
|
26
26
|
</el-dropdown-menu>
|
|
@@ -75,7 +75,18 @@ baseTabsMixin = {
|
|
|
75
75
|
this.currentValue = name;
|
|
76
76
|
this.$emit('input', name);
|
|
77
77
|
this.$emit('on-click', name);
|
|
78
|
-
this.getTabs()[index].$el
|
|
78
|
+
let target = this.getTabs()[index].$el;
|
|
79
|
+
let scrollContainer = Array.prototype.find.call(
|
|
80
|
+
this.$el.children,
|
|
81
|
+
item => item.classList && item.classList.contains('d-cont')
|
|
82
|
+
);
|
|
83
|
+
if (scrollContainer) {
|
|
84
|
+
let containerRect = scrollContainer.getBoundingClientRect();
|
|
85
|
+
let targetRect = target.getBoundingClientRect();
|
|
86
|
+
scrollContainer.scrollTop += targetRect.top - containerRect.top;
|
|
87
|
+
} else {
|
|
88
|
+
target.scrollIntoView();
|
|
89
|
+
}
|
|
79
90
|
}
|
|
80
91
|
},
|
|
81
92
|
watch: {
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="!$baseEventBus.isMobile">
|
|
3
|
-
<el-dialog
|
|
4
|
-
:title="title"
|
|
5
|
-
:visible.sync="showWrap"
|
|
6
|
-
v-if="showWrap"
|
|
7
|
-
:close-on-click-modal="false"
|
|
8
|
-
width="501px"
|
|
9
|
-
custom-class="dialog-style tips-dialog error"
|
|
10
|
-
:append-to-body="true"
|
|
11
|
-
:modal="false"
|
|
12
|
-
@close="closeDialog"
|
|
13
|
-
v-el-drag-dialog
|
|
14
|
-
>
|
|
15
|
-
<div class="cont">
|
|
16
|
-
<p v-if="!rmid">Error:</p>
|
|
17
|
-
<p v-if="rmid">Error({{ rmid }}):</p>
|
|
18
|
-
<template v-if="!showTextFlag">
|
|
19
|
-
<p v-html="text1"></p>
|
|
20
|
-
</template>
|
|
21
|
-
<p v-if="showTextFlag" v-html="text2"></p>
|
|
22
|
-
<a href="javascript:void(0);" @click="showTextFlag = !showTextFlag">{{
|
|
23
|
-
!showTextFlag
|
|
24
|
-
? $t2("详情", "components.errorMsg.detail")
|
|
25
|
-
: $t2("收起", "components.errorMsg.collapse")
|
|
26
|
-
}}</a>
|
|
27
|
-
</div>
|
|
28
|
-
<span slot="footer" class="dialog-footer">
|
|
29
|
-
<input
|
|
30
|
-
type="text"
|
|
31
|
-
ref="hbtn"
|
|
32
|
-
style="position: absolute; left: -999px; top: -999px"
|
|
33
|
-
/>
|
|
34
|
-
<el-button type="primary" @click="closeDialog" class="button-sty"
|
|
35
|
-
><i class="el-icon-check el-icon"></i
|
|
36
|
-
>{{ $t2("确 定", "system.button.confirm2") }}</el-button
|
|
37
|
-
>
|
|
38
|
-
</span>
|
|
39
|
-
</el-dialog>
|
|
40
|
-
</div>
|
|
41
|
-
<div v-else-if="showWrap">
|
|
42
|
-
<div class="pop-tipsBox error" :style="'display: block;z-index:' + zIndex">
|
|
43
|
-
<div>
|
|
44
|
-
<i class="icon"></i>
|
|
45
|
-
<div class="cont">
|
|
46
|
-
<p class="name">{{ title }}</p>
|
|
47
|
-
<p class="txt" v-if="!rmid">Error:</p>
|
|
48
|
-
<p class="txt" v-if="rmid">Error({{ rmid }}):</p>
|
|
49
|
-
<template v-if="!showTextFlag">
|
|
50
|
-
<p class="txt">{{ text1 }}</p>
|
|
51
|
-
</template>
|
|
52
|
-
<p class="txt" v-if="showTextFlag" v-html="text2"></p>
|
|
53
|
-
<a href="javascript:void(0);" @click="showTextFlag = !showTextFlag">{{
|
|
54
|
-
!showTextFlag
|
|
55
|
-
? $t2("详情", "components.errorMsg.detail")
|
|
56
|
-
: $t2("收起", "components.errorMsg.collapse")
|
|
57
|
-
}}</a>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="btns">
|
|
60
|
-
<el-button type="primary" class="btn" @click="closeDialog">{{
|
|
61
|
-
$t2("确 定", "system.button.confirm2")
|
|
62
|
-
}}</el-button>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</template>
|
|
68
|
-
|
|
69
|
-
<script>
|
|
70
|
-
import { mixins } from "./mixins";
|
|
71
|
-
|
|
72
|
-
export default {
|
|
73
|
-
// name: 'errorMsg',
|
|
74
|
-
mixins: [mixins],
|
|
75
|
-
};
|
|
76
|
-
</script>
|
|
77
|
-
|
|
78
|
-
<style></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="!$baseEventBus.isMobile">
|
|
3
|
+
<el-dialog
|
|
4
|
+
:title="title"
|
|
5
|
+
:visible.sync="showWrap"
|
|
6
|
+
v-if="showWrap"
|
|
7
|
+
:close-on-click-modal="false"
|
|
8
|
+
width="501px"
|
|
9
|
+
custom-class="dialog-style tips-dialog error"
|
|
10
|
+
:append-to-body="true"
|
|
11
|
+
:modal="false"
|
|
12
|
+
@close="closeDialog"
|
|
13
|
+
v-el-drag-dialog
|
|
14
|
+
>
|
|
15
|
+
<div class="cont">
|
|
16
|
+
<p v-if="!rmid">Error:</p>
|
|
17
|
+
<p v-if="rmid">Error({{ rmid }}):</p>
|
|
18
|
+
<template v-if="!showTextFlag">
|
|
19
|
+
<p v-html="text1"></p>
|
|
20
|
+
</template>
|
|
21
|
+
<p v-if="showTextFlag" v-html="text2"></p>
|
|
22
|
+
<a href="javascript:void(0);" @click="showTextFlag = !showTextFlag">{{
|
|
23
|
+
!showTextFlag
|
|
24
|
+
? $t2("详情", "components.errorMsg.detail")
|
|
25
|
+
: $t2("收起", "components.errorMsg.collapse")
|
|
26
|
+
}}</a>
|
|
27
|
+
</div>
|
|
28
|
+
<span slot="footer" class="dialog-footer">
|
|
29
|
+
<input
|
|
30
|
+
type="text"
|
|
31
|
+
ref="hbtn"
|
|
32
|
+
style="position: absolute; left: -999px; top: -999px"
|
|
33
|
+
/>
|
|
34
|
+
<el-button type="primary" @click="closeDialog" class="button-sty"
|
|
35
|
+
><i class="el-icon-check el-icon"></i
|
|
36
|
+
>{{ $t2("确 定", "system.button.confirm2") }}</el-button
|
|
37
|
+
>
|
|
38
|
+
</span>
|
|
39
|
+
</el-dialog>
|
|
40
|
+
</div>
|
|
41
|
+
<div v-else-if="showWrap">
|
|
42
|
+
<div class="pop-tipsBox error" :style="'display: block;z-index:' + zIndex">
|
|
43
|
+
<div>
|
|
44
|
+
<i class="icon"></i>
|
|
45
|
+
<div class="cont">
|
|
46
|
+
<p class="name">{{ title }}</p>
|
|
47
|
+
<p class="txt" v-if="!rmid">Error:</p>
|
|
48
|
+
<p class="txt" v-if="rmid">Error({{ rmid }}):</p>
|
|
49
|
+
<template v-if="!showTextFlag">
|
|
50
|
+
<p class="txt">{{ text1 }}</p>
|
|
51
|
+
</template>
|
|
52
|
+
<p class="txt" v-if="showTextFlag" v-html="text2"></p>
|
|
53
|
+
<a href="javascript:void(0);" @click="showTextFlag = !showTextFlag">{{
|
|
54
|
+
!showTextFlag
|
|
55
|
+
? $t2("详情", "components.errorMsg.detail")
|
|
56
|
+
: $t2("收起", "components.errorMsg.collapse")
|
|
57
|
+
}}</a>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="btns">
|
|
60
|
+
<el-button type="primary" class="btn" @click="closeDialog">{{
|
|
61
|
+
$t2("确 定", "system.button.confirm2")
|
|
62
|
+
}}</el-button>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script>
|
|
70
|
+
import { mixins } from "./mixins";
|
|
71
|
+
|
|
72
|
+
export default {
|
|
73
|
+
// name: 'errorMsg',
|
|
74
|
+
mixins: [mixins],
|
|
75
|
+
};
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<style></style>
|