Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-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
smart-operation
so-manage-ui
Commits
5ac1609e
Commit
5ac1609e
authored
May 09, 2023
by
李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
e2989c11
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
src/page/main/develop/systemApproval/detail/index.vue
src/page/main/develop/systemApproval/detail/index.vue
+5
-0
src/page/main/log/userBehavior/detail/index.vue
src/page/main/log/userBehavior/detail/index.vue
+24
-1
No files found.
src/page/main/develop/systemApproval/detail/index.vue
View file @
5ac1609e
...
...
@@ -17,6 +17,7 @@ import bgBreadcrumb from "@/components/bg-breadcrumb.vue";
import
{
useRoute
}
from
"
vue-router
"
;
import
axios
from
"
@/request/http.js
"
;
import
{
ElMessage
}
from
"
element-plus
"
;
import
{
dateStringTransform
}
from
"
@/services/helper.js
"
;
const
route
=
useRoute
();
...
...
@@ -113,6 +114,10 @@ const getApproveInfo = () => {
item
.
value
=
[
"
待审批
"
,
"
通过
"
,
"
驳回
"
][
result
[
item
.
key
]];
return
;
}
if
(
item
.
key
===
"
approval_time
"
)
{
item
.
value
=
dateStringTransform
(
result
[
item
.
key
]);
return
;
}
item
.
value
=
result
[
item
.
key
];
});
}
else
{
...
...
src/page/main/log/userBehavior/detail/index.vue
View file @
5ac1609e
...
...
@@ -3,7 +3,22 @@
<bg-breadcrumb></bg-breadcrumb>
<div
class=
"page_content"
>
<bg-form-gap
title=
"详情"
></bg-form-gap>
<bg-detail-table2
class=
"detail_info"
:list=
"instanceData.detailInfo"
>
</bg-detail-table2>
<bg-detail-table2
class=
"detail_info"
:list=
"instanceData.detailInfo"
>
<template
#req_url_value
="
{ data }">
<el-popover
placement=
"top-start"
:width=
"600"
trigger=
"hover"
:content=
"data.value"
>
<template
#reference
>
<p
class=
"show_in_line"
>
{{
data
.
value
}}
</p>
</
template
>
</el-popover>
</template>
<
template
#res_fields_value
="{
data
}"
>
<el-popover
placement=
"bottom-start"
:width=
"800"
trigger=
"hover"
:content=
"data.value"
>
<template
#reference
>
<p
class=
"show_in_line"
>
{{
data
.
value
}}
</p>
</
template
>
</el-popover>
</template>
</bg-detail-table2>
</div>
</div>
</template>
...
...
@@ -81,6 +96,7 @@ const instanceData = reactive({
label
:
"
请求地址
"
,
value
:
""
,
width
:
"
100%
"
,
childSlot
:
"
req_url_value
"
,
},
{
key
:
"
req_param
"
,
...
...
@@ -96,6 +112,7 @@ const instanceData = reactive({
key
:
"
res_fields
"
,
label
:
"
返回参数
"
,
value
:
""
,
childSlot
:
"
res_fields_value
"
,
},
],
});
...
...
@@ -130,5 +147,11 @@ const getDetailInfo = () => {
margin-bottom
:
24px
;
width
:
960px
;
}
.show_in_line
{
overflow
:
hidden
;
width
:
824px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
</
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