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
f01de964
Commit
f01de964
authored
Nov 13, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://cloud.wodcloud.com/git/apaas/apaas-v3-ui
into dev
parents
f87c1724
fd88d779
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
21 deletions
+92
-21
src/components/order-list/order-list-cell.vue
src/components/order-list/order-list-cell.vue
+2
-1
src/components/shopping-cart/shopping-cart-cell.vue
src/components/shopping-cart/shopping-cart-cell.vue
+2
-7
src/components/shopping-cart/shopping-cart-com.vue
src/components/shopping-cart/shopping-cart-com.vue
+1
-0
src/pages/user/order/order_detail.vue
src/pages/user/order/order_detail.vue
+53
-2
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+34
-11
No files found.
src/components/order-list/order-list-cell.vue
View file @
f01de964
...
@@ -192,6 +192,7 @@
...
@@ -192,6 +192,7 @@
<div
v-else-if=
"cellItem.pay_status == -1"
>
订单已取消
</div>
<div
v-else-if=
"cellItem.pay_status == -1"
>
订单已取消
</div>
<el-popover
<el-popover
v-if=
"
v-if=
"
cellItem.order_type != 3 &&
cellItem.approval_second_level == 1 &&
cellItem.approval_second_level == 1 &&
cellItem.pay_status != -1 &&
cellItem.pay_status != -1 &&
cellItem.is_estimated == 0
cellItem.is_estimated == 0
...
@@ -360,7 +361,7 @@ export default {
...
@@ -360,7 +361,7 @@ export default {
},
},
methods
:
{
methods
:
{
addEvaluation
()
{
addEvaluation
()
{
if
(
this
.
textarea
==
""
&&
this
.
serviceRate
==
null
)
{
if
(
this
.
textarea
==
""
||
this
.
serviceRate
==
null
)
{
this
.
$message
({
this
.
$message
({
message
:
"
请先完善评价内容
"
,
message
:
"
请先完善评价内容
"
,
type
:
"
error
"
,
type
:
"
error
"
,
...
...
src/components/shopping-cart/shopping-cart-cell.vue
View file @
f01de964
...
@@ -315,13 +315,8 @@ export default {
...
@@ -315,13 +315,8 @@ export default {
this
.
specificationApplicationPop
=
val
;
this
.
specificationApplicationPop
=
val
;
},
},
submitPop
()
{
submitPop
()
{
this
.
cellItems
.
service
.
spcs_info
=
this
.
cellItems
.
service
.
spcs_info
=
this
.
specificationPop
;
this
.
specificationPop
.
spcs_type
==
1
this
.
visible
=
false
;
?
this
.
cellItems
.
service
.
request_spcs_info
.
spcs_type_1
[
val
]
:
this
.
specificationPop
.
spcs_type
==
2
?
this
.
cellItems
.
service
.
request_spcs_info
.
spcs_type_2
[
val
]
:
""
;
this
.
updateShoppingCart
();
this
.
updateShoppingCart
();
this
.
updateShoppingCart
();
},
},
setSpecificationPop
()
{
setSpecificationPop
()
{
...
...
src/components/shopping-cart/shopping-cart-com.vue
View file @
f01de964
...
@@ -165,6 +165,7 @@ export default {
...
@@ -165,6 +165,7 @@ export default {
this
.
listIn
=
response
.
data
.
data
.
invalid
||
[];
this
.
listIn
=
response
.
data
.
data
.
invalid
||
[];
this
.
checkList
=
[];
this
.
checkList
=
[];
this
.
checkListIn
=
[];
this
.
checkListIn
=
[];
this
.
checkShopAll
=
false
;
for
(
let
index
in
this
.
list
)
{
for
(
let
index
in
this
.
list
)
{
this
.
checkList
.
push
(
false
);
this
.
checkList
.
push
(
false
);
}
}
...
...
src/pages/user/order/order_detail.vue
View file @
f01de964
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
<div
class=
"btn_group"
>
<div
class=
"btn_group"
>
<el-popover
<el-popover
v-if=
"
v-if=
"
orderDetail.order_type != 3 &&
orderDetail.is_estimated == 0 &&
orderDetail.is_estimated == 0 &&
orderDetail.approval_second_level == 1 &&
orderDetail.approval_second_level == 1 &&
orderDetail.pay_status != -1
orderDetail.pay_status != -1
...
@@ -622,8 +623,58 @@ export default {
...
@@ -622,8 +623,58 @@ export default {
},
},
methods
:
{
methods
:
{
addEvaluation
()
{
addEvaluation
()
{
console
.
log
(
this
.
serviceRate
,
this
.
textarea
);
if
(
this
.
textarea
==
""
||
this
.
serviceRate
==
null
)
{
this
.
visible
=
false
;
this
.
$message
({
message
:
"
请先完善评价内容
"
,
type
:
"
error
"
,
});
}
else
{
if
(
this
.
orderDetail
.
order_type
==
1
)
{
let
query
=
{
service_id
:
this
.
orderDetail
.
service_id
,
content
:
this
.
textarea
,
score
:
this
.
serviceRate
,
apply_id
:
this
.
orderDetail
.
apply_id
,
};
this
.
$api
.
user
.
addServiceEvaluation
(
query
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
评价订单成功
"
,
type
:
"
success
"
,
});
this
.
visible
=
false
;
this
.
getOrderDetail
();
}
else
{
this
.
$message
({
message
:
"
评价订单失败
"
,
type
:
"
error
"
,
});
}
});
}
else
if
(
this
.
orderDetail
.
order_type
==
2
)
{
let
query
=
{
app
:
this
.
orderDetail
.
app_id
,
content
:
this
.
textarea
,
score
:
this
.
serviceRate
,
apply_id
:
this
.
orderDetail
.
apply_id
,
};
this
.
$api
.
user
.
addServiceEvaluation
(
query
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
评价订单成功
"
,
type
:
"
success
"
,
});
this
.
visible
=
false
;
this
.
getOrderDetail
();
}
else
{
this
.
$message
({
message
:
"
评价订单失败
"
,
type
:
"
error
"
,
});
}
});
}
}
},
},
download
()
{},
download
()
{},
getOrderDetail
()
{
getOrderDetail
()
{
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
f01de964
...
@@ -1004,6 +1004,7 @@ export default {
...
@@ -1004,6 +1004,7 @@ export default {
gz_fhsjgs
:
"
JSON
"
,
gz_fhsjgs
:
"
JSON
"
,
code_1_index
:
0
,
code_1_index
:
0
,
code_2_index
:
0
,
code_2_index
:
0
,
user_id
:
""
,
};
};
},
},
computed
:
{},
computed
:
{},
...
@@ -1328,17 +1329,39 @@ export default {
...
@@ -1328,17 +1329,39 @@ export default {
this
.
jkwds
[
0
]
=
val
[
0
].
url
;
this
.
jkwds
[
0
]
=
val
[
0
].
url
;
},
},
getOrganization
()
{
getOrganization
()
{
let
query
=
{
if
(
this
.
$store
.
state
.
userInfo
&&
this
.
$store
.
state
.
userInfo
.
user_id
)
{
id
:
this
.
$store
.
state
.
userInfo
.
user_id
,
let
query
=
{
};
id
:
this
.
$store
.
state
.
userInfo
.
user_id
,
this
.
$api
.
user
.
getUserDetail
(
query
).
then
((
request
)
=>
{
};
if
(
request
.
data
.
success
==
1
)
{
this
.
$api
.
user
.
getUserDetail
(
query
).
then
((
request
)
=>
{
this
.
form
.
origin
=
request
.
data
.
data
.
department
;
if
(
request
.
data
.
success
==
1
)
{
this
.
oid
=
request
.
data
.
data
.
department_id
;
this
.
form
.
origin
=
request
.
data
.
data
.
department
;
}
else
{
this
.
oid
=
request
.
data
.
data
.
department_id
;
console
.
log
(
response
.
data
.
errMsg
);
}
else
{
}
console
.
log
(
response
.
data
.
errMsg
);
});
}
});
}
else
{
let
self
=
this
;
self
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
self
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
let
query
=
{
id
:
self
.
$store
.
state
.
userInfo
.
user_id
,
};
self
.
$api
.
user
.
getUserDetail
(
query
).
then
((
request
)
=>
{
if
(
request
.
data
.
success
==
1
)
{
self
.
form
.
origin
=
request
.
data
.
data
.
department
;
self
.
oid
=
request
.
data
.
data
.
department_id
;
}
else
{
console
.
log
(
response
.
data
.
errMsg
);
}
});
}
else
{
console
.
log
(
data
.
errMsg
);
}
});
}
},
},
registeMap
()
{
registeMap
()
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
...
...
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