cloud-web-corejs 1.0.54-dev.745 → 1.0.54-dev.746
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +192 -192
- package/src/App.vue +73 -71
- package/src/components/baseArea/index.vue +1628 -1628
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -297
- package/src/components/fileLibrary/index.vue +1109 -1109
- package/src/components/fileLibrary/propertiesDialog.vue +190 -190
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -237
- package/src/components/wf/mixins/setCandidateDialog.js +217 -217
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +986 -986
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -272
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +216 -216
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +928 -928
- package/src/components/xform/form-designer/index.vue +195 -195
- package/src/components/xform/form-designer/indexMixin.js +848 -848
- package/src/components/xform/form-designer/setting-panel/index.vue +313 -313
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -124
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +369 -369
- package/src/components/xform/form-designer/widget-panel/index.vue +389 -389
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +343 -343
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -4531
- package/src/components/xform/form-render/container-item/data-table-mixin.js +4748 -4576
- package/src/components/xform/form-render/container-item/tab-item.vue +125 -125
- package/src/components/xform/form-render/indexMixin.js +5061 -5078
- package/src/components/xform/lang/en-US.js +457 -457
- package/src/components/xform/lang/zh-CN.js +628 -628
- package/src/components/xform/utils/util.js +1585 -1554
- package/src/index.js +344 -230
- package/src/layout/components/AppMain.vue +122 -125
- package/src/layout/components/extractedCode/viewDialog.vue +207 -207
- package/src/layout/components/langTool.vue +128 -123
- package/src/layout/defaultLayout.vue +164 -158
- package/src/permission.js +185 -135
- package/src/store/config/index.js +667 -669
- package/src/store/modules/micro.js +46 -0
- package/src/store/modules/permission.js +461 -373
- package/src/store/modules/user.js +419 -415
- package/src/utils/auth.js +27 -1
- package/src/utils/index.js +579 -6
- package/src/utils/keepAlive.js +4 -0
- package/src/utils/menuAdapter.js +183 -0
- package/src/utils/request.js +417 -28
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -483
- package/src/views/bd/setting/form_script/form_list.vue +174 -174
- package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -253
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/wf/wfReport/index.vue +625 -625
|
@@ -1,174 +1,174 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<x-tabs ref="xTabs" v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
-
<editView
|
|
6
|
-
v-if="showEdit"
|
|
7
|
-
visible-key="showEdit"
|
|
8
|
-
:_dataId.sync="dataId"
|
|
9
|
-
:formCode="formTemplate.formCode"
|
|
10
|
-
:formTemplate="formTemplate"
|
|
11
|
-
:parent-target="_self"
|
|
12
|
-
@reload="$reloadHandle"
|
|
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
|
-
status="primary"
|
|
32
|
-
class="button-sty"
|
|
33
|
-
icon="el-icon-plus"
|
|
34
|
-
@click="openEditDialog"
|
|
35
|
-
v-if="isDev && menuKindAuth.addAuth === 1"
|
|
36
|
-
>{{ $t1("新增") }}
|
|
37
|
-
</vxe-button>
|
|
38
|
-
<vxe-button
|
|
39
|
-
status="success"
|
|
40
|
-
class="button-sty"
|
|
41
|
-
icon="el-icon-upload2"
|
|
42
|
-
@click="jsonExport"
|
|
43
|
-
v-if="isDev && menuKindAuth.exportAuth === 1"
|
|
44
|
-
>{{ $t1("导出发布") }}
|
|
45
|
-
</vxe-button>
|
|
46
|
-
<projectTagAddButton
|
|
47
|
-
:option="addProjectTagOption"
|
|
48
|
-
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
49
|
-
></projectTagAddButton>
|
|
50
|
-
<projectTagDeleteButton
|
|
51
|
-
:option="deleteProjectTagOption"
|
|
52
|
-
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
53
|
-
></projectTagDeleteButton>
|
|
54
|
-
<el-button
|
|
55
|
-
icon="el-icon-setting"
|
|
56
|
-
class="button-sty"
|
|
57
|
-
@click="showScriptDialog = true"
|
|
58
|
-
type="success"
|
|
59
|
-
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
60
|
-
>{{ $t1("选择需要定制的后台脚本模板") }}
|
|
61
|
-
</el-button>
|
|
62
|
-
</template>
|
|
63
|
-
<template #buttonRight>
|
|
64
|
-
<vxe-button
|
|
65
|
-
icon="el-icon-brush"
|
|
66
|
-
class="button-sty"
|
|
67
|
-
@click="resetEvent"
|
|
68
|
-
type="text"
|
|
69
|
-
status="primary"
|
|
70
|
-
plain
|
|
71
|
-
>{{ $t1("重置") }}
|
|
72
|
-
</vxe-button>
|
|
73
|
-
<vxe-button
|
|
74
|
-
status="warning"
|
|
75
|
-
icon="el-icon-search"
|
|
76
|
-
class="button-sty"
|
|
77
|
-
@click="searchEvent"
|
|
78
|
-
>{{ $t1("搜索") }}
|
|
79
|
-
</vxe-button>
|
|
80
|
-
</template>
|
|
81
|
-
<template #tag>
|
|
82
|
-
<vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
|
|
83
|
-
<template v-slot>
|
|
84
|
-
<el-input
|
|
85
|
-
class="search-input"
|
|
86
|
-
max="200"
|
|
87
|
-
:value="getTabNames()"
|
|
88
|
-
@clear="checkTags = []"
|
|
89
|
-
v-el-readonly
|
|
90
|
-
clearable
|
|
91
|
-
>
|
|
92
|
-
<i
|
|
93
|
-
slot="suffix"
|
|
94
|
-
class="el-input__icon el-icon-search"
|
|
95
|
-
@click="openProjectTagDialog3"
|
|
96
|
-
></i>
|
|
97
|
-
</el-input>
|
|
98
|
-
</template>
|
|
99
|
-
</vxe-form-item>
|
|
100
|
-
</template>
|
|
101
|
-
</tableForm>
|
|
102
|
-
</template>
|
|
103
|
-
<template #tag="{ row }">
|
|
104
|
-
<projectTagView
|
|
105
|
-
v-model="row.formScriptTagDTOs"
|
|
106
|
-
:readonly="true"
|
|
107
|
-
></projectTagView>
|
|
108
|
-
</template>
|
|
109
|
-
<template #operation="{ row }">
|
|
110
|
-
<a href="javascript:void(0);" class="a-link" @click="openEditDialog(row)">
|
|
111
|
-
<el-tooltip
|
|
112
|
-
:enterable="false"
|
|
113
|
-
effect="dark"
|
|
114
|
-
:content="$t1('查看')"
|
|
115
|
-
placement="top"
|
|
116
|
-
popper-class="tooltip-skin"
|
|
117
|
-
>
|
|
118
|
-
<i class="el-icon-edit" />
|
|
119
|
-
</el-tooltip>
|
|
120
|
-
</a>
|
|
121
|
-
<formVersionButton
|
|
122
|
-
objType="FormScript"
|
|
123
|
-
:objCode="row.scriptCode"
|
|
124
|
-
:relationCode="row.formCode"
|
|
125
|
-
@reverCallback="searchEvent"
|
|
126
|
-
></formVersionButton>
|
|
127
|
-
</template>
|
|
128
|
-
</vxe-grid>
|
|
129
|
-
</div>
|
|
130
|
-
</el-tab-pane>
|
|
131
|
-
<template #editTab="{ tab, index, reloadTabContent }">
|
|
132
|
-
<el-tab-pane
|
|
133
|
-
:key="tab.data.id"
|
|
134
|
-
:label.sync="tab.data.scriptName"
|
|
135
|
-
:name="tab.data.id + ''"
|
|
136
|
-
:closable="true"
|
|
137
|
-
>
|
|
138
|
-
<editView
|
|
139
|
-
v-if="tab.showContent"
|
|
140
|
-
:_dataId="tab.dataId"
|
|
141
|
-
:formCode="formTemplate.formCode"
|
|
142
|
-
:formTemplate="formTemplate"
|
|
143
|
-
:parent-target="_self"
|
|
144
|
-
@reload="reloadTabContent"
|
|
145
|
-
></editView>
|
|
146
|
-
</el-tab-pane>
|
|
147
|
-
</template>
|
|
148
|
-
</x-tabs>
|
|
149
|
-
<scriptDialog
|
|
150
|
-
v-if="showScriptDialog"
|
|
151
|
-
:visiable.sync="showScriptDialog"
|
|
152
|
-
@confirm="confirmScriptDialog"
|
|
153
|
-
:param="{ scriptType: 99 }"
|
|
154
|
-
:multi="true"
|
|
155
|
-
:title="$t1('初始化模板脚本')"
|
|
156
|
-
></scriptDialog>
|
|
157
|
-
<projectTagDialog
|
|
158
|
-
v-if="showProjectTagDialog3"
|
|
159
|
-
:visiable.sync="showProjectTagDialog3"
|
|
160
|
-
@confirm="confirmProjectTagDialog3"
|
|
161
|
-
:rows="checkTags"
|
|
162
|
-
:multi="true"
|
|
163
|
-
></projectTagDialog>
|
|
164
|
-
</div>
|
|
165
|
-
</template>
|
|
166
|
-
|
|
167
|
-
<script>
|
|
168
|
-
import mixin from "./mixins/form_list";
|
|
169
|
-
|
|
170
|
-
export default {
|
|
171
|
-
name: "form_script:form_list",
|
|
172
|
-
mixins: [mixin],
|
|
173
|
-
};
|
|
174
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<x-tabs ref="xTabs" v-model="activeName" class="tab-box">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<editView
|
|
6
|
+
v-if="showEdit"
|
|
7
|
+
visible-key="showEdit"
|
|
8
|
+
:_dataId.sync="dataId"
|
|
9
|
+
:formCode="formTemplate.formCode"
|
|
10
|
+
:formTemplate="formTemplate"
|
|
11
|
+
:parent-target="_self"
|
|
12
|
+
@reload="$reloadHandle"
|
|
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
|
+
status="primary"
|
|
32
|
+
class="button-sty"
|
|
33
|
+
icon="el-icon-plus"
|
|
34
|
+
@click="openEditDialog"
|
|
35
|
+
v-if="isDev && menuKindAuth.addAuth === 1"
|
|
36
|
+
>{{ $t1("新增") }}
|
|
37
|
+
</vxe-button>
|
|
38
|
+
<vxe-button
|
|
39
|
+
status="success"
|
|
40
|
+
class="button-sty"
|
|
41
|
+
icon="el-icon-upload2"
|
|
42
|
+
@click="jsonExport"
|
|
43
|
+
v-if="isDev && menuKindAuth.exportAuth === 1"
|
|
44
|
+
>{{ $t1("导出发布") }}
|
|
45
|
+
</vxe-button>
|
|
46
|
+
<projectTagAddButton
|
|
47
|
+
:option="addProjectTagOption"
|
|
48
|
+
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
49
|
+
></projectTagAddButton>
|
|
50
|
+
<projectTagDeleteButton
|
|
51
|
+
:option="deleteProjectTagOption"
|
|
52
|
+
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
53
|
+
></projectTagDeleteButton>
|
|
54
|
+
<el-button
|
|
55
|
+
icon="el-icon-setting"
|
|
56
|
+
class="button-sty"
|
|
57
|
+
@click="showScriptDialog = true"
|
|
58
|
+
type="success"
|
|
59
|
+
v-if="isDev && menuKindAuth.editAuth === 1"
|
|
60
|
+
>{{ $t1("选择需要定制的后台脚本模板") }}
|
|
61
|
+
</el-button>
|
|
62
|
+
</template>
|
|
63
|
+
<template #buttonRight>
|
|
64
|
+
<vxe-button
|
|
65
|
+
icon="el-icon-brush"
|
|
66
|
+
class="button-sty"
|
|
67
|
+
@click="resetEvent"
|
|
68
|
+
type="text"
|
|
69
|
+
status="primary"
|
|
70
|
+
plain
|
|
71
|
+
>{{ $t1("重置") }}
|
|
72
|
+
</vxe-button>
|
|
73
|
+
<vxe-button
|
|
74
|
+
status="warning"
|
|
75
|
+
icon="el-icon-search"
|
|
76
|
+
class="button-sty"
|
|
77
|
+
@click="searchEvent"
|
|
78
|
+
>{{ $t1("搜索") }}
|
|
79
|
+
</vxe-button>
|
|
80
|
+
</template>
|
|
81
|
+
<template #tag>
|
|
82
|
+
<vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
|
|
83
|
+
<template v-slot>
|
|
84
|
+
<el-input
|
|
85
|
+
class="search-input"
|
|
86
|
+
max="200"
|
|
87
|
+
:value="getTabNames()"
|
|
88
|
+
@clear="checkTags = []"
|
|
89
|
+
v-el-readonly
|
|
90
|
+
clearable
|
|
91
|
+
>
|
|
92
|
+
<i
|
|
93
|
+
slot="suffix"
|
|
94
|
+
class="el-input__icon el-icon-search"
|
|
95
|
+
@click="openProjectTagDialog3"
|
|
96
|
+
></i>
|
|
97
|
+
</el-input>
|
|
98
|
+
</template>
|
|
99
|
+
</vxe-form-item>
|
|
100
|
+
</template>
|
|
101
|
+
</tableForm>
|
|
102
|
+
</template>
|
|
103
|
+
<template #tag="{ row }">
|
|
104
|
+
<projectTagView
|
|
105
|
+
v-model="row.formScriptTagDTOs"
|
|
106
|
+
:readonly="true"
|
|
107
|
+
></projectTagView>
|
|
108
|
+
</template>
|
|
109
|
+
<template #operation="{ row }">
|
|
110
|
+
<a href="javascript:void(0);" class="a-link" @click="openEditDialog(row)">
|
|
111
|
+
<el-tooltip
|
|
112
|
+
:enterable="false"
|
|
113
|
+
effect="dark"
|
|
114
|
+
:content="$t1('查看')"
|
|
115
|
+
placement="top"
|
|
116
|
+
popper-class="tooltip-skin"
|
|
117
|
+
>
|
|
118
|
+
<i class="el-icon-edit" />
|
|
119
|
+
</el-tooltip>
|
|
120
|
+
</a>
|
|
121
|
+
<formVersionButton
|
|
122
|
+
objType="FormScript"
|
|
123
|
+
:objCode="row.scriptCode"
|
|
124
|
+
:relationCode="row.formCode"
|
|
125
|
+
@reverCallback="searchEvent"
|
|
126
|
+
></formVersionButton>
|
|
127
|
+
</template>
|
|
128
|
+
</vxe-grid>
|
|
129
|
+
</div>
|
|
130
|
+
</el-tab-pane>
|
|
131
|
+
<template #editTab="{ tab, index, reloadTabContent }">
|
|
132
|
+
<el-tab-pane
|
|
133
|
+
:key="tab.data.id"
|
|
134
|
+
:label.sync="tab.data.scriptName"
|
|
135
|
+
:name="tab.data.id + ''"
|
|
136
|
+
:closable="true"
|
|
137
|
+
>
|
|
138
|
+
<editView
|
|
139
|
+
v-if="tab.showContent"
|
|
140
|
+
:_dataId="tab.dataId"
|
|
141
|
+
:formCode="formTemplate.formCode"
|
|
142
|
+
:formTemplate="formTemplate"
|
|
143
|
+
:parent-target="_self"
|
|
144
|
+
@reload="reloadTabContent"
|
|
145
|
+
></editView>
|
|
146
|
+
</el-tab-pane>
|
|
147
|
+
</template>
|
|
148
|
+
</x-tabs>
|
|
149
|
+
<scriptDialog
|
|
150
|
+
v-if="showScriptDialog"
|
|
151
|
+
:visiable.sync="showScriptDialog"
|
|
152
|
+
@confirm="confirmScriptDialog"
|
|
153
|
+
:param="{ scriptType: 99 }"
|
|
154
|
+
:multi="true"
|
|
155
|
+
:title="$t1('初始化模板脚本')"
|
|
156
|
+
></scriptDialog>
|
|
157
|
+
<projectTagDialog
|
|
158
|
+
v-if="showProjectTagDialog3"
|
|
159
|
+
:visiable.sync="showProjectTagDialog3"
|
|
160
|
+
@confirm="confirmProjectTagDialog3"
|
|
161
|
+
:rows="checkTags"
|
|
162
|
+
:multi="true"
|
|
163
|
+
></projectTagDialog>
|
|
164
|
+
</div>
|
|
165
|
+
</template>
|
|
166
|
+
|
|
167
|
+
<script>
|
|
168
|
+
import mixin from "./mixins/form_list";
|
|
169
|
+
|
|
170
|
+
export default {
|
|
171
|
+
name: "form_script:form_list",
|
|
172
|
+
mixins: [mixin],
|
|
173
|
+
};
|
|
174
|
+
</script>
|