Commit dae6e9af by liuchenxi

update: 分组修改

parent 8aaadb05
......@@ -267,7 +267,7 @@
<div :key="'tag11' + pindex">
<template v-if="loadSelector">
<!--scenes服务门店查上线,其余门店查所有-->
<vue-gic-store-new :options="parent.uuidOptions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid" :scenes="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" :scenesVal="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" />
<vue-gic-store-new :options="parent.uuidOptions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid" :scenes="storeTagScense(parent)" :scenesVal="storeTagScense(parent)" />
</template>
<!-- <vue-gic-store-new :options="parent.uuidOp0tions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid"> </vue-gic-store-new> -->
</div>
......@@ -1349,6 +1349,14 @@ export default {
}
},
methods: {
// 设置门店选择器的场景
storeTagScense(parent) {
console.log(parent);
if (!parent.expandParams) return '';
const controlJson = JSON.parse(parent.expandParams);
const scense = controlJson.find(el => el.key === 'scenes');
return scense.value;
},
tag020PickerOptions(parent) {
return {
disabledDate: time => {
......
......@@ -133,7 +133,7 @@ export const constantRouterMap = [
title: '会员标签-会员分组',
keepAlive: true,
componentName: 'memberGroupList',
fromPath: ['/memberGroupEdit','/memberLevelDetail', '/memberGroupDetail']
fromPath: ['/memberGroupEdit','/memberLevelDetail', '/memberGroupDetail', '/memberGroupAdd']
}
},
{
......
......@@ -1305,7 +1305,7 @@ export default {
getGroupList() {
this.loading = true;
this.params.fixedType = this.showFixedList ? 1 : 0;
this.params.permissionType = this.isSelf ? null : 1;
this.params.permissionType = this.isSelf ? null : 2;
memberTagGroupList(this.params).then(res => {
this.loading = false;
if (res.errorCode == 1) {
......
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