cloud-web-corejs 1.0.14 → 1.0.16
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/exportDialog.vue +63 -0
- package/src/components/jsonImport/index.js +3 -1
- package/src/components/jsonImport/index.vue +6 -5
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +77 -0
- package/src/components/xform/form-designer/index.vue +13 -3
- package/src/components/xform/form-designer/indexMixin.js +4 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +1 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +11 -11
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/layout/components/Sidebar/default.vue +1226 -0
- package/src/layout/components/Sidebar/index.vue +5 -1178
- package/src/layout/defaultLayout.vue +150 -0
- package/src/layout/index.vue +4 -138
- package/src/permission.js +1 -1
- package/src/router/modules/customer.js +1 -1
- package/src/router/modules/system.js +2 -2
- package/src/store/modules/permission.js +4 -3
- package/src/views/bd/setting/bd_attach_setting/list.vue +64 -45
- package/src/views/bd/setting/form_script/edit.vue +40 -25
- package/src/views/bd/setting/form_script/edit1.vue +40 -25
- package/src/views/bd/setting/form_script/list.vue +13 -8
- package/src/views/bd/setting/form_script/list1.vue +74 -37
- package/src/views/bd/setting/form_template/edit.vue +41 -25
- package/src/views/bd/setting/form_template/list.vue +72 -58
- package/src/views/bd/setting/form_template/preformDialog.vue +77 -0
- package/src/views/bd/setting/menu_kind/authDialog.vue +308 -0
- package/src/views/bd/setting/menu_kind/dialog.vue +3 -0
- package/src/views/bd/setting/menu_kind/list.vue +35 -9
- package/src/views/bd/setting/table_model/edit.vue +48 -34
- package/src/views/bd/setting/table_model/list.vue +72 -33
- package/src/views/user/home/index.vue +4 -2
- package/src/views/user/login/indexMixin.js +45 -21
- package/src/views/user/user/form_edit.vue +483 -0
- package/src/views/user/user/form_list.vue +348 -0
- package/src/views/user/user/list.vue +2 -2
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
title="表单提交"
|
|
4
|
+
:visible.sync="showDialog"
|
|
5
|
+
:modal-append-to-body="false"
|
|
6
|
+
:close-on-click-modal="false"
|
|
7
|
+
:modal="false"
|
|
8
|
+
custom-class="dialog-style wf-dialog"
|
|
9
|
+
v-el-drag-dialog
|
|
10
|
+
v-el-dialog-center
|
|
11
|
+
@close="closeDialog"
|
|
12
|
+
>
|
|
13
|
+
<el-form ref="editForm" :model="formData">
|
|
14
|
+
<div id="containt">
|
|
15
|
+
<table class="table-detail">
|
|
16
|
+
<tbody>
|
|
17
|
+
<tr>
|
|
18
|
+
<th>
|
|
19
|
+
<span class="t">
|
|
20
|
+
<em class="f-red">*</em>
|
|
21
|
+
{{ $t1('备注') }}
|
|
22
|
+
</span>
|
|
23
|
+
</th>
|
|
24
|
+
<td>
|
|
25
|
+
<el-form-item prop="logContent" :rules="[{ required:true, trigger: ['blur', 'change'] }]">
|
|
26
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')"
|
|
27
|
+
v-model="formData.logContent"></el-input>
|
|
28
|
+
</el-form-item>
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
</tbody>
|
|
32
|
+
</table>
|
|
33
|
+
</div>
|
|
34
|
+
</el-form>
|
|
35
|
+
<span slot="footer" class="dialog-footer">
|
|
36
|
+
<el-button type="primary" plain class="button-sty" @click="closeDialog">
|
|
37
|
+
<i class="el-icon-close el-icon"></i>
|
|
38
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
39
|
+
</el-button>
|
|
40
|
+
<el-button type="primary" @click="confirmDialog" class="button-sty">
|
|
41
|
+
<i class="el-icon-check el-icon"></i>
|
|
42
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
|
43
|
+
</el-button>
|
|
44
|
+
</span>
|
|
45
|
+
</el-dialog>
|
|
46
|
+
</template>
|
|
47
|
+
<script>
|
|
48
|
+
export default {
|
|
49
|
+
name: "preformDialog",
|
|
50
|
+
data() {
|
|
51
|
+
return {
|
|
52
|
+
showDialog: true,
|
|
53
|
+
formData: {
|
|
54
|
+
logContent: null
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
methods: {
|
|
59
|
+
closeDialog() {
|
|
60
|
+
this.$emit("update:visiable", false);
|
|
61
|
+
this.showDialog = false;
|
|
62
|
+
},
|
|
63
|
+
confirmDialog() {
|
|
64
|
+
this.$refs.editForm.$baseValidate(valid => {
|
|
65
|
+
if (valid) {
|
|
66
|
+
this.closeDialog();
|
|
67
|
+
this.$emit("confirm", this.formData);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</script>
|
|
75
|
+
<style scoped>
|
|
76
|
+
|
|
77
|
+
</style>
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
</el-header> -->
|
|
32
32
|
|
|
33
33
|
<el-container>
|
|
34
|
-
<el-aside class="side-panel attribute-right"
|
|
34
|
+
<el-aside class="side-panel attribute-right">
|
|
35
|
+
<widget-panel ref="widgetPanelRef" :designer="designer"/>
|
|
36
|
+
</el-aside>
|
|
35
37
|
|
|
36
38
|
<el-container class="center-layout-container">
|
|
37
39
|
<el-header class="toolbar-header">
|
|
@@ -43,13 +45,18 @@
|
|
|
43
45
|
</el-header>
|
|
44
46
|
<el-main class="form-widget-main">
|
|
45
47
|
<el-scrollbar class="container-scroll-bar" style="height:calc(100vh - 125px)">
|
|
46
|
-
<v-form-widget :designer="designer" :form-config="designer.formConfig" ref="formRef"
|
|
48
|
+
<v-form-widget :designer="designer" :form-config="designer.formConfig" ref="formRef"></v-form-widget>
|
|
47
49
|
</el-scrollbar>
|
|
48
50
|
</el-main>
|
|
49
51
|
</el-container>
|
|
50
52
|
|
|
51
|
-
<el-aside class="attribute-right"
|
|
53
|
+
<el-aside class="attribute-right">
|
|
54
|
+
<setting-panel :designer="designer" :selected-widget="designer.selectedWidget"
|
|
55
|
+
:form-config="designer.formConfig" ref="formSettingRef"/>
|
|
56
|
+
</el-aside>
|
|
52
57
|
</el-container>
|
|
58
|
+
<preformDialog v-if="showPreformDialog" :visiable.sync="showPreformDialog"
|
|
59
|
+
@confirm="confirmPreformDialog"></preformDialog>
|
|
53
60
|
</el-container>
|
|
54
61
|
</template>
|
|
55
62
|
|
|
@@ -60,10 +67,12 @@ import ToolbarPanel from './toolbar-panel/index';
|
|
|
60
67
|
import SettingPanel from './setting-panel/index';
|
|
61
68
|
import VFormWidget from './form-widget/index';
|
|
62
69
|
import indexMixin from '../../../components/xform/form-designer/indexMixin';
|
|
70
|
+
import preformDialog from "../../../components/xform/form-designer/form-widget/dialog/preformDialog.vue";
|
|
63
71
|
|
|
64
72
|
export default {
|
|
65
73
|
name: 'VFormDesigner',
|
|
66
74
|
components: {
|
|
75
|
+
preformDialog,
|
|
67
76
|
WidgetPanel,
|
|
68
77
|
ToolbarPanel,
|
|
69
78
|
SettingPanel,
|
|
@@ -77,6 +86,7 @@ export default {
|
|
|
77
86
|
.el-aside {
|
|
78
87
|
font-family: inherit !important;
|
|
79
88
|
}
|
|
89
|
+
|
|
80
90
|
.el-container.main-container {
|
|
81
91
|
background: #fff;
|
|
82
92
|
|