Răsfoiți Sursa

优化需求计划按键小组件

qinzhipeng_v@didiglobal.com 4 ani în urmă
părinte
comite
1493a36a08
1 a modificat fișierele cu 2 adăugiri și 5 ștergeri
  1. 2 5
      src/views/projectManage/components/demand.vue

+ 2 - 5
src/views/projectManage/components/demand.vue

@@ -28,7 +28,7 @@
       <el-table-column v-if="locking" type="selection" width="50" align="center" />
       <el-table-column label="任务" width="300">
         <template slot-scope="scope">
-          <div v-show="!scope.row.vsInput" @mouseover="scope.row.vVisible = true" @mouseout="scope.row.vVisible = false">
+          <div v-show="!scope.row.vsInput">
             <div class="templatName">
               <div class="involveApp-top-bottom el-involveApp">{{ scope.row.involveAppString || "" }} </div>
               <el-tooltip v-if="scope.row.moduleInfoName" class="item" effect="dark" :content="scope.row.moduleInfoName" placement="top">
@@ -88,7 +88,7 @@
                 <div v-if="scope.row.isDirectlyFromDpm === -1" slot="reference" class="btn-dpl" style=" cursor: pointer;" @click="getDplList(scope.row.id)"> 关联望岳 </div>
               </el-popover>
 
-              <div v-if="locking" v-show="scope.row.vVisible" class="iconEdit">
+              <div v-if="locking" class="iconEdit">
                 <el-tooltip class="item cursorPo lineHeight" effect="dark" :content="scope.row.isScheduleLocked === 1? '点击解锁排期' : '点击锁定排期'" placement="top">
                   <div :class="scope.row.isScheduleLocked === 1 ? 'el-icon-lock' : 'el-icon-unlock'" @click="changeSchedule(scope.row)" />
                 </el-tooltip>
@@ -252,7 +252,6 @@ export default {
           if (this.tableData !== null) {
             this.tableData = this.tableData.map(item => ({
               ...item,
-              vVisible: false,
               vsInput: false
             }))
           }
@@ -280,7 +279,6 @@ export default {
           this.taskScheduleEvent = res.data.scheduleDetailRespons // 排期详情
           this.tableData = this.tableData.map(item => ({
             ...item,
-            vVisible: false,
             vsInput: false
           }))
         })
@@ -395,7 +393,6 @@ export default {
         key === 2 ? val.qaOwner = value.idap : ''
       }
       val.vsInput = false
-      val.vVisible = false
       val.name = this.taskName.split(' ').join('').length === 0 ? val.name : this.taskName
       const taskInfoDO = val
       const user = { name: this.userNames, ename: this.userInformation, id: '' }