|
@@ -27,43 +27,10 @@ const moreFiltersNeedVipKeyList = [
|
|
'staffs'
|
|
'staffs'
|
|
]
|
|
]
|
|
|
|
|
|
-function noPower() {
|
|
|
|
- $bus.$emit('search:filter:no-power')
|
|
|
|
-}
|
|
|
|
-function beforeChangeHandle ($event, char, isLogin) {
|
|
|
|
- if(isLogin) {
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- // 发布时间
|
|
|
|
- if(char === 'publishTime') {
|
|
|
|
- if($event.value === 'sinceLastYear') {
|
|
|
|
- return true
|
|
|
|
- } else {
|
|
|
|
- $bus.$emit('bidding:goLogin')
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
- } else if(char === 'selectType') {
|
|
|
|
- if($event.value === 'file') {
|
|
|
|
- $bus.$emit('bidding:goLogin')
|
|
|
|
- return false
|
|
|
|
- } else {
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- } else if (char === 'subtype') {
|
|
|
|
- if($event.value) {
|
|
|
|
- $bus.$emit('bidding:goLogin')
|
|
|
|
- } else {
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
// 更多筛选
|
|
// 更多筛选
|
|
function createSubscribeMoreSchema(conf = {}) {
|
|
function createSubscribeMoreSchema(conf = {}) {
|
|
const vt = conf.vt.value || 'f'
|
|
const vt = conf.vt.value || 'f'
|
|
const isFree = conf.isFree.value || false
|
|
const isFree = conf.isFree.value || false
|
|
- console.log(conf, 'conf')
|
|
|
|
let SubscribeMoreSchema = [
|
|
let SubscribeMoreSchema = [
|
|
{
|
|
{
|
|
key: 'keyWords',
|
|
key: 'keyWords',
|