wangziqian 5 жил өмнө
parent
commit
c00bf67ae6

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

@@ -322,7 +322,7 @@ export default {
 	}
 	.children-item {
 		display: flex;
-		margin: 20px 0;
+		margin: 10px 0;
 	}
 	.child-status {
 		width: 70px;

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

@@ -315,7 +315,7 @@ export default {
         name: null,
         bizId: this.formData.bizId,
         endTime: null,
-        owner: '',
+        owner: this.formData.owner,
         status: 0,
         edit: true,
         newNode: true

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

@@ -38,7 +38,7 @@
       <el-table-column label="结束时间" width="120" align="center" prop="endTime" show-overflow-tooltip />
       <el-table-column label="任务进度" width="200" align="center">
         <template slot-scope="scope">
-          <el-progress :percentage="scope.row.process" color="#409eff" />
+          <el-progress :percentage="scope.row.process" color="#409eff" style="width: 100%" />
         </template>
       </el-table-column>
     </el-table>

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

@@ -201,7 +201,7 @@ export default {
       this.parentList = [{ id: data.id, name: data.name }]
       this.bizList = [{ id: data.bizId, name: data.bizIdString }]
       this.$nextTick(() => {
-        this.formData.owner = localStorage.getItem('username')
+        this.formData.owner = data.owner || localStorage.getItem('username') || ''
         this.formData.taskId = data.taskId || data.id
         this.formData.parentId = data.id
         this.formData.bizId = data.bizId