Commit 76ef692f by caoyanzhi

update: 去掉activeGroupId

parent 6d16ae0a
......@@ -67,12 +67,6 @@ export default {
return '';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
},
showFlag: {
type: Boolean,
default() {
......@@ -178,12 +172,6 @@ export default {
that.activeBrand = newData;
}
},
activeGroupId: function(newData, oldData) {
const that = this;
if (!!newData) {
that.activeGroup = newData;
}
},
// showFlag: function(newData, oldData) {
// const that = this;
// if (!!newData) {
......
......@@ -68,7 +68,6 @@ export default {
appScene: 2, // 1:带权限,2:不带权限
projectName: '', // 当前项目名
activeBrand: this.brandId,
activeGroup: this.activeGroupId, // 传递的品牌分组 id
storeVisible: false,
storeGroupIds: [],
storeData: [],
......@@ -146,19 +145,12 @@ export default {
that.checkStore();
that.getStoreGroup();
}
},
activeGroupId: function(newData, oldData) {
let that = this;
if (!!newData) {
that.activeGroup = newData;
}
}
},
mounted() {
const that = this;
if (!!that.brandId) {
that.activeBrand = that.brandId;
that.activeGroup = that.activeGroupId;
that.checkStore();
that.getStoreGroup();
}
......
......@@ -86,12 +86,6 @@ export default {
default() {
return '1';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
data() {
......
......@@ -131,19 +131,12 @@ export default {
default() {
return '1';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
data() {
return {
projectName: '', // 当前项目名
activeName: 'first',
activeGroup: this.activeGroupId, // 商户(品牌) groupId
wxEnterpriseRelatedId: sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).wxEnterpriseId : '',
myCustomData: {
searchFlag: false,
......
......@@ -77,19 +77,12 @@ export default {
default() {
return '1';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
data() {
return {
projectName: '', // 当前项目名
activeName: 'first',
activeGroup: this.activeGroupId, // 商户(品牌) groupId
wxEnterpriseRelatedId: JSON.parse(sessionStorage.getItem('userInfos')).wxEnterpriseId,
myCustomData: {
searchFlag: false,
......
......@@ -70,12 +70,6 @@ export default {
default() {
return '1';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
data() {
......
......@@ -45,12 +45,6 @@ export default {
default() {
return '1';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
data() {
......
......@@ -136,12 +136,6 @@ export default {
default() {
return '';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
components: {
......@@ -152,7 +146,6 @@ export default {
data() {
return {
activeBrand: this.brandId, // 商户(品牌) id
activeGroup: this.activeGroupId, // 商户(品牌) groupId
activeId: '3',
wxEnterpriseId: sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).wxEnterpriseId : '',
timeOptions: [
......@@ -570,12 +563,6 @@ export default {
that.activeBrand = newData;
that.getCardData();
}
},
activeGroupId: function(newData, oldData) {
const that = this;
if (!!newData) {
that.activeGroup = newData;
}
}
},
mounted() {
......
......@@ -149,12 +149,6 @@ export default {
default() {
return '';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
components: {
......@@ -165,7 +159,6 @@ export default {
data() {
return {
activeBrand: this.brandId, // 商户(品牌) id
activeGroup: this.activeGroupId, // 商户(品牌) groupId
activeId: '3',
wxEnterpriseId: sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).wxEnterpriseId : '',
......@@ -618,12 +611,6 @@ export default {
that.activeBrand = newData;
that.getCardData();
}
},
activeGroupId: function(newData, oldData) {
const that = this;
if (!!newData) {
that.activeGroup = newData;
}
}
},
mounted() {
......
......@@ -108,12 +108,6 @@ export default {
default() {
return '';
}
},
activeGroupId: {
type: String,
default() {
return '';
}
}
},
components: {
......@@ -123,7 +117,6 @@ export default {
data() {
return {
activeBrand: this.brandId, // 商户(品牌) id
activeGroup: this.activeGroupId, // 商户(品牌) groupId
activeId: '3',
commitName: !!sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).staffName : '',
wxEnterpriseId: sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).wxEnterpriseId : '',
......@@ -506,12 +499,6 @@ export default {
that.activeBrand = newData;
// that.getCardData();
}
},
activeGroupId: function(newData, oldData) {
const that = this;
if (!!newData) {
that.activeGroup = newData;
}
}
},
mounted() {
......
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