|
@@ -1,4 +1,4 @@
|
|
-import { computed, reactive, ref, onMounted, getCurrentInstance } from 'vue'
|
|
|
|
|
|
+import { computed, reactive, ref, toRefs, onMounted, getCurrentInstance } from 'vue'
|
|
import { without, throttle } from 'lodash'
|
|
import { without, throttle } from 'lodash'
|
|
import { useStore } from '@/store'
|
|
import { useStore } from '@/store'
|
|
import { useRoute, useRouter } from 'vue-router/composables'
|
|
import { useRoute, useRouter } from 'vue-router/composables'
|
|
@@ -219,7 +219,7 @@ export default function () {
|
|
break
|
|
break
|
|
}
|
|
}
|
|
case 'detailed-list': {
|
|
case 'detailed-list': {
|
|
- doChangeItemStyleType(key)
|
|
|
|
|
|
+ detailListClick(key)
|
|
break
|
|
break
|
|
}
|
|
}
|
|
case 'table': {
|
|
case 'table': {
|
|
@@ -244,8 +244,13 @@ export default function () {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ function detailListClick (key) {
|
|
|
|
+ if(isFree.value) {
|
|
|
|
+ openListVipDialog()
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ doChangeItemStyleType(key)
|
|
|
|
+ }
|
|
// 全选复选框事件
|
|
// 全选复选框事件
|
|
function doChangeAllSelect(type) {
|
|
function doChangeAllSelect(type) {
|
|
doToggleListSelection(type)
|
|
doToggleListSelection(type)
|
|
@@ -448,6 +453,39 @@ export default function () {
|
|
showFilter.value = !showFilter.value
|
|
showFilter.value = !showFilter.value
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /******开通超级订阅弹窗start**********/
|
|
|
|
+
|
|
|
|
+ // 开通超级订阅弹窗配置
|
|
|
|
+ const vipDialogConfig = reactive({
|
|
|
|
+ type: 'filter',
|
|
|
|
+ show: false,
|
|
|
|
+ text: '立享更多搜索权限,寻找商机更精准'
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ // 筛选条件打开超级订阅弹窗
|
|
|
|
+ function openFilterVipDialog () {
|
|
|
|
+ vipDialogConfig.type = 'filter'
|
|
|
|
+ vipDialogConfig.show = true
|
|
|
|
+ vipDialogConfig.text = '立享更多搜索权限,寻找商机更精准'
|
|
|
|
+ }
|
|
|
|
+ // 关闭超级订阅弹窗
|
|
|
|
+ function closeVipDialog () {
|
|
|
|
+ vipDialogConfig.show = false
|
|
|
|
+ }
|
|
|
|
+ // 数据列表--开通超级订阅弹窗
|
|
|
|
+ function openListVipDialog () {
|
|
|
|
+ vipDialogConfig.type = 'list'
|
|
|
|
+ vipDialogConfig.show = true
|
|
|
|
+ vipDialogConfig.text = '立享列表展示更多公告关键信息,例如:采购单位、中标单位、招标代理机构等,提高公告查看效率'
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ const vipDialogConf = toRefs(vipDialogConfig)
|
|
|
|
+
|
|
|
|
+ // 筛选条件无权限提示开通超级订阅弹窗
|
|
|
|
+ $bus.$on('search:filter:no-power', openFilterVipDialog)
|
|
|
|
+
|
|
|
|
+ /******开通超级订阅弹窗end**********/
|
|
|
|
+
|
|
/** 保存、重置筛选条件部分 start ****/
|
|
/** 保存、重置筛选条件部分 start ****/
|
|
|
|
|
|
const disposeFilterActionModel = saveFilterActionsModel()
|
|
const disposeFilterActionModel = saveFilterActionsModel()
|
|
@@ -792,7 +830,6 @@ export default function () {
|
|
}
|
|
}
|
|
/*****BI添加操作end*********/
|
|
/*****BI添加操作end*********/
|
|
|
|
|
|
-
|
|
|
|
return {
|
|
return {
|
|
isLogin,
|
|
isLogin,
|
|
isInApp,
|
|
isInApp,
|
|
@@ -816,6 +853,8 @@ export default function () {
|
|
doChangePageNum,
|
|
doChangePageNum,
|
|
doChangePageSize,
|
|
doChangePageSize,
|
|
onChangeTab,
|
|
onChangeTab,
|
|
|
|
+ vipDialogConf,
|
|
|
|
+ closeVipDialog,
|
|
onSaveFilter, // 以下存筛选条件相关
|
|
onSaveFilter, // 以下存筛选条件相关
|
|
disposeFilterActionModel,
|
|
disposeFilterActionModel,
|
|
historyFilterDialogVisible,
|
|
historyFilterDialogVisible,
|