|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<el-drawer
|
|
|
+ class="sub-task-drawer"
|
|
|
:visible.sync="visible"
|
|
|
:with-header="false"
|
|
|
size="50%"
|
|
@@ -9,7 +10,9 @@
|
|
|
<el-container class="is-vertical">
|
|
|
<section class="top-control">
|
|
|
<div v-show="formData.parentId > 0" class="back">
|
|
|
- <i class="el-icon-arrow-left" @click="backParent(formData.parentId)" />
|
|
|
+ <el-tooltip class="item" effect="dark" content="返回上一级子任务" placement="top">
|
|
|
+ <i class="el-icon-arrow-left" @click="backParent(formData.parentId)" />
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
|
<div class="bug-id-status">
|
|
|
<span>SUBTASK-{{ formData.id }}</span>
|
|
@@ -117,7 +120,12 @@
|
|
|
<section v-if="formData.level <= 2" class="main-section">
|
|
|
<div class="el-main-title">
|
|
|
<div class="title-left-icon" />
|
|
|
- <div class="title-left-name">子任务<i class="el-icon-circle-plus child-add" @click="addChild()" /></div>
|
|
|
+ <div class="title-left-name">
|
|
|
+ 子任务
|
|
|
+ <el-tooltip class="item" effect="dark" content="添加子任务" placement="top">
|
|
|
+ <i class="el-icon-circle-plus child-add" @click="addChild()" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="children-list">
|
|
|
<add-children-list
|
|
@@ -321,6 +329,14 @@ export default {
|
|
|
/deep/.el-button {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+.sub-task-drawer {
|
|
|
+ margin-top: 60px;
|
|
|
+}
|
|
|
+.el-main-title {
|
|
|
+ border-bottom: 1px solid rgba(238,238,238,1);
|
|
|
+ padding-bottom: 20px;
|
|
|
+ margin-bottom: 5px !important;
|
|
|
+}
|
|
|
.top-control {
|
|
|
padding: 30px;
|
|
|
position: relative;
|
|
@@ -332,14 +348,16 @@ export default {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.bug-id-status {
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 16px;
|
|
|
color: #333333;
|
|
|
+ font-weight: bold;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
span {
|
|
|
margin-right: 17px;
|
|
|
}
|
|
|
.control {
|
|
|
+ font-weight: 400;
|
|
|
margin-left: auto;
|
|
|
font-size: 14px;
|
|
|
color: #333333;
|
|
@@ -357,6 +375,7 @@ export default {
|
|
|
}
|
|
|
.bug-name-control {
|
|
|
margin-top: 5px;
|
|
|
+ font-weight: bold;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
@@ -415,6 +434,7 @@ export default {
|
|
|
.el-form-item {
|
|
|
width: 48%;
|
|
|
margin-right: 0;
|
|
|
+ margin-bottom: 10px;
|
|
|
/deep/.el-select{
|
|
|
width: 100%;
|
|
|
}
|
|
@@ -427,6 +447,7 @@ export default {
|
|
|
.el-form-item {
|
|
|
width: 30%;
|
|
|
margin-right: 0;
|
|
|
+ margin-bottom: 15px;
|
|
|
/deep/.el-form-item__content {
|
|
|
width: calc(100% - 100px)
|
|
|
}
|