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
13d42070
Commit
13d42070
authored
Dec 21, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed all
parent
01ebd0ff
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
441 additions
and
282 deletions
+441
-282
src/components/service-info/app-info.vue
src/components/service-info/app-info.vue
+3
-3
src/pages/service_shop/yysdDetail.vue
src/pages/service_shop/yysdDetail.vue
+9
-7
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+42
-16
src/pages/workbench/fwgl/approval_service_detail.vue
src/pages/workbench/fwgl/approval_service_detail.vue
+387
-255
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+0
-1
No files found.
src/components/service-info/app-info.vue
View file @
13d42070
...
@@ -114,11 +114,11 @@ export default {
...
@@ -114,11 +114,11 @@ export default {
}
,
}
,
addToCart
()
{
addToCart
()
{
// console.log("addToCart");
// console.log("addToCart");
console
.
log
(
this
.
datas
)
this
.
$http
this
.
$http
.
post
(
"
/apaas/serviceapp/v3/shopcart/add
"
,
{
.
post
(
"
/apaas/serviceapp/v3/shopcart/add
"
,
{
service_id
:
0
,
// 0表示不是服务
service_id
:
0
,
// 0表示不是服务
app_id
:
parseFloat
(
this
.
data
.
app_id
),
app_id
:
parseFloat
(
this
.
data
s
.
app_id
),
spec_id
:
this
.
specificationID
,
spec_id
:
this
.
specificationID
,
duration
:
1
,
duration
:
1
,
duration_method
:
1
,
duration_method
:
1
,
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
/shop/shop_car_apply
"
,
path
:
"
/shop/shop_car_apply
"
,
query
:
{
query
:
{
app_id
:
parseFloat
(
this
.
data
.
app_id
),
app_id
:
parseFloat
(
this
.
data
s
.
app_id
),
spec_id
:
this
.
specificationID
,
spec_id
:
this
.
specificationID
,
duration
:
1
,
duration
:
1
,
duration_unit
:
1
,
duration_unit
:
1
,
...
...
src/pages/service_shop/yysdDetail.vue
View file @
13d42070
...
@@ -113,7 +113,8 @@ export default {
...
@@ -113,7 +113,8 @@ export default {
this
.
$api
.
serviceShop
this
.
$api
.
serviceShop
.
getExtendedInfo
({
id
:
this
.
id
})
.
getExtendedInfo
({
id
:
this
.
id
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
this
.
baseInfo
.
app_id
=
data
.
data
.
app_id
;
console
.
log
(
data
)
this
.
baseInfo
.
app_id
=
response
.
data
.
data
.
app_id
;
this
.
baseInfo
.
app_name
=
data
.
data
.
app_name
;
this
.
baseInfo
.
app_name
=
data
.
data
.
app_name
;
this
.
baseInfo
.
apply_id
=
data
.
data
.
apply_id
;
this
.
baseInfo
.
apply_id
=
data
.
data
.
apply_id
;
this
.
baseInfo
.
apply_times
=
data
.
data
.
apply_times
;
this
.
baseInfo
.
apply_times
=
data
.
data
.
apply_times
;
...
@@ -137,13 +138,14 @@ export default {
...
@@ -137,13 +138,14 @@ export default {
this
.
baseInfo
.
price_style
=
response
.
data
.
data
.
price_style
;
this
.
baseInfo
.
price_style
=
response
.
data
.
data
.
price_style
;
this
.
baseInfo
.
sale
=
response
.
data
.
data
.
sale
;
this
.
baseInfo
.
sale
=
response
.
data
.
data
.
sale
;
this
.
baseInfo
.
star
=
response
.
data
.
data
.
star
;
this
.
baseInfo
.
star
=
response
.
data
.
data
.
star
;
});
this
.
detailData
[
1
].
value
=
{
this
.
detailData
[
1
].
value
=
{
online_state_name
:
data
.
data
.
online_state_name
,
online_state_name
:
data
.
data
.
online_state_name
,
type_name
:
data
.
data
.
type_name
,
type_name
:
data
.
data
.
type_name
,
ywly_name
:
data
.
data
.
ywly_name
,
ywly_name
:
data
.
data
.
ywly_name
,
create_date
:
data
.
data
.
create_date
,
create_date
:
data
.
data
.
create_date
,
};
};
console
.
log
(
this
.
baseInfo
)
});
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
13d42070
...
@@ -41,7 +41,11 @@
...
@@ -41,7 +41,11 @@
</el-select>
</el-select>
<div
<div
class=
"port_bg_box"
class=
"port_bg_box"
style=
"padding:20px;background-color:#f8f9fd;margin-top:10px;"
style=
"
padding: 20px;
background-color: #f8f9fd;
margin-top: 10px;
"
>
>
<info-list
:list_arr=
"port_solt_arr"
>
<info-list
:list_arr=
"port_solt_arr"
>
<table-um
<table-um
...
@@ -888,20 +892,39 @@ export default {
...
@@ -888,20 +892,39 @@ export default {
"
info
"
,
"
info
"
,
data
.
create_time
==
"
0001-01-01T00:00:00Z
"
data
.
create_time
==
"
0001-01-01T00:00:00Z
"
?
"
-
"
?
"
-
"
:
data
.
create_time
.
replace
(
"
T
"
,
"
"
).
split
(
"
+
"
)[
0
]
:
data
.
create_time
.
replace
(
"
T
"
,
"
"
)
.
replace
(
"
Z
"
,
""
)
.
split
(
"
+
"
)[
0
]
);
);
this
.
$set
(
this
.
$set
(
this
.
servicead_arr
[
0
],
this
.
servicead_arr
[
0
],
"
info
"
,
"
info
"
,
this
.
request_arr
[
data
.
req_type
]
this
.
request_arr
[
data
.
service_apply_info
.
urls
[
0
].
req_type
]
);
);
this
.
$set
(
this
.
$set
(
this
.
servicead_arr
[
1
],
this
.
servicead_arr
[
1
],
"
info
"
,
"
info
"
,
data
.
req_query
?
data
.
req_query
:
"
无
"
data
.
service_apply_info
.
urls
[
0
].
req_fields
!=
""
?
data
.
service_apply_info
.
urls
[
0
].
req_fields
:
data
.
service_apply_info
.
urls
[
0
].
req_query
!=
""
?
data
.
service_apply_info
.
urls
[
0
].
req_query
:
"
无
"
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
data
.
service_apply_info
.
urls
[
0
].
req_fields_example
!=
""
?
data
.
service_apply_info
.
urls
[
0
].
req_fields_example
:
data
.
service_apply_info
.
urls
[
0
].
req_query_example
!=
""
?
data
.
service_apply_info
.
urls
[
0
].
req_query_example
:
"
无
"
);
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
service_apply_info
.
urls
[
0
].
encode_method
);
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
data
.
req_fields
);
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
encode_method
);
// this.$set(this.apply_arr[0], "info", data.apply_user_info.phone);
// this.$set(this.apply_arr[0], "info", data.apply_user_info.phone);
this
.
$set
(
this
.
apply_arr
[
1
],
"
info
"
,
data
.
descript
);
this
.
$set
(
this
.
apply_arr
[
1
],
"
info
"
,
data
.
descript
);
this
.
$set
(
this
.
$set
(
...
@@ -926,21 +949,21 @@ export default {
...
@@ -926,21 +949,21 @@ export default {
"
url
"
,
"
url
"
,
data
.
service_apply_info
.
apply_file
data
.
service_apply_info
.
apply_file
);
);
console
.
log
(
data
);
let
spcs
=
""
;
let
spcs
=
""
;
if
(
data
.
service_apply_info
.
spcs_type
===
1
)
{
if
(
data
.
service_apply_info
.
spcs_type
===
1
)
{
spcs
=
`
${
data
.
service_apply_info
.
single_money
}
金币/
${
data
.
service_apply_info
.
spcs_count
}
次`
;
spcs
=
`
${
data
.
service_apply_info
.
single_money
}
金币/
${
data
.
service_apply_info
.
spcs_count
}
次`
;
}
else
{
}
else
{
spcs
=
`
${
data
.
service_apply_info
.
single_money
}
金币/
${
spcs
=
`
${
data
.
service_apply_info
.
single_money
}
金币/月`
;
data
.
service_apply_info
.
duration_unit
==
1
?
"
月
"
:
"
年
"
}
`
;
}
}
this
.
$set
(
this
.
apply_arr
[
6
],
"
info
"
,
spcs
);
this
.
$set
(
this
.
apply_arr
[
6
],
"
info
"
,
spcs
);
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
7
],
this
.
apply_arr
[
7
],
"
info
"
,
"
info
"
,
data
.
service_apply_info
.
duration
+
data
.
service_apply_info
.
spcs_type
==
1
?
"
不限时长
"
:
data
.
service_apply_info
.
duration
+
(
data
.
service_apply_info
.
duration_unit
==
1
?
"
月
"
:
"
年
"
)
(
data
.
service_apply_info
.
duration_unit
==
1
?
"
月
"
:
"
年
"
)
);
);
this
.
$set
(
this
.
$set
(
...
@@ -953,7 +976,7 @@ export default {
...
@@ -953,7 +976,7 @@ export default {
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
9
],
this
.
apply_arr
[
9
],
"
info
"
,
"
info
"
,
data
.
service_apply_info
.
total_money
data
.
service_apply_info
.
total_money
+
"
金币
"
);
);
this
.
res_table_arr
=
JSON
.
parse
(
this
.
res_table_arr
=
JSON
.
parse
(
data
.
service_apply_info
.
res_fields
||
"
[]
"
data
.
service_apply_info
.
res_fields
||
"
[]
"
...
@@ -961,12 +984,15 @@ export default {
...
@@ -961,12 +984,15 @@ export default {
if
(
this
.
res_table_arr
.
length
===
0
)
{
if
(
this
.
res_table_arr
.
length
===
0
)
{
this
.
$set
(
this
.
servicead_arr
[
4
],
"
info
"
,
"
无响应参数
"
);
this
.
$set
(
this
.
servicead_arr
[
4
],
"
info
"
,
"
无响应参数
"
);
}
}
this
.
res_code_arr
=
data
.
res_fields_example
||
""
;
// 响应示例
this
.
res_code_arr
=
data
.
service_apply_info
.
urls
[
0
].
res_fields_example
||
""
;
// 响应示例
if
(
!
this
.
res_code_arr
)
{
if
(
!
this
.
res_code_arr
)
{
this
.
$set
(
this
.
servicead_arr
[
5
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
5
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
5
],
"
info
"
,
"
无响应示例
"
);
this
.
$set
(
this
.
servicead_arr
[
5
],
"
info
"
,
"
无响应示例
"
);
}
}
console
.
log
(
this
.
res_table_arr
);
if
(
data
.
data_service_type1_name
!=
"
数据服务
"
)
{
this
.
servicead_arr
=
this
.
servicead_arr
.
slice
(
0
,
4
);
}
if
(
data
.
service_apply_info
.
approval_process
)
{
if
(
data
.
service_apply_info
.
approval_process
)
{
data
.
service_apply_info
.
approval_process
.
forEach
((
e
)
=>
{
data
.
service_apply_info
.
approval_process
.
forEach
((
e
)
=>
{
this
.
use_approval_arr
.
push
({
this
.
use_approval_arr
.
push
({
...
@@ -1010,7 +1036,7 @@ export default {
...
@@ -1010,7 +1036,7 @@ export default {
}
}
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
);
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
);
})
})
.
catch
(
function
(
response
)
{});
.
catch
(
function
(
response
)
{});
},
},
},
},
};
};
...
...
src/pages/workbench/fwgl/approval_service_detail.vue
View file @
13d42070
This diff is collapsed.
Click to expand it.
src/pages/workbench/fwgl/serviceDetail.vue
View file @
13d42070
...
@@ -1385,7 +1385,6 @@ export default {
...
@@ -1385,7 +1385,6 @@ export default {
"
info
"
,
"
info
"
,
data
.
create_time
.
replace
(
"
T
"
,
"
"
).
split
(
"
+
"
)[
0
]
data
.
create_time
.
replace
(
"
T
"
,
"
"
).
split
(
"
+
"
)[
0
]
);
);
// 接口详情信息
// 接口详情信息
this
.
$set
(
this
.
$set
(
this
.
servicead_arr
[
0
],
this
.
servicead_arr
[
0
],
...
...
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