Commit 0cd2bfd8 by caoyanzhi

update: 字段调整

parent 8f4e8028
......@@ -131,9 +131,10 @@ export default {
*/
exportExcel(type) {
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 para = {
enterpriseId: sessionStorage.getItem('userInfoBrandId'),
enterpriseId: userinfos.enterpriseId,
dataType: type,
pageNum: this.pageParams.pageNum,
pageSize: this.pageParams.pageSize,
......
......@@ -156,7 +156,7 @@ export default {
const that = this;
let para = {
storeTemplateRelatedIds: row.storeTemplateRelatedId,
enterpriseId: sessionStorage.getItem('userInfoBrandId') // 品牌 id
enterpriseId: this.brandId
};
postRequest('/haoban-app-customer-web/del-template-store', para)
.then(res => {
......@@ -193,7 +193,7 @@ export default {
postMultDel() {
const that = this;
let para = {
enterpriseId: sessionStorage.getItem('userInfoBrandId'), // 品牌 id
enterpriseId: this.brandId,
storeTemplateRelatedIds: that.multipleSelection.map(ele => ele.storeTemplateRelatedId).join(',') || '' // 门店分组,数组
};
postRequest('/haoban-app-customer-web/del-template-store', para)
......
......@@ -276,12 +276,8 @@ export default {
}
},
mounted() {
this.activeBrand = sessionStorage.getItem('userInfoBrandId');
this.activeBrand = JSON.parse(sessionStorage.getItem('userInfos') || '{}').enterpriseId;
if (this.activeBrand) this.getExpired(); // 到期通知
document.documentElement.style.backgroundColor = '#f0f2f5';
},
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
components: {
navCrumb,
......
......@@ -49,13 +49,8 @@ export default {
},
mounted() {
const that = this;
that.$emit('showTab', '122');
document.documentElement.style.backgroundColor = '#f0f2f5';
that.activeBrand = that.brandId;
},
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
components: {
taskViewPage
}
......
......@@ -7,7 +7,7 @@
* @LastEditTime: 2020-11-05 15:26:00
-->
<!--
<taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail>
<taskViewDetail :brandId="brandId"></taskViewDetail>
import taskViewDetail from '@/components/app/taskViewDetail.vue';
-->
<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