Browse Source

HL-5349:所有列表页的筛选,和弹出页的筛选,都将【模糊】做为默认操作符

hella_online_20240829
tengxiaofei 3 months ago
parent
commit
57f68ff133
  1. 11
      src/components/SearchHigh/src/SearchHigh.vue

11
src/components/SearchHigh/src/SearchHigh.vue

@ -127,6 +127,10 @@ const butttondata = [
// ==,!=,>,<,>=,<=,like,in,notIn,betweeen,isNull,isNotNull // ==,!=,>,<,>=,<=,like,in,notIn,betweeen,isNull,isNotNull
const moreListOptions = ref({ const moreListOptions = ref({
action: [ action: [
{
value: 'like',
label: t('ts.模糊')
},
{ {
value: '==', value: '==',
label: t('ts.等于') label: t('ts.等于')
@ -145,9 +149,6 @@ const moreListOptions = ref({
}, { }, {
value: '<=', value: '<=',
label: t('ts.小于等于') label: t('ts.小于等于')
}, {
value: 'like',
label: t('ts.模糊')
}, { }, {
value: 'in', value: 'in',
label: t('ts.包含') label: t('ts.包含')
@ -237,7 +238,7 @@ const moreListDelete = (val,item,$event) => {
const moreListPush = () => { const moreListPush = () => {
let data = { let data = {
column: '', column: '',
action: "==", action: "like",
value: "", value: "",
value1 :"" value1 :""
} }
@ -250,7 +251,7 @@ const resetSelect = (val) => {
val.action = 'betweeen' val.action = 'betweeen'
val.disabled = false val.disabled = false
}else{ }else{
val.action = '==' val.action = 'like'
val.disabled = false val.disabled = false
} }
val.value1 = "" val.value1 = ""

Loading…
Cancel
Save