cloud-web-corejs 1.0.54-dev.600 → 1.0.54-dev.601
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 +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +3 -3
- package/src/views/bd/setting/formVersion/button.vue +1 -1
- package/src/views/bd/setting/formVersion/compareDialog.vue +286 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +51 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +91 -60
- package/src/views/bd/setting/formVersion/preformDialog.vue +2 -2
- package/src/views/bd/setting/formVersion/reverButton.vue +12 -14
- package/src/views/bd/setting/form_script/edit.vue +79 -34
- package/src/views/bd/setting/form_script/edit1.vue +143 -61
- package/src/views/bd/setting/form_script/mixins/edit.js +76 -53
- package/src/views/bd/setting/form_script/mixins/edit1.js +75 -52
- package/src/views/bd/setting/form_template/edit.vue +93 -36
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +166 -0
- package/src/views/bd/setting/form_template/list.vue +10 -42
- package/src/views/bd/setting/form_template/mixins/edit.js +19 -2
- package/src/views/bd/setting/form_template/mixins/list.js +2 -4
- package/src/views/bd/setting/form_template/mixins/wf_list.js +0 -4
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- package/src/views/bd/setting/table_model/edit.vue +388 -203
- package/src/views/bd/setting/table_model/mixins/edit.js +87 -72
- package/src/views/user/form/vform/designer.vue +300 -284
- package/src/views/bd/setting/form_template/mixins/list2.js +0 -411
|
@@ -1,127 +1,161 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="formCode">
|
|
4
|
-
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
-
<editView
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
</vxe-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="formCode">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<editView
|
|
6
|
+
v-if="showEdit"
|
|
7
|
+
visible-key="showEdit"
|
|
8
|
+
:_dataId.sync="dataId"
|
|
9
|
+
:currentFormType="currentFormType"
|
|
10
|
+
:parent-target="_self"
|
|
11
|
+
@reload="$reloadHandle"
|
|
12
|
+
:readonly="true"
|
|
13
|
+
></editView>
|
|
14
|
+
</el-tab-pane>
|
|
15
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
16
|
+
<div class="grid-height">
|
|
17
|
+
<vxe-grid
|
|
18
|
+
ref="table-m1"
|
|
19
|
+
v-bind="vxeOption"
|
|
20
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
21
|
+
@custom="$vxeTableUtil.customHandle"
|
|
22
|
+
>
|
|
23
|
+
<template #form>
|
|
24
|
+
<tableForm
|
|
25
|
+
:formData.sync="formData"
|
|
26
|
+
@searchEvent="searchEvent"
|
|
27
|
+
@resetEvent="resetEvent"
|
|
28
|
+
>
|
|
29
|
+
<template #buttonLeft>
|
|
30
|
+
<vxe-button
|
|
31
|
+
icon="el-icon-setting"
|
|
32
|
+
class="button-sty"
|
|
33
|
+
@click="openBatchWfObjConfigDialog"
|
|
34
|
+
type="text"
|
|
35
|
+
status="primary"
|
|
36
|
+
plain
|
|
37
|
+
>{{ $t1("批量设置组织流程单据类型") }}
|
|
38
|
+
</vxe-button>
|
|
39
|
+
</template>
|
|
40
|
+
<template #buttonRight>
|
|
41
|
+
<vxe-button
|
|
42
|
+
icon="el-icon-brush"
|
|
43
|
+
class="button-sty"
|
|
44
|
+
@click="resetEvent"
|
|
45
|
+
type="text"
|
|
46
|
+
status="primary"
|
|
47
|
+
plain
|
|
48
|
+
>{{ $t1("重置") }}
|
|
49
|
+
</vxe-button>
|
|
50
|
+
<vxe-button
|
|
51
|
+
status="warning"
|
|
52
|
+
icon="el-icon-search"
|
|
53
|
+
class="button-sty"
|
|
54
|
+
@click="searchEvent"
|
|
55
|
+
>
|
|
56
|
+
{{ $t1("搜索") }}
|
|
57
|
+
</vxe-button>
|
|
58
|
+
</template>
|
|
59
|
+
<template #menuKindName>
|
|
60
|
+
<vxe-form-item :title="$t1('表单分类') + ':'" field="menuKindName">
|
|
61
|
+
<template v-slot>
|
|
62
|
+
<el-input
|
|
63
|
+
class="search-input"
|
|
64
|
+
max="200"
|
|
65
|
+
v-model="formData.menuKindName"
|
|
66
|
+
@clear="
|
|
67
|
+
formData.menuKindName = null;
|
|
68
|
+
formData.menuKindCode = null;
|
|
69
|
+
"
|
|
70
|
+
v-el-readonly
|
|
71
|
+
clearable
|
|
72
|
+
>
|
|
73
|
+
<i
|
|
74
|
+
slot="suffix"
|
|
75
|
+
class="el-input__icon el-icon-search"
|
|
76
|
+
@click="showMenuKindDialog = true"
|
|
77
|
+
></i>
|
|
78
|
+
</el-input>
|
|
79
|
+
</template>
|
|
80
|
+
</vxe-form-item>
|
|
81
|
+
</template>
|
|
82
|
+
</tableForm>
|
|
83
|
+
</template>
|
|
84
|
+
<template #tag="{ row }">
|
|
85
|
+
<projectTagView
|
|
86
|
+
v-model="row.formTemplateTagDTOs"
|
|
87
|
+
:readonly="true"
|
|
88
|
+
></projectTagView>
|
|
89
|
+
</template>
|
|
90
|
+
</vxe-grid>
|
|
91
|
+
<el-drawer
|
|
92
|
+
:title="$t1('流程模板')"
|
|
93
|
+
:visible.sync="showItemView"
|
|
94
|
+
:modal="false"
|
|
95
|
+
:wrapperClosable="false"
|
|
96
|
+
:destroy-on-close="true"
|
|
97
|
+
size="90%"
|
|
98
|
+
direction="btt"
|
|
99
|
+
>
|
|
100
|
+
<itemList
|
|
101
|
+
v-if="showItemView"
|
|
102
|
+
:formTemplate="currentRow"
|
|
103
|
+
@openWfDesignDialog="openWfDesignDialog"
|
|
104
|
+
></itemList>
|
|
105
|
+
</el-drawer>
|
|
106
|
+
</div>
|
|
107
|
+
</el-tab-pane>
|
|
108
|
+
<template #editTab="{ tab, index, reloadTabContent }">
|
|
109
|
+
<el-tab-pane
|
|
110
|
+
:key="tab.data.id"
|
|
111
|
+
:label.sync="tab.data.formName"
|
|
112
|
+
:name="tab.data.formCode"
|
|
113
|
+
:closable="true"
|
|
114
|
+
>
|
|
115
|
+
<editView
|
|
116
|
+
v-if="tab.showContent"
|
|
117
|
+
:_dataId="tab.dataId"
|
|
118
|
+
:currentFormType="currentFormType"
|
|
119
|
+
:parent-target="_self"
|
|
120
|
+
@reload="reloadTabContent"
|
|
121
|
+
:readonly="true"
|
|
122
|
+
></editView>
|
|
123
|
+
</el-tab-pane>
|
|
124
|
+
</template>
|
|
125
|
+
</x-tabs>
|
|
126
|
+
<wfObjConfigDialog
|
|
127
|
+
v-if="showWfObjConfigDialog"
|
|
128
|
+
:visiable.sync="showWfObjConfigDialog"
|
|
129
|
+
@confirm="confirmWfObjConfigDialog"
|
|
130
|
+
:formTemplate="formTemplate"
|
|
131
|
+
/>
|
|
132
|
+
<MenuKindDialog
|
|
133
|
+
v-if="showMenuKindDialog"
|
|
134
|
+
:visiable.sync="showMenuKindDialog"
|
|
135
|
+
@confirm="confirmInsertMenuKind"
|
|
136
|
+
:param="{ taType: 0 }"
|
|
137
|
+
:multi="false"
|
|
138
|
+
/>
|
|
139
|
+
|
|
140
|
+
<batchWfObjConfigDialog
|
|
141
|
+
v-if="showBatchWfObjConfigDialog"
|
|
142
|
+
:visiable.sync="showBatchWfObjConfigDialog"
|
|
143
|
+
:formTemplates="formTemplates"
|
|
144
|
+
@confirm="confirmBatchWfObjConfigDialog"
|
|
145
|
+
></batchWfObjConfigDialog>
|
|
146
|
+
</div>
|
|
147
|
+
</template>
|
|
148
|
+
|
|
149
|
+
<script>
|
|
150
|
+
import mixin from "./mixins/wf_list";
|
|
151
|
+
import wfObjConfigDialog from "./wfObjConfigDialog.vue";
|
|
152
|
+
import MenuKindDialog from "@base/views/bd/setting/menu_kind/dialog.vue";
|
|
153
|
+
import batchWfObjConfigDialog from "./batchWfObjConfigDialog.vue";
|
|
154
|
+
|
|
155
|
+
export default {
|
|
156
|
+
name: "form_template:wf_list",
|
|
157
|
+
components: { MenuKindDialog, wfObjConfigDialog, batchWfObjConfigDialog },
|
|
158
|
+
mixins: [mixin],
|
|
159
|
+
};
|
|
160
|
+
</script>
|
|
161
|
+
<style scoped lang="scss"></style>
|