Browse Source

样式调整

pull/108/head
liwei 3 years ago
parent
commit
f8c194ca6d
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      src/views/productplan/workbench/schedule.vue

+ 9
- 4
src/views/productplan/workbench/schedule.vue View File

@ -619,12 +619,13 @@
const taskDom = document.getElementById('task-details');
taskDom.style.display = 'block';
taskDom.style.top = event.clientY + 5 + 'px';
taskDom.style.left = event.clientX - 310 + 'px';
taskDom.style.left = event.clientX - 325 + 'px';
const taskId = item.getAttribute('task_id');
const findItem = _this.taskData.find(e => e.TaskId == taskId);
console.log(findItem);
if (findItem) {
taskDom.innerHTML =
`<div class="work-datails-wrap"><p class='task-details-title'>名称:${findItem.Wotab['OM_WorkOrder-OrderInfo']}</p><p>编号:${findItem.TaskId}</p><p>数量:${findItem.PlanQty}</p></div>`
`<div class="work-datails-wrap"><p class='task-details-title'>名称:${findItem.Wotab['OM_WorkOrder-OrderInfo']}</p><p>编号:${findItem.TaskId}</p><p>数量:${findItem.PlanQty}</p><p>开始时间:${moment(findItem.SchedStartTime).format('YYYY-MM-DD HH:mm:ss')}</p><p>结束时间:${moment(findItem.SchedEndTime).format('YYYY-MM-DD HH:mm:ss')}</p></div>`
} else {
taskDom.innerHTML = "";
}
@ -1264,8 +1265,8 @@
position: absolute;
top: 0;
left: 0;
width: 200px;
height: 100px;
width: 230px;
min-height: 100px;
box-sizing: border-box;
padding: 5px;
background: #000000;
@ -1334,4 +1335,8 @@ ul li {
width: 90%;
background: #f1f3fa;
}
/deep/ .el-radio-button__orig-radio:checked+.el-radio-button__inner{
background: rgb(10, 112, 143);
border-color: rgb(10, 112, 143);
}
</style>

Loading…
Cancel
Save