Commit 0cd2bfd8 by caoyanzhi

update: 字段调整

parent 8f4e8028
...@@ -131,9 +131,10 @@ export default { ...@@ -131,9 +131,10 @@ export default {
*/ */
exportExcel(type) { exportExcel(type) {
this.loadingBtn = true; this.loadingBtn = true;
const userinfos = JSON.parse(sessionStorage.getItem('userInfos') || '{}');
let url = '/haoban-task-manage-web/market/clue/export/store-view-task-detail-comp-detail'; let url = '/haoban-task-manage-web/market/clue/export/store-view-task-detail-comp-detail';
let para = { let para = {
enterpriseId: sessionStorage.getItem('userInfoBrandId'), enterpriseId: userinfos.enterpriseId,
dataType: type, dataType: type,
pageNum: this.pageParams.pageNum, pageNum: this.pageParams.pageNum,
pageSize: this.pageParams.pageSize, pageSize: this.pageParams.pageSize,
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
const that = this; const that = this;
let para = { let para = {
storeTemplateRelatedIds: row.storeTemplateRelatedId, storeTemplateRelatedIds: row.storeTemplateRelatedId,
enterpriseId: sessionStorage.getItem('userInfoBrandId') // 品牌 id enterpriseId: this.brandId
}; };
postRequest('/haoban-app-customer-web/del-template-store', para) postRequest('/haoban-app-customer-web/del-template-store', para)
.then(res => { .then(res => {
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
postMultDel() { postMultDel() {
const that = this; const that = this;
let para = { let para = {
enterpriseId: sessionStorage.getItem('userInfoBrandId'), // 品牌 id enterpriseId: this.brandId,
storeTemplateRelatedIds: that.multipleSelection.map(ele => ele.storeTemplateRelatedId).join(',') || '' // 门店分组,数组 storeTemplateRelatedIds: that.multipleSelection.map(ele => ele.storeTemplateRelatedId).join(',') || '' // 门店分组,数组
}; };
postRequest('/haoban-app-customer-web/del-template-store', para) postRequest('/haoban-app-customer-web/del-template-store', para)
......
...@@ -276,12 +276,8 @@ export default { ...@@ -276,12 +276,8 @@ export default {
} }
}, },
mounted() { mounted() {
this.activeBrand = sessionStorage.getItem('userInfoBrandId'); this.activeBrand = JSON.parse(sessionStorage.getItem('userInfos') || '{}').enterpriseId;
if (this.activeBrand) this.getExpired(); // 到期通知 if (this.activeBrand) this.getExpired(); // 到期通知
document.documentElement.style.backgroundColor = '#f0f2f5';
},
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
}, },
components: { components: {
navCrumb, navCrumb,
......
...@@ -49,13 +49,8 @@ export default { ...@@ -49,13 +49,8 @@ export default {
}, },
mounted() { mounted() {
const that = this; const that = this;
that.$emit('showTab', '122');
document.documentElement.style.backgroundColor = '#f0f2f5';
that.activeBrand = that.brandId; that.activeBrand = that.brandId;
}, },
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
components: { components: {
taskViewPage taskViewPage
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @LastEditTime: 2020-11-05 15:26:00 * @LastEditTime: 2020-11-05 15:26:00
--> -->
<!-- <!--
<taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail> <taskViewDetail :brandId="brandId"></taskViewDetail>
import taskViewDetail from '@/components/app/taskViewDetail.vue'; import taskViewDetail from '@/components/app/taskViewDetail.vue';
--> -->
<template> <template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment