cloud-web-corejs 1.0.30 → 1.0.32
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/jsonImport/index.js +1 -1
- package/src/components/statusTag/index.vue +14 -14
- package/src/components/statusTag/mixins.js +5 -5
- package/src/components/table/index.js +10 -10
- 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 +379 -379
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +125 -125
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/toolbar-panel/index.vue +122 -118
- package/src/components/xform/form-render/container-item/data-table-mixin.js +18 -18
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -2
- package/src/views/bd/setting/bd_attach_setting/edit.vue +7 -6
- package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +5 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +15 -23
- package/src/views/bd/setting/form_script/dialog.vue +8 -7
- package/src/views/bd/setting/form_script/edit.vue +9 -9
- package/src/views/bd/setting/form_script/edit1.vue +24 -20
- package/src/views/bd/setting/form_script/form_list.vue +5 -5
- package/src/views/bd/setting/form_script/list1.vue +10 -8
- package/src/views/bd/setting/form_script/mixins/dialog.js +15 -23
- package/src/views/bd/setting/form_script/mixins/edit1.js +19 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +52 -36
- package/src/views/bd/setting/form_script/mixins/list.js +19 -27
- package/src/views/bd/setting/form_script/mixins/list1.js +30 -37
- package/src/views/bd/setting/form_template/dialog.vue +6 -6
- package/src/views/bd/setting/form_template/edit.vue +32 -38
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +3 -3
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -4
- package/src/views/bd/setting/form_template/itemEdit.vue +29 -25
- package/src/views/bd/setting/form_template/itemList.vue +1 -1
- package/src/views/bd/setting/form_template/list.vue +17 -15
- package/src/views/bd/setting/form_template/mixins/dialog.js +7 -14
- package/src/views/bd/setting/form_template/mixins/edit.js +21 -3
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +4 -4
- package/src/views/bd/setting/form_template/mixins/itemList.js +43 -57
- package/src/views/bd/setting/form_template/mixins/list.js +42 -78
- package/src/views/bd/setting/form_template/preformDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/authDialog.vue +7 -2
- package/src/views/bd/setting/menu_kind/dialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/list.vue +8 -11
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +14 -33
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +15 -19
- package/src/views/bd/setting/menu_kind/mixins/list.js +17 -24
- package/src/views/bd/setting/table_model/dialog.vue +8 -6
- package/src/views/bd/setting/table_model/edit.vue +80 -42
- package/src/views/bd/setting/table_model/list.vue +10 -13
- package/src/views/bd/setting/table_model/mixins/dialog.js +6 -6
- package/src/views/bd/setting/table_model/mixins/edit.js +72 -85
- package/src/views/bd/setting/table_model/mixins/list.js +28 -59
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +14 -16
- package/src/views/bd/setting/table_model/zdDialog.vue +8 -6
- package/src/views/bd/setting/utils/index.js +60 -0
- package/src/views/user/form/vform/designer.vue +1 -0
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
{{ i18nt('designer.toolbar.pcLayout') }}
|
|
9
9
|
</el-button>
|
|
10
10
|
<!-- <el-button :type="layoutType === 'Pad' ? 'info' : ''" @click="changeLayoutType('Pad')">{{ i18nt('designer.toolbar.padLayout') }}</el-button>-->
|
|
11
|
-
<!-- <el-button :type="layoutType === 'H5' ? 'info' : ''" @click="changeLayoutType('H5')" size="mini">
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<!-- <el-button :type="layoutType === 'H5' ? 'info' : ''" @click="changeLayoutType('H5')" size="mini">
|
|
12
|
+
{{ i18nt('designer.toolbar.mobileLayout') }}
|
|
13
|
+
</el-button>-->
|
|
14
14
|
</el-button-group>
|
|
15
15
|
<!-- <el-button type="" style="margin-left: 20px" :title="i18nt('designer.toolbar.nodeTreeHint')" @click="showNodeTreeDrawer"><svg-icon icon-class="node-tree" /></el-button>-->
|
|
16
16
|
</div>
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
<i class="iconfont icon-liebiaoshezhi-list-setting"/>
|
|
43
43
|
表单/列表设置
|
|
44
44
|
</el-button>-->
|
|
45
|
-
<el-button type="primary" @click="saveReportTemplate()" plain
|
|
45
|
+
<el-button type="primary" @click="saveReportTemplate()" plain
|
|
46
|
+
v-if="designer.vueInstance.isDev && designer.vueInstance.menuKindAuth.editAuth===1">
|
|
46
47
|
<i class="el-icon-check"/>
|
|
47
48
|
保存
|
|
48
49
|
</el-button>
|
|
@@ -111,123 +112,123 @@
|
|
|
111
112
|
</VFormRender>
|
|
112
113
|
</div>
|
|
113
114
|
</div>
|
|
114
|
-
<!-- <el-tabs v-model="activeName" class="tab-box">
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
<code-editor v-model="testFunc" style="display: none"></code-editor>
|
|
138
|
-
</el-tab-pane>
|
|
139
|
-
<el-tab-pane label="列表" name="second">
|
|
140
|
-
<template v-if="false">
|
|
141
|
-
<div class="grid-height">
|
|
142
|
-
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
143
|
-
@custom="$vxeTableUtil.customHandle">
|
|
144
|
-
<template #form>
|
|
145
|
-
<div class="clearfix screen-btns">
|
|
146
|
-
<div class="fl">
|
|
147
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
|
|
148
|
-
</vxe-button>
|
|
149
|
-
</div>
|
|
150
|
-
<div class="fr">
|
|
151
|
-
<vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
|
|
152
|
-
@click="formData={}">重置
|
|
153
|
-
</vxe-button>
|
|
154
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
|
|
155
|
-
</vxe-button>
|
|
156
|
-
</div>
|
|
115
|
+
<!-- <el-tabs v-model="activeName" class="tab-box">
|
|
116
|
+
<el-tab-pane label="常规" name="first">
|
|
117
|
+
<div>
|
|
118
|
+
<div class="form-render-wrapper" id="containt"
|
|
119
|
+
:class="[layoutType === 'H5' ? 'h5-layout' : layoutType === 'Pad' ? 'pad-layout' : '']">
|
|
120
|
+
<VFormRender
|
|
121
|
+
ref="preForm"
|
|
122
|
+
:form-json="formJson"
|
|
123
|
+
:form-data="testFormData"
|
|
124
|
+
:preview-state="true"
|
|
125
|
+
:option-data="testOptionData"
|
|
126
|
+
@appendButtonClick="testOnAppendButtonClick"
|
|
127
|
+
@buttonClick="testOnButtonClick"
|
|
128
|
+
@formChange="handleFormChange"
|
|
129
|
+
:reportTemplate.sync="reportTemplate"
|
|
130
|
+
v-if="showRender" visible-key="showRender" :parent-target="_self" @reload="$reloadHandle"
|
|
131
|
+
>
|
|
132
|
+
<!–
|
|
133
|
+
<div slot="testSlot">aaaa</div>
|
|
134
|
+
–>
|
|
135
|
+
</VFormRender>
|
|
157
136
|
</div>
|
|
158
|
-
<template v-if="searchFields.length>0">
|
|
159
|
-
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
|
|
160
|
-
<vxe-form-item v-for="(item,index) in searchFields"
|
|
161
|
-
:key="index" :title="item.label+':'">
|
|
162
|
-
<template v-slot>
|
|
163
|
-
<el-input v-model="formData[item.prop]" size="small" clearable/>
|
|
164
|
-
</template>
|
|
165
|
-
</vxe-form-item>
|
|
166
|
-
</vxe-form>
|
|
167
|
-
</template>
|
|
168
|
-
</template>
|
|
169
|
-
</vxe-grid>
|
|
170
|
-
</div>
|
|
171
|
-
</template>
|
|
172
|
-
<template v-else>
|
|
173
|
-
<div id="containt">
|
|
174
|
-
<div class="tree-box fl">
|
|
175
|
-
<div class="tit"><b>机构分类</b></div>
|
|
176
|
-
<el-tree
|
|
177
|
-
:props="treeOption.defaultProps"
|
|
178
|
-
:load="loadNode"
|
|
179
|
-
node-key="id"
|
|
180
|
-
ref="tree"
|
|
181
|
-
highlight-current
|
|
182
|
-
lazy
|
|
183
|
-
:expand-on-click-node="false"
|
|
184
|
-
@node-click="handleNodeClick"
|
|
185
|
-
class="tree-list"
|
|
186
|
-
icon-class="el-icon-arrow-down"
|
|
187
|
-
></el-tree>
|
|
188
|
-
</div>
|
|
189
|
-
<label id="labBtn">
|
|
190
|
-
<div class="icon">
|
|
191
|
-
<i class="el-icon-more"></i>
|
|
192
|
-
<i class="el-icon-more"></i>
|
|
193
137
|
</div>
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
138
|
+
<code-editor v-model="testFunc" style="display: none"></code-editor>
|
|
139
|
+
</el-tab-pane>
|
|
140
|
+
<el-tab-pane label="列表" name="second">
|
|
141
|
+
<template v-if="false">
|
|
142
|
+
<div class="grid-height">
|
|
143
|
+
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
144
|
+
@custom="$vxeTableUtil.customHandle">
|
|
145
|
+
<template #form>
|
|
146
|
+
<div class="clearfix screen-btns">
|
|
147
|
+
<div class="fl">
|
|
148
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
|
|
149
|
+
</vxe-button>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="fr">
|
|
152
|
+
<vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
|
|
153
|
+
@click="formData={}">重置
|
|
154
|
+
</vxe-button>
|
|
155
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
|
|
156
|
+
</vxe-button>
|
|
157
|
+
</div>
|
|
211
158
|
</div>
|
|
159
|
+
<template v-if="searchFields.length>0">
|
|
160
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
|
|
161
|
+
<vxe-form-item v-for="(item,index) in searchFields"
|
|
162
|
+
:key="index" :title="item.label+':'">
|
|
163
|
+
<template v-slot>
|
|
164
|
+
<el-input v-model="formData[item.prop]" size="small" clearable/>
|
|
165
|
+
</template>
|
|
166
|
+
</vxe-form-item>
|
|
167
|
+
</vxe-form>
|
|
168
|
+
</template>
|
|
169
|
+
</template>
|
|
170
|
+
</vxe-grid>
|
|
171
|
+
</div>
|
|
172
|
+
</template>
|
|
173
|
+
<template v-else>
|
|
174
|
+
<div id="containt">
|
|
175
|
+
<div class="tree-box fl">
|
|
176
|
+
<div class="tit"><b>机构分类</b></div>
|
|
177
|
+
<el-tree
|
|
178
|
+
:props="treeOption.defaultProps"
|
|
179
|
+
:load="loadNode"
|
|
180
|
+
node-key="id"
|
|
181
|
+
ref="tree"
|
|
182
|
+
highlight-current
|
|
183
|
+
lazy
|
|
184
|
+
:expand-on-click-node="false"
|
|
185
|
+
@node-click="handleNodeClick"
|
|
186
|
+
class="tree-list"
|
|
187
|
+
icon-class="el-icon-arrow-down"
|
|
188
|
+
></el-tree>
|
|
189
|
+
</div>
|
|
190
|
+
<label id="labBtn">
|
|
191
|
+
<div class="icon">
|
|
192
|
+
<i class="el-icon-more"></i>
|
|
193
|
+
<i class="el-icon-more"></i>
|
|
212
194
|
</div>
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
195
|
+
</label>
|
|
196
|
+
<div class="main-right fr" style="padding-left:6px;">
|
|
197
|
+
<div class="grid-height">
|
|
198
|
+
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
199
|
+
@custom="$vxeTableUtil.customHandle">
|
|
200
|
+
<template #form>
|
|
201
|
+
<div class="clearfix screen-btns">
|
|
202
|
+
<div class="fl">
|
|
203
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
|
|
204
|
+
</vxe-button>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="fr">
|
|
207
|
+
<vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
|
|
208
|
+
@click="formData={}">重置
|
|
209
|
+
</vxe-button>
|
|
210
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
|
|
211
|
+
</vxe-button>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
<template v-if="searchFields.length>0">
|
|
215
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
|
|
216
|
+
<vxe-form-item v-for="(item,index) in searchFields"
|
|
217
|
+
:key="index" :title="item.label+':'">
|
|
218
|
+
<template v-slot>
|
|
219
|
+
<el-input v-model="formData[item.prop]" size="small" clearable/>
|
|
220
|
+
</template>
|
|
221
|
+
</vxe-form-item>
|
|
222
|
+
</vxe-form>
|
|
219
223
|
</template>
|
|
220
|
-
</
|
|
221
|
-
</vxe-
|
|
222
|
-
</
|
|
223
|
-
</
|
|
224
|
-
</
|
|
225
|
-
</
|
|
226
|
-
</
|
|
227
|
-
</
|
|
228
|
-
</template>
|
|
229
|
-
</el-tab-pane>
|
|
230
|
-
</el-tabs>-->
|
|
224
|
+
</template>
|
|
225
|
+
</vxe-grid>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</template>
|
|
230
|
+
</el-tab-pane>
|
|
231
|
+
</el-tabs>-->
|
|
231
232
|
<div slot="footer" class="dialog-footer" v-if="false">
|
|
232
233
|
<!-- <el-button type="primary" @click="getFormData" class="button-sty">{{ i18nt('designer.hint.getFormData') }}</el-button>
|
|
233
234
|
<el-button type="primary" @click="resetForm" class="button-sty">{{ i18nt('designer.hint.resetForm') }}</el-button>
|
|
@@ -530,10 +531,13 @@ div.toolbar-container {
|
|
|
530
531
|
|
|
531
532
|
.el-button {
|
|
532
533
|
margin-left: 15px;
|
|
533
|
-
margin-right:15px;
|
|
534
|
+
margin-right: 15px;
|
|
534
535
|
font-size: 14px;
|
|
535
536
|
vertical-align: middle;
|
|
536
|
-
|
|
537
|
+
|
|
538
|
+
&.el-button--primary {
|
|
539
|
+
padding: 7px 14px;
|
|
540
|
+
}
|
|
537
541
|
}
|
|
538
542
|
}
|
|
539
543
|
}
|