Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
d6b05226
Commit
d6b05226
authored
May 08, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
b8d664b8
4f77f011
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
515 additions
and
55 deletions
+515
-55
common.css
src/assets/css/common.css
+3
-0
goodsList.vue
src/components/CommodityMan/goodsList.vue
+499
-50
goodsServices.vue
src/components/CommodityMan/goodsServices.vue
+1
-1
goodsServicesEdit.vue
src/components/CommodityMan/goodsServicesEdit.vue
+6
-2
index.js
src/router/index.js
+6
-2
No files found.
src/assets/css/common.css
View file @
d6b05226
...
...
@@ -88,6 +88,9 @@
.cred
{
color
:
rgb
(
245
,
108
,
108
);
}
.c99
{
color
:
#999999
;
}
.el-form-item
{
position
:
relative
;
}
...
...
src/components/CommodityMan/goodsList.vue
View file @
d6b05226
This diff is collapsed.
Click to expand it.
src/components/CommodityMan/goodsServices.vue
View file @
d6b05226
...
...
@@ -79,7 +79,7 @@
width=
"200"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<img
@
click=
"
Delete(scope.row
)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
<img
@
click=
"
CommonJump('goodsServicesEdit',
{ServiceId:scope.row.Id}
)" style="width:32px;height:32px;margin:0 10px" src="../../assets/img/userman/edit.png" alt="">
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</
template
>
</el-table-column>
...
...
src/components/CommodityMan/goodsServicesEdit.vue
View file @
d6b05226
...
...
@@ -59,10 +59,14 @@ export default {
{
required
:
true
,
message
:
'请输入排序'
,
trigger
:
'blur'
},
],
},
ServiceId
:
-
1
,
}
},
created
(){
// this.getData()
if
(
this
.
$route
.
query
.
ServiceId
){
this
.
ServiceId
=
this
.
$route
.
query
.
ServiceId
;
this
.
getData
()
}
},
methods
:{
Save
(
formName
){
...
...
@@ -87,7 +91,7 @@ export default {
},
getData
(){
this
.
pageloading
=
true
;
this
.
apipost
(
"/api/product/GetProduct
RecommendSetInfo"
,{
},
res
=>
{
this
.
apipost
(
"/api/product/GetProduct
ServiceInfo"
,{
ServiceId
:
this
.
ServiceId
},
res
=>
{
this
.
pageloading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
addMsg
=
res
.
data
.
data
;
...
...
src/router/index.js
View file @
d6b05226
...
...
@@ -212,8 +212,12 @@ export default new Router({
name
:
'goodsList'
,
component
:
resolve
=>
require
([
'@/components/CommodityMan/goodsList'
],
resolve
),
},
// 商品管理 商品列表新增
{
path
:
'/goodsListEdit'
,
name
:
'goodsListEdit'
,
component
:
resolve
=>
require
([
'@/components/CommodityMan/goodsListEdit'
],
resolve
),
},
//设置 基础设置
{
path
:
'/basicSetUp'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment