fix: 修改All Data筛选下拉框的数据源,并修复Select选择器样式错误的问题
This commit is contained in:
parent
4f36221391
commit
a26d6e53e4
|
@ -379,8 +379,8 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="number"]::-webkit-inner-spin-button,
|
input[type='number']::-webkit-inner-spin-button,
|
||||||
input[type="number"]::-webkit-outer-spin-button {
|
input[type='number']::-webkit-outer-spin-button {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -448,10 +448,11 @@ input[type="number"]::-webkit-outer-spin-button {
|
||||||
|
|
||||||
&-dropdown {
|
&-dropdown {
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
@borderColor: #0da397;
|
@borderColor: #0da397;
|
||||||
&:not(.ant-select-tree-dropdown) {
|
&:not(.ant-select-tree-dropdown) {
|
||||||
&-content {
|
.ant-select-dropdown-content {
|
||||||
border: 1px solid @borderColor;
|
border: 1px solid @borderColor;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
&::before {
|
&::before {
|
||||||
|
@ -466,6 +467,18 @@ input[type="number"]::-webkit-outer-spin-button {
|
||||||
transform: rotate(45deg) skew(14deg, 14deg);
|
transform: rotate(45deg) skew(14deg, 14deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.ant-select-dropdown-placement-topLeft {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 7px;
|
||||||
|
|
||||||
|
.ant-select-dropdown-content {
|
||||||
|
&::before {
|
||||||
|
top: auto;
|
||||||
|
bottom: -6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-menu {
|
&-menu {
|
||||||
|
|
|
@ -253,7 +253,7 @@ export default {
|
||||||
// 获取站点类型
|
// 获取站点类型
|
||||||
async getStationTypeList() {
|
async getStationTypeList() {
|
||||||
try {
|
try {
|
||||||
const res = await getAction('/gardsStations/findType')
|
const res = await getAction('/jeecg-station-operation/stationOperation/findStationType')
|
||||||
this.stationTypeList = res.filter(item => item).map(item => ({ label: item, value: item }))
|
this.stationTypeList = res.filter(item => item).map(item => ({ label: item, value: item }))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
|
@ -319,8 +319,7 @@ export default {
|
||||||
!this.filter.searchText ||
|
!this.filter.searchText ||
|
||||||
-1 !== dataItem.stationName.toLowerCase().indexOf(this.filter.searchText.toLowerCase())
|
-1 !== dataItem.stationName.toLowerCase().indexOf(this.filter.searchText.toLowerCase())
|
||||||
const filterStatus = !this.filter.status || this.filter.status == dataItem.status
|
const filterStatus = !this.filter.status || this.filter.status == dataItem.status
|
||||||
const filterType = !this.filter.stationType || this.filter.type == dataItem.stationType
|
const filterType = !this.filter.type || this.filter.type == dataItem.stationType
|
||||||
|
|
||||||
return filterSearchText && filterStatus && filterType
|
return filterSearchText && filterStatus && filterType
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user