cloud-web-corejs 1.0.54-dev.568 → 1.0.54-dev.569

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 (146) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/index.js +48 -1
  3. package/src/components/VabUpload/mixins.js +1821 -1
  4. package/src/components/VabUpload/privateProfileDialogMixins.js +1063 -1
  5. package/src/components/advancedSearchDialog/mixins.js +28 -1
  6. package/src/components/baseAlert/index.js +44 -1
  7. package/src/components/baseAlert/mixins.js +61 -1
  8. package/src/components/baseAttachment/install.js +21 -5
  9. package/src/components/baseAttachment/mixins.js +317 -1
  10. package/src/components/baseInputBatch/mixins.js +58 -1
  11. package/src/components/baseInputExport/mixins.js +391 -1
  12. package/src/components/baseTabs/mixins.js +166 -1
  13. package/src/components/cnPrint/index.js +44 -1
  14. package/src/components/cnPrint/mixins.js +189 -1
  15. package/src/components/confirmDialog/index.js +41 -1
  16. package/src/components/confirmDialog/mixins.js +31 -1
  17. package/src/components/errorMsg/index.js +44 -1
  18. package/src/components/errorMsg/mixins.js +96 -1
  19. package/src/components/excelExport/index.js +1 -1
  20. package/src/components/excelExport/mixins.js +1 -1
  21. package/src/components/excelImport/index.js +13 -13
  22. package/src/components/excelImport/mixins.js +1 -1
  23. package/src/components/formOplog/mixins.js +77 -1
  24. package/src/components/hiprint/view/design/mixins.js +611 -1
  25. package/src/components/jdPrint/index.js +44 -1
  26. package/src/components/jdPrint/mixins.js +208 -1
  27. package/src/components/jsonImport/index.js +187 -17
  28. package/src/components/jsonImport/mixins.js +332 -1
  29. package/src/components/langImport/index.js +80 -1
  30. package/src/components/langImport/mixins.js +484 -1
  31. package/src/components/langTag/mixins/addButton.js +51 -5
  32. package/src/components/langTag/mixins/deleteButton.js +55 -5
  33. package/src/components/langTag/mixins/view.js +47 -5
  34. package/src/components/luckysheet/export.js +591 -1
  35. package/src/components/luckysheet/fileUtils.js +147 -1
  36. package/src/components/luckysheet/index.js +72 -1
  37. package/src/components/obsUpload/index.js +34 -1
  38. package/src/components/obsUpload/mixins.js +1469 -1
  39. package/src/components/onlineTalk/mixins.js +852 -1
  40. package/src/components/oplogTable/mixins.js +80 -1
  41. package/src/components/pddPrint/index.js +44 -1
  42. package/src/components/pddPrint/mixins.js +252 -1
  43. package/src/components/projectTag/mixins/addButton.js +52 -1
  44. package/src/components/projectTag/mixins/deleteButton.js +52 -1
  45. package/src/components/projectTag/mixins/view.js +43 -1
  46. package/src/components/scriptDescription/mixins.js +30 -1
  47. package/src/components/scriptTest/mixins.js +90 -1
  48. package/src/components/statusTag/mixins.js +66 -1
  49. package/src/components/table/config.js +1 -1
  50. package/src/components/table/index.js +12 -1
  51. package/src/components/table/tableFormMixin.js +1 -1
  52. package/src/components/table/vxeFilter/index.js +1 -1
  53. package/src/components/table/vxeFilter/mixin.js +1 -1
  54. package/src/components/vipPrint/index.js +44 -1
  55. package/src/components/vipPrint/mixins.js +268 -1
  56. package/src/components/wf/mixins/addOpinionButton.js +51 -1
  57. package/src/components/wf/mixins/setCandidateButton.js +156 -1
  58. package/src/components/wf/mixins/setCandidateDialog.js +212 -1
  59. package/src/components/wf/mixins/setCandidateDialog2.js +247 -1
  60. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +129 -1
  61. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
  62. package/src/components/wf/wf.js +2156 -1
  63. package/src/components/wf/wfUtil.js +279 -1
  64. package/src/components/xform/form-designer/designer.js +31 -1
  65. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -1
  66. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -1
  67. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +18 -1
  68. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -1
  69. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  70. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -2
  71. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  72. package/src/components/xform/form-designer/form-widget/indexMixin.js +5 -1
  73. package/src/components/xform/form-designer/indexMixin.js +25 -1
  74. package/src/components/xform/form-designer/refMixinDesign.js +1 -28
  75. package/src/components/xform/form-designer/setting-panel/indexMixin.js +12 -1
  76. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +24 -1
  77. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -1
  78. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -1
  79. package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -1
  80. package/src/components/xform/form-render/dynamicDialogRender.js +5 -1
  81. package/src/components/xform/form-render/indexMixin.js +49 -1
  82. package/src/components/xform/form-render/refMixin.js +3 -1
  83. package/src/components/xform/mixins/defaultHandle.js +6 -1
  84. package/src/components/xform/mixins/scriptHttp.js +1 -172
  85. package/src/components/xform/utils/util.js +5 -1
  86. package/src/components/xform/utils/validators.js +2 -1
  87. package/src/components/xhsPrint/index.js +44 -1
  88. package/src/components/xhsPrint/mixins.js +269 -1
  89. package/src/directive/LimitNumber/index.js +125 -1
  90. package/src/directive/el-dialog-center/index.js +34 -1
  91. package/src/directive/el-drag-dialog/drag.js +86 -1
  92. package/src/directive/el-readonly/index.js +15 -1
  93. package/src/directive/permission/hasPermi.js +34 -1
  94. package/src/permission.js +135 -1
  95. package/src/resources/js/base/common.js +1 -110
  96. package/src/router/modules/customer.js +8 -142
  97. package/src/store/config/index.js +667 -1
  98. package/src/store/modules/permission.js +3 -343
  99. package/src/store/modules/settings.js +1 -1
  100. package/src/store/modules/tagsView.js +11 -1
  101. package/src/store/modules/user.js +23 -1
  102. package/src/utils/aes.js +2 -1
  103. package/src/utils/auth.js +1 -1
  104. package/src/utils/global.js +1 -1
  105. package/src/utils/index.js +6 -1
  106. package/src/utils/keepAlive.js +1 -1
  107. package/src/utils/pddLog.js +17 -28
  108. package/src/utils/request.js +1 -1
  109. package/src/utils/vab.js +19 -1
  110. package/src/utils/validate.js +1 -1
  111. package/src/utils/wf.js +4 -4
  112. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +6 -6
  113. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -4
  114. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +1 -1
  115. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
  116. package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
  117. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +5 -5
  118. package/src/views/bd/setting/form_template/mixins/dialog.js +6 -6
  119. package/src/views/bd/setting/form_template/mixins/edit.js +10 -10
  120. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +1 -1
  121. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +5 -5
  122. package/src/views/bd/setting/form_template/mixins/itemEdit.js +1 -1
  123. package/src/views/bd/setting/form_template/mixins/itemList.js +1 -1
  124. package/src/views/bd/setting/form_template/mixins/list.js +25 -25
  125. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +7 -7
  126. package/src/views/bd/setting/form_template/mixins/preformDialog.js +1 -1
  127. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -12
  128. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
  129. package/src/views/bd/setting/logic_param/mixins/edit.js +3 -3
  130. package/src/views/bd/setting/logic_param/mixins/list.js +9 -9
  131. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +7 -7
  132. package/src/views/bd/setting/menu_kind/mixins/dialog.js +1 -1
  133. package/src/views/bd/setting/menu_kind/mixins/list.js +10 -10
  134. package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
  135. package/src/views/bd/setting/request_setting/edit.vue +300 -300
  136. package/src/views/bd/setting/table_model/mixins/dialog.js +5 -5
  137. package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
  138. package/src/views/bd/setting/table_model/mixins/edit.js +14 -14
  139. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  140. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +7 -7
  141. package/src/views/bd/setting/table_model/mixins/zdDialog.js +5 -5
  142. package/src/views/bd/setting/utils/index.js +1 -1
  143. package/src/views/user/wf/wf_work_calendar/date.js +64 -65
  144. package/src/mixins/table/index.js +0 -151
  145. package/src/views/user/home/bears/index.vue +0 -1032
  146. package/src/views/user/home/taili/index.vue +0 -1034
