Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
14ef50f8
Commit
14ef50f8
authored
Mar 18, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: bug(70658、70606)
parent
c5663047
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
14 deletions
+24
-14
index.vue
src/views/system/user/index.vue
+24
-1
index.vue
src/views/task/new/index.vue
+0
-13
No files found.
src/views/system/user/index.vue
View file @
14ef50f8
...
...
@@ -24,7 +24,18 @@
default-expand-all
highlight-current
@
node-click=
"handleNodeClick"
/>
>
<span
slot-scope=
"
{ node, data }" class="span-ellipsis">
<el-tooltip
class=
"item"
effect=
"light"
:content=
"node.label || ''"
placement=
"top-start"
>
<span
style=
"font-size: 14px"
>
{{
node
.
label
}}
</span>
</el-tooltip>
</span>
</el-tree>
</div>
</el-col>
<!--用户数据-->
...
...
@@ -865,3 +876,15 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.span-ellipsis
{
width
:
calc
(
100%
-
4px
);
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
min-width
:
auto
;
padding
:
4px
2px
;
border-radius
:
4px
;
}
</
style
>
src/views/task/new/index.vue
View file @
14ef50f8
...
...
@@ -1180,29 +1180,16 @@ export default {
editTemporaryStorage
(
this
.
taskCreateRequest
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'暂存成功'
)
this
.
$router
.
push
({
path
:
'/task/on'
})
}
})
}
else
{
temporaryTask
(
this
.
taskCreateRequest
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'暂存成功'
)
this
.
$router
.
push
({
path
:
'/task/on'
})
}
})
}
})
// 假装跳转详情页
// this.$router.push({
// path: '/task/task-detail',
// query: {
// taskId: '1763404524439060481'
// }
// })
},
// 判断一个对象里的数据是否为空
areAllPropertiesEmpty
(
obj
)
{
...
...
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