Commit 14ef50f8 authored by 盖献康's avatar 盖献康

feat: bug(70658、70606)

parent c5663047
......@@ -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>
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment