cloud-web-corejs-haier 1.0.23 → 1.0.25

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.
Files changed (44) hide show
  1. package/package.json +1 -1
  2. package/src/components/xform/form-designer/designer.js +1 -1
  3. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +1 -1
  4. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
  5. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -1
  6. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
  7. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +8 -2
  8. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  9. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +1 -1
  10. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +11 -1
  11. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +4 -1
  12. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
  13. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +37 -37
  14. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  15. package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
  16. package/src/components/xform/form-designer/indexMixin.js +1 -1
  17. package/src/components/xform/form-designer/refMixinDesign.js +1 -28
  18. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  19. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +57 -47
  20. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +1 -1
  21. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  22. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  23. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  24. package/src/components/xform/form-designer/widget-panel/indexMixin.js +1 -290
  25. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +60 -34
  26. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  27. package/src/components/xform/form-render/container-item/data-table-item.vue +6 -1
  28. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  29. package/src/components/xform/form-render/container-item/table2-item.vue +12 -4
  30. package/src/components/xform/form-render/dynamicDialogRender.js +1 -195
  31. package/src/components/xform/form-render/index.vue +7 -7
  32. package/src/components/xform/form-render/indexMixin.js +1 -1
  33. package/src/components/xform/form-render/refMixin.js +1 -1
  34. package/src/components/xform/lang/zh-CN.js +2 -0
  35. package/src/components/xform/mixins/defaultHandle.js +1 -338
  36. package/src/components/xform/mixins/scriptHttp.js +1 -172
  37. package/src/components/xform/utils/util.js +1 -1460
  38. package/src/components/xform/utils/validators.js +1 -133
  39. package/src/views/user/form/form_template/itemList.vue +221 -221
  40. package/src/views/user/form/form_template/list.vue +512 -512
  41. package/src/views/user/form/form_type/list.vue +142 -142
  42. package/src/views/user/form/report_requestaccess/list.vue +198 -198
  43. package/src/views/user/form/vform/render.vue +8 -0
  44. package/src/views/user/form/view/list.vue +9 -0
