|
@@ -237,6 +237,72 @@
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
</JCell>
|
|
</JCell>
|
|
|
|
+ <JCell
|
|
|
|
+ class="more-filter-item"
|
|
|
|
+ title="采购单位"
|
|
|
|
+ @click="checkboxGroupClick({ disabled: noLoginOrFree })"
|
|
|
|
+ v-show="isLogin"
|
|
|
|
+ >
|
|
|
|
+ <template #title v-if="noLoginOrFree">
|
|
|
|
+ <span class="mr-6">采购单位</span>
|
|
|
|
+ <van-tag plain round type="danger" @click="onNoPower">
|
|
|
|
+ 开通
|
|
|
|
+ </van-tag>
|
|
|
|
+ </template>
|
|
|
|
+ <template #label>
|
|
|
|
+ <KeywordsInputGroup
|
|
|
|
+ :readonly="noLoginOrFree"
|
|
|
|
+ v-model="cacheMoreFilters.buyerList"
|
|
|
|
+ inputMaxlength="30"
|
|
|
|
+ placeholder="输入采购单位名称,找其招标项目"
|
|
|
|
+ class="buyer-filter"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
|
|
+ </JCell>
|
|
|
|
+ <JCell
|
|
|
|
+ class="more-filter-item"
|
|
|
|
+ title="中标企业"
|
|
|
|
+ @click="checkboxGroupClick({ disabled: noLoginOrFree })"
|
|
|
|
+ v-show="isLogin"
|
|
|
|
+ >
|
|
|
|
+ <template #title v-if="noLoginOrFree">
|
|
|
|
+ <span class="mr-6">中标企业</span>
|
|
|
|
+ <van-tag plain round type="danger" @click="onNoPower">
|
|
|
|
+ 开通
|
|
|
|
+ </van-tag>
|
|
|
|
+ </template>
|
|
|
|
+ <template #label>
|
|
|
|
+ <KeywordsInputGroup
|
|
|
|
+ :readonly="noLoginOrFree"
|
|
|
|
+ v-model="cacheMoreFilters.winnerList"
|
|
|
|
+ inputMaxlength="30"
|
|
|
|
+ placeholder="输入中标企业名称,找其中标项目"
|
|
|
|
+ class="winner-filter"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
|
|
+ </JCell>
|
|
|
|
+ <JCell
|
|
|
|
+ class="more-filter-item"
|
|
|
|
+ title="招标代理机构"
|
|
|
|
+ @click="checkboxGroupClick({ disabled: noLoginOrFree })"
|
|
|
|
+ v-show="isLogin"
|
|
|
|
+ >
|
|
|
|
+ <template #title v-if="noLoginOrFree">
|
|
|
|
+ <span class="mr-6">招标代理机构</span>
|
|
|
|
+ <van-tag plain round type="danger" @click="onNoPower">
|
|
|
|
+ 开通
|
|
|
|
+ </van-tag>
|
|
|
|
+ </template>
|
|
|
|
+ <template #label>
|
|
|
|
+ <KeywordsInputGroup
|
|
|
|
+ :readonly="noLoginOrFree"
|
|
|
|
+ v-model="cacheMoreFilters.agencyList"
|
|
|
|
+ inputMaxlength="30"
|
|
|
|
+ placeholder="输入代理机构名称,找其代理项目"
|
|
|
|
+ class="winner-filter"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
|
|
+ </JCell>
|
|
</div>
|
|
</div>
|
|
</DropdownLayout>
|
|
</DropdownLayout>
|
|
</van-dropdown-item>
|
|
</van-dropdown-item>
|
|
@@ -406,7 +472,10 @@ export default {
|
|
fileExists: ['0'],
|
|
fileExists: ['0'],
|
|
winnerConcat: [''],
|
|
winnerConcat: [''],
|
|
buyerConcat: [''],
|
|
buyerConcat: [''],
|
|
- notKey: []
|
|
|
|
|
|
+ notKey: [],
|
|
|
|
+ buyerList: [],
|
|
|
|
+ winnerList: [],
|
|
|
|
+ agencyList: []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -431,7 +500,10 @@ export default {
|
|
fileExists: ['0'],
|
|
fileExists: ['0'],
|
|
winnerConcat: [''],
|
|
winnerConcat: [''],
|
|
buyerConcat: [''],
|
|
buyerConcat: [''],
|
|
- notKey: []
|
|
|
|
|
|
+ notKey: [],
|
|
|
|
+ buyerList: [],
|
|
|
|
+ winnerList: [],
|
|
|
|
+ agencyList: []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -477,7 +549,10 @@ export default {
|
|
fileExists: ['0'],
|
|
fileExists: ['0'],
|
|
winnerConcat: [''],
|
|
winnerConcat: [''],
|
|
buyerConcat: [''],
|
|
buyerConcat: [''],
|
|
- notKey: []
|
|
|
|
|
|
+ notKey: [],
|
|
|
|
+ buyerList: [],
|
|
|
|
+ winnerList: [],
|
|
|
|
+ agencyList: []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -638,7 +713,10 @@ export default {
|
|
winnerConcat,
|
|
winnerConcat,
|
|
buyerConcat,
|
|
buyerConcat,
|
|
fileExists,
|
|
fileExists,
|
|
- notKey
|
|
|
|
|
|
+ notKey,
|
|
|
|
+ buyerList,
|
|
|
|
+ winnerList,
|
|
|
|
+ agencyList
|
|
} = this.defaultFilterState
|
|
} = this.defaultFilterState
|
|
const sameList = []
|
|
const sameList = []
|
|
|
|
|
|
@@ -665,6 +743,29 @@ export default {
|
|
sameList.push(deepCompare(this.filters.winnerConcat, winnerConcat))
|
|
sameList.push(deepCompare(this.filters.winnerConcat, winnerConcat))
|
|
sameList.push(deepCompare(this.filters.buyerConcat, buyerConcat))
|
|
sameList.push(deepCompare(this.filters.buyerConcat, buyerConcat))
|
|
sameList.push(deepCompare(this.filters.notKey, notKey))
|
|
sameList.push(deepCompare(this.filters.notKey, notKey))
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.winnerConcat, winnerConcat)
|
|
|
|
+ )
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.buyerConcat, buyerConcat)
|
|
|
|
+ )
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.notKey, notKey)
|
|
|
|
+ )
|
|
|
|
+
|
|
|
|
+ // 采购单位
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.buyerList, buyerList)
|
|
|
|
+ )
|
|
|
|
+ // 中标单位
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.winnerList, winnerList)
|
|
|
|
+ )
|
|
|
|
+ // 代理机构
|
|
|
|
+ sameList.push(
|
|
|
|
+ deepCompare(this.filters.agencyList, agencyList)
|
|
|
|
+ )
|
|
|
|
+
|
|
// 附件
|
|
// 附件
|
|
sameList.push(this.filters.fileExists === fileExists)
|
|
sameList.push(this.filters.fileExists === fileExists)
|
|
needHighlight = sameList.includes(false)
|
|
needHighlight = sameList.includes(false)
|
|
@@ -717,7 +818,10 @@ export default {
|
|
winnerConcat,
|
|
winnerConcat,
|
|
buyerConcat,
|
|
buyerConcat,
|
|
fileExists,
|
|
fileExists,
|
|
- notKey
|
|
|
|
|
|
+ notKey,
|
|
|
|
+ buyerList,
|
|
|
|
+ winnerList,
|
|
|
|
+ agencyList
|
|
} = this.filters
|
|
} = this.filters
|
|
|
|
|
|
// 更多关键词
|
|
// 更多关键词
|
|
@@ -750,6 +854,10 @@ export default {
|
|
|
|
|
|
this.cacheMoreFilters.fileExists = fileExists
|
|
this.cacheMoreFilters.fileExists = fileExists
|
|
this.cacheMoreFilters.notKey = notKey
|
|
this.cacheMoreFilters.notKey = notKey
|
|
|
|
+
|
|
|
|
+ this.cacheMoreFilters.buyerList = buyerList
|
|
|
|
+ this.cacheMoreFilters.winnerList = winnerList
|
|
|
|
+ this.cacheMoreFilters.agencyList = agencyList
|
|
break
|
|
break
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -800,7 +908,10 @@ export default {
|
|
winnerConcat,
|
|
winnerConcat,
|
|
buyerConcat,
|
|
buyerConcat,
|
|
fileExists,
|
|
fileExists,
|
|
- notKey
|
|
|
|
|
|
+ notKey,
|
|
|
|
+ buyerList,
|
|
|
|
+ winnerList,
|
|
|
|
+ agencyList
|
|
} = this.defaultFilterState
|
|
} = this.defaultFilterState
|
|
// 更多关键词
|
|
// 更多关键词
|
|
if (moreKeywordsMode) {
|
|
if (moreKeywordsMode) {
|
|
@@ -855,6 +966,18 @@ export default {
|
|
this.cacheMoreFilters.notKey = notKey
|
|
this.cacheMoreFilters.notKey = notKey
|
|
filters.notKey = notKey
|
|
filters.notKey = notKey
|
|
}
|
|
}
|
|
|
|
+ if (Array.isArray(buyerList)) {
|
|
|
|
+ filters.buyerList = buyerList
|
|
|
|
+ this.cacheMoreFilters.buyerList = buyerList
|
|
|
|
+ }
|
|
|
|
+ if (Array.isArray(winnerList)) {
|
|
|
|
+ filters.winnerList = winnerList
|
|
|
|
+ this.cacheMoreFilters.winnerList = winnerList
|
|
|
|
+ }
|
|
|
|
+ if (Array.isArray(agencyList)) {
|
|
|
|
+ filters.agencyList = agencyList
|
|
|
|
+ this.cacheMoreFilters.agencyList = agencyList
|
|
|
|
+ }
|
|
break
|
|
break
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -907,6 +1030,9 @@ export default {
|
|
winnerConcat,
|
|
winnerConcat,
|
|
buyerConcat,
|
|
buyerConcat,
|
|
notKey,
|
|
notKey,
|
|
|
|
+ buyerList,
|
|
|
|
+ winnerList,
|
|
|
|
+ agencyList,
|
|
fileExists
|
|
fileExists
|
|
} = this.cacheMoreFilters
|
|
} = this.cacheMoreFilters
|
|
const { price: defaultPrice } = this.defaultFilterState
|
|
const { price: defaultPrice } = this.defaultFilterState
|
|
@@ -938,6 +1064,9 @@ export default {
|
|
filters.buyerConcat = buyerConcat
|
|
filters.buyerConcat = buyerConcat
|
|
filters.fileExists = fileExists
|
|
filters.fileExists = fileExists
|
|
filters.notKey = notKey
|
|
filters.notKey = notKey
|
|
|
|
+ filters.buyerList = buyerList
|
|
|
|
+ filters.winnerList = winnerList
|
|
|
|
+ filters.agencyList = agencyList
|
|
break
|
|
break
|
|
}
|
|
}
|
|
}
|
|
}
|