소스 검색

优化工作流样式

qinzhipeng_v 5 년 전
부모
커밋
ed17341459

+ 5 - 9
src/views/projectManage/components/timeLine.vue

@@ -137,7 +137,7 @@ export default {
     content: '';
     position: absolute;
     height: 50px;
-    border: 1px solid rgba(1,86,165,1);
+    border: 1px solid rgba(24,144,255,1);
     left: 50%;
     bottom: -16px;
     transform: translate(-50%,33px);
@@ -147,7 +147,7 @@ export default {
     // display:none;
     position: absolute;
     height: 50px;
-    border: 1px solid rgba(85,163,0,1);
+    border: 1px solid rgba(126,211,33,1);
     left: 50%;
     bottom: -16px;
     transform: translate(-50%,33px);
@@ -165,7 +165,7 @@ export default {
     content: '';
     position: absolute;
     height: 50px;
-    border:1px solid rgba(214,0,0,1);
+    border:1px solid rgba(245,108,108,1);
     left: 50%;
     bottom: -16px;
     transform: translate(-50%,33px);
@@ -174,26 +174,22 @@ export default {
   .circle-of {
     position: absolute;
     border-radius: 50%;
-    width: 12px;
-    height: 12px;
+    width: 13px;
+    height: 13px;
     z-index: 99;
   }
 
   .circle-in {
     background: rgba(24,144,255,1);
-    border: 1px solid rgba(1,86,165,1);
   }
   .circle-is {
     background:rgba(126,211,33,1);
-    border:1px solid rgba(85,163,0,1);
   }
   .circle-iq {
     background:rgba(153,153,153,1);
-    border:1px solid rgba(153,153,153,1);
   }
   .circle-ia {
     background:rgba(245,108,108,1);
-    border:1px solid rgba(214,0,0,1);
   }
 
    .content1,.content2 {

+ 2 - 1
src/views/projectManage/requirement/requirementDetail.vue

@@ -230,7 +230,7 @@
               </div>
             </el-tab-pane>
             <el-tab-pane label="变更记录" name="second">
-              <record :id="requirementId" :name="'需求'" />
+              <record :id="requirementId" ref="record" :name="'需求'" />
             </el-tab-pane>
           </el-tabs>
 
@@ -599,6 +599,7 @@ export default {
       })
       if (res.code === 200) {
         this.$refs.timeLine1.taskGetWorkFlow()
+        this.$refs.record.operationLogTask()
         this.$message({ message: '修改成功', type: 'success', duration: 1000, offset: 150 })
       }
       this.getRequirementById()

+ 2 - 1
src/views/projectManage/taskList/taskViewDetail.vue

@@ -242,7 +242,7 @@
               </div>
             </el-tab-pane>
             <el-tab-pane label="变更记录" name="second">
-              <record :id="taskId" :name="'任务'" />
+              <record :id="taskId" ref="record" :name="'任务'" />
             </el-tab-pane>
           </el-tabs>
 
@@ -627,6 +627,7 @@ export default {
         const resTask = await taskUpdate({ taskInfoDO, user })
         if (resTask.code === 200) {
           this.$refs.timeLine.taskGetWorkFlow()
+          this.$refs.record.operationLogTask()
           this.taskGet()
           this.$message({ message: '修改成功', type: 'success', offset: 150 })
         }