Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
5d0dbb3c
Commit
5d0dbb3c
authored
Jun 28, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仪表盘,云资源对接口,校验没加,个人档案+复制成功,订单详情+取消订单
parent
4387cbb3
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
279 additions
and
66 deletions
+279
-66
src/components/e-charts/dashboard.vue
src/components/e-charts/dashboard.vue
+23
-14
src/components/shop-cloud/shop-cloud.vue
src/components/shop-cloud/shop-cloud.vue
+220
-42
src/pages/data-analysis/my-service.vue
src/pages/data-analysis/my-service.vue
+5
-7
src/pages/user/order/order_detail.vue
src/pages/user/order/order_detail.vue
+24
-1
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+4
-1
src/request/api/user.js
src/request/api/user.js
+3
-1
No files found.
src/components/e-charts/dashboard.vue
View file @
5d0dbb3c
...
...
@@ -3,6 +3,7 @@
</
template
>
<
script
>
import
{
graphic
}
from
"
echarts/lib/export
"
;
export
default
{
props
:
{
data
:
{
...
...
@@ -11,9 +12,10 @@ export default {
}
},
data
:
()
=>
({
navList
:
[]
navList
:
[]
,
}),
mounted
()
{},
mounted
()
{
},
methods
:
{
dashboard
()
{
let
self
=
this
;
...
...
@@ -51,7 +53,7 @@ export default {
max
:
138
,
boundaryGap
:
[
"
0
"
,
"
100
"
],
startAngle
:
220
,
endAngle
:
-
40
,
endAngle
:
-
40
},
radiusAxis
:
{
type
:
"
category
"
,
...
...
@@ -66,23 +68,30 @@ export default {
}
},
polar
:
{
radius
:
"
1
0
0%
"
radius
:
"
1
1
0%
"
},
series
:
[
{
type
:
"
bar
"
,
data
:
[,
40
],
data
:
[,
40
],
coordinateSystem
:
"
polar
"
,
barMaxWidth
:
10
,
z
:
1
,
name
:
"
抢修项目
"
,
name
:
"
B
"
,
roundCap
:
true
,
color
:
"
#1779ee
"
,
itemStyle
:
{
normal
:
{
color
:
new
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
offset
:
0
,
color
:
"
#25bdb1
"
},
{
offset
:
1
,
color
:
"
#e7fdfc
"
}
])
}
},
barGap
:
"
-100%
"
},
{
type
:
"
bar
"
,
data
:
[,
100
],
data
:
[,
100
],
z
:
0
,
silent
:
true
,
coordinateSystem
:
"
polar
"
,
...
...
@@ -94,7 +103,7 @@ export default {
},
{
type
:
"
gauge
"
,
radius
:
"
55
%
"
,
radius
:
"
70
%
"
,
min
:
0
,
//最小刻度
max
:
100
,
//最大刻度
splitNumber
:
10
,
//刻度数量
...
...
@@ -117,16 +126,16 @@ export default {
show
:
true
,
splitNumber
:
5
,
lineStyle
:
{
color
:
"
#
468EFD
"
,
//用颜色渐变函数不起作用
color
:
"
#
a9aec0
"
,
width
:
1
},
length
:
-
8
length
:
4
},
//刻度样式
splitLine
:
{
show
:
true
,
length
:
-
10
,
length
:
6
,
lineStyle
:
{
color
:
"
#
468EFD
"
//用颜色渐变函数不起作用
color
:
"
#
a9aec0
"
}
},
//分隔线样式
detail
:
{
...
...
@@ -151,7 +160,7 @@ export default {
}
},
data
:
[,
40
]
data
:
[,
40
]
}
]
};
...
...
src/components/shop-cloud/shop-cloud.vue
View file @
5d0dbb3c
This diff is collapsed.
Click to expand it.
src/pages/data-analysis/my-service.vue
View file @
5d0dbb3c
...
...
@@ -10,8 +10,8 @@
<el-row>
<el-col
:span=
"24"
class=
"in_block"
>
<block-radius
class=
"block left_1"
>
<d
ashboard
ref=
"left_1_l"
class=
"left_1_l"
></dashboard
>
<d
iv
ref=
"left_1_r"
class=
"left_1_r"
></div
>
<d
iv
ref=
"left_1_l"
class=
"left_1_l"
></div
>
<d
ashboard
ref=
"left_1_r"
class=
"left_1_r"
></dashboard
>
</block-radius>
</el-col>
<el-col
:span=
"24"
class=
"in_block"
>
...
...
@@ -72,9 +72,7 @@ export default {
data
:
()
=>
({
navList
:
[]
}),
mounted
()
{
},
mounted
()
{},
methods
:
{}
};
</
script
>
...
...
@@ -82,7 +80,7 @@ export default {
.in_analysis
{
padding
:
0
10px
10px
;
height
:
100%
;
min-width
:
1
0
00px
;
min-width
:
1
7
00px
;
}
.in_l
{
}
...
...
@@ -91,7 +89,7 @@ export default {
.in_c
{
}
.in_block
{
height
:
30
0px
;
height
:
28
0px
;
padding
:
10px
;
}
.block
{
...
...
src/pages/user/order/order_detail.vue
View file @
5d0dbb3c
...
...
@@ -75,10 +75,15 @@
@
click=
"showMsgBox = false"
>
收起评价
</el-button>
<el-button
v-if=
"
orderDetail.approval_second_level == 1 && orderDetail.pay_status != -1"
v-if=
"orderDetail.approval_second_level == 1 && orderDetail.pay_status != -1"
class=
"again"
@
click=
"nextApply"
>
再次申请
</el-button>
<el-button
v-if=
"orderDetail.approval_first_level == 1 && orderDetail.approval_second_level == 0 && orderDetail.pay_status != -1"
class=
"again"
@
click=
"cancelDetail"
>
取消申请
</el-button>
</div>
</div>
<div
class=
"detail_title"
>
{{
orderDetail
.
order_type
==
1
?
"
服务
"
:
"
应用
"
}}
信息
</div>
...
...
@@ -353,6 +358,24 @@ export default {
path
:
"
/shop/shop_car_apply
"
,
query
:
query
});
},
cancelDetail
()
{
this
.
$api
.
user
.
cancelOrder
({
order_id
:
this
.
orderDetail
.
order_id
})
.
then
(
response
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
取消订单成功
"
,
type
:
"
success
"
});
this
.
$router
.
push
({
name
:
"
orderList
"
});
}
else
{
this
.
$message
({
message
:
"
取消订单失败
"
,
type
:
"
error
"
});
}
});
}
}
};
...
...
src/pages/user/user_info.vue
View file @
5d0dbb3c
...
...
@@ -403,7 +403,10 @@ export default {
input
.
select
();
if
(
document
.
execCommand
(
"
copy
"
))
{
document
.
execCommand
(
"
copy
"
);
console
.
log
(
"
复制成功
"
);
this
.
$message
({
message
:
"
复制成功
"
,
type
:
"
success
"
});
}
document
.
body
.
removeChild
(
input
);
},
...
...
src/request/api/user.js
View file @
5d0dbb3c
...
...
@@ -34,7 +34,9 @@ const user = {
getOrderApproval
(
params
)
{
return
axios
.
get
(
`/apaas/serviceapp/v3/order/approval?apply_id=
${
params
.
apply_id
}
`
);
},
cancelOrder
(
params
)
{
return
axios
.
get
(
`/order/cancel?order_id=
${
params
.
order_id
}
`
);
},
// user info
getNowUser
()
{
...
...
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