Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
b448182e
提交
b448182e
编写于
8月 24, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整侧边栏
上级
030e72a8
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
10 行删除
+20
-10
order-manage.vue
src/views/goods/order-manage.vue
+2
-0
slidebar.vue
src/views/layout/slidebar.vue
+14
-8
shop-list.vue
src/views/shop/shop-list.vue
+4
-2
未找到文件。
src/views/goods/order-manage.vue
浏览文件 @
b448182e
...
...
@@ -268,6 +268,8 @@
}
},
created
()
{
let
storeId
=
localStorage
.
getItem
(
'storeId'
)
||
0
;
this
.
searchForm
.
storeId
=
storeId
;
this
.
searchList
();
},
methods
:
{
...
...
src/views/layout/slidebar.vue
浏览文件 @
b448182e
...
...
@@ -451,15 +451,21 @@
// if (res.data == null) {
// return;
// }else {
const
shop
=
{
title
:
'云鹊店铺'
,
icon
:
'el-icon-first-aid-kit'
,
index
:
'shop-list'
};
vm
.
items
.
push
(
shop
);
//
const shop = {
//
title: '云鹊店铺',
//
icon: 'el-icon-first-aid-kit',
//
index: 'shop-list'
//
};
//
vm.items.push(shop);
// }
})
/*const shop1 = {
const
shop
=
{
title
:
'云鹊店铺'
,
icon
:
'el-icon-first-aid-kit'
,
index
:
'shop-list'
};
vm
.
items
.
push
(
shop
);
const
shop1
=
{
title
:
'商品管理'
,
icon
:
'el-icon-first-aid-kit'
,
index
:
'goods-manage'
...
...
@@ -470,7 +476,7 @@
icon
:
'el-icon-first-aid-kit'
,
index
:
'order-manage'
};
vm.items.push(shop2);
*/
vm
.
items
.
push
(
shop2
);
},
goToMessageSendPage
(
checkAuth
)
{
...
...
src/views/shop/shop-list.vue
浏览文件 @
b448182e
...
...
@@ -35,6 +35,7 @@
<el-row>
<el-col
:span=
"24"
style=
"text-align: right"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"createShop"
:disabled=
"!canAdd"
>
新建店铺
</el-button>
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"createShop"
>
新建店铺
</el-button>
-->
</el-col>
</el-row>
</el-form>
...
...
@@ -144,9 +145,9 @@
}
},
created
()
{
// this.initPrivilege();
this
.
getAddAuth
();
// this.searchList();
this
.
searchList
();
localStorage
.
setItem
(
'storeId'
,
0
)
},
methods
:
{
getAddAuth
()
{
...
...
@@ -210,6 +211,7 @@
storeId
:
row
.
tradeStore
.
id
,
}
})
localStorage
.
setItem
(
'storeId'
,
row
.
tradeStore
.
id
)
},
//编辑
editShop
(
row
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录