[update] 修改一般检索联调

This commit is contained in:
lideqin
2023-11-16 18:13:43 +08:00
parent 53bb03a9f5
commit dbd06350a5
8 changed files with 44 additions and 6 deletions
+15 -3
View File
@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4236293 */
src: url('iconfont.woff2?t=1699953801277') format('woff2'),
url('iconfont.woff?t=1699953801277') format('woff'),
url('iconfont.ttf?t=1699953801277') format('truetype');
src: url('iconfont.woff2?t=1700117916443') format('woff2'),
url('iconfont.woff?t=1700117916443') format('woff'),
url('iconfont.ttf?t=1700117916443') format('truetype');
}
.iconfont {
@@ -13,6 +13,18 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-settings:before {
content: "\e699";
}
.icon-link:before {
content: "\e632";
}
.icon-rukou:before {
content: "\e624";
}
.icon-Searchbar_Search_icon:before {
content: "\e64a";
}
File diff suppressed because one or more lines are too long
+21
View File
@@ -5,6 +5,27 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "8106221",
"name": "settings",
"font_class": "settings",
"unicode": "e699",
"unicode_decimal": 59033
},
{
"icon_id": "747955",
"name": "链接",
"font_class": "link",
"unicode": "e632",
"unicode_decimal": 58930
},
{
"icon_id": "23713925",
"name": "入口",
"font_class": "rukou",
"unicode": "e624",
"unicode_decimal": 58916
},
{
"icon_id": "12150232",
"name": "Search bar_Search_icon",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

+7 -2
View File
@@ -167,7 +167,7 @@ export default {
if (res.success) {
// 设置对象key为搜索时需要传给后端的字段名,以及设置选项和字段label
for (const item in res.result) {
if (res.result) {
if (res.result[item]) {
let label = ''
if (item === 'applicableVehicle') {
// 适用车辆类型
@@ -200,9 +200,14 @@ export default {
label: label,
current: 'all'
}
} else {
// 该字段为null,删除原本有的该字段
if (Object.keys(this.selectOptions).includes(item)) {
delete this.selectOptions[item]
}
}
}
this.selectOptions = Object.assign({}, this.selectOptions)
console.log(this.selectOptions)
} else {
this.$message.warning(res.message)
this.selectOptions = {}