cloud-web-corejs-haier 1.0.5 → 1.0.7
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 +7 -4
- package/src/App.vue +30 -34
- package/src/api/user.js +8 -0
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +1 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/view.vue +6 -2
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +1 -1
- package/src/components/excelExport/index.js +1 -2
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
- package/src/components/fileLibrary/filterDialog.vue +45 -21
- package/src/components/fileLibrary/index.vue +579 -238
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +4 -1
- package/src/components/fileLibrary/mixins/indexMixins.js +3 -0
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/table/index.js +12 -12
- package/src/components/tempStorage/index.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +0 -1
- package/src/components/wf/content.vue +32 -36
- package/src/components/wf/mixins/setCandidateDialog2.js +1 -1
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -3
- package/src/components/wf/setCandidateDialog2.vue +76 -66
- package/src/components/wf/wf.js +2176 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +5 -1
- package/src/components/wf/wfStartDialog.vue +6 -10
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +16 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +17 -4
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +247 -187
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +2 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +10 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +65 -4
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +132 -118
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -1
- package/src/components/xform/form-render/index.vue +8 -0
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +3496 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/utils/format.js +14 -4
- package/src/components/xform/utils/formula-util.js +0 -4
- package/src/components/xform/utils/util.js +1 -1
- package/src/index.js +215 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +20 -0
- package/src/lang/locale/zh/login.js +20 -0
- package/src/layout/components/Sidebar/default.vue +1423 -1266
- package/src/layout/components/TagsView/index.vue +37 -11
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/viewDialog.vue +1 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/table/index.js +151 -0
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +3 -8
- package/src/store/getters.js +24 -23
- package/src/store/modules/user.js +1 -30
- package/src/utils/vab.js +1 -1
- package/src/views/bd/setting/config_manage/list.vue +36 -19
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +29 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +199 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +410 -1
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/edit.vue +13 -0
- package/src/views/bd/setting/form_template/list.vue +326 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +279 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +667 -3
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +1 -91
- package/src/views/bd/setting/logic_param/mixins/list.js +2 -362
- package/src/views/bd/setting/menu_kind/list.vue +172 -87
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/table_model/edit.vue +345 -304
- package/src/views/bd/setting/table_model/list.vue +190 -128
- package/src/views/bd/setting/table_model/mixins/edit.js +1191 -1
- package/src/views/bd/setting/table_model/mixins/list.js +428 -2
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -116
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/common_attribute/list.vue +4 -1
- package/src/views/user/extend_datasource/dialog.vue +3 -0
- package/src/views/user/extend_datasource/edit.vue +2 -1
- package/src/views/user/extend_datasource/list.vue +3 -0
- package/src/views/user/form/vform/designer.vue +2 -1
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +6 -5
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +165 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +2 -6
- package/src/views/user/outLink/index.vue +57 -18
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +114 -4
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/list.vue +652 -582
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +137 -28
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +15 -116
- package/src/views/user/wf/wf_obj_config/itemOperateDialog.vue +414 -0
- package/src/views/user/wf/wf_obj_config/list.vue +84 -78
- package/src/views/user/wf/wf_transfer_setting/edit.vue +52 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +10 -0
- package/src/components/xform/form-render/container-item/data-table-mixin2.js +0 -2169
- package/src/views/bd/setting/table_model/mixins/edit copy.js +0 -903
- package/src/views/user/login/index2.vue +0 -131
|
@@ -1,128 +1,190 @@
|
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
128
|
-
|
|
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
|
+
:currentFormType="currentFormType"
|
|
10
|
+
:parent-target="_self"
|
|
11
|
+
@reload="$reloadHandle"
|
|
12
|
+
:otherFlag="otherFlag"
|
|
13
|
+
></editView>
|
|
14
|
+
</el-tab-pane>
|
|
15
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
16
|
+
<div class="tree-box fl">
|
|
17
|
+
<div class="tit">
|
|
18
|
+
<b>{{ $t1("表单分类") }}</b>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="tree-btns" style="margin-top: 10px"></div>
|
|
21
|
+
<el-tree
|
|
22
|
+
v-if="showTree"
|
|
23
|
+
:props="defaultProps"
|
|
24
|
+
:load="loadNode"
|
|
25
|
+
node-key="id"
|
|
26
|
+
ref="tree"
|
|
27
|
+
highlight-current
|
|
28
|
+
lazy
|
|
29
|
+
:expand-on-click-node="false"
|
|
30
|
+
@node-click="handleNodeClick"
|
|
31
|
+
class="tree-list"
|
|
32
|
+
icon-class="el-icon-arrow-down"
|
|
33
|
+
></el-tree>
|
|
34
|
+
</div>
|
|
35
|
+
<label id="labBtn">
|
|
36
|
+
<div class="icon">
|
|
37
|
+
<i class="el-icon-more"></i>
|
|
38
|
+
<i class="el-icon-more"></i>
|
|
39
|
+
</div>
|
|
40
|
+
</label>
|
|
41
|
+
<div class="main-right fr" style="padding-left: 6px">
|
|
42
|
+
<div class="grid-height">
|
|
43
|
+
<vxe-grid
|
|
44
|
+
ref="table-m1"
|
|
45
|
+
v-bind="vxeOption"
|
|
46
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
47
|
+
@custom="$vxeTableUtil.customHandle"
|
|
48
|
+
>
|
|
49
|
+
<template #form>
|
|
50
|
+
<tableForm
|
|
51
|
+
:formData.sync="formData"
|
|
52
|
+
@searchEvent="searchEvent"
|
|
53
|
+
@resetEvent="resetEvent"
|
|
54
|
+
>
|
|
55
|
+
<template #buttonLeft>
|
|
56
|
+
<vxe-button
|
|
57
|
+
status="primary"
|
|
58
|
+
class="button-sty"
|
|
59
|
+
icon="el-icon-plus"
|
|
60
|
+
@click="openEditDialog"
|
|
61
|
+
v-if="isDev && currentFormType.addAuth === 1"
|
|
62
|
+
>{{ $t1("新增") }}
|
|
63
|
+
</vxe-button>
|
|
64
|
+
<vxe-button
|
|
65
|
+
status="success"
|
|
66
|
+
class="button-sty"
|
|
67
|
+
icon="el-icon-download"
|
|
68
|
+
@click="jsonImport"
|
|
69
|
+
>{{ $t1("导入发布") }}
|
|
70
|
+
</vxe-button>
|
|
71
|
+
<vxe-button
|
|
72
|
+
status="success"
|
|
73
|
+
class="button-sty"
|
|
74
|
+
icon="el-icon-upload2"
|
|
75
|
+
@click="jsonExport"
|
|
76
|
+
v-if="isDev && currentFormType.exportAuth === 1"
|
|
77
|
+
>{{ $t1("导出发布") }}
|
|
78
|
+
</vxe-button>
|
|
79
|
+
<projectTagAddButton
|
|
80
|
+
:option="addProjectTagOption"
|
|
81
|
+
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
82
|
+
></projectTagAddButton>
|
|
83
|
+
<projectTagDeleteButton
|
|
84
|
+
:option="deleteProjectTagOption"
|
|
85
|
+
v-if="isDev && (currentFormType.editAuth === 1 || otherFlag)"
|
|
86
|
+
></projectTagDeleteButton>
|
|
87
|
+
</template>
|
|
88
|
+
<template #buttonRight>
|
|
89
|
+
<vxe-button
|
|
90
|
+
icon="el-icon-brush"
|
|
91
|
+
class="button-sty"
|
|
92
|
+
@click="resetEvent"
|
|
93
|
+
type="text"
|
|
94
|
+
status="primary"
|
|
95
|
+
plain
|
|
96
|
+
>{{ $t1("重置") }}
|
|
97
|
+
</vxe-button>
|
|
98
|
+
<vxe-button
|
|
99
|
+
status="warning"
|
|
100
|
+
icon="el-icon-search"
|
|
101
|
+
class="button-sty"
|
|
102
|
+
@click="searchEvent"
|
|
103
|
+
>
|
|
104
|
+
{{ $t1("搜索") }}
|
|
105
|
+
</vxe-button>
|
|
106
|
+
</template>
|
|
107
|
+
<template #menuKindName>
|
|
108
|
+
<vxe-form-item :title="$t1('表单分类') + ':'" field="tag">
|
|
109
|
+
<template v-slot>
|
|
110
|
+
<el-input v-model="currentMenuKindName" disabled></el-input>
|
|
111
|
+
</template>
|
|
112
|
+
</vxe-form-item>
|
|
113
|
+
</template>
|
|
114
|
+
<template #tag>
|
|
115
|
+
<vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
|
|
116
|
+
<template v-slot>
|
|
117
|
+
<el-input
|
|
118
|
+
class="search-input"
|
|
119
|
+
max="200"
|
|
120
|
+
:value="getTabNames()"
|
|
121
|
+
@clear="checkTags = []"
|
|
122
|
+
v-el-readonly
|
|
123
|
+
clearable
|
|
124
|
+
>
|
|
125
|
+
<i
|
|
126
|
+
slot="suffix"
|
|
127
|
+
class="el-input__icon el-icon-search"
|
|
128
|
+
@click="openProjectTagDialog3"
|
|
129
|
+
></i>
|
|
130
|
+
</el-input>
|
|
131
|
+
</template>
|
|
132
|
+
</vxe-form-item>
|
|
133
|
+
</template>
|
|
134
|
+
</tableForm>
|
|
135
|
+
</template>
|
|
136
|
+
<template #tag="{ row }">
|
|
137
|
+
<projectTagView
|
|
138
|
+
v-model="row.szTaMbTagDTOs"
|
|
139
|
+
:readonly="true"
|
|
140
|
+
></projectTagView>
|
|
141
|
+
</template>
|
|
142
|
+
</vxe-grid>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</el-tab-pane>
|
|
146
|
+
<template #editTab="{ tab, index, reloadTabContent }">
|
|
147
|
+
<el-tab-pane
|
|
148
|
+
:key="tab.data.id"
|
|
149
|
+
:label="tab.data.taCh"
|
|
150
|
+
:name="tab.data.id + ''"
|
|
151
|
+
:closable="true"
|
|
152
|
+
>
|
|
153
|
+
<editView
|
|
154
|
+
v-if="tab.showContent"
|
|
155
|
+
:_dataId="tab.dataId"
|
|
156
|
+
:currentFormType="currentFormType"
|
|
157
|
+
:parent-target="_self"
|
|
158
|
+
@reload="reloadTabContent"
|
|
159
|
+
:otherFlag="otherFlag"
|
|
160
|
+
></editView>
|
|
161
|
+
</el-tab-pane>
|
|
162
|
+
</template>
|
|
163
|
+
</x-tabs>
|
|
164
|
+
|
|
165
|
+
<MenuKindDialog
|
|
166
|
+
v-if="showMenuKindDialog"
|
|
167
|
+
:visiable.sync="showMenuKindDialog"
|
|
168
|
+
@confirm="confirmInsertMenuKind"
|
|
169
|
+
:param="{ taType: 0, moveButton: true }"
|
|
170
|
+
:checkRowIds="szTaMbIds"
|
|
171
|
+
:multi="false"
|
|
172
|
+
/>
|
|
173
|
+
<projectTagDialog
|
|
174
|
+
v-if="showProjectTagDialog3"
|
|
175
|
+
:visiable.sync="showProjectTagDialog3"
|
|
176
|
+
@confirm="confirmProjectTagDialog3"
|
|
177
|
+
:rows="checkTags"
|
|
178
|
+
:multi="true"
|
|
179
|
+
></projectTagDialog>
|
|
180
|
+
</div>
|
|
181
|
+
</template>
|
|
182
|
+
|
|
183
|
+
<script>
|
|
184
|
+
import mixin from "./mixins/list";
|
|
185
|
+
|
|
186
|
+
export default {
|
|
187
|
+
name: "table_model:list",
|
|
188
|
+
mixins: [mixin],
|
|
189
|
+
};
|
|
190
|
+
</script>
|