cloud-web-corejs 1.0.188 → 1.0.190

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 (87) hide show
  1. package/package.json +273 -187
  2. package/src/components/baseAlert/index.vue +23 -19
  3. package/src/components/baseAlert/mixins.js +1 -1
  4. package/src/components/baseInputExport/index.vue +1 -1
  5. package/src/components/baseInputExport/mixins.js +1 -1
  6. package/src/components/errorMsg/index.vue +78 -78
  7. package/src/components/errorMsg/mixins.js +1 -1
  8. package/src/components/excelImport/mixins.js +1 -1
  9. package/src/components/fileLibrary/index.vue +17 -14
  10. package/src/components/hiprint/view/design/index.vue +139 -47
  11. package/src/components/hiprint/view/design/preview.vue +75 -52
  12. package/src/components/hiprint/view/json-view.vue +31 -31
  13. package/src/components/luckysheet/dialog.vue +159 -0
  14. package/src/components/luckysheet/export.js +5 -0
  15. package/src/components/luckysheet/fileUtils.js +1 -0
  16. package/src/components/luckysheet/index.js +1 -0
  17. package/src/components/luckysheet/templateJson.js +12078 -0
  18. package/src/components/luckysheet/view.vue +210 -0
  19. package/src/components/oplogTable/mixins.js +4 -4
  20. package/src/components/table/index.js +1 -1
  21. package/src/components/table/util/index.js +8 -1
  22. package/src/components/wf/content.vue +3 -2
  23. package/src/components/wf/wf.js +1 -1
  24. package/src/components/wf/wfUtil.js +1 -1
  25. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +1 -1
  26. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +8 -2
  27. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  28. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +1 -1
  29. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +11 -1
  30. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +4 -0
  31. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
  32. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
  33. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +37 -37
  34. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +54 -47
  35. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
  36. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +1 -1
  37. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  38. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  39. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  40. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  41. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +39 -34
  42. package/src/components/xform/form-render/container-item/data-table-item.vue +6 -1
  43. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  44. package/src/components/xform/form-render/index.vue +7 -7
  45. package/src/components/xform/form-render/indexMixin.js +2 -1
  46. package/src/components/xform/lang/zh-CN.js +2 -0
  47. package/src/components/xform/utils/formHttp.js +162 -0
  48. package/src/layout/components/extractedCode/viewDialog.vue +1 -0
  49. package/src/mixins/tableTree/index.js +4 -4
  50. package/src/store/modules/permission.js +41 -41
  51. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +1 -239
  52. package/src/views/bd/setting/form_script/edit.vue +9 -0
  53. package/src/views/bd/setting/form_script/edit1.vue +29 -3
  54. package/src/views/bd/setting/form_script/form_list.vue +99 -37
  55. package/src/views/bd/setting/form_script/list1.vue +181 -118
  56. package/src/views/bd/setting/form_script/mixins/dialog.js +1 -1
  57. package/src/views/bd/setting/form_script/mixins/edit.js +3 -2
  58. package/src/views/bd/setting/form_script/mixins/edit1.js +3 -2
  59. package/src/views/bd/setting/form_script/mixins/list.js +1 -1
  60. package/src/views/bd/setting/form_script/mixins/list1.js +1 -1
  61. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  62. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  63. package/src/views/bd/setting/form_template/edit.vue +13 -0
  64. package/src/views/bd/setting/form_template/list.vue +326 -214
  65. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +2 -1
  66. package/src/views/bd/setting/form_template/mixins/edit.js +10 -9
  67. package/src/views/bd/setting/form_template/mixins/list.js +3 -3
  68. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +7 -0
  69. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  70. package/src/views/bd/setting/logic_param/edit2.vue +17 -0
  71. package/src/views/bd/setting/menu_kind/list.vue +172 -87
  72. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +7 -7
  73. package/src/views/bd/setting/menu_kind/mixins/list.js +1 -201
  74. package/src/views/bd/setting/table_model/edit.vue +345 -304
  75. package/src/views/bd/setting/table_model/list.vue +190 -128
  76. package/src/views/bd/setting/table_model/mixins/edit.js +3 -1
  77. package/src/views/bd/setting/table_model/mixins/list.js +2 -2
  78. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +7 -0
  79. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  80. package/src/views/user/company_info/dialog.vue +80 -49
  81. package/src/views/user/home/default.vue +8 -6
  82. package/src/views/user/notify_message/dialog.vue +9 -7
  83. package/src/views/user/user/form_dialog.vue +158 -0
  84. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  85. package/src/views/user/wf/wfReport/index.vue +1 -0
  86. package/src/views/user/wf/wf_manage/list.vue +8 -1
  87. package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
