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,87 +1,172 @@
1
- <template>
2
- <div id="containt">
3
- <el-tabs v-model="activeName" class="tab-box">
4
- <el-tab-pane :label="$t1('列表')" name="second">
5
- <div class="grid-height">
6
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
7
- @custom="$vxeTableUtil.customHandle">
8
- <template #form>
9
- <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
10
- <template #buttonLeft>
11
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">
12
- {{ $t1('导入发布') }}
13
- </vxe-button>
14
- <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
15
- v-if="isBdFlag">{{ $t1('导出发布') }}
16
- </vxe-button>
17
- </template>
18
- <template #buttonRight>
19
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
20
- plain>{{ $t1('重置') }}
21
- </vxe-button>
22
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
23
- {{ $t1('搜索') }}
24
- </vxe-button>
25
- </template>
26
- </tableForm>
27
- </template>
28
- <template #editOrders="{row}">
29
- <base-input-number v-model="row.orders"></base-input-number>
30
- </template>
31
- <template #taPrefix="{row}">
32
- <el-input v-model="row.taPrefix" clearable v-if="row.parent"></el-input>
33
- <span v-else>{{row.taPrefix}}</span>
34
- </template>
35
- <template #operate="obj">
36
- <div class="cell-operate">
37
- <template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
38
- <template v-if="isBdFlag">
39
- <a @click="saveRowEvent(obj)" class="a-link">
40
- <el-tooltip :enterable="false" effect="dark" :content="$t1('保存')" placement="top"
41
- popper-class="tooltip-skin"><i class="el-icon-circle-check"></i></el-tooltip>
42
- </a>
43
- <a @click="cancleRowEvent(obj)" class="a-link" v-if="hasSaveRow(obj.row)">
44
- <el-tooltip :enterable="false" effect="dark" :content="$t1('取消行编辑')" placement="top"
45
- popper-class="tooltip-skin"><i class="el-icon-circle-close"></i></el-tooltip>
46
- </a>
47
- <a @click="removeRowEvent(obj)" class="a-link" v-if="!hasSaveRow(obj.row)">
48
- <el-tooltip :enterable="false" effect="dark" :content="$t1('删除')" placement="top"
49
- popper-class="tooltip-skin"><i class="el-icon-delete"></i></el-tooltip>
50
- </a>
51
- </template>
52
- </template>
53
- <template v-else>
54
- <template v-if="isBdFlag">
55
- <a class="a-link" @click="insertChildEvent(obj)" v-if="obj.row.editAuth">
56
- <el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
57
- popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
58
- </a>
59
- <a @click="editRowEvent(obj)" class="a-link" v-if="!obj.row.createDate || obj.row.editAuth">
60
- <el-tooltip :enterable="false" effect="dark" :content="$t1('行编辑')" placement="top"
61
- popper-class="tooltip-skin"><i class="el-icon-edit-outline"></i></el-tooltip>
62
- </a>
63
- </template>
64
- <a @click="openAuthDialog(obj)" class="a-link" v-if="obj.row.authAuth">
65
- <el-tooltip :enterable="false" effect="dark" :content="$t1('权限')" placement="top"
66
- popper-class="tooltip-skin"><i class="el-icon-setting"></i></el-tooltip>
67
- </a>
68
- </template>
69
- </div>
70
- </template>
71
- </vxe-grid>
72
- </div>
73
- </el-tab-pane>
74
- </el-tabs>
75
- <authDialog v-if="showAuthDialog" :visiable.sync="showAuthDialog" :currentMenuKind="currentMenuKind"
76
- @confirm="confirmAuthDialog"
77
- multi="false"/>
78
- </div>
79
- </template>
80
- <script>
81
- import mixin from "./mixins/list";
82
-
83
- export default {
84
- name: 'menu_kind:list',
85
- mixins: [mixin]
86
- }
87
- </script>
1
+ <template>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box">
4
+ <el-tab-pane :label="$t1('列表')" name="second">
5
+ <div class="grid-height">
6
+ <vxe-grid
7
+ ref="table-m1"
8
+ v-bind="vxeOption"
9
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
10
+ @custom="$vxeTableUtil.customHandle"
11
+ >
12
+ <template #form>
13
+ <tableForm
14
+ :formData.sync="formData"
15
+ @searchEvent="searchEvent"
16
+ @resetEvent="resetEvent"
17
+ >
18
+ <template #buttonLeft>
19
+ <vxe-button
20
+ status="success"
21
+ class="button-sty"
22
+ icon="el-icon-download"
23
+ @click="jsonImport"
24
+ >
25
+ {{ $t1("导入发布") }}
26
+ </vxe-button>
27
+ <vxe-button
28
+ status="success"
29
+ class="button-sty"
30
+ icon="el-icon-upload2"
31
+ @click="jsonExport"
32
+ v-if="isBdFlag"
33
+ >{{ $t1("导出发布") }}
34
+ </vxe-button>
35
+ </template>
36
+ <template #buttonRight>
37
+ <vxe-button
38
+ icon="el-icon-brush"
39
+ class="button-sty"
40
+ @click="resetEvent"
41
+ type="text"
42
+ status="primary"
43
+ plain
44
+ >{{ $t1("重置") }}
45
+ </vxe-button>
46
+ <vxe-button
47
+ status="warning"
48
+ icon="el-icon-search"
49
+ class="button-sty"
50
+ @click="searchEvent"
51
+ >
52
+ {{ $t1("搜索") }}
53
+ </vxe-button>
54
+ </template>
55
+ </tableForm>
56
+ </template>
57
+ <template #editOrders="{ row }">
58
+ <base-input-number v-model="row.orders"></base-input-number>
59
+ </template>
60
+ <template #taPrefix="{ row }">
61
+ <el-input v-model="row.taPrefix" clearable v-if="row.parent"></el-input>
62
+ <span v-else>{{ row.taPrefix }}</span>
63
+ </template>
64
+ <template #operate="obj">
65
+ <div class="cell-operate">
66
+ <template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
67
+ <template v-if="isBdFlag">
68
+ <a @click="saveRowEvent(obj)" class="a-link">
69
+ <el-tooltip
70
+ :enterable="false"
71
+ effect="dark"
72
+ :content="$t1('保存')"
73
+ placement="top"
74
+ popper-class="tooltip-skin"
75
+ ><i class="el-icon-circle-check"></i
76
+ ></el-tooltip>
77
+ </a>
78
+ <a
79
+ @click="cancleRowEvent(obj)"
80
+ class="a-link"
81
+ v-if="hasSaveRow(obj.row)"
82
+ >
83
+ <el-tooltip
84
+ :enterable="false"
85
+ effect="dark"
86
+ :content="$t1('取消行编辑')"
87
+ placement="top"
88
+ popper-class="tooltip-skin"
89
+ ><i class="el-icon-circle-close"></i
90
+ ></el-tooltip>
91
+ </a>
92
+ <a
93
+ @click="removeRowEvent(obj)"
94
+ class="a-link"
95
+ v-if="!hasSaveRow(obj.row)"
96
+ >
97
+ <el-tooltip
98
+ :enterable="false"
99
+ effect="dark"
100
+ :content="$t1('删除')"
101
+ placement="top"
102
+ popper-class="tooltip-skin"
103
+ ><i class="el-icon-delete"></i
104
+ ></el-tooltip>
105
+ </a>
106
+ </template>
107
+ </template>
108
+ <template v-else>
109
+ <template v-if="isBdFlag">
110
+ <a
111
+ class="a-link"
112
+ @click="insertChildEvent(obj)"
113
+ v-if="obj.row.editAuth"
114
+ >
115
+ <el-tooltip
116
+ :enterable="false"
117
+ effect="dark"
118
+ :content="$t1('新增')"
119
+ placement="top"
120
+ popper-class="tooltip-skin"
121
+ ><i class="el-icon-circle-plus-outline"></i
122
+ ></el-tooltip>
123
+ </a>
124
+ <a
125
+ @click="editRowEvent(obj)"
126
+ class="a-link"
127
+ v-if="!obj.row.createDate || obj.row.editAuth"
128
+ >
129
+ <el-tooltip
130
+ :enterable="false"
131
+ effect="dark"
132
+ :content="$t1('行编辑')"
133
+ placement="top"
134
+ popper-class="tooltip-skin"
135
+ ><i class="el-icon-edit-outline"></i
136
+ ></el-tooltip>
137
+ </a>
138
+ </template>
139
+ <a @click="openAuthDialog(obj)" class="a-link" v-if="obj.row.authAuth">
140
+ <el-tooltip
141
+ :enterable="false"
142
+ effect="dark"
143
+ :content="$t1('权限')"
144
+ placement="top"
145
+ popper-class="tooltip-skin"
146
+ ><i class="el-icon-setting"></i
147
+ ></el-tooltip>
148
+ </a>
149
+ </template>
150
+ </div>
151
+ </template>
152
+ </vxe-grid>
153
+ </div>
154
+ </el-tab-pane>
155
+ </el-tabs>
156
+ <authDialog
157
+ v-if="showAuthDialog"
158
+ :visiable.sync="showAuthDialog"
159
+ :currentMenuKind="currentMenuKind"
160
+ @confirm="confirmAuthDialog"
161
+ multi="false"
162
+ />
163
+ </div>
164
+ </template>
165
+ <script>
166
+ import mixin from "./mixins/list";
167
+
168
+ export default {
169
+ name: "menu_kind:list",
170
+ mixins: [mixin],
171
+ };
172
+ </script>