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
f98c6886
Commit
f98c6886
authored
Dec 22, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用评价+流程最大高度
parent
22da9577
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
src/components/order-list/order-list-cell.vue
src/components/order-list/order-list-cell.vue
+2
-2
src/components/work-flow/workflows-view.vue
src/components/work-flow/workflows-view.vue
+11
-3
src/pages/user/order/order_detail.vue
src/pages/user/order/order_detail.vue
+2
-2
No files found.
src/components/order-list/order-list-cell.vue
View file @
f98c6886
...
...
@@ -393,12 +393,12 @@ export default {
});
}
else
if
(
this
.
cellItem
.
order_type
==
2
)
{
let
query
=
{
app
:
this
.
cellItem
.
app_id
,
app
_id
:
this
.
cellItem
.
app_id
,
content
:
this
.
textarea
,
score
:
this
.
serviceRate
,
apply_id
:
this
.
cellItem
.
apply_id
,
};
this
.
$api
.
user
.
add
Service
Evaluation
(
query
).
then
((
response
)
=>
{
this
.
$api
.
user
.
add
App
Evaluation
(
query
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
评价订单成功
"
,
...
...
src/components/work-flow/workflows-view.vue
View file @
f98c6886
<
template
>
<div
class=
"workflows-view"
ref=
"flowContainer"
:style=
"
{ zoom: zoom }">
<div
class=
"workflows-view"
ref=
"flowContainer"
:style=
"
{ zoom: zoom
, height: Number(max_height + 180) + 'px'
}">
<super-flow
ref=
"superFlow"
:node-list=
"nodeList"
...
...
@@ -86,6 +86,7 @@ export default {
origin
:
[],
nodeList
:
[],
linkList
:
[],
max_height
:
650
,
};
},
methods
:
{
...
...
@@ -120,10 +121,17 @@ export default {
...
node
,
};
}
});
});
nodeList
.
forEach
(
item
=>
{
// console.log(item.coordinate)
if
(
item
.
coordinate
[
1
]
>
this
.
max_height
)
{
this
.
max_height
=
item
.
coordinate
[
1
]
}
});
this
.
nodeList
=
nodeList
;
this
.
linkList
=
linkList
;
console
.
log
(
this
.
max_height
)
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
...
...
@@ -157,7 +165,7 @@ export default {
<
style
scoped
>
.workflows-view
{
width
:
100%
;
height
:
830px
;
/* height: 830px; */
background-color
:
#fbfcfe
;
border-radius
:
10px
;
margin-top
:
10px
;
...
...
src/pages/user/order/order_detail.vue
View file @
f98c6886
...
...
@@ -655,12 +655,12 @@ export default {
});
}
else
if
(
this
.
orderDetail
.
order_type
==
2
)
{
let
query
=
{
app
:
this
.
orderDetail
.
app_id
,
app
_id
:
this
.
orderDetail
.
app_id
,
content
:
this
.
textarea
,
score
:
this
.
serviceRate
,
apply_id
:
this
.
orderDetail
.
apply_id
,
};
this
.
$api
.
user
.
add
Service
Evaluation
(
query
).
then
((
response
)
=>
{
this
.
$api
.
user
.
add
App
Evaluation
(
query
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
评价订单成功
"
,
...
...
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