|
@@ -26,13 +26,11 @@
|
|
|
<!-- 任务表格 -->
|
|
|
<el-table ref="taskList" :data="tableData" :cell-class-name="addClass" :header-cell-style="{ background: 'rgba(247,247,247,1)', color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}" border :show-header="false" @selection-change="handleSelectionChange">
|
|
|
<el-table-column v-if="locking" type="selection" width="50" align="center" />
|
|
|
- <el-table-column label="任务" width="300" align="left">
|
|
|
+ <el-table-column label="任务" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="!scope.row.vsInput" @mouseover="scope.row.vVisible = true" @mouseout="scope.row.vVisible = false">
|
|
|
<div class="templatName">
|
|
|
- <div class="involveApp-top-bottom">
|
|
|
- <span class="el-involveApp">{{ scope.row.involveAppString || "" }}</span>
|
|
|
- </div>
|
|
|
+ <div class="involveApp-top-bottom el-involveApp">{{ scope.row.involveAppString || "" }} </div>
|
|
|
<el-tooltip class="item" effect="dark" :content="scope.row.moduleInfoName" placement="top">
|
|
|
<span v-if="scope.row.moduleInfoName !== null" ref="Simulation">{{ scope.row.moduleInfoName.length >= 24 ? scope.row.moduleInfoName.substring(0,25) + '...' : scope.row.moduleInfoName }}</span>
|
|
|
</el-tooltip>
|
|
@@ -73,7 +71,7 @@
|
|
|
|
|
|
<div class="Layout_space_between" style="margin-bottom: 10px;">
|
|
|
<span v-if="scope.row.isDirectlyFromDpm === 0 || scope.row.isDirectlyFromDpm === 1">
|
|
|
- <el-tooltip class="item" effect="dark" :content="scope.row.relatedDpmTaskInfo.taskId + scope.row.relatedDpmTaskInfo.name" placement="top">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="scope.row.relatedDpmTaskInfo.taskId + ' ' + scope.row.relatedDpmTaskInfo.moduleInfoName + ' ' + scope.row.relatedDpmTaskInfo.name" placement="top">
|
|
|
<img class="cursorPo img-logo" src="@/assets/home_images/WX20200914-141851@2x.png" @click="jump(scope.row.dpmUrl)">
|
|
|
</el-tooltip>
|
|
|
<i v-if="scope.row.isDirectlyFromDpm === 0" class="el-icon-circle-close sty-icon cursorPo" @click="delete_dpl(scope.row.id)" />
|
|
@@ -135,7 +133,7 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="任" style="padding: 20px;">
|
|
|
+ <el-table-column label="任">
|
|
|
<template slot-scope="scope">
|
|
|
<schedule-list :id="scope.row.id" ref="taskSchedule" :locking="locking" :select-task-list="taskList" :required-list="taskScheduleLists(scope.row.id)" @listByTask="listByTask(requirementId)" />
|
|
|
</template>
|
|
@@ -227,8 +225,9 @@ export default {
|
|
|
requiredList: {
|
|
|
handler(newV, old) {
|
|
|
if (newV.length === 0) {
|
|
|
- console.log('没有数据')
|
|
|
+ this.listByTask(this.requirementId)
|
|
|
} else {
|
|
|
+ alert(2)
|
|
|
this.tableData = newV.taskDetailList // 任务list
|
|
|
this.dataList = newV // 排期
|
|
|
this.scheduleList = newV.scheduleDetailRespons || []
|
|
@@ -521,7 +520,7 @@ export default {
|
|
|
width:100px;
|
|
|
background:rgba(245,245,245,1);
|
|
|
opacity:1;
|
|
|
- padding: 2px 10px;
|
|
|
+ padding: 1px 10px;
|
|
|
border-radius:20px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|