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
提交
ce7c9b01
提交
ce7c9b01
编写于
8月 24, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
侧边栏改造
上级
a2ae408b
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
27 行增加
和
31 行删除
+27
-31
goods-manage.vue
src/views/goods/goods-manage.vue
+2
-1
order-manage.vue
src/views/goods/order-manage.vue
+3
-4
slidebar.vue
src/views/layout/slidebar.vue
+13
-23
shop-list.vue
src/views/shop/shop-list.vue
+9
-3
未找到文件。
src/views/goods/goods-manage.vue
浏览文件 @
ce7c9b01
<
template
>
<div
class=
"yqshop-wrapper"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
></bread-crumb>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
></bread-crumb>
<div
class=
"yqshop-content screenSet"
id=
"screenSet"
>
<div
class=
"header-title"
>
商品管理
</div>
<el-form
ref=
"searchForm"
:model=
"searchForm"
label-width=
"80px"
label-suffix=
":"
:inline=
"true"
>
...
...
@@ -188,6 +188,7 @@
data
(){
return
{
curmbFirst
:
'云鹊店铺'
,
curmbSecond
:
'店铺管理'
,
showAllFlag
:
false
,
showNewFlag
:
false
,
batchDialog
:
false
,
...
...
src/views/goods/order-manage.vue
浏览文件 @
ce7c9b01
...
...
@@ -207,7 +207,7 @@
},
data
(){
return
{
curmbFirst
:
'
店铺管理
'
,
curmbFirst
:
'
云鹊店铺
'
,
curmbSecond
:
'订单管理'
,
activeName
:
'all'
,
showAllFlag
:
false
,
...
...
@@ -268,8 +268,7 @@
}
},
created
()
{
let
storeId
=
localStorage
.
getItem
(
'storeId'
)
||
0
;
this
.
searchForm
.
storeId
=
storeId
;
this
.
searchForm
.
storeId
=
this
.
$route
.
query
.
storeId
||
0
,
this
.
searchList
();
},
methods
:
{
...
...
@@ -300,7 +299,7 @@
this
.
activeName
=
'all'
;
this
.
searchForm
=
{
showStatus
:
-
1
,
storeId
:
0
,
storeId
:
this
.
$route
.
query
.
storeId
,
goodsName
:
''
,
orderNo
:
''
,
receiver
:
''
,
...
...
src/views/layout/slidebar.vue
浏览文件 @
ce7c9b01
...
...
@@ -229,16 +229,6 @@
return
0
;
}
},
getGoodsAuth
()
{
let
isShowGoods
=
localStorage
.
getItem
(
'isShowGoods'
)
if
(
isShowGoods
==
1
)
{
this
.
isShowGoods
=
true
;
localStorage
.
setItem
(
'isShowGoods'
,
2
)
}
else
{
this
.
isShowGoods
=
false
;
localStorage
.
setItem
(
'isShowGoods'
,
2
)
}
},
getRoleObj
()
{
getCircleRole
({}).
then
((
res
)
=>
{
localStorage
.
removeItem
(
'highMainManager'
);
...
...
@@ -447,19 +437,19 @@
},
setShopSide
(){
queryShopAuth
().
then
(
res
=>
{
//0 表示超级管理员,大于0 表示小店或供应商,null 表示非法用户
//
if (res.data == null) {
//
return;
//
}else {
//
const shop = {
//
title: '云鹊店铺',
//
icon: 'el-icon-first-aid-kit',
//
index: 'shop-list'
//
};
//
vm.items.push(shop);
//
}
//
0 表示超级管理员,大于0 表示小店或供应商,null 表示非法用户
if
(
res
.
data
==
null
)
{
return
;
}
else
{
const
shop
=
{
title
:
'云鹊店铺'
,
icon
:
'el-icon-first-aid-kit'
,
index
:
'shop-list'
};
vm
.
items
.
push
(
shop
);
}
})
const
shop
=
{
/*
const shop = {
title: '云鹊店铺',
icon: 'el-icon-first-aid-kit',
index: 'shop-list'
...
...
@@ -476,7 +466,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
浏览文件 @
ce7c9b01
...
...
@@ -76,6 +76,7 @@
<div>
<el-button
@
click=
"editShop(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>
</div>
</
template
>
</el-table-column>
...
...
@@ -147,7 +148,6 @@
created
()
{
this
.
getAddAuth
();
this
.
searchList
();
localStorage
.
setItem
(
'storeId'
,
0
)
},
methods
:
{
getAddAuth
()
{
...
...
@@ -204,14 +204,20 @@
},
//店铺管理
shopManage
(
row
)
{
localStorage
.
setItem
(
'isShowGoods'
,
1
)
this
.
$router
.
push
({
path
:
'/goods-manage'
,
query
:
{
storeId
:
row
.
tradeStore
.
id
,
}
})
localStorage
.
setItem
(
'storeId'
,
row
.
tradeStore
.
id
)
},
orderManage
(
row
)
{
this
.
$router
.
push
({
path
:
'/order-manage'
,
query
:
{
storeId
:
row
.
tradeStore
.
id
,
}
})
},
//编辑
editShop
(
row
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录