vue2-client 1.2.83 → 1.2.84
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 +94 -94
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +3 -3
- package/src/base-client/components/common/AmapMarker/index.js +3 -3
- package/src/base-client/components/common/ScrollList/SrcollList.vue +113 -113
- package/src/base-client/components/common/ScrollList/index.js +3 -3
- package/src/base-client/components/common/XTable/XTable.vue +269 -269
- package/src/base-client/components/iot/DeviceDetailsView/DeviceDetailsView.vue +232 -232
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +678 -678
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsException.vue +57 -57
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsRead.vue +131 -131
- package/src/base-client/components/iot/DeviceTypeDetailsView/DeviceTypeDetailsView.vue +300 -300
- package/src/base-client/components/iot/WebmeterAnalysisView/WebmeterAnalysisView.vue +770 -770
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/router/async/config.async.js +26 -26
- package/src/router/index.js +27 -27
- package/src/services/api/WebmeterAnalysisViewApi.js +20 -20
- package/src/services/api/index.js +39 -39
- package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +18 -18
- package/src/theme/default/style.less +47 -47
- package/src/utils/map-utils.js +5 -2
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue2-client",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"serve": "vue-cli-service serve",
|
|
7
|
-
"build": "vue-cli-service build",
|
|
8
|
-
"test:unit": "vue-cli-service test:unit",
|
|
9
|
-
"lint": "vue-cli-service lint"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
|
-
"@antv/data-set": "^0.11.8",
|
|
14
|
-
"@antv/f2": "^3.8.11",
|
|
15
|
-
"@antv/g2plot": "^2.4.20",
|
|
16
|
-
"@babel/core": "^7.18.5",
|
|
17
|
-
"@logicflow/core": "^1.1.20",
|
|
18
|
-
"@logicflow/extension": "^1.1.20",
|
|
19
|
-
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
20
|
-
"@vue/babel-preset-jsx": "^1.2.4",
|
|
21
|
-
"animate.css": "^4.1.1",
|
|
22
|
-
"ant-design-vue": "^1.7.8",
|
|
23
|
-
"axios": "^0.27.2",
|
|
24
|
-
"clipboard": "^2.0.11",
|
|
25
|
-
"core-js": "^3.23.2",
|
|
26
|
-
"webpack": "^4.46.0",
|
|
27
|
-
"date-fns": "^2.28.0",
|
|
28
|
-
"default-passive-events": "^2.0.0",
|
|
29
|
-
"enquire.js": "^2.1.6",
|
|
30
|
-
"file-saver": "^2.0.5",
|
|
31
|
-
"highlight.js": "^11.5.1",
|
|
32
|
-
"js-cookie": "^3.0.1",
|
|
33
|
-
"jsencrypt": "^3.2.1",
|
|
34
|
-
"lodash.get": "^4.4.2",
|
|
35
|
-
"mockjs": "^1.1.0",
|
|
36
|
-
"nprogress": "^0.2.0",
|
|
37
|
-
"viser-vue": "^2.4.8",
|
|
38
|
-
"vue": "^2.6.14",
|
|
39
|
-
"vue-i18n": "^8.27.2",
|
|
40
|
-
"vue-infinite-scroll": "^2.0.2",
|
|
41
|
-
"vue-json-viewer": "^2.2.22",
|
|
42
|
-
"vue-router": "^3.5.4",
|
|
43
|
-
"vuedraggable": "^2.24.3",
|
|
44
|
-
"vuex": "^3.6.2",
|
|
45
|
-
"xlsx": "^0.18.5"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@ant-design/colors": "^6.0.0",
|
|
49
|
-
"@vue/cli-plugin-babel": "^4.5.18",
|
|
50
|
-
"@vue/cli-plugin-eslint": "^4.5.18",
|
|
51
|
-
"@vue/cli-plugin-router": "^4.5.18",
|
|
52
|
-
"@vue/cli-plugin-unit-jest": "~5.0.6",
|
|
53
|
-
"@vue/cli-plugin-vuex": "^4.5.18",
|
|
54
|
-
"@vue/cli-service": "^4.5.18",
|
|
55
|
-
"@vue/eslint-config-standard": "^4.0.0",
|
|
56
|
-
"@vue/test-utils": "^1.3.0",
|
|
57
|
-
"@vue/vue2-jest": "^27.0.0",
|
|
58
|
-
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
59
|
-
"babel-eslint": "^10.1.0",
|
|
60
|
-
"babel-jest": "^27.1.0",
|
|
61
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
62
|
-
"babel-polyfill": "^6.26.0",
|
|
63
|
-
"compression-webpack-plugin": "^5.0.2",
|
|
64
|
-
"deepmerge": "^4.2.2",
|
|
65
|
-
"echarts": "^5.3.3",
|
|
66
|
-
"eslint": "^6.8.0",
|
|
67
|
-
"eslint-plugin-import": "^2.26.0",
|
|
68
|
-
"eslint-plugin-node": "^11.1.0",
|
|
69
|
-
"eslint-plugin-standard": "^5.0.0",
|
|
70
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
71
|
-
"fast-deep-equal": "^3.1.3",
|
|
72
|
-
"gh-pages": "^3.2.3",
|
|
73
|
-
"jest": "^27.1.0",
|
|
74
|
-
"less": "^3.13.1",
|
|
75
|
-
"less-loader": "^7.3.0",
|
|
76
|
-
"react-bmap": "^1.0.130",
|
|
77
|
-
"script-loader": "^0.7.2",
|
|
78
|
-
"style-resources-loader": "^1.5.0",
|
|
79
|
-
"vue-amap": "^0.5.10",
|
|
80
|
-
"vue-baidu-map": "^0.21.22",
|
|
81
|
-
"vue-bmap-gl": "^0.0.30",
|
|
82
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
83
|
-
"vue-mapvgl": "^0.0.34",
|
|
84
|
-
"vue-template-compiler": "^2.6.14",
|
|
85
|
-
"vuepress": "^1.9.7",
|
|
86
|
-
"webpack-theme-color-replacer": "^1.4.1",
|
|
87
|
-
"whatwg-fetch": "^3.6.2"
|
|
88
|
-
},
|
|
89
|
-
"browserslist": [
|
|
90
|
-
"> 1%",
|
|
91
|
-
"last 2 versions",
|
|
92
|
-
"not ie <= 10"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue2-client",
|
|
3
|
+
"version": "1.2.84",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"serve": "vue-cli-service serve",
|
|
7
|
+
"build": "vue-cli-service build",
|
|
8
|
+
"test:unit": "vue-cli-service test:unit",
|
|
9
|
+
"lint": "vue-cli-service lint"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
|
+
"@antv/data-set": "^0.11.8",
|
|
14
|
+
"@antv/f2": "^3.8.11",
|
|
15
|
+
"@antv/g2plot": "^2.4.20",
|
|
16
|
+
"@babel/core": "^7.18.5",
|
|
17
|
+
"@logicflow/core": "^1.1.20",
|
|
18
|
+
"@logicflow/extension": "^1.1.20",
|
|
19
|
+
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
20
|
+
"@vue/babel-preset-jsx": "^1.2.4",
|
|
21
|
+
"animate.css": "^4.1.1",
|
|
22
|
+
"ant-design-vue": "^1.7.8",
|
|
23
|
+
"axios": "^0.27.2",
|
|
24
|
+
"clipboard": "^2.0.11",
|
|
25
|
+
"core-js": "^3.23.2",
|
|
26
|
+
"webpack": "^4.46.0",
|
|
27
|
+
"date-fns": "^2.28.0",
|
|
28
|
+
"default-passive-events": "^2.0.0",
|
|
29
|
+
"enquire.js": "^2.1.6",
|
|
30
|
+
"file-saver": "^2.0.5",
|
|
31
|
+
"highlight.js": "^11.5.1",
|
|
32
|
+
"js-cookie": "^3.0.1",
|
|
33
|
+
"jsencrypt": "^3.2.1",
|
|
34
|
+
"lodash.get": "^4.4.2",
|
|
35
|
+
"mockjs": "^1.1.0",
|
|
36
|
+
"nprogress": "^0.2.0",
|
|
37
|
+
"viser-vue": "^2.4.8",
|
|
38
|
+
"vue": "^2.6.14",
|
|
39
|
+
"vue-i18n": "^8.27.2",
|
|
40
|
+
"vue-infinite-scroll": "^2.0.2",
|
|
41
|
+
"vue-json-viewer": "^2.2.22",
|
|
42
|
+
"vue-router": "^3.5.4",
|
|
43
|
+
"vuedraggable": "^2.24.3",
|
|
44
|
+
"vuex": "^3.6.2",
|
|
45
|
+
"xlsx": "^0.18.5"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@ant-design/colors": "^6.0.0",
|
|
49
|
+
"@vue/cli-plugin-babel": "^4.5.18",
|
|
50
|
+
"@vue/cli-plugin-eslint": "^4.5.18",
|
|
51
|
+
"@vue/cli-plugin-router": "^4.5.18",
|
|
52
|
+
"@vue/cli-plugin-unit-jest": "~5.0.6",
|
|
53
|
+
"@vue/cli-plugin-vuex": "^4.5.18",
|
|
54
|
+
"@vue/cli-service": "^4.5.18",
|
|
55
|
+
"@vue/eslint-config-standard": "^4.0.0",
|
|
56
|
+
"@vue/test-utils": "^1.3.0",
|
|
57
|
+
"@vue/vue2-jest": "^27.0.0",
|
|
58
|
+
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
59
|
+
"babel-eslint": "^10.1.0",
|
|
60
|
+
"babel-jest": "^27.1.0",
|
|
61
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
62
|
+
"babel-polyfill": "^6.26.0",
|
|
63
|
+
"compression-webpack-plugin": "^5.0.2",
|
|
64
|
+
"deepmerge": "^4.2.2",
|
|
65
|
+
"echarts": "^5.3.3",
|
|
66
|
+
"eslint": "^6.8.0",
|
|
67
|
+
"eslint-plugin-import": "^2.26.0",
|
|
68
|
+
"eslint-plugin-node": "^11.1.0",
|
|
69
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
70
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
71
|
+
"fast-deep-equal": "^3.1.3",
|
|
72
|
+
"gh-pages": "^3.2.3",
|
|
73
|
+
"jest": "^27.1.0",
|
|
74
|
+
"less": "^3.13.1",
|
|
75
|
+
"less-loader": "^7.3.0",
|
|
76
|
+
"react-bmap": "^1.0.130",
|
|
77
|
+
"script-loader": "^0.7.2",
|
|
78
|
+
"style-resources-loader": "^1.5.0",
|
|
79
|
+
"vue-amap": "^0.5.10",
|
|
80
|
+
"vue-baidu-map": "^0.21.22",
|
|
81
|
+
"vue-bmap-gl": "^0.0.30",
|
|
82
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
83
|
+
"vue-mapvgl": "^0.0.34",
|
|
84
|
+
"vue-template-compiler": "^2.6.14",
|
|
85
|
+
"vuepress": "^1.9.7",
|
|
86
|
+
"webpack-theme-color-replacer": "^1.4.1",
|
|
87
|
+
"whatwg-fetch": "^3.6.2"
|
|
88
|
+
},
|
|
89
|
+
"browserslist": [
|
|
90
|
+
"> 1%",
|
|
91
|
+
"last 2 versions",
|
|
92
|
+
"not ie <= 10"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
slot="label">
|
|
19
19
|
<a-icon type="bank" /> {{ group.title }}
|
|
20
20
|
</span>
|
|
21
|
-
<a-select-option v-for="address in group.children" :key="address.label + '
|
|
21
|
+
<a-select-option v-for="address in group.children" :key="address.label + ' <' + address.value + '>'">
|
|
22
22
|
<p class="addressName"><a-icon type="environment" /> <span v-html="highLight(address.label, address.word)">{{ address.label }}</span></p>
|
|
23
23
|
<p v-if="address.address !== '[]'" class="addressRemark">
|
|
24
24
|
{{ address.address }}
|
|
@@ -87,7 +87,7 @@ export default {
|
|
|
87
87
|
onSelect (value) {
|
|
88
88
|
let result
|
|
89
89
|
if (this.searchResultType !== 'Default') {
|
|
90
|
-
const _arr = value.replace('
|
|
90
|
+
const _arr = value.replace('>', '').split('<')
|
|
91
91
|
if (this.searchResultType === 'Array') {
|
|
92
92
|
result = _arr
|
|
93
93
|
} else {
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
}
|
|
120
120
|
addressMap[res.district].push({
|
|
121
121
|
label: res.name,
|
|
122
|
-
value: res.location.lng + ',' + res.location.lat
|
|
122
|
+
value: res.location.lng + ',' + res.location.lat,
|
|
123
123
|
address: res.address + '',
|
|
124
124
|
word: value
|
|
125
125
|
})
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import AmapPointRendering from './AmapPointRendering'
|
|
2
|
-
|
|
3
|
-
export default AmapPointRendering
|
|
1
|
+
import AmapPointRendering from './AmapPointRendering'
|
|
2
|
+
|
|
3
|
+
export default AmapPointRendering
|
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-list
|
|
3
|
-
:data-source="model.rows"
|
|
4
|
-
:bordered="bordered"
|
|
5
|
-
v-infinite-scroll="handleInfiniteOnLoad"
|
|
6
|
-
class="srcoll-list-infinite-container"
|
|
7
|
-
:infinite-scroll-disabled="busy"
|
|
8
|
-
:infinite-scroll-distance="distance"
|
|
9
|
-
>
|
|
10
|
-
<a-list-item slot="renderItem" class="srcoll_list_li" slot-scope="item,index" @click="selectItem(index,item)">
|
|
11
|
-
<slot :item="item" :index="index" >
|
|
12
|
-
</slot>
|
|
13
|
-
</a-list-item>
|
|
14
|
-
<div v-if="loading && !busy" class="srcoll-list-loading-container">
|
|
15
|
-
<a-spin />
|
|
16
|
-
</div>
|
|
17
|
-
</a-list>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script>
|
|
21
|
-
import infiniteScroll from 'vue-infinite-scroll'
|
|
22
|
-
import { post } from '@vue2-client/services/api/restTools'
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
name: 'SrcollList1',
|
|
26
|
-
directives: { infiniteScroll },
|
|
27
|
-
props: {
|
|
28
|
-
'busy': { // 是否执行回调
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: false
|
|
31
|
-
},
|
|
32
|
-
'distance': { // 距底部多少像素触发回调
|
|
33
|
-
type: Number,
|
|
34
|
-
default: 1
|
|
35
|
-
},
|
|
36
|
-
'bordered': { // 是否显示列表边框
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: true
|
|
39
|
-
},
|
|
40
|
-
'model': {
|
|
41
|
-
type: Object,
|
|
42
|
-
default: () => {
|
|
43
|
-
return {}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
data () {
|
|
48
|
-
return {
|
|
49
|
-
selectRow: {},
|
|
50
|
-
loading: false
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
mounted () {
|
|
54
|
-
},
|
|
55
|
-
methods: {
|
|
56
|
-
selectItem (index, item) {
|
|
57
|
-
this.$emit('selectItem', index, item)
|
|
58
|
-
},
|
|
59
|
-
handleInfiniteOnLoad () {
|
|
60
|
-
this.loading = true
|
|
61
|
-
if (this.model.pageNo < this.model.totalPage || this.model.pageNo == 0) {
|
|
62
|
-
this.model.pageNo = this.model.pageNo + 1
|
|
63
|
-
post(this.model.url, { data: this.model }).then((res) => {
|
|
64
|
-
this.model.rows = this.model.rows.concat(res.data).map((item, index) => ({ ...item, index }))
|
|
65
|
-
this.loading = false
|
|
66
|
-
this.model.totalPage = res.totalPage
|
|
67
|
-
this.model.totalCount = res.totalCount
|
|
68
|
-
})
|
|
69
|
-
} else {
|
|
70
|
-
this.loading = false
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
search () {
|
|
74
|
-
this.model.pageNo = 0
|
|
75
|
-
this.model.rows = []
|
|
76
|
-
this.handleInfiniteOnLoad()
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
</script>
|
|
81
|
-
|
|
82
|
-
<style scoped>
|
|
83
|
-
.srcoll-list-infinite-container {
|
|
84
|
-
border-radius: 4px;
|
|
85
|
-
height: 100%;
|
|
86
|
-
overflow-y: scroll;
|
|
87
|
-
}
|
|
88
|
-
/*滚动条样式*/
|
|
89
|
-
.srcoll-list-infinite-container::-webkit-scrollbar {
|
|
90
|
-
width: 4px;
|
|
91
|
-
/*height: 4px;*/
|
|
92
|
-
}
|
|
93
|
-
.srcoll-list-infinite-container::-webkit-scrollbar-thumb {
|
|
94
|
-
border-radius: 10px;
|
|
95
|
-
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
96
|
-
background: rgba(0,0,0,0.2);
|
|
97
|
-
}
|
|
98
|
-
.srcoll-list-infinite-container::-webkit-scrollbar-track {
|
|
99
|
-
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
100
|
-
border-radius: 0;
|
|
101
|
-
background: rgba(0,0,0,0.1);
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
.srcoll-list-loading-container {
|
|
105
|
-
position: absolute;
|
|
106
|
-
bottom: 10%;
|
|
107
|
-
width: 100%;
|
|
108
|
-
text-align: center;
|
|
109
|
-
}
|
|
110
|
-
.srcoll_list_li:hover{
|
|
111
|
-
background-color: rgb(203,234,241);
|
|
112
|
-
}
|
|
113
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-list
|
|
3
|
+
:data-source="model.rows"
|
|
4
|
+
:bordered="bordered"
|
|
5
|
+
v-infinite-scroll="handleInfiniteOnLoad"
|
|
6
|
+
class="srcoll-list-infinite-container"
|
|
7
|
+
:infinite-scroll-disabled="busy"
|
|
8
|
+
:infinite-scroll-distance="distance"
|
|
9
|
+
>
|
|
10
|
+
<a-list-item slot="renderItem" class="srcoll_list_li" slot-scope="item,index" @click="selectItem(index,item)">
|
|
11
|
+
<slot :item="item" :index="index" >
|
|
12
|
+
</slot>
|
|
13
|
+
</a-list-item>
|
|
14
|
+
<div v-if="loading && !busy" class="srcoll-list-loading-container">
|
|
15
|
+
<a-spin />
|
|
16
|
+
</div>
|
|
17
|
+
</a-list>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
import infiniteScroll from 'vue-infinite-scroll'
|
|
22
|
+
import { post } from '@vue2-client/services/api/restTools'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
name: 'SrcollList1',
|
|
26
|
+
directives: { infiniteScroll },
|
|
27
|
+
props: {
|
|
28
|
+
'busy': { // 是否执行回调
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: false
|
|
31
|
+
},
|
|
32
|
+
'distance': { // 距底部多少像素触发回调
|
|
33
|
+
type: Number,
|
|
34
|
+
default: 1
|
|
35
|
+
},
|
|
36
|
+
'bordered': { // 是否显示列表边框
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: true
|
|
39
|
+
},
|
|
40
|
+
'model': {
|
|
41
|
+
type: Object,
|
|
42
|
+
default: () => {
|
|
43
|
+
return {}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
data () {
|
|
48
|
+
return {
|
|
49
|
+
selectRow: {},
|
|
50
|
+
loading: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
mounted () {
|
|
54
|
+
},
|
|
55
|
+
methods: {
|
|
56
|
+
selectItem (index, item) {
|
|
57
|
+
this.$emit('selectItem', index, item)
|
|
58
|
+
},
|
|
59
|
+
handleInfiniteOnLoad () {
|
|
60
|
+
this.loading = true
|
|
61
|
+
if (this.model.pageNo < this.model.totalPage || this.model.pageNo == 0) {
|
|
62
|
+
this.model.pageNo = this.model.pageNo + 1
|
|
63
|
+
post(this.model.url, { data: this.model }).then((res) => {
|
|
64
|
+
this.model.rows = this.model.rows.concat(res.data).map((item, index) => ({ ...item, index }))
|
|
65
|
+
this.loading = false
|
|
66
|
+
this.model.totalPage = res.totalPage
|
|
67
|
+
this.model.totalCount = res.totalCount
|
|
68
|
+
})
|
|
69
|
+
} else {
|
|
70
|
+
this.loading = false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
search () {
|
|
74
|
+
this.model.pageNo = 0
|
|
75
|
+
this.model.rows = []
|
|
76
|
+
this.handleInfiniteOnLoad()
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
</script>
|
|
81
|
+
|
|
82
|
+
<style scoped>
|
|
83
|
+
.srcoll-list-infinite-container {
|
|
84
|
+
border-radius: 4px;
|
|
85
|
+
height: 100%;
|
|
86
|
+
overflow-y: scroll;
|
|
87
|
+
}
|
|
88
|
+
/*滚动条样式*/
|
|
89
|
+
.srcoll-list-infinite-container::-webkit-scrollbar {
|
|
90
|
+
width: 4px;
|
|
91
|
+
/*height: 4px;*/
|
|
92
|
+
}
|
|
93
|
+
.srcoll-list-infinite-container::-webkit-scrollbar-thumb {
|
|
94
|
+
border-radius: 10px;
|
|
95
|
+
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
96
|
+
background: rgba(0,0,0,0.2);
|
|
97
|
+
}
|
|
98
|
+
.srcoll-list-infinite-container::-webkit-scrollbar-track {
|
|
99
|
+
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
100
|
+
border-radius: 0;
|
|
101
|
+
background: rgba(0,0,0,0.1);
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
.srcoll-list-loading-container {
|
|
105
|
+
position: absolute;
|
|
106
|
+
bottom: 10%;
|
|
107
|
+
width: 100%;
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
.srcoll_list_li:hover{
|
|
111
|
+
background-color: rgb(203,234,241);
|
|
112
|
+
}
|
|
113
|
+
</style>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import SrcollList from './SrcollList'
|
|
2
|
-
|
|
3
|
-
export default SrcollList
|
|
1
|
+
import SrcollList from './SrcollList'
|
|
2
|
+
|
|
3
|
+
export default SrcollList
|