cloud-web-corejs 1.0.54-dev.371 → 1.0.54-dev.373

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.
@@ -113,6 +113,11 @@ export default {
113
113
  onCellDblclick: (param) => {
114
114
  this.checkWithSubmit(param);
115
115
  },
116
+ otherConfig: {
117
+ onFilter: () => {
118
+ this.checkRows = [];
119
+ },
120
+ },
116
121
  config: {
117
122
  checkboxConfig: {
118
123
  checkStrictly: true,
@@ -1051,6 +1051,7 @@ modules = {
1051
1051
  searchColumns: searchColumns,
1052
1052
  isQueryAllPage,
1053
1053
  vform: true,
1054
+ ...(dataTableConfig.otherConfig || {}),
1054
1055
  config: {
1055
1056
  height: height,
1056
1057
  showFooter,
@@ -24,12 +24,18 @@
24
24
  <template v-if="showFormContent">
25
25
  <template v-for="(widget, index) in widgetList">
26
26
  <template v-if="'container' === widget.category">
27
- <component :is="getContainerWidgetName(widget)" :widget="widget" :field="widget" :key="widget.id"
28
- :parent-list="widgetList"
29
- :index-of-parent-list="index" :parent-widget="null">
27
+ <component
28
+ :is="getContainerWidgetName(widget)"
29
+ :widget="widget"
30
+ :field="widget"
31
+ :key="widget.id"
32
+ :parent-list="widgetList"
33
+ :index-of-parent-list="index"
34
+ :parent-widget="null"
35
+ >
30
36
  <!-- 递归传递插槽!!! -->
31
37
  <template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
32
- <slot :name="slot" v-bind="scope"/>
38
+ <slot :name="slot" v-bind="scope" />
33
39
  </template>
34
40
  </component>
35
41
  </template>
@@ -46,40 +52,73 @@
46
52
  >
47
53
  <!-- 递归传递插槽!!! -->
48
54
  <template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
49
- <slot :name="slot" v-bind="scope"/>
55
+ <slot :name="slot" v-bind="scope" />
50
56
  </template>
51
57
  </component>
52
58
  </template>
53
59
  </template>
54
60
  </template>
55
61
  </el-form>
56
- <searchFormDialog v-if="showSearchDialog" :visiable.sync="showSearchDialog"
57
- :option="searchDialogOption"></searchFormDialog>
58
- <formDialog v-if="showFormDialog" :visiable.sync="showFormDialog" :option="formDialogOption"></formDialog>
59
- <importDialog v-if="showImportDialog" :visiable.sync="showImportDialog" :param="importDialogOption"
60
- :parentTarget="_self"></importDialog>
61
- <formDrawer v-if="showFormDrawer" :visiable.sync="showFormDrawer" :option="formDrawerOption"></formDrawer>
62
- <fileReferenceDialog v-if="showFileReferenceDialog" :visiable.sync="showFileReferenceDialog" :option="fileReferenceDialogOption"></fileReferenceDialog>
62
+ <searchFormDialog
63
+ v-if="showSearchDialog"
64
+ :visiable.sync="showSearchDialog"
65
+ :option="searchDialogOption"
66
+ ></searchFormDialog>
67
+ <formDialog
68
+ v-if="showFormDialog"
69
+ :visiable.sync="showFormDialog"
70
+ :option="formDialogOption"
71
+ ></formDialog>
72
+ <importDialog
73
+ v-if="showImportDialog"
74
+ :visiable.sync="showImportDialog"
75
+ :param="importDialogOption"
76
+ :parentTarget="_self"
77
+ ></importDialog>
78
+ <formDrawer
79
+ v-if="showFormDrawer"
80
+ :visiable.sync="showFormDrawer"
81
+ :option="formDrawerOption"
82
+ ></formDrawer>
83
+ <fileReferenceDialog
84
+ v-if="showFileReferenceDialog"
85
+ :visiable.sync="showFileReferenceDialog"
86
+ :option="fileReferenceDialogOption"
87
+ ></fileReferenceDialog>
88
+ <formulaDialog
89
+ v-if="formulaDialogVisible"
90
+ :visiable.sync="formulaDialogVisible"
91
+ :option="formulaDialogOption"
92
+ ></formulaDialog>
63
93
  </div>
64
94
  </template>
65
95
 
66
96
  <script>
67
97
  //import ElForm from 'element-ui/packages/form/src/form.vue' /* 用于源码调试Element UI */
68
- import './container-item/index';
69
- import FieldComponents from '../../../components/xform/form-designer/form-widget/field-widget/index';
70
- import indexMixin from '../../../components/xform/form-render/indexMixin';
71
-
98
+ import "./container-item/index";
99
+ import FieldComponents from "../../../components/xform/form-designer/form-widget/field-widget/index";
100
+ import indexMixin from "../../../components/xform/form-render/indexMixin";
72
101
 
73
102
  export default {
74
- name: 'VFormRender',
103
+ name: "VFormRender",
75
104
  components: {
76
105
  ...FieldComponents,
77
- searchFormDialog: () => import("../../../components/xform/form-designer/form-widget/dialog/searchFormDialog.vue"),
78
- formDialog: () => import("../../../components/xform/form-designer/form-widget/dialog/formDialog.vue"),
79
- importDialog: () => import("../../../components/xform/form-designer/form-widget/dialog/importDialog.vue"),
80
- formDrawer: () => import("../../../components/xform/form-designer/form-widget/dialog/formDrawer.vue"),
81
- fileReferenceDialog: () => import("../../../components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue")
82
-
106
+ searchFormDialog: () =>
107
+ import(
108
+ "../../../components/xform/form-designer/form-widget/dialog/searchFormDialog.vue"
109
+ ),
110
+ formDialog: () =>
111
+ import("../../../components/xform/form-designer/form-widget/dialog/formDialog.vue"),
112
+ importDialog: () =>
113
+ import(
114
+ "../../../components/xform/form-designer/form-widget/dialog/importDialog.vue"
115
+ ),
116
+ formDrawer: () =>
117
+ import("../../../components/xform/form-designer/form-widget/dialog/formDrawer.vue"),
118
+ fileReferenceDialog: () =>
119
+ import(
120
+ "../../../components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue"
121
+ ),
83
122
  },
84
123
  mixins: [indexMixin],
85
124
  };