|
@@ -71,8 +71,8 @@ export default function () {
|
|
|
|
|
|
// 是否在工作台内
|
|
|
// 本地调试,可改为工作台内isInApp = ref(true), isInWeb = ref(false) 提交记得改回!
|
|
|
- const isInApp = ref(true) || ref(InContainer.inApp)
|
|
|
- const isInWeb = ref(false) || ref(InContainer.inWeb)
|
|
|
+ const isInApp = ref(InContainer.inApp)
|
|
|
+ const isInWeb = ref(InContainer.inWeb)
|
|
|
|
|
|
// 是否是渠道商
|
|
|
const cooperateCode = ref(false)
|
|
@@ -183,7 +183,7 @@ export default function () {
|
|
|
/**
|
|
|
* 页面tab切换Model
|
|
|
*/
|
|
|
- const SearchTabsModel = useSearchTabsModel({ showTabs2: !isInApp.value })
|
|
|
+ const SearchTabsModel = useSearchTabsModel({ showTabs2: !isInApp.value, inInjectBI })
|
|
|
const { activeTab, doChangeTab } = SearchTabsModel
|
|
|
// tab切换处理
|
|
|
function onChangeTab (item) {
|
|
@@ -234,7 +234,8 @@ export default function () {
|
|
|
oldUser: isOld.value && isInApp.value,
|
|
|
showVip: isLogin.value && isInApp.value,
|
|
|
infoType: infoTypeDataType.value,
|
|
|
- isBidField: isBidField
|
|
|
+ isBidField: isBidField,
|
|
|
+ inInjectBI: inInjectBI
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -323,7 +324,7 @@ export default function () {
|
|
|
limitActions.value['employ-bid'] = true
|
|
|
}
|
|
|
// 展示分发
|
|
|
- if((isEntAdmin.value || isDepartmentAdmin.value) && !isInBI.value) {
|
|
|
+ if((isEntAdmin.value || isDepartmentAdmin.value) && !inBIPropertyIframe && !inResourceBIIframe) {
|
|
|
limitActions.value['distribute-bid'] = true
|
|
|
}
|
|
|
return headerActions.value
|