Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
3b967bfd
Commit
3b967bfd
authored
Sep 27, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug detail
parent
ac8d22c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
203 additions
and
193 deletions
+203
-193
detail.vue
pages/bug/component/detail.vue
+203
-193
No files found.
pages/bug/component/detail.vue
View file @
3b967bfd
<
template
>
<
template
>
<div
style=
"width:100%;overflow:auto"
>
<div
style=
"width:100%;overflow:auto"
>
<div
style=
"width:80%; border-right:1px solid #ccc;padding-right:30px;float:left"
>
<div
style=
"width:80%; border-right:1px solid #ccc;padding-right:30px;float:left"
>
<Form
:model=
"bugForm"
:label-width=
"5"
ref=
"formValidate"
>
<Form
:model=
"bugForm"
:label-width=
"5"
ref=
"formValidate"
>
<Row>
<Row>
...
@@ -63,6 +63,9 @@
...
@@ -63,6 +63,9 @@
<p
class=
"time"
v-else
>
<p
class=
"time"
v-else
>
<state
code=
"Test.bug.statusHistory"
:value=
"item.action"
type=
"text"
></state>
<state
code=
"Test.bug.statusHistory"
:value=
"item.action"
type=
"text"
></state>
</p>
</p>
<Tooltip
max-width=
"400"
:content=
"item.remark"
v-if=
"item.remark"
>
<a>
查看
</a>
</Tooltip>
<p
class=
"content"
>
{{
item
.
actionName
}}
</p>
<p
class=
"content"
>
{{
item
.
actionName
}}
</p>
<p
class=
"content"
>
{{
item
.
creationTime
}}
</p>
<p
class=
"content"
>
{{
item
.
creationTime
}}
</p>
</TimelineItem>
</TimelineItem>
...
@@ -97,8 +100,9 @@
...
@@ -97,8 +100,9 @@
<Button
@
click=
"showInfo=false"
>
关闭
</Button>
<Button
@
click=
"showInfo=false"
>
关闭
</Button>
</div>
</div>
</Modal>
</Modal>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'detail'
,
name
:
'detail'
,
...
@@ -109,7 +113,7 @@ export default {
...
@@ -109,7 +113,7 @@ export default {
detailForm
:
{
detailForm
:
{
remark
:
''
,
remark
:
''
,
actionName
:
''
,
actionName
:
''
,
creationTime
:
''
,
creationTime
:
''
,
workHours
:
0
workHours
:
0
},
},
divHeight
:
'200px'
,
divHeight
:
'200px'
,
...
@@ -118,8 +122,7 @@ export default {
...
@@ -118,8 +122,7 @@ export default {
eid
:
null
,
eid
:
null
,
name
:
''
name
:
''
},
},
postUrl
:
postUrl
:
fileUrl
+
'/?token=Bearer '
+
window
.
sessionStorage
.
getItem
(
'token'
),
fileUrl
+
'/?token=Bearer '
+
window
.
sessionStorage
.
getItem
(
'token'
),
downUrl
:
fileUrlDown
,
downUrl
:
fileUrlDown
,
fileUrlPath
:
''
,
fileUrlPath
:
''
,
bugForm
:
{
bugForm
:
{
...
@@ -143,7 +146,9 @@ export default {
...
@@ -143,7 +146,9 @@ export default {
detailInfo
(
value
)
{
detailInfo
(
value
)
{
this
.
nameList
=
[]
this
.
nameList
=
[]
this
.
parms
.
eid
=
value
.
id
this
.
parms
.
eid
=
value
.
id
this
.
$http
.
bug
.
get
({
id
:
value
.
id
}).
then
((
res
)
=>
{
this
.
$http
.
bug
.
get
({
id
:
value
.
id
}).
then
((
res
)
=>
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
this
.
bugForm
=
res
.
result
this
.
bugForm
=
res
.
result
//this.bugForm.statusNew=res.result.level
//this.bugForm.statusNew=res.result.level
...
@@ -155,7 +160,9 @@ export default {
...
@@ -155,7 +160,9 @@ export default {
let
id
=
value
.
id
let
id
=
value
.
id
if
(
id
!=
null
)
{
if
(
id
!=
null
)
{
//增加确定
//增加确定
this
.
$http
.
bug
.
getallaction
({
id
:
id
}).
then
((
res
)
=>
{
this
.
$http
.
bug
.
getallaction
({
id
:
id
}).
then
((
res
)
=>
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
this
.
timeLineLista
=
[]
this
.
timeLineLista
=
[]
this
.
timeLineList
=
res
.
result
this
.
timeLineList
=
res
.
result
...
@@ -180,7 +187,7 @@ export default {
...
@@ -180,7 +187,7 @@ export default {
this
.
detailForm
=
{
this
.
detailForm
=
{
remark
:
value
.
remark
,
remark
:
value
.
remark
,
actionName
:
value
.
actionName
,
actionName
:
value
.
actionName
,
creationTime
:
value
.
creationTime
,
creationTime
:
value
.
creationTime
,
workHours
:
value
.
workHours
workHours
:
value
.
workHours
}
}
},
},
...
@@ -201,18 +208,21 @@ export default {
...
@@ -201,18 +208,21 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.time
{
.time
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.content
{
.content
{
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.rightDiv
{
.rightDiv
{
width
:
18%
;
width
:
18%
;
float
:
left
;
float
:
left
;
padding-left
:
50px
;
padding-left
:
50px
;
overflow
:
auto
;
}
}
</
style
>
</
style
>
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