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
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<div class="clearfix screen-btns">
|
|
28
28
|
<div class="fr">
|
|
29
29
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
-
plain>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</template>
|
|
27
27
|
<template #buttonRight>
|
|
28
28
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
29
|
-
plain>{{ $t1('
|
|
29
|
+
plain>{{ $t1('刷新') }}
|
|
30
30
|
</vxe-button>
|
|
31
31
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
32
32
|
{{ $t1('搜索') }}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
type="text"
|
|
85
85
|
status="primary"
|
|
86
86
|
plain
|
|
87
|
-
>{{ $t1("
|
|
87
|
+
>{{ $t1("刷新") }}
|
|
88
88
|
</vxe-button>
|
|
89
89
|
<vxe-button
|
|
90
90
|
status="warning"
|
|
@@ -111,7 +111,7 @@ import { treeScollx } from "@base/utils/global.js";
|
|
|
111
111
|
import tableForm from "@base/components/table/tableForm";
|
|
112
112
|
|
|
113
113
|
export default {
|
|
114
|
-
name: "user:
|
|
114
|
+
name: "user:list",
|
|
115
115
|
props: {
|
|
116
116
|
userType: {
|
|
117
117
|
type: Number,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<div class="fr">
|
|
22
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
23
|
-
plain>{{ $t1('
|
|
23
|
+
plain>{{ $t1('刷新') }}
|
|
24
24
|
</vxe-button>
|
|
25
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
26
|
{{ $t1('搜索') }}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script>
|
|
16
|
+
import { loadViewComponent } from "@base/utils/resolveViewComponent";
|
|
16
17
|
export default {
|
|
17
18
|
data() {
|
|
18
19
|
return {
|
|
@@ -36,7 +37,11 @@ export default {
|
|
|
36
37
|
this.wfDataId = !id || typeof id == 'object' ? 0 : id;
|
|
37
38
|
// this.showWfDialog = true;
|
|
38
39
|
this.showWfContent = true;
|
|
39
|
-
|
|
40
|
+
let res = loadViewComponent(url);
|
|
41
|
+
if (res.kind === "remote") {
|
|
42
|
+
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
43
|
+
}
|
|
44
|
+
this.wfContent = res.component;
|
|
40
45
|
|
|
41
46
|
}
|
|
42
47
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script>
|
|
15
|
+
import { loadViewComponent } from "@base/utils/resolveViewComponent";
|
|
15
16
|
export default {
|
|
16
17
|
data() {
|
|
17
18
|
return {
|
|
@@ -34,7 +35,11 @@ export default {
|
|
|
34
35
|
}
|
|
35
36
|
let url = purl + '.vue';
|
|
36
37
|
this.showWfContent = true;
|
|
37
|
-
|
|
38
|
+
let res = loadViewComponent(url);
|
|
39
|
+
if (res.kind === "remote") {
|
|
40
|
+
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
41
|
+
}
|
|
42
|
+
this.wfContent = res.component;
|
|
38
43
|
|
|
39
44
|
},
|
|
40
45
|
login() {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
@click="resetEvent"
|
|
100
100
|
icon="el-icon-brush"
|
|
101
101
|
>
|
|
102
|
-
{{ $t1("
|
|
102
|
+
{{ $t1("刷新") }}
|
|
103
103
|
</el-button>
|
|
104
104
|
<el-button
|
|
105
105
|
type="warning"
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
</div>
|
|
164
164
|
<div class="fr">
|
|
165
165
|
<!-- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
166
|
-
plain>{{ $t1('
|
|
166
|
+
plain>{{ $t1('刷新') }}
|
|
167
167
|
</vxe-button>
|
|
168
168
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
169
169
|
{{ $t1('搜索') }}
|
|
@@ -520,6 +520,10 @@ export default {
|
|
|
520
520
|
background: none;
|
|
521
521
|
padding: 10px 0 0;
|
|
522
522
|
box-shadow: none;
|
|
523
|
+
display:flex;flex-direction: column;
|
|
524
|
+
> .el-row{flex:1;
|
|
525
|
+
> .el-col{height:100%;}
|
|
526
|
+
}
|
|
523
527
|
}
|
|
524
528
|
.filter-btns {
|
|
525
529
|
.f-btn {
|
|
@@ -580,12 +584,13 @@ export default {
|
|
|
580
584
|
}
|
|
581
585
|
}
|
|
582
586
|
::v-deep .box-style1 {
|
|
583
|
-
margin: 10px 5px 0;
|
|
587
|
+
margin: 10px 5px 0;height:calc(100% - 10px);display:flex;flex-direction:column;
|
|
584
588
|
.el-card__body {
|
|
585
|
-
height:
|
|
589
|
+
flex:1;min-height:0;
|
|
586
590
|
}
|
|
587
591
|
}
|
|
588
592
|
.node-box {
|
|
593
|
+
height:100%;overflow:auto;display:flex;flex-direction: column;
|
|
589
594
|
.info {
|
|
590
595
|
border: solid 1px #e6ebf5;
|
|
591
596
|
background: #f6faff;
|
|
@@ -602,18 +607,19 @@ export default {
|
|
|
602
607
|
position: absolute;
|
|
603
608
|
right: 12px;
|
|
604
609
|
top: 50%;
|
|
605
|
-
margin-top: -14px;
|
|
610
|
+
margin-top: -14px !important;
|
|
606
611
|
}
|
|
607
612
|
.tit {
|
|
608
613
|
font-size: 13px;
|
|
609
614
|
color: #212121;
|
|
610
615
|
margin-bottom: 5px;
|
|
616
|
+
margin-top:0;
|
|
611
617
|
}
|
|
612
618
|
}
|
|
613
619
|
.el-steps {
|
|
614
|
-
height: calc(100vh - 326px);
|
|
615
620
|
overflow: auto;
|
|
616
621
|
padding-right: 10px;
|
|
622
|
+
flex:1;
|
|
617
623
|
}
|
|
618
624
|
}
|
|
619
625
|
</style>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</div>
|
|
45
45
|
<div class="fr">
|
|
46
46
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
47
|
-
plain>{{ $t1('
|
|
47
|
+
plain>{{ $t1('刷新') }}
|
|
48
48
|
</vxe-button>
|
|
49
49
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
50
50
|
{{ $t1('搜索') }}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<div class="fr">
|
|
148
148
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent2" type="text"
|
|
149
149
|
status="primary"
|
|
150
|
-
plain>{{ $t1('
|
|
150
|
+
plain>{{ $t1('刷新') }}
|
|
151
151
|
</vxe-button>
|
|
152
152
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent2">
|
|
153
153
|
{{ $t1('搜索') }}
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
:_viewType="1"
|
|
13
13
|
@reload="$reloadHandle"
|
|
14
14
|
></component>
|
|
15
|
+
<micro-view-host
|
|
16
|
+
v-else-if="showWfContent && remoteView"
|
|
17
|
+
:owner="remoteView.owner"
|
|
18
|
+
:target-path="remoteView.targetPath"
|
|
19
|
+
:biz-params="remoteView.bizParams"
|
|
20
|
+
:view-meta="remoteView.viewMeta"
|
|
21
|
+
@reload="$reloadHandle"
|
|
22
|
+
@close="showWfContent = false"
|
|
23
|
+
></micro-view-host>
|
|
15
24
|
</el-tab-pane>
|
|
16
25
|
<el-tab-pane :label="$t1('我的流程')" name="second">
|
|
17
26
|
<div class="tree-box fl">
|
|
@@ -49,7 +58,10 @@
|
|
|
49
58
|
<div class="clearfix screen-btns">
|
|
50
59
|
<div class="fl">
|
|
51
60
|
<base-table-export
|
|
52
|
-
:option="{
|
|
61
|
+
:option="{
|
|
62
|
+
title: $t1('流程待办导出'),
|
|
63
|
+
targetRef: 'table-m1',
|
|
64
|
+
}"
|
|
53
65
|
:parent-target="_self"
|
|
54
66
|
/>
|
|
55
67
|
</div>
|
|
@@ -61,7 +73,7 @@
|
|
|
61
73
|
type="text"
|
|
62
74
|
status="primary"
|
|
63
75
|
plain
|
|
64
|
-
>{{ $t1("
|
|
76
|
+
>{{ $t1("刷新") }}
|
|
65
77
|
</vxe-button>
|
|
66
78
|
<vxe-button
|
|
67
79
|
status="warning"
|
|
@@ -84,15 +96,26 @@
|
|
|
84
96
|
>
|
|
85
97
|
<vxe-form-item :title="$t1('待办类型') + ':'">
|
|
86
98
|
<template v-slot>
|
|
87
|
-
<el-input
|
|
99
|
+
<el-input
|
|
100
|
+
v-model="checkNodeData.label"
|
|
101
|
+
size="small"
|
|
102
|
+
disabled
|
|
103
|
+
/>
|
|
88
104
|
</template>
|
|
89
105
|
</vxe-form-item>
|
|
90
106
|
<vxe-form-item :title="$t1('流程主题') + ':'" field="name">
|
|
91
107
|
<template v-slot>
|
|
92
|
-
<el-input
|
|
108
|
+
<el-input
|
|
109
|
+
v-model="formData.name"
|
|
110
|
+
size="small"
|
|
111
|
+
clearable
|
|
112
|
+
/>
|
|
93
113
|
</template>
|
|
94
114
|
</vxe-form-item>
|
|
95
|
-
<vxe-form-item
|
|
115
|
+
<vxe-form-item
|
|
116
|
+
:title="$t1('单据类型') + ':'"
|
|
117
|
+
field="objTypeName"
|
|
118
|
+
>
|
|
96
119
|
<template v-slot>
|
|
97
120
|
<el-input
|
|
98
121
|
class="search-input"
|
|
@@ -116,15 +139,31 @@
|
|
|
116
139
|
<vxe-form-item :title="$t1('流程状态') + ':'" field="stat">
|
|
117
140
|
<template v-slot>
|
|
118
141
|
<el-select v-model="formData.stat" clearable>
|
|
119
|
-
<el-option
|
|
120
|
-
|
|
121
|
-
|
|
142
|
+
<el-option
|
|
143
|
+
:value="1"
|
|
144
|
+
:label="$t1('审核中')"
|
|
145
|
+
></el-option>
|
|
146
|
+
<el-option
|
|
147
|
+
:value="2"
|
|
148
|
+
:label="$t1('已完成')"
|
|
149
|
+
></el-option>
|
|
150
|
+
<el-option
|
|
151
|
+
:value="3"
|
|
152
|
+
:label="$t1('已驳回')"
|
|
153
|
+
></el-option>
|
|
122
154
|
</el-select>
|
|
123
155
|
</template>
|
|
124
156
|
</vxe-form-item>
|
|
125
|
-
<vxe-form-item
|
|
157
|
+
<vxe-form-item
|
|
158
|
+
:title="$t1('启动人') + ':'"
|
|
159
|
+
field="starterName"
|
|
160
|
+
>
|
|
126
161
|
<template v-slot>
|
|
127
|
-
<el-input
|
|
162
|
+
<el-input
|
|
163
|
+
v-model="formData.starterName"
|
|
164
|
+
size="small"
|
|
165
|
+
clearable
|
|
166
|
+
/>
|
|
128
167
|
</template>
|
|
129
168
|
</vxe-form-item>
|
|
130
169
|
<vxe-form-item title="启动时间:">
|
|
@@ -136,7 +175,9 @@
|
|
|
136
175
|
size="small"
|
|
137
176
|
clearable
|
|
138
177
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
139
|
-
:picker-options="
|
|
178
|
+
:picker-options="
|
|
179
|
+
$baseStartPickerOptions(formData.endTime)
|
|
180
|
+
"
|
|
140
181
|
></el-date-picker>
|
|
141
182
|
<span>-</span>
|
|
142
183
|
<el-date-picker
|
|
@@ -147,7 +188,9 @@
|
|
|
147
188
|
clearable
|
|
148
189
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
149
190
|
default-time="23:59:59"
|
|
150
|
-
:picker-options="
|
|
191
|
+
:picker-options="
|
|
192
|
+
$baseEndPickerOptions(formData.startTime)
|
|
193
|
+
"
|
|
151
194
|
></el-date-picker>
|
|
152
195
|
</template>
|
|
153
196
|
</vxe-form-item>
|
|
@@ -169,7 +212,10 @@
|
|
|
169
212
|
<div class="clearfix screen-btns">
|
|
170
213
|
<div class="fl">
|
|
171
214
|
<base-table-export
|
|
172
|
-
:option="{
|
|
215
|
+
:option="{
|
|
216
|
+
title: $t1('流程待办导出'),
|
|
217
|
+
targetRef: 'table-m2',
|
|
218
|
+
}"
|
|
173
219
|
:parent-target="_self"
|
|
174
220
|
/>
|
|
175
221
|
<el-button
|
|
@@ -187,7 +233,7 @@
|
|
|
187
233
|
type="text"
|
|
188
234
|
status="primary"
|
|
189
235
|
plain
|
|
190
|
-
>{{ $t1("
|
|
236
|
+
>{{ $t1("刷新") }}
|
|
191
237
|
</vxe-button>
|
|
192
238
|
<vxe-button
|
|
193
239
|
status="warning"
|
|
@@ -213,7 +259,10 @@
|
|
|
213
259
|
<el-input v-model="formData2.name" size="small" clearable />
|
|
214
260
|
</template>
|
|
215
261
|
</vxe-form-item>
|
|
216
|
-
<vxe-form-item
|
|
262
|
+
<vxe-form-item
|
|
263
|
+
:title="$t1('单据类型') + ':'"
|
|
264
|
+
field="objTypeName"
|
|
265
|
+
>
|
|
217
266
|
<template v-slot>
|
|
218
267
|
<el-input
|
|
219
268
|
class="search-input"
|
|
@@ -243,9 +292,16 @@
|
|
|
243
292
|
</el-select>
|
|
244
293
|
</template>
|
|
245
294
|
</vxe-form-item>
|
|
246
|
-
<vxe-form-item
|
|
295
|
+
<vxe-form-item
|
|
296
|
+
:title="$t1('当前任务用户') + ':'"
|
|
297
|
+
field="candidateNames"
|
|
298
|
+
>
|
|
247
299
|
<template v-slot>
|
|
248
|
-
<el-input
|
|
300
|
+
<el-input
|
|
301
|
+
v-model="formData2.candidateNames"
|
|
302
|
+
size="small"
|
|
303
|
+
clearable
|
|
304
|
+
/>
|
|
249
305
|
</template>
|
|
250
306
|
</vxe-form-item>
|
|
251
307
|
<vxe-form-item :title="$t1('禁用用户流程') + ':'">
|
|
@@ -368,6 +424,7 @@
|
|
|
368
424
|
import { treeScollx } from "@base/utils/global.js";
|
|
369
425
|
import wfObjConfigDialog from "../../../../views/user/wf/wf_obj_config/dialog.vue";
|
|
370
426
|
import userDialog from "@base/views/user/user/dialog";
|
|
427
|
+
import { loadViewComponent } from "@base/utils/resolveViewComponent";
|
|
371
428
|
|
|
372
429
|
export default {
|
|
373
430
|
name: "wf_manage:list",
|
|
@@ -401,6 +458,7 @@ export default {
|
|
|
401
458
|
|
|
402
459
|
param: {},
|
|
403
460
|
wfContent: null,
|
|
461
|
+
remoteView: null,
|
|
404
462
|
showWfContent: false,
|
|
405
463
|
|
|
406
464
|
showCurrentTaskUserDialog: false,
|
|
@@ -419,7 +477,9 @@ export default {
|
|
|
419
477
|
},
|
|
420
478
|
computed: {
|
|
421
479
|
type() {
|
|
422
|
-
return this.checkNode && this.checkNode.data
|
|
480
|
+
return this.checkNode && this.checkNode.data
|
|
481
|
+
? this.checkNode.data.type
|
|
482
|
+
: "";
|
|
423
483
|
},
|
|
424
484
|
checkNodeData() {
|
|
425
485
|
return this.checkNode && this.checkNode.data ? this.checkNode.data : {};
|
|
@@ -608,17 +668,30 @@ export default {
|
|
|
608
668
|
_dataId: wfDataId,
|
|
609
669
|
};
|
|
610
670
|
let url = row.url + ".vue";
|
|
611
|
-
|
|
671
|
+
let res = loadViewComponent(url);
|
|
672
|
+
this.remoteView =
|
|
673
|
+
res.kind === "remote"
|
|
674
|
+
? {
|
|
675
|
+
owner: res.owner,
|
|
676
|
+
targetPath: res.targetPath,
|
|
677
|
+
bizParams: this.param,
|
|
678
|
+
viewMeta: { visibleKey: "showWfContent", defaultShowWfContent: true, viewType: 1 },
|
|
679
|
+
}
|
|
680
|
+
: null;
|
|
681
|
+
this.wfContent = res.component;
|
|
612
682
|
}
|
|
613
683
|
this.activeName = "first";
|
|
614
684
|
this.$openEditView("showWfContent");
|
|
615
685
|
},
|
|
616
686
|
guid() {
|
|
617
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
687
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
688
|
+
/[xy]/g,
|
|
689
|
+
function (c) {
|
|
690
|
+
var r = (Math.random() * 16) | 0,
|
|
691
|
+
v = c == "x" ? r : (r & 0x3) | 0x8;
|
|
692
|
+
return v.toString(16);
|
|
693
|
+
}
|
|
694
|
+
);
|
|
622
695
|
},
|
|
623
696
|
clearNodeClick() {
|
|
624
697
|
/* this.formData.saleOrgId = '';
|