组件优化

This commit is contained in:
bb_pan 2025-06-26 10:43:14 +08:00
parent 35c2208bf9
commit bea2bb2048
10 changed files with 19 additions and 62 deletions

View File

@ -274,11 +274,11 @@ export function applyRemove(ids) {
}
// 获取机具类型树
export function equipmentTypeTree(query) {
export function equipmentTypeTree(data) {
return request({
url: '/material/ma_type/equipmentType',
method: 'get',
params: query
url: '/material/material_lease_apply_info/equipmentType',
method: 'post',
data
})
}

View File

@ -1013,7 +1013,7 @@ export default {
// overflow-y: auto;
// }
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -1046,11 +1046,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -1276,7 +1276,7 @@ export default {
if (this.currentMatchIndex === -1 || !this.matchedOptions.length) return
const option = this.matchedOptions[this.currentMatchIndex]
const selectDom = this.$el.querySelector('.el-select-dropdown__wrap')
const selectDom = this.$el.querySelector('.type-select-dropdown')
const optionDom = selectDom?.querySelector(`[data-key="${option.typeId}"]`)
if (optionDom) {
@ -1358,7 +1358,7 @@ export default {
// overflow-y: auto;
// }
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -1391,11 +1391,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -1351,7 +1351,7 @@ export default {
if (this.currentMatchIndex === -1 || !this.matchedOptions.length) return
const option = this.matchedOptions[this.currentMatchIndex]
const selectDom = this.$el.querySelector('.el-select-dropdown__wrap')
const selectDom = this.$el.querySelector('.type-select-dropdown')
const optionDom = selectDom?.querySelector(`[data-key="${option.typeId}"]`)
if (optionDom) {
@ -1422,7 +1422,7 @@ export default {
overflow-y: auto;
}
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -1455,11 +1455,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -1257,10 +1257,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;

View File

@ -1433,10 +1433,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;

View File

@ -996,7 +996,7 @@ export default {
if (this.currentMatchIndex === -1 || !this.matchedOptions.length) return
const option = this.matchedOptions[this.currentMatchIndex]
const selectDom = this.$el.querySelector('.el-select-dropdown__wrap')
const selectDom = this.$el.querySelector('.type-select-dropdown')
const optionDom = selectDom?.querySelector(`[data-key="${option.typeId}"]`)
if (optionDom) {
@ -1054,7 +1054,7 @@ export default {
// overflow-y: auto;
// }
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -1087,11 +1087,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -943,7 +943,7 @@ export default {
overflow-y: auto;
}
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -976,11 +976,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -412,7 +412,7 @@ export default {
},
/** 机具类型 */
equipmentType() {
equipmentTypeTree().then(response => {
equipmentTypeTree({ agreementId: this.agreementId }).then(response => {
this.equipmentTypeList = response.data
//
this.flattenTypeOptions = this.processTypeData(response.data)
@ -782,7 +782,7 @@ export default {
// overflow-y: auto;
// }
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -815,11 +815,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {

View File

@ -858,7 +858,7 @@ export default {
// overflow-y: auto;
// }
.highlight-text {
::v-deep .highlight-text {
background-color: #ffd04b;
color: #000;
}
@ -891,11 +891,6 @@ export default {
}
}
.highlight-text {
background-color: #ffd04b;
color: #000;
}
.el-input-group__append {
padding: 0;
.el-button {