|
@@ -12,10 +12,7 @@ var cmSysVitaMixins = function () {
|
|
|
pageLabel:'',//页面标签
|
|
|
userId:0,//用户Id
|
|
|
productId:0,//商品Id
|
|
|
- shopId:0,//供应商Id
|
|
|
- behaviorType:1, // 用户行为类型
|
|
|
- headUserId: '', // 内容库协销ID
|
|
|
- productArchiveId: '', // 内容库文件id
|
|
|
+ shopId:0//供应商Id
|
|
|
},
|
|
|
handleProsId:'',
|
|
|
handleShopId:'',
|
|
@@ -56,7 +53,6 @@ var cmSysVitaMixins = function () {
|
|
|
handleCmSysNetInfo() {
|
|
|
//设置定时器
|
|
|
const globalUserData = JSON.parse(localStorage.getItem('userInfo'));
|
|
|
- const databaseShareData = JSON.parse(sessionStorage.getItem('saveParams'))
|
|
|
console.log('handleProsKey',this.handleProsKey)
|
|
|
if(globalUserData){ this.cmSysParams.userId = globalUserData.userId * 1; }
|
|
|
if( this.handleProsId || this.handleShopId || this.handlearticleId || this.handleProsKey || this.handleShopKey ){
|
|
@@ -77,9 +73,6 @@ var cmSysVitaMixins = function () {
|
|
|
this.cmSysParams.pageLabel = pageData ? pageData.pageLabel : '';
|
|
|
}
|
|
|
this.cmSysParams.pagePath = pagePath;
|
|
|
- this.cmSysParams.headUserId = databaseShareData?.suid || ''
|
|
|
- this.cmSysParams.productArchiveId = databaseShareData?.id || ''
|
|
|
- console.log(this.cmSysParams)
|
|
|
setTimeout(()=>{
|
|
|
this.handleSetNetworks(this.cmSysParams);
|
|
|
},2000)
|