Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
277f92a0
authored
May 20, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
dbe19557
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
84 additions
and
315 deletions
src/assets/css/list/inquireDetail.less
src/assets/css/list/inquireDetail.min.css
src/views/Info/message.vue
src/views/List/inquireDetail.vue
src/views/Store/enter.vue
view/app.cf15e70d78d480cfe8d0.js → view/app.2260e0f05c27708c1528.js
view/index.html
view/js/12.js
view/js/19.js
view/js/21.js
src/assets/css/list/inquireDetail.less
View file @
277f92a0
.inquireDetail {
.inquireDetail {
.inquiry-information {
.inquiry-information {
position: relative;
position: relative;
height: 162px;
height: 162px;
...
@@ -118,56 +117,7 @@
...
@@ -118,56 +117,7 @@
}
}
}
}
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.heti {
width: 56px;
background: #fff;
&:hover {
background: #E5EEFF;
color: #1969F9;
}
}
&.xjk {
position: relative;
left: -11px;
border-left: 1px solid #1969F9;
&:hover {
border-left: 1px solid #1969F9;
}
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
}
.updatex {
.updatex {
width: 66px;
width: 66px;
...
@@ -231,6 +181,62 @@
...
@@ -231,6 +181,62 @@
}
}
}
}
}
}
.dcg {
display: block;
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.disabled{
background: #ccc;
color:#fff;
border-color:#ccc;
cursor: not-allowed;
}
&.heti {
width: 56px;
background: #fff;
&:hover {
background: #E5EEFF;
color: #1969F9;
}
}
&.xjk {
position: relative;
left: -11px;
border-left: 1px solid #1969F9;
&:hover {
border-left: 1px solid #1969F9;
}
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
}
}
}
.xx {
.xx {
...
...
src/assets/css/list/inquireDetail.min.css
View file @
277f92a0
.inquireDetail
.inquiry-information
{
.inquireDetail
.inquiry-information
{
position
:
relative
;
height
:
162px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding-top
:
20px
;
padding-left
:
17px
;
margin-bottom
:
20px
}
.inquireDetail
.inquiry-information
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.inquiry-information
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.input-box
{
margin-top
:
14px
;
margin-bottom
:
20px
}
.inquireDetail
.inquiry-information
.input-box
.p-text
{
font-size
:
14px
;
color
:
#333333
;
vertical-align
:
middle
;
margin-right
:
10px
}
.inquireDetail
.inquiry-information
.input-box
input
{
height
:
38px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
vertical-align
:
middle
;
box-sizing
:
border-box
;
text-indent
:
12px
;
font-size
:
14px
;
color
:
#333333
}
.inquireDetail
.inquiry-information
.text
span
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.text
em
{
font-size
:
16px
;
color
:
#CC8200
;
font-weight
:
bold
}
.inquireDetail
.quote
{
position
:
relative
;
padding-top
:
20px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.quote
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.quote
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.quote
.btn-nav
{
margin-top
:
17px
;
margin-bottom
:
20px
}
.inquireDetail
.quote
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.update
i
{
margin-left
:
3px
}
.inquireDetail
.quote
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.quote
.btn-nav
.updatex
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.updatex
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.assistant
{
padding-top
:
3px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.assistant
.ic
{
width
:
248px
;
height
:
44px
;
background
:
url("../../images/x.png")
no-repeat
center
;
background-size
:
cover
;
display
:
block
}
.inquireDetail
.assistant
.tab
{
border
:
1px
solid
#E5EBF6
;
margin-bottom
:
10px
}
.inquireDetail
.assistant
.tab
li
{
width
:
102px
;
height
:
42px
;
background
:
#F1F4FA
;
border-radius
:
2px
2px
0px
0px
;
font-size
:
14px
;
color
:
#646b78
;
cursor
:
pointer
}
.inquireDetail
.assistant
.tab
li
.curr
{
position
:
relative
;
top
:
1px
;
background
:
#FFFFFF
;
font-size
:
16px
;
color
:
#333333
;
border-bottom
:
1px
solid
#FFFFFF
}
.inquireDetail
.dcg
{
display
:
block
;
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-left
:
10px
;
font-size
:
14px
;
transition
:
all
.5s
}
.inquireDetail
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
}
.inquireDetail
.dcg.disabled
{
background
:
#ccc
;
color
:
#fff
;
border-color
:
#ccc
;
cursor
:
not-allowed
}
.inquireDetail
.dcg.heti
{
width
:
56px
;
background
:
#fff
}
.inquireDetail
.dcg.heti
:hover
{
background
:
#E5EEFF
;
color
:
#1969F9
}
.inquireDetail
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.delbtn
{
border
:
1px
solid
#FC1F00
;
background
:
#FFE7E3
;
color
:
#FC1F00
}
.inquireDetail
.dcg.delbtn
:hover
{
background
:
#FF715D
;
color
:
#fff
}
.xx
.el-form-item__label
{
white-space
:
nowrap
}
.xx
.dialog-footer
{
text-align
:
center
!important
}
.xx
.updatebox
{
position
:
relative
}
.xx
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
}
.xx
.updatebox
.selectdw
.el-select
{
width
:
36px
;
height
:
37px
;
border-left
:
1px
solid
#C0C4CC
}
.xx
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
31px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
}
.xx
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
}
.price-more
.more-search-btn
{
width
:
70px
;
height
:
26px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
12px
;
color
:
#1969F9
;
text-align
:
center
;
transition
:
all
.5s
;
position
:
relative
;
cursor
:
pointer
}
.price-more
.more-search-btn
:hover
{
border
:
1px
solid
#1969F9
}
position
:
relative
;
\ No newline at end of file
height
:
162px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding-top
:
20px
;
padding-left
:
17px
;
margin-bottom
:
20px
;
}
.inquireDetail
.inquiry-information
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
;
}
.inquireDetail
.inquiry-information
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
;
}
.inquireDetail
.inquiry-information
.input-box
{
margin-top
:
14px
;
margin-bottom
:
20px
;
}
.inquireDetail
.inquiry-information
.input-box
.p-text
{
font-size
:
14px
;
color
:
#333333
;
vertical-align
:
middle
;
margin-right
:
10px
;
}
.inquireDetail
.inquiry-information
.input-box
input
{
height
:
38px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
vertical-align
:
middle
;
box-sizing
:
border-box
;
text-indent
:
12px
;
font-size
:
14px
;
color
:
#333333
;
}
.inquireDetail
.inquiry-information
.text
span
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
;
}
.inquireDetail
.inquiry-information
.text
em
{
font-size
:
16px
;
color
:
#CC8200
;
font-weight
:
bold
;
}
.inquireDetail
.quote
{
position
:
relative
;
padding-top
:
20px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
;
}
.inquireDetail
.quote
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
;
}
.inquireDetail
.quote
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
;
}
.inquireDetail
.quote
.btn-nav
{
margin-top
:
17px
;
margin-bottom
:
20px
;
}
.inquireDetail
.quote
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
;
}
.inquireDetail
.quote
.btn-nav
.update
i
{
margin-left
:
3px
;
}
.inquireDetail
.quote
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
;
}
.inquireDetail
.quote
.btn-nav
.dcg
{
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-left
:
10px
;
font-size
:
14px
;
transition
:
all
0.5s
;
}
.inquireDetail
.quote
.btn-nav
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
;
}
.inquireDetail
.quote
.btn-nav
.dcg.heti
{
width
:
56px
;
background
:
#fff
;
}
.inquireDetail
.quote
.btn-nav
.dcg.heti
:hover
{
background
:
#E5EEFF
;
color
:
#1969F9
;
}
.inquireDetail
.quote
.btn-nav
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
;
}
.inquireDetail
.quote
.btn-nav
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
;
}
.inquireDetail
.quote
.btn-nav
.dcg.delbtn
{
border
:
1px
solid
#FC1F00
;
background
:
#FFE7E3
;
color
:
#FC1F00
;
}
.inquireDetail
.quote
.btn-nav
.dcg.delbtn
:hover
{
background
:
#FF715D
;
color
:
#fff
;
}
.inquireDetail
.quote
.btn-nav
.updatex
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
;
}
.inquireDetail
.quote
.btn-nav
.updatex
:hover
{
background
:
#FCA955
;
color
:
#fff
;
}
.inquireDetail
.assistant
{
padding-top
:
3px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
;
}
.inquireDetail
.assistant
.ic
{
width
:
248px
;
height
:
44px
;
background
:
url("../../images/x.png")
no-repeat
center
;
background-size
:
cover
;
display
:
block
;
}
.inquireDetail
.assistant
.tab
{
border
:
1px
solid
#E5EBF6
;
margin-bottom
:
10px
;
}
.inquireDetail
.assistant
.tab
li
{
width
:
102px
;
height
:
42px
;
background
:
#F1F4FA
;
border-radius
:
2px
2px
0px
0px
;
font-size
:
14px
;
color
:
#646b78
;
cursor
:
pointer
;
}
.inquireDetail
.assistant
.tab
li
.curr
{
position
:
relative
;
top
:
1px
;
background
:
#FFFFFF
;
font-size
:
16px
;
color
:
#333333
;
border-bottom
:
1px
solid
#FFFFFF
;
}
.xx
.el-form-item__label
{
white-space
:
nowrap
;
}
.xx
.dialog-footer
{
text-align
:
center
!important
;
}
.xx
.updatebox
{
position
:
relative
;
}
.xx
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
;
}
.xx
.updatebox
.selectdw
.el-select
{
width
:
36px
;
height
:
37px
;
border-left
:
1px
solid
#C0C4CC
;
}
.xx
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
31px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
;
}
.xx
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
;
}
.price-more
.more-search-btn
{
width
:
70px
;
height
:
26px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
12px
;
color
:
#1969F9
;
text-align
:
center
;
transition
:
all
0.5s
;
position
:
relative
;
cursor
:
pointer
;
}
.price-more
.more-search-btn
:hover
{
border
:
1px
solid
#1969F9
;
}
/*# sourceMappingURL=inquireDetail.min.css.map */
\ No newline at end of file
src/views/Info/message.vue
View file @
277f92a0
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</el-form>
</el-form>
<div
class=
"fl up-box"
>
<div
class=
"fl up-box"
>
<img
:src=
"userinfo.avatar"
class=
"imspre"
/>
<img
:src=
"userinfo.avatar"
class=
"imspre"
/>
<el-upload
class=
"avatar-uploader"
:action=
"upUrl"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
<el-upload
class=
"avatar-uploader"
:
data=
"fileData"
:
action=
"upUrl"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
:before-upload=
"beforeAvatarUpload"
>
<span
class=
"icon iconfont fl"
>
</span>
<span
class=
"icon iconfont fl"
>
</span>
<div
class=
"fl"
>
更换头像
</div>
<div
class=
"fl"
>
更换头像
</div>
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
import
{
import
{
NODE_ENVS
NODE_ENVS
}
from
"../../ajax"
;
}
from
"../../ajax"
;
import
Tool
from
'../../tool'
import
{
import
{
Form
,
Form
,
FormItem
,
FormItem
,
...
@@ -52,6 +53,7 @@
...
@@ -52,6 +53,7 @@
data
()
{
data
()
{
return
{
return
{
upUrl
:
NODE_ENVS
+
'/api/user/setavatar'
,
upUrl
:
NODE_ENVS
+
'/api/user/setavatar'
,
fileData
:{
token
:
Tool
.
getCookie
(
'token'
)},
userinfo
:
{
userinfo
:
{
company_name
:
''
,
company_name
:
''
,
contacts_name
:
''
,
contacts_name
:
''
,
...
...
src/views/List/inquireDetail.vue
View file @
277f92a0
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
<div
class=
"fl dcg updatex"
@
click=
"modify"
>
修改
</div>
<div
class=
"fl dcg updatex"
@
click=
"modify"
>
修改
</div>
<div
class=
"fl dcg delbtn"
@
click=
"del"
>
删除
</div>
<div
class=
"fl dcg delbtn"
@
click=
"del"
>
删除
</div>
</div>
</div>
<div
class=
"data-box th-all"
>
<div
class=
"data-box th-all"
>
<el-table
:data=
"quote_list"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table
:data=
"quote_list"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
...
@@ -79,9 +80,9 @@
...
@@ -79,9 +80,9 @@
<!--匹配库存-->
<!--匹配库存-->
<
template
v-if=
"active==0"
>
<
template
v-if=
"active==0"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
label=
"操作"
width=
"10
0
"
align=
"center"
v-if=
"'show'"
>
<el-table-column
fixed
label=
"操作"
width=
"10
8
"
align=
"center"
v-if=
"'show'"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
plain
size=
"mini"
@
click=
"handle(scope.$index, scope.row)"
>
确认
</el-butto
n>
<span
class=
"dcg"
@
click=
"handle(scope.$index, scope.row)"
>
确认
</spa
n>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"180"
></el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"180"
></el-table-column>
...
@@ -141,9 +142,10 @@
...
@@ -141,9 +142,10 @@
<!--历史报价-->
<!--历史报价-->
<
template
v-else-if=
"active==1"
>
<
template
v-else-if=
"active==1"
>
<el-table
:data=
"historyList"
border
style=
"width: 100%"
>
<el-table
:data=
"historyList"
border
style=
"width: 100%"
>
<el-table-column
fixed
label=
"操作"
width=
"10
0
"
align=
"center"
v-if=
"'show'"
>
<el-table-column
fixed
label=
"操作"
width=
"10
8
"
align=
"center"
v-if=
"'show'"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
plain
size=
"mini"
@
click=
"handle(scope.$index, scope.row)"
>
确认
</el-button>
<!--
<span
class=
"dcg disabled"
@
click=
"handle(scope.$index, scope.row)"
>
确认
</span>
-->
<span
class=
"dcg "
@
click=
"handle(scope.$index, scope.row)"
>
确认
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"goods_name"
label=
"报价型号"
width=
"200"
></el-table-column>
<el-table-column
prop=
"goods_name"
label=
"报价型号"
width=
"200"
></el-table-column>
...
...
src/views/Store/enter.vue
View file @
277f92a0
...
@@ -24,12 +24,13 @@
...
@@ -24,12 +24,13 @@
</el-form>
</el-form>
<div
class=
"btn-nav clr"
>
<div
class=
"btn-nav clr"
>
<el-upload
class=
"upload-demo fl"
:action=
"uploadUrl"
:on-change=
"handleChange"
multiple
>
<el-upload
class=
"upload-demo fl"
:
data=
"fileData"
:
action=
"uploadUrl"
:on-change=
"handleChange"
multiple
>
<div
class=
"fl dcg"
>
导入
</div>
<div
class=
"fl dcg"
>
导入
</div>
</el-upload>
</el-upload>
<div
class=
"fl dcg long"
@
click=
"checkdr"
>
查看导入结果
</div>
<div
class=
"fl dcg long"
@
click=
"checkdr"
>
查看导入结果
</div>
<div
class=
"fl dcg"
@
click=
"downwj"
>
下载模版
</div>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
<a
class=
"fl dcg"
:href=
"downUrl"
target=
"_blank"
>
下载模版
</a>
<div
class=
"fl dcg delbtn"
@
click=
"del"
>
删除
</div>
<div
class=
"fl dcg delbtn"
@
click=
"del"
>
删除
</div>
</div>
</div>
<div
class=
"data-box th-all"
v-if=
"tableData"
>
<div
class=
"data-box th-all"
v-if=
"tableData"
>
...
@@ -102,7 +103,10 @@
...
@@ -102,7 +103,10 @@
total
:
0
,
total
:
0
,
limit
:
10
,
limit
:
10
,
page
:
1
,
page
:
1
,
downHref
:
""
,
uploadUrl
:
NODE_ENVS
+
'/api/uploadSku/import'
,
uploadUrl
:
NODE_ENVS
+
'/api/uploadSku/import'
,
fileData
:{
token
:
Tool
.
getCookie
(
'token'
)},
downUrl
:
NODE_ENVS
+
'/api/uploadSku/downUploadCsv?token='
+
Tool
.
getCookie
(
'token'
)
,
formInline
:
{
formInline
:
{
status
:
''
,
status
:
''
,
date
:
''
date
:
''
...
@@ -161,14 +165,12 @@
...
@@ -161,14 +165,12 @@
Message
(
"请至少选择一条数据导入"
)
Message
(
"请至少选择一条数据导入"
)
return
return
}
}
window
.
location
.
href
=
NODE_ENVS
+
'/api/uploadSku/downResult?id='
+
this
.
multipleSelection
[
0
][
'id'
]
this
.
downHref
=
NODE_ENVS
+
'/api/uploadSku/downResult?id='
+
this
.
multipleSelection
[
0
][
'id'
]
+
'&token='
+
Tool
.
getCookie
(
'token'
)
setTimeout
(()
=>
{
this
.
$refs
.
downs
.
click
()
},
10
)
},
},
downwj
()
{
this
.
$http
(
'get'
,
"/api/uploadSku/downUploadCsv"
,
{}).
then
(
res
=>
{
})
},
del
()
{
del
()
{
if
(
this
.
multipleSelection
.
length
==
0
)
{
if
(
this
.
multipleSelection
.
length
==
0
)
{
Message
(
"请至少选择一条数据"
)
Message
(
"请至少选择一条数据"
)
...
...
view/app.
cf15e70d78d480cfe8d0
.js
→
view/app.
2260e0f05c27708c1528
.js
View file @
277f92a0
File moved
view/index.html
View file @
277f92a0
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"http://yunxin.liexindev.net/favicon.ico"
>
<link
rel=
"icon"
href=
"http://yunxin.liexindev.net/favicon.ico"
>
<title>
cloudsystem
</title>
<title>
cloudsystem
</title>
<link
href=
"http://yunxin.liexindev.net/js/0.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/1.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/10.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/11.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/12.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/13.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/14.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/15.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/16.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/17.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/18.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/19.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/2.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/20.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/21.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/22.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/23.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/24.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/25.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/3.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/4.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/5.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/6.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/7.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/8.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/9.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/app.
cf15e70d78d480cfe8d0
.js"
rel=
"preload"
as=
"script"
></head>
<link
href=
"http://yunxin.liexindev.net/js/0.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/1.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/10.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/11.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/12.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/13.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/14.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/15.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/16.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/17.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/18.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/19.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/2.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/20.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/21.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/22.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/23.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/24.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/25.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/3.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/4.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/5.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/6.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/7.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/8.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/9.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/app.
2260e0f05c27708c1528
.js"
rel=
"preload"
as=
"script"
></head>
<body>
<body>
<noscript>
<noscript>
<strong>
网络异常,请稍后加载
</strong>
<strong>
网络异常,请稍后加载
</strong>
</noscript>
</noscript>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<!-- built files will be auto injected -->
<script
type=
"text/javascript"
src=
"http://yunxin.liexindev.net/app.
cf15e70d78d480cfe8d0
.js"
></script></body>
<script
type=
"text/javascript"
src=
"http://yunxin.liexindev.net/app.
2260e0f05c27708c1528
.js"
></script></body>
</html>
</html>
view/js/12.js
View file @
277f92a0
This diff could not be displayed because it is too large.
view/js/19.js
View file @
277f92a0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _message = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message.css */ \"./node_modules/element-ui/lib/theme-chalk/message.css\"));\n\n__webpack_require__(/*! element-ui/lib/theme-chalk/base.css */ \"./node_modules/element-ui/lib/theme-chalk/base.css\");\n\nvar _message2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message */ \"./node_modules/element-ui/lib/message.js\"));\n\nvar _form = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form.css */ \"./node_modules/element-ui/lib/theme-chalk/form.css\"));\n\nvar _form2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form */ \"./node_modules/element-ui/lib/form.js\"));\n\nvar _formItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form-item.css */ \"./node_modules/element-ui/lib/theme-chalk/form-item.css\"));\n\nvar _formItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form-item */ \"./node_modules/element-ui/lib/form-item.js\"));\n\nvar _input = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/input.css */ \"./node_modules/element-ui/lib/theme-chalk/input.css\"));\n\nvar _input2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/input */ \"./node_modules/element-ui/lib/input.js\"));\n\nvar _upload = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/upload.css */ \"./node_modules/element-ui/lib/theme-chalk/upload.css\"));\n\nvar _upload2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/upload */ \"./node_modules/element-ui/lib/upload.js\"));\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _menu = _interopRequireDefault(__webpack_require__(/*! @/components/menu.vue */ \"./src/components/menu.vue\"));\n\nvar _ajax = __webpack_require__(/*! ../../ajax */ \"./src/ajax/index.js\");\n\n
//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n_vue.default.use(_form2.default).use(_formItem2.default).use(_input2.default).use(_upload2.default);\n\nvar _default = {\n name: \"message\",\n\n data() {\n return {\n upUrl: _ajax.NODE_ENVS + '/api/user/setavatar'
,\n userinfo: {\n company_name: '',\n contacts_name: '',\n mobile: '',\n email: '',\n avatar: 'http://img.ichunt.com/test/images/ichunt/9f/34/9f349b1400f659e5ad270412d4dbe160.jpg'\n }\n };\n },\n\n watch: {},\n\n created() {\n this.getUseInfo();\n },\n\n computed: {},\n methods: {\n getUseInfo() {\n var userInfo_ = sessionStorage.getItem('userInfox');\n\n if (userInfo_) {\n this.userinfo = JSON.parse(userInfo_);\n } else {\n this.$http('get', \"/api/user/getuserinfo\").then(res => {\n this.userinfo = res.data;\n\n if (res.data) {\n sessionStorage.setItem('userInfox', JSON.stringify(res.data));\n }\n });\n }\n },\n\n submituser() {\n this.$http('post', \"/api/user/setuserinfo\", {\n email: this.userinfo.email,\n contacts_name: this.userinfo.contacts_name\n }).then(res => {\n if (res.err_code === 0) {\n (0, _message2.default)(\"提交成功\");\n sessionStorage.removeItem('userInfox');\n } else {\n _Message(res.err_msg);\n }\n });\n },\n\n handleAvatarSuccess(res, file) {\n if (res.err_code === 0) {\n _Message(\"设置成功\");\n\n this.userinfo.avatar = URL.createObjectURL(file.raw);\n sessionStorage.removeItem('userInfox');\n } else {\n _Message(res.err_msg);\n }\n },\n\n beforeAvatarUpload(file) {\n const isJPG = file.type === 'image/jpeg' || 'image/png' || 'image/jpg' || 'image/gif';\n const isLt2M = file.size / 1024 / 1024 < 5;\n\n if (!isJPG) {\n this.$message.error('上传头像图片只能是 JPG、PNG、GIF 格式!');\n }\n\n if (!isLt2M) {\n this.$message.error('上传头像图片大小不能超过 5MB!');\n }\n\n return isJPG && isLt2M;\n }\n\n },\n components: {\n Menu: _menu.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./src/views/Info/message.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _message = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message.css */ \"./node_modules/element-ui/lib/theme-chalk/message.css\"));\n\n__webpack_require__(/*! element-ui/lib/theme-chalk/base.css */ \"./node_modules/element-ui/lib/theme-chalk/base.css\");\n\nvar _message2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message */ \"./node_modules/element-ui/lib/message.js\"));\n\nvar _form = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form.css */ \"./node_modules/element-ui/lib/theme-chalk/form.css\"));\n\nvar _form2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form */ \"./node_modules/element-ui/lib/form.js\"));\n\nvar _formItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form-item.css */ \"./node_modules/element-ui/lib/theme-chalk/form-item.css\"));\n\nvar _formItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form-item */ \"./node_modules/element-ui/lib/form-item.js\"));\n\nvar _input = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/input.css */ \"./node_modules/element-ui/lib/theme-chalk/input.css\"));\n\nvar _input2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/input */ \"./node_modules/element-ui/lib/input.js\"));\n\nvar _upload = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/upload.css */ \"./node_modules/element-ui/lib/theme-chalk/upload.css\"));\n\nvar _upload2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/upload */ \"./node_modules/element-ui/lib/upload.js\"));\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _menu = _interopRequireDefault(__webpack_require__(/*! @/components/menu.vue */ \"./src/components/menu.vue\"));\n\nvar _ajax = __webpack_require__(/*! ../../ajax */ \"./src/ajax/index.js\");\n\n
var _tool = _interopRequireDefault(__webpack_require__(/*! ../../tool */ \"./src/tool/index.js\"));\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n_vue.default.use(_form2.default).use(_formItem2.default).use(_input2.default).use(_upload2.default);\n\nvar _default = {\n name: \"message\",\n\n data() {\n return {\n upUrl: _ajax.NODE_ENVS + '/api/user/setavatar',\n fileData: {\n token: _tool.default.getCookie('token')\n }
,\n userinfo: {\n company_name: '',\n contacts_name: '',\n mobile: '',\n email: '',\n avatar: 'http://img.ichunt.com/test/images/ichunt/9f/34/9f349b1400f659e5ad270412d4dbe160.jpg'\n }\n };\n },\n\n watch: {},\n\n created() {\n this.getUseInfo();\n },\n\n computed: {},\n methods: {\n getUseInfo() {\n var userInfo_ = sessionStorage.getItem('userInfox');\n\n if (userInfo_) {\n this.userinfo = JSON.parse(userInfo_);\n } else {\n this.$http('get', \"/api/user/getuserinfo\").then(res => {\n this.userinfo = res.data;\n\n if (res.data) {\n sessionStorage.setItem('userInfox', JSON.stringify(res.data));\n }\n });\n }\n },\n\n submituser() {\n this.$http('post', \"/api/user/setuserinfo\", {\n email: this.userinfo.email,\n contacts_name: this.userinfo.contacts_name\n }).then(res => {\n if (res.err_code === 0) {\n (0, _message2.default)(\"提交成功\");\n sessionStorage.removeItem('userInfox');\n } else {\n _Message(res.err_msg);\n }\n });\n },\n\n handleAvatarSuccess(res, file) {\n if (res.err_code === 0) {\n _Message(\"设置成功\");\n\n this.userinfo.avatar = URL.createObjectURL(file.raw);\n sessionStorage.removeItem('userInfox');\n } else {\n _Message(res.err_msg);\n }\n },\n\n beforeAvatarUpload(file) {\n const isJPG = file.type === 'image/jpeg' || 'image/png' || 'image/jpg' || 'image/gif';\n const isLt2M = file.size / 1024 / 1024 < 5;\n\n if (!isJPG) {\n this.$message.error('上传头像图片只能是 JPG、PNG、GIF 格式!');\n }\n\n if (!isLt2M) {\n this.$message.error('上传头像图片大小不能超过 5MB!');\n }\n\n return isJPG && isLt2M;\n }\n\n },\n components: {\n Menu: _menu.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./src/views/Info/message.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
/***/
}),
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"messagexk pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"message-box\" },\n [\n _c(\"div\", { staticClass: \"h3\" }, [_vm._v(\"基本信息\")]),\n _c(\n \"el-form\",\n { attrs: { model: _vm.userinfo, \"label-width\": \"90px\" } },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"公司名称\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"\", disabled: \"\" },\n model: {\n value: _vm.userinfo.company_name,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"company_name\", $$v)\n },\n expression: \"userinfo.company_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"联系人\" } },\n [\n _c(\"el-input\", {\n model: {\n value: _vm.userinfo.contacts_name,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"contacts_name\", $$v)\n },\n expression: \"userinfo.contacts_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"联系人电话\" } },\n [\n _c(\"el-input\", {\n attrs: { disabled: \"\" },\n model: {\n value: _vm.userinfo.mobile,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"mobile\", $$v)\n },\n expression: \"userinfo.mobile\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"邮箱\" } },\n [\n _c(\"el-input\", {\n model: {\n value: _vm.userinfo.email,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"email\", $$v)\n },\n expression: \"userinfo.email\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"submits\", on: { click: _vm.submituser } },\n [_vm._v(\"确认\")]\n )\n ])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"fl up-box\" },\n [\n _c(\"img\", {\n staticClass: \"imspre\",\n attrs: { src: _vm.userinfo.avatar }\n }),\n _c(\n \"el-upload\",\n {\n staticClass: \"avatar-uploader\",\n attrs: {\n action: _vm.upUrl,\n \"show-file-list\": false,\n \"on-success\": _vm.handleAvatarSuccess,\n \"before-upload\": _vm.beforeAvatarUpload\n }\n },\n [\n _c(\"span\", { staticClass: \"icon iconfont fl\" }, [\n _vm._v(\"\")\n ]),\n _c(\"div\", { staticClass: \"fl\" }, [_vm._v(\"更换头像\")])\n ]\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Info/message.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"messagexk pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"message-box\" },\n [\n _c(\"div\", { staticClass: \"h3\" }, [_vm._v(\"基本信息\")]),\n _c(\n \"el-form\",\n { attrs: { model: _vm.userinfo, \"label-width\": \"90px\" } },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"公司名称\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"\", disabled: \"\" },\n model: {\n value: _vm.userinfo.company_name,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"company_name\", $$v)\n },\n expression: \"userinfo.company_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"联系人\" } },\n [\n _c(\"el-input\", {\n model: {\n value: _vm.userinfo.contacts_name,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"contacts_name\", $$v)\n },\n expression: \"userinfo.contacts_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"联系人电话\" } },\n [\n _c(\"el-input\", {\n attrs: { disabled: \"\" },\n model: {\n value: _vm.userinfo.mobile,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"mobile\", $$v)\n },\n expression: \"userinfo.mobile\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"邮箱\" } },\n [\n _c(\"el-input\", {\n model: {\n value: _vm.userinfo.email,\n callback: function($$v) {\n _vm.$set(_vm.userinfo, \"email\", $$v)\n },\n expression: \"userinfo.email\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"submits\", on: { click: _vm.submituser } },\n [_vm._v(\"确认\")]\n )\n ])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"fl up-box\" },\n [\n _c(\"img\", {\n staticClass: \"imspre\",\n attrs: { src: _vm.userinfo.avatar }\n }),\n _c(\n \"el-upload\",\n {\n staticClass: \"avatar-uploader\",\n attrs: {\n
data: _vm.fileData,\n
action: _vm.upUrl,\n \"show-file-list\": false,\n \"on-success\": _vm.handleAvatarSuccess,\n \"before-upload\": _vm.beforeAvatarUpload\n }\n },\n [\n _c(\"span\", { staticClass: \"icon iconfont fl\" }, [\n _vm._v(\"\")\n ]),\n _c(\"div\", { staticClass: \"fl\" }, [_vm._v(\"更换头像\")])\n ]\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Info/message.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
/***/
}),
...
...
view/js/21.js
View file @
277f92a0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _messageBox = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message-box.css */ \"./node_modules/element-ui/lib/theme-chalk/message-box.css\"));\n\n__webpack_require__(/*! element-ui/lib/theme-chalk/base.css */ \"./node_modules/element-ui/lib/theme-chalk/base.css\");\n\nvar _messageBox2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message-box */ \"./node_modules/element-ui/lib/message-box.js\"));\n\nvar _message = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message.css */ \"./node_modules/element-ui/lib/theme-chalk/message.css\"));\n\nvar _message2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message */ \"./node_modules/element-ui/lib/message.js\"));\n\nvar _datePicker = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/date-picker.css */ \"./node_modules/element-ui/lib/theme-chalk/date-picker.css\"));\n\nvar _datePicker2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/date-picker */ \"./node_modules/element-ui/lib/date-picker.js\"));\n\nvar _dropdown = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown.css\"));\n\nvar _dropdown2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown */ \"./node_modules/element-ui/lib/dropdown.js\"));\n\nvar _dropdownMenu = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown-menu.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown-menu.css\"));\n\nvar _dropdownMenu2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown-menu */ \"./node_modules/element-ui/lib/dropdown-menu.js\"));\n\nvar _dropdownItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown-item.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown-item.css\"));\n\nvar _dropdownItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown-item */ \"./node_modules/element-ui/lib/dropdown-item.js\"));\n\nvar _tableColumn = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/table-column.css */ \"./node_modules/element-ui/lib/theme-chalk/table-column.css\"));\n\nvar _tableColumn2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/table-column */ \"./node_modules/element-ui/lib/table-column.js\"));\n\nvar _table = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/table.css */ \"./node_modules/element-ui/lib/theme-chalk/table.css\"));\n\nvar _table2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/table */ \"./node_modules/element-ui/lib/table.js\"));\n\nvar _upload = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/upload.css */ \"./node_modules/element-ui/lib/theme-chalk/upload.css\"));\n\nvar _upload2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/upload */ \"./node_modules/element-ui/lib/upload.js\"));\n\nvar _button = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/button.css */ \"./node_modules/element-ui/lib/theme-chalk/button.css\"));\n\nvar _button2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/button */ \"./node_modules/element-ui/lib/button.js\"));\n\nvar _form = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form.css */ \"./node_modules/element-ui/lib/theme-chalk/form.css\"));\n\nvar _form2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form */ \"./node_modules/element-ui/lib/form.js\"));\n\nvar _select = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/select.css */ \"./node_modules/element-ui/lib/theme-chalk/select.css\"));\n\nvar _select2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/select */ \"./node_modules/element-ui/lib/select.js\"));\n\nvar _option = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/option.css */ \"./node_modules/element-ui/lib/theme-chalk/option.css\"));\n\nvar _option2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/option */ \"./node_modules/element-ui/lib/option.js\"));\n\nvar _input = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/input.css */ \"./node_modules/element-ui/lib/theme-chalk/input.css\"));\n\nvar _input2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/input */ \"./node_modules/element-ui/lib/input.js\"));\n\nvar _formItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form-item.css */ \"./node_modules/element-ui/lib/theme-chalk/form-item.css\"));\n\nvar _formItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form-item */ \"./node_modules/element-ui/lib/form-item.js\"));\n\nvar _dialog = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dialog.css */ \"./node_modules/element-ui/lib/theme-chalk/dialog.css\"));\n\nvar _dialog2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dialog */ \"./node_modules/element-ui/lib/dialog.js\"));\n\nvar _pagination = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/pagination.css */ \"./node_modules/element-ui/lib/theme-chalk/pagination.css\"));\n\nvar _pagination2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/pagination */ \"./node_modules/element-ui/lib/pagination.js\"));\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _menu = _interopRequireDefault(__webpack_require__(/*! @/components/menu.vue */ \"./src/components/menu.vue\"));\n\nvar _tool = _interopRequireDefault(__webpack_require__(/*! ../../tool */ \"./src/tool/index.js\"));\n\nvar _ajax = __webpack_require__(/*! ../../ajax */ \"./src/ajax/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n
_vue.default.use(_button2.default).use(_form2.default).use(_select2.default).use(_option2.default).use(_input2.default).use(_formItem2.default).use(_dialog2.default).use(_pagination2.default);\n\n_vue.default.use(_datePicker2.default).use(_dropdown2.default).use(_dropdownMenu2.default).use(_dropdownItem2.default).use(_tableColumn2.default).use(_table2.default).use(_upload2.default);\n\nvar _default = {\n name: \"enter\",\n\n data() {\n return {\n total: 0,\n limit: 10,\n page: 1,\n uploadUrl: _ajax.NODE_ENVS + '/api/uploadSku/import',\n formInline: {\n status: '',\n date: ''\n },\n tableData: \"\",\n multipleSelection: []\n };\n },\n\n watch: {},\n\n created() {\n this.getData();\n },\n\n computed: {},\n methods: {\n getData() {\n this.$http('get', \"/api/uploadSku/list\", {\n page: this.page,\n limit: this.limit,\n status: this.formInline.status,\n action_time: this.formInline.date[0],\n end_time: this.formInline.date[1]\n }).then(res => {\n if (res.err_code === 0) {\n this.tableData = res.data.list || [];\n this.total = Number(res.data.total) || 0;\n } else {\n (0, _message2.default)(res.err_msg);\n }\n });\n },\n\n submit() {\n this.page = 1;\n this.getData();\n },\n\n handleChange(file, fileList) {\n console.log(file.response);\n\n if (!file.response) {\n return;\n }\n\n if (file.response.err_code === 0) {\n _Message(\"导入成功\");\n\n this.page = 1;\n this.getData();\n } else {\n _Message(res.err_msg);\n }\n },\n\n checkdr() {\n if (this.multipleSelection.length > 1) {\n _Message(\"只能选择一条数据导入\");\n\n return;\n }\n\n if (this.multipleSelection.length == 0) {\n _Message(\"请至少选择一条数据导入\");\n\n return;\n }\n\n window.location.href = _ajax.NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id'];\n },\n\n downwj() {\n this.$http('get', \"/api/uploadSku/downUploadCsv\", {}).then(res => {}
);\n },\n\n del() {\n if (this.multipleSelection.length == 0) {\n _Message(\"请至少选择一条数据\");\n\n return;\n }\n\n var arr = [];\n\n for (var i = 0; i < this.multipleSelection.length; i++) {\n arr.push(this.multipleSelection[i]['id']);\n }\n\n _messageBox2.default.confirm('确认到删除当前勾选数据吗?', {\n type: 'error'\n }).then(() => {\n this.$http('get', \"/api/uploadSku/del\", {\n log_ids: arr.join(\",\")\n }).then(res => {\n if (res.err_code === 0) {\n _Message(\"删除成功\");\n\n this.getData();\n } else {\n _Message(res.err_msg);\n }\n });\n });\n },\n\n handleCurrentChange(val) {\n this.page = val;\n this.getData();\n },\n\n handleSelectionChange(val) {\n this.multipleSelection = val || [];\n console.log(this.multipleSelection);\n }\n\n },\n components: {\n Menu: _menu.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./src/views/Store/enter.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _messageBox = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message-box.css */ \"./node_modules/element-ui/lib/theme-chalk/message-box.css\"));\n\n__webpack_require__(/*! element-ui/lib/theme-chalk/base.css */ \"./node_modules/element-ui/lib/theme-chalk/base.css\");\n\nvar _messageBox2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message-box */ \"./node_modules/element-ui/lib/message-box.js\"));\n\nvar _message = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/message.css */ \"./node_modules/element-ui/lib/theme-chalk/message.css\"));\n\nvar _message2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/message */ \"./node_modules/element-ui/lib/message.js\"));\n\nvar _datePicker = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/date-picker.css */ \"./node_modules/element-ui/lib/theme-chalk/date-picker.css\"));\n\nvar _datePicker2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/date-picker */ \"./node_modules/element-ui/lib/date-picker.js\"));\n\nvar _dropdown = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown.css\"));\n\nvar _dropdown2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown */ \"./node_modules/element-ui/lib/dropdown.js\"));\n\nvar _dropdownMenu = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown-menu.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown-menu.css\"));\n\nvar _dropdownMenu2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown-menu */ \"./node_modules/element-ui/lib/dropdown-menu.js\"));\n\nvar _dropdownItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dropdown-item.css */ \"./node_modules/element-ui/lib/theme-chalk/dropdown-item.css\"));\n\nvar _dropdownItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dropdown-item */ \"./node_modules/element-ui/lib/dropdown-item.js\"));\n\nvar _tableColumn = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/table-column.css */ \"./node_modules/element-ui/lib/theme-chalk/table-column.css\"));\n\nvar _tableColumn2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/table-column */ \"./node_modules/element-ui/lib/table-column.js\"));\n\nvar _table = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/table.css */ \"./node_modules/element-ui/lib/theme-chalk/table.css\"));\n\nvar _table2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/table */ \"./node_modules/element-ui/lib/table.js\"));\n\nvar _upload = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/upload.css */ \"./node_modules/element-ui/lib/theme-chalk/upload.css\"));\n\nvar _upload2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/upload */ \"./node_modules/element-ui/lib/upload.js\"));\n\nvar _button = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/button.css */ \"./node_modules/element-ui/lib/theme-chalk/button.css\"));\n\nvar _button2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/button */ \"./node_modules/element-ui/lib/button.js\"));\n\nvar _form = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form.css */ \"./node_modules/element-ui/lib/theme-chalk/form.css\"));\n\nvar _form2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form */ \"./node_modules/element-ui/lib/form.js\"));\n\nvar _select = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/select.css */ \"./node_modules/element-ui/lib/theme-chalk/select.css\"));\n\nvar _select2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/select */ \"./node_modules/element-ui/lib/select.js\"));\n\nvar _option = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/option.css */ \"./node_modules/element-ui/lib/theme-chalk/option.css\"));\n\nvar _option2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/option */ \"./node_modules/element-ui/lib/option.js\"));\n\nvar _input = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/input.css */ \"./node_modules/element-ui/lib/theme-chalk/input.css\"));\n\nvar _input2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/input */ \"./node_modules/element-ui/lib/input.js\"));\n\nvar _formItem = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/form-item.css */ \"./node_modules/element-ui/lib/theme-chalk/form-item.css\"));\n\nvar _formItem2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/form-item */ \"./node_modules/element-ui/lib/form-item.js\"));\n\nvar _dialog = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/dialog.css */ \"./node_modules/element-ui/lib/theme-chalk/dialog.css\"));\n\nvar _dialog2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/dialog */ \"./node_modules/element-ui/lib/dialog.js\"));\n\nvar _pagination = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/theme-chalk/pagination.css */ \"./node_modules/element-ui/lib/theme-chalk/pagination.css\"));\n\nvar _pagination2 = _interopRequireDefault(__webpack_require__(/*! element-ui/lib/pagination */ \"./node_modules/element-ui/lib/pagination.js\"));\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _menu = _interopRequireDefault(__webpack_require__(/*! @/components/menu.vue */ \"./src/components/menu.vue\"));\n\nvar _tool = _interopRequireDefault(__webpack_require__(/*! ../../tool */ \"./src/tool/index.js\"));\n\nvar _ajax = __webpack_require__(/*! ../../ajax */ \"./src/ajax/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n
//\n_vue.default.use(_button2.default).use(_form2.default).use(_select2.default).use(_option2.default).use(_input2.default).use(_formItem2.default).use(_dialog2.default).use(_pagination2.default);\n\n_vue.default.use(_datePicker2.default).use(_dropdown2.default).use(_dropdownMenu2.default).use(_dropdownItem2.default).use(_tableColumn2.default).use(_table2.default).use(_upload2.default);\n\nvar _default = {\n name: \"enter\",\n\n data() {\n return {\n total: 0,\n limit: 10,\n page: 1,\n downHref: \"\",\n uploadUrl: _ajax.NODE_ENVS + '/api/uploadSku/import',\n fileData: {\n token: _tool.default.getCookie('token')\n },\n downUrl: _ajax.NODE_ENVS + '/api/uploadSku/downUploadCsv?token=' + _tool.default.getCookie('token'),\n formInline: {\n status: '',\n date: ''\n },\n tableData: \"\",\n multipleSelection: []\n };\n },\n\n watch: {},\n\n created() {\n this.getData();\n },\n\n computed: {},\n methods: {\n getData() {\n this.$http('get', \"/api/uploadSku/list\", {\n page: this.page,\n limit: this.limit,\n status: this.formInline.status,\n action_time: this.formInline.date[0],\n end_time: this.formInline.date[1]\n }).then(res => {\n if (res.err_code === 0) {\n this.tableData = res.data.list || [];\n this.total = Number(res.data.total) || 0;\n } else {\n (0, _message2.default)(res.err_msg);\n }\n });\n },\n\n submit() {\n this.page = 1;\n this.getData();\n },\n\n handleChange(file, fileList) {\n console.log(file.response);\n\n if (!file.response) {\n return;\n }\n\n if (file.response.err_code === 0) {\n _Message(\"导入成功\");\n\n this.page = 1;\n this.getData();\n } else {\n _Message(res.err_msg);\n }\n },\n\n checkdr() {\n if (this.multipleSelection.length > 1) {\n _Message(\"只能选择一条数据导入\");\n\n return;\n }\n\n if (this.multipleSelection.length == 0) {\n _Message(\"请至少选择一条数据导入\");\n\n return;\n }\n\n this.downHref = _ajax.NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id'] + '&token=' + _tool.default.getCookie('token');\n setTimeout(() => {\n this.$refs.downs.click();\n }, 10
);\n },\n\n del() {\n if (this.multipleSelection.length == 0) {\n _Message(\"请至少选择一条数据\");\n\n return;\n }\n\n var arr = [];\n\n for (var i = 0; i < this.multipleSelection.length; i++) {\n arr.push(this.multipleSelection[i]['id']);\n }\n\n _messageBox2.default.confirm('确认到删除当前勾选数据吗?', {\n type: 'error'\n }).then(() => {\n this.$http('get', \"/api/uploadSku/del\", {\n log_ids: arr.join(\",\")\n }).then(res => {\n if (res.err_code === 0) {\n _Message(\"删除成功\");\n\n this.getData();\n } else {\n _Message(res.err_msg);\n }\n });\n });\n },\n\n handleCurrentChange(val) {\n this.page = val;\n this.getData();\n },\n\n handleSelectionChange(val) {\n this.multipleSelection = val || [];\n console.log(this.multipleSelection);\n }\n\n },\n components: {\n Menu: _menu.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./src/views/Store/enter.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
/***/
}),
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"enter pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"enter-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"全部\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", {\n attrs: { label: \"待处理\", value: \"1\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"处理中\", value: \"2\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"已处理\", value: \"3\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"其他失败\", value: \"4\" }\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n \"value-format\": \"yyyy-MM-dd\",\n type: \"daterange\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.submit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"btn-nav clr\" },\n [\n _c(\n \"el-upload\",\n {\n staticClass: \"upload-demo fl\",\n attrs: {\n
action: _vm.uploadUrl,\n \"on-change\": _vm.handleChange,\n multiple: \"\"\n }\n },\n [_c(\"div\", { staticClass: \"fl dcg\" }, [_vm._v(\"导入\")])]\n ),\n _c(\n \"div\",\n { staticClass: \"fl dcg long\", on: { click: _vm.checkdr } },\n [_vm._v(\"查看导入结果\")]\n ),\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.downwj } }, [\n _vm._v(\"下载模版\")\n ]
),\n _c(\n \"div\",\n { staticClass: \"fl dcg delbtn\", on: { click: _vm.del } },\n [_vm._v(\"删除\")]\n )\n ],\n 1\n ),\n _vm.tableData\n ? _c(\n \"div\",\n { staticClass: \"data-box th-all\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"单号\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"a\",\n {\n staticClass: \"f-blue\",\n attrs: {\n href:\n \"/#/listDetail?sn=\" +\n scope.row.up_sn +\n \"&id=\" +\n scope.row.id\n }\n },\n [_vm._v(_vm._s(scope.row.up_sn))]\n )\n ]\n }\n }\n ],\n null,\n false,\n 3744861268\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"file_name\",\n label: \"文件名字\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"status\",\n label: \"状态\",\n \"min-width\": \"20%\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"待处理\")\n ])\n : scope.row.status == 2\n ? _c(\"span\", { staticClass: \"f-yellow1\" }, [\n _vm._v(\"处理中\")\n ])\n : scope.row.status == 3\n ? _c(\"span\", [_vm._v(\"已处理\")])\n : scope.row.status == 4\n ? _c(\"span\", { staticClass: \"f-red1\" }, [\n _vm._v(\"其他失败\")\n ])\n : _vm._e()\n ]\n }\n }\n ],\n null,\n false,\n 2621045418\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"latest_notice\",\n label: \"最新上传状态\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"create_time\",\n label: \"上传时间\",\n \"min-width\": \"20%\"\n }\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/enter.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"enter pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"enter-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"全部\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", {\n attrs: { label: \"待处理\", value: \"1\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"处理中\", value: \"2\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"已处理\", value: \"3\" }\n }),\n _c(\"el-option\", {\n attrs: { label: \"其他失败\", value: \"4\" }\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n \"value-format\": \"yyyy-MM-dd\",\n type: \"daterange\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.submit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"btn-nav clr\" },\n [\n _c(\n \"el-upload\",\n {\n staticClass: \"upload-demo fl\",\n attrs: {\n
data: _vm.fileData,\n action: _vm.uploadUrl,\n \"on-change\": _vm.handleChange,\n multiple: \"\"\n }\n },\n [_c(\"div\", { staticClass: \"fl dcg\" }, [_vm._v(\"导入\")])]\n ),\n _c(\n \"div\",\n { staticClass: \"fl dcg long\", on: { click: _vm.checkdr } },\n [_vm._v(\"查看导入结果\")]\n ),\n _c(\n \"a\",\n {\n ref: \"downs\",\n staticStyle: { display: \"none\" },\n attrs: { href: _vm.downHref, target: \"_blank\" }\n },\n [_vm._v(\"下载\")]\n ),\n _c(\n \"a\",\n {\n staticClass: \"fl dcg\",\n attrs: { href: _vm.downUrl, target: \"_blank\" }\n },\n [_vm._v(\"下载模版\")]\n
),\n _c(\n \"div\",\n { staticClass: \"fl dcg delbtn\", on: { click: _vm.del } },\n [_vm._v(\"删除\")]\n )\n ],\n 1\n ),\n _vm.tableData\n ? _c(\n \"div\",\n { staticClass: \"data-box th-all\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"单号\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"a\",\n {\n staticClass: \"f-blue\",\n attrs: {\n href:\n \"/#/listDetail?sn=\" +\n scope.row.up_sn +\n \"&id=\" +\n scope.row.id\n }\n },\n [_vm._v(_vm._s(scope.row.up_sn))]\n )\n ]\n }\n }\n ],\n null,\n false,\n 3744861268\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"file_name\",\n label: \"文件名字\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"status\",\n label: \"状态\",\n \"min-width\": \"20%\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"待处理\")\n ])\n : scope.row.status == 2\n ? _c(\"span\", { staticClass: \"f-yellow1\" }, [\n _vm._v(\"处理中\")\n ])\n : scope.row.status == 3\n ? _c(\"span\", [_vm._v(\"已处理\")])\n : scope.row.status == 4\n ? _c(\"span\", { staticClass: \"f-red1\" }, [\n _vm._v(\"其他失败\")\n ])\n : _vm._e()\n ]\n }\n }\n ],\n null,\n false,\n 2621045418\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"latest_notice\",\n label: \"最新上传状态\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"create_time\",\n label: \"上传时间\",\n \"min-width\": \"20%\"\n }\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/enter.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
/***/
}),
...
...
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