Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
Project
Project
Details
Activity
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
xulili
ybf
Commits
de8711f9
Commit
de8711f9
authored
Jan 19, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Dot: PC: In: Store's api almost done. Next: Active page's style.
parent
18817b1d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
23 deletions
+26
-23
index.vue
...ayout/header-aside/components/header-fullscreen/index.vue
+4
-4
store.vue
ybf_admin/src/pages/in/contact/store.vue
+20
-18
request.js
ybf_admin/src/utils/request.js
+2
-1
No files found.
ybf_admin/src/layout/header-aside/components/header-fullscreen/index.vue
View file @
de8711f9
...
...
@@ -3,10 +3,10 @@
effect=
"dark"
:content=
"active ? '退出全屏' : '全屏'"
placement=
"bottom"
>
<
el-button
class=
"d2-mr btn-text can-hover"
type=
"text"
@
click=
"toggle"
>
<
d2-icon
v-if=
"active"
name=
"compress"
/
>
<
d2-icon
v-else
name=
"arrows-alt"
style=
"font-size: 16px"
/
>
<
/el-button
>
<
!--
<el-button
class=
"d2-mr btn-text can-hover"
type=
"text"
@
click=
"toggle"
>
--
>
<
!--
<d2-icon
v-if=
"active"
name=
"compress"
/>
--
>
<
!--
<d2-icon
v-else
name=
"arrows-alt"
style=
"font-size: 16px"
/>
--
>
<
!--
</el-button>
--
>
</el-tooltip>
</
template
>
...
...
ybf_admin/src/pages/in/contact/store.vue
View file @
de8711f9
...
...
@@ -60,7 +60,7 @@
<el-table-column
type=
"selection"
width=
"60"
></el-table-column>
<el-table-column
prop=
"name"
label=
"门店名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"type"
label=
"门店类型"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop
=
""
label=
"门店负责人"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop
label=
"门店负责人"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"signNum"
label=
"所属柜组"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"location"
label=
"位置"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"shopId"
label=
"门牌号"
align=
"center"
width=
"120"
></el-table-column>
...
...
@@ -90,7 +90,11 @@
<
script
>
import
AddStore
from
"./components/addStore"
;
import
StoreDetail
from
"./components/storeDetail"
;
import
{
ApiStoreGetMainList
,
ApiStoreGetStoreDetail
,
ApiStoreDelStore
}
from
"@api/in/store"
;
import
{
ApiStoreGetMainList
,
ApiStoreGetStoreDetail
,
ApiStoreDelStore
}
from
"@api/in/store"
;
const
zlog
=
console
.
log
.
bind
(
console
);
export
default
{
...
...
@@ -164,7 +168,7 @@ export default {
sendDate
:
"2019/02/08"
}
],
mainV
:[],
mainV
:
[],
search
:
{
bar
:
[
{
...
...
@@ -217,26 +221,24 @@ export default {
this
.
list
.
mainV
=
res
.
data
.
adminStalls
;
});
},
storeGetStoreDetail
(
inData
){
zlog
(
'--->id:'
,
inData
)
storeGetStoreDetail
(
inData
)
{
zlog
(
"--->id:"
,
inData
);
let
postData
=
{
inDetail
:
true
,
stallId
:
inData
,
}
stallId
:
inData
};
zlog
(
'--->type: stallId:'
,
typeof
(
Number
(
postData
.
stallId
)))
ApiStoreGetStoreDetail
(
postData
)
.
then
(
res
=>
{
zlog
(
'--->detail: res:'
,
res
)
})
ApiStoreGetStoreDetail
(
postData
).
then
(
res
=>
{
zlog
(
"--->detail: res:"
,
res
);
});
},
storeDelStore
(
inData
){
storeDelStore
(
inData
)
{
let
postData
=
{
stallId
:
'123456'
}
ApiStoreDelStore
(
inData
)
.
then
(
res
=>
{
})
stallId
:
123456
};
ApiStoreDelStore
(
inData
).
then
(
res
=>
{});
},
listPick
()
{},
...
...
ybf_admin/src/utils/request.js
View file @
de8711f9
...
...
@@ -2,7 +2,7 @@ import axios from 'axios'
import
md5
from
"js-md5"
let
BASE_API
=
"http://139.155.48.151:8084"
const
log
=
console
.
log
.
bind
(
console
)
const
z
log
=
console
.
log
.
bind
(
console
)
// 创建 axios 实例
...
...
@@ -14,6 +14,7 @@ const service = axios.create({
// request 拦截器
service
.
interceptors
.
request
.
use
(
request
=>
{
zlog
(
'--->request: request:'
,
request
)
return
request
},
error
=>
{
...
...
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