Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
dba7464a
Commit
dba7464a
authored
May 11, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
no message
parents
201dde7f
40fc3caf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1583 additions
and
618 deletions
+1583
-618
App.vue
src/App.vue
+143
-141
orderDetailsDrawer.vue
src/components/customerManage/orderDetailsDrawer.vue
+14
-4
orderList.vue
src/components/customerManage/orderList.vue
+888
-434
orderProfits.vue
src/components/customerManage/orderProfits.vue
+538
-39
No files found.
src/App.vue
View file @
dba7464a
...
...
@@ -4,147 +4,149 @@
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{};
},
ceated
()
{
},
mounted
()
{
let
getData
if
(
this
.
$route
.
query
)
{
getData
=
JSON
.
stringify
(
this
.
$route
.
query
)
getData
=
JSON
.
parse
(
getData
)
if
(
getData
.
erpOrderObj
)
{
getData
=
JSON
.
parse
(
getData
.
erpOrderObj
)
}
}
if
(
!
this
.
getLocalStorage
()
&&
!
getData
)
{
this
.
$router
.
push
({
path
:
"/login"
,
});
}
else
if
(
getData
&&
getData
.
path
)
{
// erp自动登陆传过来的参数
let
parameter
=
getData
this
.
$router
.
push
({
path
:
`/automaticLogin?toke=
${
data
.
token
}
&data=
${
JSON
.
stringify
(
parameter
)}
`
,
})
}
else
{
this
.
$router
.
push
({
name
:
"Home"
,
});
}
setTimeout
(()
=>
{
this
.
getUserInfo
()
},
100
)
},
methods
:
{
// 获取用户权限信息
getUserInfo
()
{
this
.
apipost
(
"/api/AutoLogin/GetCRMLoginMenu"
,
{},
(
res
)
=>
{
var
jsonData
=
res
.
data
;
if
(
jsonData
.
resultCode
==
1
)
{
var
userData
=
jsonData
.
data
var
userJson
=
userData
;
var
userInfo
=
JSON
.
parse
(
localStorage
.
userInfo
)
userInfo
.
UserMenu
=
userJson
localStorage
.
userInfo
=
JSON
.
stringify
(
userInfo
)
}
else
{
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
"error"
,
});
this
.
loginState
=
0
;
}
});
},
},
};
export
default
{
data
()
{
return
{};
},
ceated
()
{},
mounted
()
{
let
getData
;
if
(
this
.
$route
.
query
)
{
getData
=
JSON
.
stringify
(
this
.
$route
.
query
);
getData
=
JSON
.
parse
(
getData
);
if
(
getData
.
erpOrderObj
)
{
getData
=
JSON
.
parse
(
getData
.
erpOrderObj
);
}
}
if
(
!
this
.
getLocalStorage
()
&&
!
getData
)
{
this
.
$router
.
push
({
path
:
"/login"
,
});
}
else
if
(
getData
&&
getData
.
path
)
{
// erp自动登陆传过来的参数
let
parameter
=
getData
;
this
.
$router
.
push
({
path
:
`/automaticLogin?toke=
${
data
.
token
}
&data=
${
JSON
.
stringify
(
parameter
)}
`
,
});
}
else
{
this
.
$router
.
push
({
name
:
"Home"
,
});
}
setTimeout
(()
=>
{
this
.
getUserInfo
();
},
100
);
},
methods
:
{
// 获取用户权限信息
getUserInfo
()
{
this
.
apipost
(
"/api/AutoLogin/GetCRMLoginMenu"
,
{},
(
res
)
=>
{
var
jsonData
=
res
.
data
;
if
(
jsonData
.
resultCode
==
1
)
{
var
userData
=
jsonData
.
data
;
var
userJson
=
userData
;
var
userInfo
=
JSON
.
parse
(
localStorage
.
userInfo
);
userInfo
.
UserMenu
=
userJson
;
localStorage
.
userInfo
=
JSON
.
stringify
(
userInfo
);
}
else
{
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
"error"
,
});
this
.
loginState
=
0
;
}
});
},
},
};
</
script
>
<
style
>
@import
"./assets/css/tablevoerride.css"
;
@import
"./assets/global/font.css"
;
@import
"//at.alicdn.com/t/font_1627123_xio004ni8y.css"
;
@import
url("//at.alicdn.com/t/font_1627123_grz80mbm3sv.css")
;
/* @import './assets/css/common.css'; */
@import
"./assets/css/init.css"
;
body
,
html
{
padding
:
0px
;
margin
:
0px
;
font-family
:
"微软雅黑"
,
" Microsoft YaHei"
,
"PingFang"
,
"PingFangR"
;
-webkit-font-smoothing
:
antialiased
;
height
:
100%
;
}
#app
{
height
:
100%
;
}
.el-scrollbar
{
height
:
100%
;
}
.el-scrollbar__wrap
{
overflow
:
auto
!important
;
width
:
100%
;
height
:
100%
;
}
.el-scrollbar__view
{
width
:
100%
;
height
:
100%
;
}
.page-component-up
{
position
:
fixed
;
right
:
calc
(
8.3%
-
60px
);
bottom
:
150px
;
width
:
40px
;
height
:
90px
;
z-index
:
2000
;
}
.page-component-up
img
{
width
:
38px
;
height
:
38px
;
}
.page-component-up
i
{
background-color
:
#fff
;
cursor
:
pointer
;
transition
:
0.3s
;
/* box-shadow: 0 0 6px rgba(0,0,0,.12); */
z-index
:
5
;
border
:
1px
solid
#ddd
;
box-sizing
:
border-box
;
line-height
:
40px
;
text-align
:
center
;
display
:
inline-block
;
}
.page-component-up
i
{
font-size
:
36px
;
color
:
#bbb
;
}
.page-component-up
i
:hover
{
background-color
:
#ef4455
;
border
:
1px
solid
#ec3346
;
}
.page-component-up
:hover
i
{
color
:
#f1f1f1
;
}
.el-form-item
.el-form-item__label
{
color
:
#3d3b4f
!important
;
}
.el-button
[
class
*=
"el-icon-"
]+
span
{
margin-left
:
5px
;
font-family
:
"perfectFont"
;
}
</
style
>
\ No newline at end of file
@import
"./assets/css/tablevoerride.css"
;
@import
"./assets/global/font.css"
;
@import
"//at.alicdn.com/t/font_1627123_xio004ni8y.css"
;
@import
url("//at.alicdn.com/t/font_1627123_grz80mbm3sv.css")
;
@import
url("//at.alicdn.com/t/font_635492_63x5920i6sn.css")
;
/* @import './assets/css/common.css'; */
@import
"./assets/css/init.css"
;
body
,
html
{
padding
:
0px
;
margin
:
0px
;
font-family
:
"微软雅黑"
,
" Microsoft YaHei"
,
"PingFang"
,
"PingFangR"
;
-webkit-font-smoothing
:
antialiased
;
height
:
100%
;
}
#app
{
height
:
100%
;
}
.el-scrollbar
{
height
:
100%
;
}
.el-scrollbar__wrap
{
overflow
:
auto
!important
;
width
:
100%
;
height
:
100%
;
}
.el-scrollbar__view
{
width
:
100%
;
height
:
100%
;
}
.page-component-up
{
position
:
fixed
;
right
:
calc
(
8.3%
-
60px
);
bottom
:
150px
;
width
:
40px
;
height
:
90px
;
z-index
:
2000
;
}
.page-component-up
img
{
width
:
38px
;
height
:
38px
;
}
.page-component-up
i
{
background-color
:
#fff
;
cursor
:
pointer
;
transition
:
0.3s
;
/* box-shadow: 0 0 6px rgba(0,0,0,.12); */
z-index
:
5
;
border
:
1px
solid
#ddd
;
box-sizing
:
border-box
;
line-height
:
40px
;
text-align
:
center
;
display
:
inline-block
;
}
.page-component-up
i
{
font-size
:
36px
;
color
:
#bbb
;
}
.page-component-up
i
:hover
{
background-color
:
#ef4455
;
border
:
1px
solid
#ec3346
;
}
.page-component-up
:hover
i
{
color
:
#f1f1f1
;
}
.el-form-item
.el-form-item__label
{
color
:
#3d3b4f
!important
;
}
.el-button
[
class
*=
"el-icon-"
]
+
span
{
margin-left
:
5px
;
font-family
:
"perfectFont"
;
}
</
style
>
src/components/customerManage/orderDetailsDrawer.vue
View file @
dba7464a
...
...
@@ -15,6 +15,8 @@
}
.orderDetails-body
{
height
:
calc
(
100%
-
83px
);
display
:
flex
;
flex-direction
:
column
;
}
.orderDetails-body
.order-info
{
padding
:
30px
;
...
...
@@ -27,14 +29,22 @@
justify-content
:
space-between
;
color
:
#999999
;
}
.order-lable-box
:last-child
{
.orderDetails-content
{
flex
:
1
;
position
:
relative
;
padding
:
0
20px
;
}
.no-relative
.el-tabs__content
{
position
:
unset
!important
;
}
.order-lable-box
:last-child
{
margin-top
:
20px
;
}
.order-lable
{
.order-lable
{
display
:
flex
;
flex-direction
:
column
;
}
.order-lable
span
:last-child
{
.order-lable
span
:last-child
{
font-size
:
18px
;
font-weight
:
bold
;
color
:
#333
;
...
...
@@ -65,7 +75,7 @@
</div>
</div>
<div
class=
"orderDetails-content"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
class=
"no-relative"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"产品详情"
name=
"1"
>
</el-tab-pane>
...
...
src/components/customerManage/orderList.vue
View file @
dba7464a
This diff is collapsed.
Click to expand it.
src/components/customerManage/orderProfits.vue
View file @
dba7464a
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