qinzhipeng_v 5 yıl önce
ebeveyn
işleme
f41d458b33

+ 9 - 22
src/views/projectManage/requirement/requirementDetail.vue

@@ -116,7 +116,7 @@
             <div class="title-left-name">
               <div class="require-plan">
                 需求计划
-                <span>🔒已锁定</span>
+                <div> 🔒已锁定</div>
                 <span><i class="el-icon-warning-outline" />每个任务仅支持一次提测和一次准出,请合理拆解后任务再排期</span>
               </div>
             </div>
@@ -136,7 +136,8 @@
                   color="#409EFF"
                   size="large"
                   :timestamp="item.timestamp"
-                  style="padding: 2px"
+                  class="timeline"
+                  @click.native="clickScheduling(item)"
                 >
                   <div>{{ item.modifyTime }}</div>
                   <div>{{ item.operatorObject.name !== null ? item.operatorObject.name : '' }}{{ item.operation }}</div>
@@ -291,24 +292,6 @@ export default {
   },
   data() {
     return {
-      activities: [{
-        content: '支持使用图标',
-        timestamp: '2018-04-12 20:46',
-        size: 'large',
-        type: 'primary',
-        icon: 'el-icon-more'
-      }, {
-        content: '支持自定义颜色',
-        timestamp: '2018-04-03 20:46',
-        color: '#0bbd87'
-      }, {
-        content: '支持自定义尺寸',
-        timestamp: '2018-04-03 20:46',
-        size: 'large'
-      }, {
-        content: '默认样式的节点',
-        timestamp: '2018-04-03 20:46'
-      }],
       activeName: '1', // 顶部tab切换
       userInformation: localStorage.getItem('username'),
       userNames: localStorage.getItem('realname'),
@@ -533,8 +516,12 @@ export default {
     margin:0px 30px 20px 0px;
     cursor: pointer;
   }
-  .Scheduling:hover {
-      color:#409EFF;
+  .timeline {
+    padding: 2px;
+    cursor: pointer;
+  }
+  .timeline:hover {
+      color:#409EFF !important;
     }
   .detail-info {
     padding: 0 34px 20px 34px;