Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newShopFront
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
newshop
newShopFront
Commits
444d3932
Commit
444d3932
authored
Dec 30, 2019
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子weilan添加
parent
763bcd8e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
469 additions
and
362 deletions
+469
-362
store.js
src/api/store.js
+8
-0
menuList.vue
src/views/authority/menuList.vue
+5
-5
Elecfence_edit.vue
src/views/storedc/details/Elecfence_edit.vue
+456
-357
No files found.
src/api/store.js
View file @
444d3932
...
@@ -197,6 +197,14 @@ export function getDCList (parameter) {
...
@@ -197,6 +197,14 @@ export function getDCList (parameter) {
params
:
{
guid
:
parameter
}
params
:
{
guid
:
parameter
}
})
})
}
}
// 获取门店电子围栏详情
export
function
saveElecfence
(
parameter
)
{
return
axios
({
url
:
'branch/city-distribution-settings/city-distribution-setting-save'
,
method
:
'post'
,
data
:
parameter
})
}
// 删除门店电子围栏
// 删除门店电子围栏
export
function
deleteElecfence
(
id
)
{
export
function
deleteElecfence
(
id
)
{
console
.
log
(
id
)
console
.
log
(
id
)
...
...
src/views/authority/menuList.vue
View file @
444d3932
...
@@ -193,7 +193,7 @@ export default {
...
@@ -193,7 +193,7 @@ export default {
dataIndex
:
'TITLE'
,
dataIndex
:
'TITLE'
,
// fixed: 'left',
// fixed: 'left',
// width: 200,
// width: 200,
width
:
'2
0
%'
,
width
:
'2
5
%'
,
scopedSlots
:
{
customRender
:
'TITLE'
},
scopedSlots
:
{
customRender
:
'TITLE'
},
customRender
:
(
value
,
row
,
index
)
=>
{
customRender
:
(
value
,
row
,
index
)
=>
{
var
ret
=
[]
var
ret
=
[]
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
},
},
{
{
title
:
'菜单状态'
,
title
:
'菜单状态'
,
width
:
'
8
%'
,
width
:
'
6
%'
,
dataIndex
:
'STATUS'
,
dataIndex
:
'STATUS'
,
customRender
:
(
state
,
row
,
index
)
=>
{
customRender
:
(
state
,
row
,
index
)
=>
{
return
<
div
>
{
state
===
0
?
<
a
-
tag
color
=
"red"
>
禁用
<
/a-tag> : <a-tag color="cyan">启用</
a
-
tag
>
}
<
/div
>
return
<
div
>
{
state
===
0
?
<
a
-
tag
color
=
"red"
>
禁用
<
/a-tag> : <a-tag color="cyan">启用</
a
-
tag
>
}
<
/div
>
...
@@ -234,7 +234,7 @@ export default {
...
@@ -234,7 +234,7 @@ export default {
},
},
{
{
title
:
'是否为菜单'
,
title
:
'是否为菜单'
,
width
:
'
6
%'
,
width
:
'
5
%'
,
dataIndex
:
'IS_MENU'
,
dataIndex
:
'IS_MENU'
,
customRender
:
text
=>
{
customRender
:
text
=>
{
if
(
Number
(
text
)
==
0
)
{
if
(
Number
(
text
)
==
0
)
{
...
@@ -246,7 +246,7 @@ export default {
...
@@ -246,7 +246,7 @@ export default {
},
},
{
{
title
:
'是否顶部菜单'
,
title
:
'是否顶部菜单'
,
width
:
'
6
%'
,
width
:
'
5
%'
,
dataIndex
:
'IS_TOP_MENU'
,
dataIndex
:
'IS_TOP_MENU'
,
customRender
:
text
=>
{
customRender
:
text
=>
{
if
(
Number
(
text
)
==
0
)
{
if
(
Number
(
text
)
==
0
)
{
...
@@ -258,7 +258,7 @@ export default {
...
@@ -258,7 +258,7 @@ export default {
},
},
{
{
title
:
'是否默认显示'
,
title
:
'是否默认显示'
,
width
:
'
6
%'
,
width
:
'
5
%'
,
dataIndex
:
'IS_DEFAULT_SHOW'
,
dataIndex
:
'IS_DEFAULT_SHOW'
,
customRender
:
text
=>
{
customRender
:
text
=>
{
if
(
Number
(
text
)
==
0
)
{
if
(
Number
(
text
)
==
0
)
{
...
...
src/views/storedc/details/Elecfence_edit.vue
View file @
444d3932
This diff is collapsed.
Click to expand it.
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