wangziqian 5 роки тому
батько
коміт
06c6a8e232

+ 4 - 4
src/views/projectManage/taskList/childrenTask/addChildrenList.vue

@@ -195,8 +195,8 @@ export default {
       this.changeArea('endTime')
     },
     updateStatus(e) { // 变更状态
-      if (this.add) return
-      if (e.newNode) return
+      if (this.add) return // 如果是新建状态,返回
+      if (e.newNode) return// 如果是新加节点,返回
       this.nowSubTask = e
       if (this.nowSubTask.status === 20) {
         this.noCompleteTask = []
@@ -328,7 +328,7 @@ export default {
 		}
 	}
 	.input-name {
-		width: calc(70% - 70px);
+		width: calc(100% - 250px);
 		padding-left: 14px;
 		line-height: 24px;
 		color: #333333;
@@ -349,7 +349,7 @@ export default {
 		}
 	}
 	.child-endTime {
-		width: 30%;
+    width: 180px;
 		height: 36px;
 		padding-left: 20px;
 		display: flex;

+ 1 - 1
src/views/projectManage/taskList/childrenTask/childDetail.vue

@@ -104,8 +104,8 @@
               :list.sync="formData.childSubTaskInfos"
               :data="formData"
               :all-status="allStatus"
-              @change="changeArea('childSubTaskInfos')"
               @toDetail="toChild"
+              @change="getById()"
             />
           </div>
         </section>

+ 16 - 13
src/views/projectManage/taskList/childrenTask/childDrawer.vue

@@ -27,15 +27,15 @@
               >{{ item.msg }}</el-dropdown-item>
             </el-dropdown-menu>
           </el-dropdown>
-        </div>
-        <div class="bug-name-control">
-          <div class="name">{{ formData.name }}</div>
           <div class="control">
             <span @click="createChildren = true"><i class="el-icon-s-operation" />添加子任务</span>
             <span @click="toDetail()"><i class="el-icon-tickets" />查看详情</span>
             <span @click="deleteDialog = true"><i class="el-icon-delete" />删除</span>
           </div>
         </div>
+        <div class="bug-name-control">
+          <div class="name">{{ formData.name }}</div>
+        </div>
       </section>
       <section class="main-section">
         <div class="el-main-title">
@@ -329,6 +329,18 @@ export default {
 		align-items: center;
 		span {
 			margin-right: 17px;
+    }
+    .control {
+      margin-left: auto;
+      font-size: 14px;
+      color: #333333;
+			span {
+				cursor: pointer;
+				margin-right: 30px;
+			}
+			i {
+				margin-right: 5px;
+			}
 		}
 	}
 	.bug-name-control {
@@ -340,20 +352,11 @@ export default {
 		.name {
 			font-size: 18px;
 			color: #333333;
-			width: 40%;
+			width: 80%;
 			text-overflow: ellipsis;
 			overflow: hidden;
 			white-space: nowrap;
 		}
-		.control {
-			span {
-				cursor: pointer;
-				margin-right: 30px;
-			}
-			i {
-				margin-right: 5px;
-			}
-		}
 	}
 	/deep/.el-button--small{
 		padding: 9px 10px;

+ 3 - 0
src/views/projectManage/taskList/childrenTask/createChildren.vue

@@ -268,4 +268,7 @@ article {
     }
   }
 }
+article::-webkit-scrollbar{
+	display: none;
+}
 </style>