提交 1a2213dc 编写于 作者: guangjun.yang's avatar guangjun.yang

关闭按钮问题

上级 54cbb335
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<el-button @click="editShop(scope.row)" type="text" size="small">{{scope.row.tradeStore.storeType == 3 ? '查看' : '编辑'}}</el-button> <el-button @click="editShop(scope.row)" type="text" size="small">{{scope.row.tradeStore.storeType == 3 ? '查看' : '编辑'}}</el-button>
<el-button @click="shopManage(scope.row)" type="text" size="small">商品管理</el-button> <el-button @click="shopManage(scope.row)" type="text" size="small">商品管理</el-button>
<el-button @click="orderManage(scope.row)" type="text" size="small">订单管理</el-button> <el-button @click="orderManage(scope.row)" type="text" size="small">订单管理</el-button>
<el-button v-if="isRoleOfOuter !=2 && scope.row.tradeStore.storeType == 3 && scope.row.tradeStore.storeStatus == 1" @click="closeShopAction(scope.row)" type="text" size="small">关闭店铺</el-button> <el-button v-if="storageIdType != 1 && (scope.row.tradeStore.storeType == 3 && scope.row.tradeStore.storeStatus == 1)" @click="closeShopAction(scope.row)" type="text" size="small">关闭店铺</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -145,12 +145,12 @@ ...@@ -145,12 +145,12 @@
value: 3, value: 3,
}], }],
idType: 0, idType: 0,
isRoleOfOuter: 0, storageIdType: 0,
} }
}, },
created() { created() {
// this.idType = localStorage.getItem("storageIdType"); // this.idType = localStorage.getItem("storageIdType");
this.isRoleOfOuter = localStorage.getItem("isRoleOfOuter") - 0; this.storageIdType = localStorage.getItem("storageIdType") - 0;
this.getAddAuth(); this.getAddAuth();
this.searchList(); this.searchList();
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册