@@ -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 v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :currentFormType="currentFormType"
6
- :parent-target="_self" @reload="$reloadHandle"></editView>
7
- </el-tab-pane>
8
- <el-tab-pane :label="$t1('列表')" name="second">
9
- <div class="tree-box fl">
10
- <div class="tit"><b>{{ $t1('表单分类') }}</b></div>
11
- <div class="tree-btns" style="margin-top: 10px;">
12
- </div>
13
- <el-tree
14
- v-if="showTree"
15
- :props="defaultProps"
16
- :load="loadNode"
17
- node-key="id"
18
- ref="tree"
19
- highlight-current
20
- lazy
21
- :expand-on-click-node="false"
22
- @node-click="handleNodeClick"
23
- class="tree-list"
24
- icon-class="el-icon-arrow-down"
25
- ></el-tree>
26
- </div>
27
- <label id="labBtn">
28
- <div class="icon">
29
- <i class="el-icon-more"></i>
30
- <i class="el-icon-more"></i>
31
- </div>
32
- </label>
33
- <div class="main-right fr" style="padding-left:6px;">
34
- <div class="grid-height">
35
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
36
- @custom="$vxeTableUtil.customHandle">
37
- <template #form>
38
- <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
39
- <template #buttonLeft>
40
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
41
- v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
42
- </vxe-button>
43
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
44
- </vxe-button>
45
- <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
46
- v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
47
- </vxe-button>
48
- <projectTagAddButton :option="addProjectTagOption"
49
- v-if="isDev && currentFormType.editAuth===1"></projectTagAddButton>
50
- <projectTagDeleteButton :option="deleteProjectTagOption"
51
- v-if="isDev && currentFormType.editAuth===1"></projectTagDeleteButton>
52
- </template>
53
- <template #buttonRight>
54
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
55
- plain>{{ $t1('重置') }}
56
- </vxe-button>
57
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
58
- {{ $t1('搜索') }}
59
- </vxe-button>
60
- </template>
61
- <template #menuKindName>
62
- <vxe-form-item :title="$t1('表单分类') + ':'" field="tag">
63
- <template v-slot>
64
- <el-input v-model="currentMenuKindName" disabled></el-input>
65
- </template>
66
- </vxe-form-item>
67
- </template>
68
- <template #tag>
69
- <vxe-form-item :title="$t1('项目标签') + ':'" field="tag">
70
- <template v-slot>
71
- <el-input
72
- class="search-input"
73
- max="200"
74
- :value="getTabNames()"
75
- @clear="
76
- checkTags = [];
77
- "
78
- v-el-readonly
79
- clearable
80
- >
81
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openProjectTagDialog3"></i>
82
- </el-input>
83
- </template>
84
- </vxe-form-item>
85
- </template>
86
- </tableForm>
87
- </template>
88
- <template #tag="{row}">
89
- <projectTagView v-model="row.szTaMbTagDTOs" :readonly="true"></projectTagView>
90
- </template>
91
- </vxe-grid>
92
- </div>
93
- </div>
94
- </el-tab-pane>
95
- <template #editTab="{tab,index,reloadTabContent}">
96
- <el-tab-pane :key="tab.data.id" :label="tab.data.taCh" :name="tab.data.id+''"
97
- :closable="true">
98
- <editView v-if="tab.showContent" :_dataId="tab.dataId" :currentFormType="currentFormType"
99
- :parent-target="_self"
100
- @reload="reloadTabContent"></editView>
101
- </el-tab-pane>
102
- </template>
103
- </x-tabs>
104
-
105
- <MenuKindDialog v-if="showMenuKindDialog"
106
- :visiable.sync="showMenuKindDialog"
107
- @confirm="confirmInsertMenuKind"
108
- :param="{ taType: 0,moveButton:true }"
109
- :checkRowIds="szTaMbIds"
110
- :multi="false"
111
- />
112
- <projectTagDialog v-if="showProjectTagDialog3"
113
- :visiable.sync="showProjectTagDialog3"
114
- @confirm="confirmProjectTagDialog3"
115
- :rows="checkTags"
116
- :multi="true"></projectTagDialog>
117
-
118
- </div>
119
- </template>
120
-
121
- <script>
122
- import mixin from "./mixins/list";
123
-
124
- export default {
125
- name: 'table_model:list',
126
- mixins: [mixin]
127
- }
128
- </script>
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>