cloud-web-corejs 1.0.54-dev.48 → 1.0.54-dev.49
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
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
<template #form>
|
18
18
|
<tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
|
19
19
|
<template #buttonLeft>
|
20
|
-
<vxe-button icon="el-icon-
|
20
|
+
<vxe-button icon="el-icon-setting" class="button-sty" @click="openBatchWfObjConfigDialog" type="text" status="primary"
|
21
21
|
plain>{{ $t1('批量设置企业流程对象') }}
|
22
22
|
</vxe-button>
|
23
23
|
</template>
|
@@ -1,127 +0,0 @@
|
|
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 v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :currentFormType="currentFormType"
|
6
|
-
:parent-target="_self" @reload="$reloadHandle"
|
7
|
-
@openDesignDialog="openDesingerDialogByChild" :readonly="true"></editView>
|
8
|
-
</el-tab-pane>
|
9
|
-
<el-tab-pane :label="$t1('列表')" name="second">
|
10
|
-
<div class="grid-height">
|
11
|
-
<vxe-grid
|
12
|
-
ref="table-m1"
|
13
|
-
v-bind="vxeOption"
|
14
|
-
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
15
|
-
@custom="$vxeTableUtil.customHandle"
|
16
|
-
>
|
17
|
-
<template #form>
|
18
|
-
<tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
|
19
|
-
<template #buttonLeft>
|
20
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="openBatchWfObjConfigDialog" type="text" status="primary"
|
21
|
-
plain>{{ $t1('批量设置企业流程对象') }}
|
22
|
-
</vxe-button>
|
23
|
-
</template>
|
24
|
-
<template #buttonRight>
|
25
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
26
|
-
plain>{{ $t1('重置') }}
|
27
|
-
</vxe-button>
|
28
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
29
|
-
{{ $t1('搜索') }}
|
30
|
-
</vxe-button>
|
31
|
-
</template>
|
32
|
-
<template #menuKindName>
|
33
|
-
<vxe-form-item :title="$t1('表单分类') + ':'" field="menuKindName">
|
34
|
-
<template v-slot>
|
35
|
-
<el-input
|
36
|
-
class="search-input"
|
37
|
-
max="200"
|
38
|
-
v-model="formData.menuKindName"
|
39
|
-
@clear="
|
40
|
-
formData.menuKindName = null;
|
41
|
-
formData.menuKindCode = null;
|
42
|
-
"
|
43
|
-
v-el-readonly
|
44
|
-
clearable
|
45
|
-
>
|
46
|
-
<i slot="suffix" class="el-input__icon el-icon-search" @click="showMenuKindDialog=true"></i>
|
47
|
-
</el-input>
|
48
|
-
</template>
|
49
|
-
</vxe-form-item>
|
50
|
-
</template>
|
51
|
-
</tableForm>
|
52
|
-
</template>
|
53
|
-
<template #tag="{row}">
|
54
|
-
<projectTagView v-model="row.formTemplateTagDTOs" :readonly="true"></projectTagView>
|
55
|
-
</template>
|
56
|
-
</vxe-grid>
|
57
|
-
<el-drawer :title="$t1('流程模板')" :visible.sync="showItemView" :modal="false" :wrapperClosable="false"
|
58
|
-
:destroy-on-close="true" size="90%" direction="btt">
|
59
|
-
<itemList v-if="showItemView" :formTemplate="currentRow"
|
60
|
-
@openWfDesignDialog="openWfDesignDialog"></itemList>
|
61
|
-
</el-drawer>
|
62
|
-
</div>
|
63
|
-
</el-tab-pane>
|
64
|
-
<template #editTab="{tab,index,reloadTabContent}">
|
65
|
-
<el-tab-pane :key="tab.data.id" :label.sync="tab.data.formName" :name="tab.data.formCode"
|
66
|
-
:closable="true">
|
67
|
-
<editView v-if="tab.showContent" :_dataId="tab.dataId" :currentFormType="currentFormType"
|
68
|
-
:parent-target="_self"
|
69
|
-
@reload="reloadTabContent" @openDesignDialog="openDesingerDialogByChild"
|
70
|
-
:readonly="true"></editView>
|
71
|
-
</el-tab-pane>
|
72
|
-
</template>
|
73
|
-
</x-tabs>
|
74
|
-
<el-drawer :title="$t1('表单设计({formName})',{formName})" :visible.sync="showDesingerDialog" :modal="false"
|
75
|
-
:destroy-on-close="true"
|
76
|
-
size="100%" direction="rtl" :before-close="closeFormDesignwinEvent" :append-to-body="false"
|
77
|
-
class="designer-drawer" :class="[isFullscreen ? 'is-fullscreen' : '']" @close="handleFormDesignClose">
|
78
|
-
<el-tabs v-model="formDesTabs" type="card" class="tab-boxOnly" :stretch="true">
|
79
|
-
<el-tab-pane :label="$t1('设计器')" name="first">
|
80
|
-
<designer ref="designer" :formCode.sync="formCode" @reflushTemplateList="reflushTemplateList"></designer>
|
81
|
-
</el-tab-pane>
|
82
|
-
<el-tab-pane :label="$t1('后端脚本')" name="second">
|
83
|
-
<formScriptList :formCode="formCode" :formTemplate="currentFormTemplate"
|
84
|
-
v-if="showFormScriptList"></formScriptList>
|
85
|
-
</el-tab-pane>
|
86
|
-
</el-tabs>
|
87
|
-
<el-button class="isFullIcon" v-if="!isFullscreen" @click="handleFullscreen">
|
88
|
-
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
89
|
-
<i class="iconfont icon-quanping"></i>
|
90
|
-
</el-tooltip>
|
91
|
-
|
92
|
-
</el-button>
|
93
|
-
<el-button class="isFullIcon" v-else @click="handleFullscreen">
|
94
|
-
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
95
|
-
<i class="iconfont icon-suoxiao"></i>
|
96
|
-
</el-tooltip>
|
97
|
-
</el-button>
|
98
|
-
</el-drawer>
|
99
|
-
<wfObjConfigDialog v-if="showWfObjConfigDialog" :visiable.sync="showWfObjConfigDialog"
|
100
|
-
@confirm="confirmWfObjConfigDialog" :formTemplate="formTemplate"/>
|
101
|
-
<MenuKindDialog v-if="showMenuKindDialog"
|
102
|
-
:visiable.sync="showMenuKindDialog"
|
103
|
-
@confirm="confirmInsertMenuKind"
|
104
|
-
:param="{ taType: 0 }"
|
105
|
-
:multi="false"
|
106
|
-
/>
|
107
|
-
|
108
|
-
<batchWfObjConfigDialog v-if="showBatchWfObjConfigDialog" :visiable.sync="showBatchWfObjConfigDialog"
|
109
|
-
:formTemplates="formTemplates" @confirm="confirmBatchWfObjConfigDialog"></batchWfObjConfigDialog>
|
110
|
-
</div>
|
111
|
-
</template>
|
112
|
-
|
113
|
-
<script>
|
114
|
-
import mixin from "./mixins/list2";
|
115
|
-
import wfObjConfigDialog from "./wfObjConfigDialog.vue";
|
116
|
-
import MenuKindDialog from "@/views/bd/setting/menu_kind/dialog.vue";
|
117
|
-
import batchWfObjConfigDialog from "./batchWfObjConfigDialog.vue";
|
118
|
-
|
119
|
-
export default {
|
120
|
-
name: 'bd_form_template:list2',
|
121
|
-
components: {MenuKindDialog, wfObjConfigDialog,batchWfObjConfigDialog},
|
122
|
-
mixins: [mixin]
|
123
|
-
}
|
124
|
-
</script>
|
125
|
-
<style scoped lang="scss">
|
126
|
-
|
127
|
-
</style>
|