doway-coms 2.11.91 → 2.11.93
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doway-coms",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.93",
|
|
4
4
|
"description": "doway组件库",
|
|
5
5
|
"author": "dowaysoft",
|
|
6
6
|
"main": "packages/index.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"vue-contextmenujs": "^1.4.9",
|
|
25
25
|
"vue-router": "3.6.5",
|
|
26
26
|
"vuedraggable": "^2.24.3",
|
|
27
|
+
"vue-virtual-scroller": "^1.1.2",
|
|
27
28
|
"vuex": "3.6.2",
|
|
28
29
|
"vxe-table": "3.8.24",
|
|
29
30
|
"xe-clipboard": "1.10.2",
|
|
@@ -627,11 +627,19 @@
|
|
|
627
627
|
"
|
|
628
628
|
/>
|
|
629
629
|
<div style="max-height: 200px; overflow-y: scroll">
|
|
630
|
-
|
|
630
|
+
<RecycleScroller
|
|
631
|
+
class="scroller"
|
|
632
|
+
:items="scope.column.params.dataSource"
|
|
633
|
+
:item-size="40"
|
|
634
|
+
key-field="value"
|
|
635
|
+
style="height:200px"
|
|
636
|
+
v-slot="{ item: loopSource, index }"
|
|
637
|
+
>
|
|
638
|
+
<!-- <div
|
|
631
639
|
style="text-align: left"
|
|
632
640
|
v-for="loopSource in scope.column.params.dataSource"
|
|
633
641
|
:key="loopSource.value"
|
|
634
|
-
>
|
|
642
|
+
> -->
|
|
635
643
|
<a-checkbox
|
|
636
644
|
v-show="
|
|
637
645
|
loopSource.caption.indexOf(
|
|
@@ -642,7 +650,8 @@
|
|
|
642
650
|
style="margin: 5px 0"
|
|
643
651
|
>{{ loopSource.caption }}
|
|
644
652
|
</a-checkbox>
|
|
645
|
-
</div>
|
|
653
|
+
<!-- </div> -->
|
|
654
|
+
</RecycleScroller>
|
|
646
655
|
</div>
|
|
647
656
|
</a-checkbox-group>
|
|
648
657
|
<br />
|
|
@@ -868,9 +877,12 @@ import { saveUserModuleDataFieldApi, userResetApi, saveUserModuleDataPageSizeApi
|
|
|
868
877
|
import { gridDefaultValueDisplay } from '../../utils/filters'
|
|
869
878
|
import SeqSetting from './SeqSetting'
|
|
870
879
|
import request from '../../utils/request'
|
|
880
|
+
import { RecycleScroller } from 'vue-virtual-scroller'
|
|
881
|
+
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
|
|
871
882
|
export default {
|
|
872
883
|
name: 'BaseGrid',
|
|
873
884
|
components: {
|
|
885
|
+
RecycleScroller,
|
|
874
886
|
'a-tag': Tag,
|
|
875
887
|
'a-popover': Popover,
|
|
876
888
|
'a-empty': Empty,
|
package/packages/utils/api.js
CHANGED
|
@@ -128,7 +128,7 @@ export function userResetApi(data) {
|
|
|
128
128
|
}
|
|
129
129
|
export function commonOperationSearchDataApi(data) {
|
|
130
130
|
return request({
|
|
131
|
-
url: store.getters.baseUrl + '/commonOperation/searchData',
|
|
131
|
+
url: store.getters.baseUrl + '/v1/commonOperation/searchData',
|
|
132
132
|
method: 'post',
|
|
133
133
|
data: data
|
|
134
134
|
})
|