@@ -1,142 +1,142 @@
1
- <template>
2
- <div id="containt">
3
- <el-tabs v-model="activeName" class="tab-box">
4
- <el-tab-pane :label="$t1('常规')" name="first">
5
- <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
6
- @reload="$reloadHandle"></editView>
7
- </el-tab-pane>
8
- <el-tab-pane :label="$t1('列表')" name="second">
9
- <div class="grid-height">
10
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
11
- @custom="$vxeTableUtil.customHandle">
12
- <template #form>
13
- <div class="clearfix screen-btns">
14
- <div class="fl">
15
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">{{ $t1('新增') }}
16
- </vxe-button>
17
- <base-table-export :option="{ title: '表单类型导出', targetRef: 'table-m1'}" :parent-target="_self"/>
18
- </div>
19
- <div class="fr">
20
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
21
- plain>{{ $t1('重置') }}
22
- </vxe-button>
23
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
24
- {{ $t1('搜索') }}
25
- </vxe-button>
26
- </div>
27
- </div>
28
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
29
- @submit="searchEvent" @reset="searchEvent">
30
- <vxe-form-item title="表单类型名称:" field="formTypeName">
31
- <template v-slot>
32
- <el-input v-model="formData.formTypeName" size="small" clearable/>
33
- </template>
34
- </vxe-form-item>
35
- <vxe-form-item title="表单类型编码:" field="formTypeCode">
36
- <template v-slot>
37
- <el-input v-model="formData.formTypeCode" size="small" clearable/>
38
- </template>
39
- </vxe-form-item>
40
- </vxe-form>
41
- </template>
42
- </vxe-grid>
43
- </div>
44
- </el-tab-pane>
45
- </el-tabs>
46
- </div>
47
- </template>
48
-
49
- <script>
50
- import editView from './edit.vue';
51
-
52
- export default {
53
- name: 'form_type:list',
54
- components: {editView},
55
- data() {
56
- return {
57
- activeName: 'second',
58
- dataId: 0,
59
- showEdit: false,
60
- vxeOption: {},
61
- formData: {}
62
- };
63
- },
64
- mounted() {
65
- this.initTableList();
66
- },
67
- methods: {
68
- searchEvent() {
69
- this.$refs['table-m1'].commitProxy('reload');
70
- },
71
- resetEvent() {
72
- this.formData = {};
73
- this.$refs['table-m1'].commitProxy('reload');
74
- },
75
- openEditDialog(id) {
76
- this.dataId = !id || typeof id == 'object' ? 0 : id;
77
- this.activeName = 'first';
78
- this.$openEditView('showEdit');
79
- },
80
- initTableList() {
81
- let that = this;
82
- let tableOption = {
83
- vue: this,
84
- tableRef: 'table-m1',
85
- tableName: 'user_form_type_list-m1',
86
- path: USER_PREFIX + '/form_type/listPage',
87
- param: () => {
88
- return this.formData;
89
- },
90
- columns: [
91
- {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
92
- {
93
- field: 'formTypeCode',
94
- title: '表单类型编码',
95
- width: 150,
96
- fixed: 'left'
97
- },
98
- {
99
- title: '表单类型名称',
100
- field: 'formTypeName',
101
- width: 250
102
- },
103
- {
104
- field: 'createDate',
105
- title: this.$t1('创建时间'),
106
- width: 150
107
- },
108
- {
109
- width: 47,
110
- fixed: 'right',
111
- title: '',
112
- sortable: false,
113
- slots: {
114
- default: ({row}) => {
115
- return [
116
- <div>
117
- <a
118
- href="javascript:void(0);"
119
- class="a-link"
120
- onclick={() => {
121
- this.openEditDialog(row.id);
122
- }}
123
- >
124
- <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
125
- popper-class="tooltip-skin">
126
- <i class="el-icon-edit"/>
127
- </el-tooltip>
128
- </a>
129
- </div>
130
- ];
131
- }
132
- }
133
- }
134
- ]
135
- };
136
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
137
- this.vxeOption = opts;
138
- });
139
- }
140
- }
141
- };
142
- </script>
1
+ <template>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box">
4
+ <el-tab-pane :label="$t1('常规')" name="first">
5
+ <editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
6
+ @reload="$reloadHandle"></editView>
7
+ </el-tab-pane>
8
+ <el-tab-pane :label="$t1('列表')" name="second">
9
+ <div class="grid-height">
10
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
11
+ @custom="$vxeTableUtil.customHandle">
12
+ <template #form>
13
+ <div class="clearfix screen-btns">
14
+ <div class="fl">
15
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">{{ $t1('新增') }}
16
+ </vxe-button>
17
+ <base-table-export :option="{ title: '表单类型导出', targetRef: 'table-m1'}" :parent-target="_self"/>
18
+ </div>
19
+ <div class="fr">
20
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
21
+ plain>{{ $t1('重置') }}
22
+ </vxe-button>
23
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
24
+ {{ $t1('搜索') }}
25
+ </vxe-button>
26
+ </div>
27
+ </div>
28
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
29
+ @submit="searchEvent" @reset="searchEvent">
30
+ <vxe-form-item title="表单类型名称:" field="formTypeName">
31
+ <template v-slot>
32
+ <el-input v-model="formData.formTypeName" size="small" clearable/>
33
+ </template>
34
+ </vxe-form-item>
35
+ <vxe-form-item title="表单类型编码:" field="formTypeCode">
36
+ <template v-slot>
37
+ <el-input v-model="formData.formTypeCode" size="small" clearable/>
38
+ </template>
39
+ </vxe-form-item>
40
+ </vxe-form>
41
+ </template>
42
+ </vxe-grid>
43
+ </div>
44
+ </el-tab-pane>
45
+ </el-tabs>
46
+ </div>
47
+ </template>
48
+
49
+ <script>
50
+ import editView from './edit.vue';
51
+
52
+ export default {
53
+ name: 'form_type:list',
54
+ components: {editView},
55
+ data() {
56
+ return {
57
+ activeName: 'second',
58
+ dataId: 0,
59
+ showEdit: false,
60
+ vxeOption: {},
61
+ formData: {}
62
+ };
63
+ },
64
+ mounted() {
65
+ this.initTableList();
66
+ },
67
+ methods: {
68
+ searchEvent() {
69
+ this.$refs['table-m1'].commitProxy('reload');
70
+ },
71
+ resetEvent() {
72
+ this.formData = {};
73
+ this.$refs['table-m1'].commitProxy('reload');
74
+ },
75
+ openEditDialog(id) {
76
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
77
+ this.activeName = 'first';
78
+ this.$openEditView('showEdit');
79
+ },
80
+ initTableList() {
81
+ let that = this;
82
+ let tableOption = {
83
+ vue: this,
84
+ tableRef: 'table-m1',
85
+ tableName: 'user_form_type_list-m1',
86
+ path: USER_PREFIX + '/form_type/listPage',
87
+ param: () => {
88
+ return this.formData;
89
+ },
90
+ columns: [
91
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
92
+ {
93
+ field: 'formTypeCode',
94
+ title: '表单类型编码',
95
+ width: 150,
96
+ fixed: 'left'
97
+ },
98
+ {
99
+ title: '表单类型名称',
100
+ field: 'formTypeName',
101
+ width: 250
102
+ },
103
+ {
104
+ field: 'createDate',
105
+ title: this.$t1('创建时间'),
106
+ width: 150
107
+ },
108
+ {
109
+ width: 47,
110
+ fixed: 'right',
111
+ title: '',
112
+ sortable: false,
113
+ slots: {
114
+ default: ({row}) => {
115
+ return [
116
+ <div>
117
+ <a
118
+ href="javascript:void(0);"
119
+ class="a-link"
120
+ onclick={() => {
121
+ this.openEditDialog(row.id);
122
+ }}
123
+ >
124
+ <el-tooltip enterable={false} effect="dark" content={ this.$t1('查看') } placement="top"
125
+ popper-class="tooltip-skin">
126
+ <i class="el-icon-edit"/>
127
+ </el-tooltip>
128
+ </a>
129
+ </div>
130
+ ];
131
+ }
132
+ }
133
+ }
134
+ ]
135
+ };
136
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
137
+ this.vxeOption = opts;
138
+ });
139
+ }
140
+ }
141
+ };
142
+ </script>