@@ -1,174 +1,174 @@
1
- <template>
2
- <el-dialog
3
- :title="$t1('组织环境设置列表')"
4
- :append-to-body="true"
5
- :modal-append-to-body="true"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
- width="1200px"
11
- @close="dialogClose"
12
- v-el-drag-dialog
13
- v-el-dialog-center
14
- >
15
- <div class="cont" style="height:450px">
16
- <vxe-grid
17
- class="is-pointer"
18
- ref="table-m1"
19
- v-bind="vxeOption"
20
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
- @custom="$vxeTableUtil.customHandle"
22
- @checkbox-change="addDataTable"
23
- @checkbox-all="checkAll"
24
- @cell-dblclick="checkWithSubmit"
25
- >
26
- <template #form>
27
- <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
28
- <template #buttonLeft>
29
- </template>
30
- <template #buttonRight>
31
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
32
- plain>{{ $t1('重置') }}
33
- </vxe-button>
34
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
35
- $t1('搜索')
36
- }}
37
- </vxe-button>
38
- </template>
39
- </tableForm>
40
- </template>
41
- </vxe-grid>
42
- </div>
43
- <label id="labBtn" class="transverse">
44
- <div class="icon">
45
- <i class="el-icon-more"></i>
46
- <i class="el-icon-more"></i>
47
- </div>
48
- </label>
49
- <div class="multipleChoice">
50
- <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
51
- class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
52
- <div class="list">
53
- <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
54
- <p>{{ getCheckLabel(checkRow, 'name') }}</p>
55
- <a class="el-icon-close" @click="clearTable1Select(index)"></a>
56
- </div>
57
- </div>
58
- </div>
59
- <span slot="footer" class="dialog-footer">
60
- <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
61
- <el-button type="primary" plain class="button-sty" @click="dialogClose">
62
- <i class="el-icon-close el-icon"></i>
63
- {{ $t1('取 消') }}
64
- </el-button>
65
- <el-button type="primary" @click="dialogPrimary" class="button-sty">
66
- <i class="el-icon-check el-icon"></i>
67
- {{ $t1('确 定') }}
68
- </el-button>
69
- </span>
70
- </el-dialog>
71
- </template>
72
-
73
- <script>
74
- import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
75
- import tableForm from "@base/components/table/tableForm.vue";
76
-
77
- export default {
78
- name: 'positionDialog',
79
- props: ['visiable', 'multi', 'rows', 'param'],
80
- mixins: [selectDialogMixins],
81
- components: {
82
- tableForm
83
- },
84
- created() {
85
- this.initSetting();
86
- },
87
- mounted() {
88
- this.initTableM1();
89
- },
90
- data() {
91
- let that = this;
92
- return {
93
- showDialog: true,
94
- falseValue: false,
95
- selectMulti: true,
96
- formData: {},
97
- vxeOption: {}
98
- };
99
- },
100
- methods: {
101
- initTableM1() {
102
- let that = this;
103
- let bdServiceMap = {"dev": this.$t1("测试"), "uat": this.$t1("UAT"), "prod": this.$t1("正式")};
104
- let url = USER_PREFIX + '/bd_company_env/listPage';
105
- let tableOption = {
106
- vue: that,
107
- tableRef: 'table-m1',
108
- tableName: 'basic_position_dialog-m1',
109
- path: url,
110
- param: () => {
111
- return {
112
- ...this.formData
113
- }
114
- },
115
- columns: [
116
- {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
117
- {
118
- title: this.$t1('服务'),
119
- field: 'bdService',
120
- width: 150,
121
- fixed: 'left',
122
- slots: {
123
- default: ({row}) => {
124
- return bdServiceMap[row.bdService] || "";
125
- }
126
- }
127
- },
128
- {
129
- title: this.$t1('组织编码'),
130
- field: 'bdCompanyCode',
131
- width: 150,
132
- },
133
- {
134
- title: this.$t1('组织备注'),
135
- field: 'bdCompanyRemark',
136
- width: 150,
137
- },
138
- {
139
- width: 47,
140
- fixed: 'right',
141
- title: '',
142
- sortable: false
143
- }
144
- ],
145
- searchColumns: [
146
- {
147
- title: this.$t1('服务'), field: "bdService", type: "select", common: true, itemOption: [
148
- {label: this.$t1("测试"), value: "dev"},
149
- {label: this.$t1("UAT"), value: "uat"},
150
- {label: this.$t1("正式"), value: "prod"}
151
- ]
152
- },
153
- {
154
- title: this.$t1("组织编码"),
155
- field: "bdCompanyCode",
156
- type: "input",
157
- common: true,
158
- }
159
- ],
160
- config: {
161
- checkboxConfig: {
162
- checkStrictly: true,
163
- showHeader: this.selectMulti,
164
- trigger: 'row'
165
- }
166
- }
167
- };
168
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
169
- that.vxeOption = opts;
170
- });
171
- }
172
- }
173
- };
174
- </script>
1
+ <template>
2
+ <el-dialog
3
+ :title="$t1('组织环境设置列表')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
+ width="1200px"
11
+ @close="dialogClose"
12
+ v-el-drag-dialog
13
+ v-el-dialog-center
14
+ >
15
+ <div class="cont" style="height:450px">
16
+ <vxe-grid
17
+ class="is-pointer"
18
+ ref="table-m1"
19
+ v-bind="vxeOption"
20
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
+ @custom="$vxeTableUtil.customHandle"
22
+ @checkbox-change="addDataTable"
23
+ @checkbox-all="checkAll"
24
+ @cell-dblclick="checkWithSubmit"
25
+ >
26
+ <template #form>
27
+ <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
28
+ <template #buttonLeft>
29
+ </template>
30
+ <template #buttonRight>
31
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
32
+ plain>{{ $t1('重置') }}
33
+ </vxe-button>
34
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
35
+ $t1('搜索')
36
+ }}
37
+ </vxe-button>
38
+ </template>
39
+ </tableForm>
40
+ </template>
41
+ </vxe-grid>
42
+ </div>
43
+ <label id="labBtn" class="transverse">
44
+ <div class="icon">
45
+ <i class="el-icon-more"></i>
46
+ <i class="el-icon-more"></i>
47
+ </div>
48
+ </label>
49
+ <div class="multipleChoice">
50
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
51
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
52
+ <div class="list">
53
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
54
+ <p>{{ getCheckLabel(checkRow, 'name') }}</p>
55
+ <a class="el-icon-close" @click="clearTable1Select(index)"></a>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <span slot="footer" class="dialog-footer">
60
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
61
+ <el-button type="primary" plain class="button-sty" @click="dialogClose">
62
+ <i class="el-icon-close el-icon"></i>
63
+ {{ $t1('取 消') }}
64
+ </el-button>
65
+ <el-button type="primary" @click="dialogPrimary" class="button-sty">
66
+ <i class="el-icon-check el-icon"></i>
67
+ {{ $t1('确 定') }}
68
+ </el-button>
69
+ </span>
70
+ </el-dialog>
71
+ </template>
72
+
73
+ <script>
74
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
75
+ import tableForm from "@base/components/table/tableForm.vue";
76
+
77
+ export default {
78
+ name: 'positionDialog',
79
+ props: ['visiable', 'multi', 'rows', 'param'],
80
+ mixins: [selectDialogMixins],
81
+ components: {
82
+ tableForm
83
+ },
84
+ created() {
85
+ this.initSetting();
86
+ },
87
+ mounted() {
88
+ this.initTableM1();
89
+ },
90
+ data() {
91
+ var that = this;
92
+ return {
93
+ showDialog: true,
94
+ falseValue: false,
95
+ selectMulti: true,
96
+ formData: {},
97
+ vxeOption: {}
98
+ };
99
+ },
100
+ methods: {
101
+ initTableM1() {
102
+ let that = this;
103
+ let bdServiceMap = {"dev": this.$t1("测试"), "uat": this.$t1("UAT"), "prod": this.$t1("正式")};
104
+ let url = USER_PREFIX + '/bd_company_env/listPage';
105
+ let tableOption = {
106
+ vue: that,
107
+ tableRef: 'table-m1',
108
+ tableName: 'basic_position_dialog-m1',
109
+ path: url,
110
+ param: () => {
111
+ return {
112
+ ...this.formData
113
+ }
114
+ },
115
+ columns: [
116
+ {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
117
+ {
118
+ title: this.$t1('服务'),
119
+ field: 'bdService',
120
+ width: 150,
121
+ fixed: 'left',
122
+ slots: {
123
+ default: ({row}) => {
124
+ return bdServiceMap[row.bdService] || "";
125
+ }
126
+ }
127
+ },
128
+ {
129
+ title: this.$t1('组织编码'),
130
+ field: 'bdCompanyCode',
131
+ width: 150,
132
+ },
133
+ {
134
+ title: this.$t1('组织备注'),
135
+ field: 'bdCompanyRemark',
136
+ width: 150,
137
+ },
138
+ {
139
+ width: 47,
140
+ fixed: 'right',
141
+ title: '',
142
+ sortable: false
143
+ }
144
+ ],
145
+ searchColumns: [
146
+ {
147
+ title: this.$t1('服务'), field: "bdService", type: "select", common: true, itemOption: [
148
+ {label: this.$t1("测试"), value: "dev"},
149
+ {label: this.$t1("UAT"), value: "uat"},
150
+ {label: this.$t1("正式"), value: "prod"}
151
+ ]
152
+ },
153
+ {
154
+ title: this.$t1("组织编码"),
155
+ field: "bdCompanyCode",
156
+ type: "input",
157
+ common: true,
158
+ }
159
+ ],
160
+ config: {
161
+ checkboxConfig: {
162
+ checkStrictly: true,
163
+ showHeader: this.selectMulti,
164
+ trigger: 'row'
165
+ }
166
+ }
167
+ };
168
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
169
+ that.vxeOption = opts;
170
+ });
171
+ }
172
+ }
173
+ };
174
+ </script>