Mr.Zhang
2023-08-23 11da32de75cc1f04691676349ff17853b42f8722
screen_standard/src/views/process.vue
@@ -166,6 +166,7 @@
})
function initData() {
  console.log(enterprise.departId);
  // 计划数
  getProcedurePlanData(enterprise.companyId, enterprise.departId, { procedureId: route.query.procedureId })
    .then(res => {
@@ -249,14 +250,14 @@
    scrollDom = planContainer.value
  } else {
    // 如果列表数量过少不进行滚动
    if (scrollDom.children.length < 10) {
    if (scrollDom.children.length < 11) {
      clearTimeout(planTimer.value)
      return
    }
    // 组件进行滚动
    scrollDom.scrollTop += 1.5
    scrollDom.scrollTop += 2
    // 判断是否滚动到底部
    if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight)) {
    if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight - 2)) {
      // 获取组件第一个节点
      let first = scrollDom.children[0]
      // 删除节点
@@ -495,13 +496,14 @@
    flex: 1;
    margin-right: 20px;
    .proccess-plan {
      height: 424px;
      height: 464px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      margin-bottom: 20px;
    }
    .today-yield {
      height: 222px;
      height: calc(100vh - 690px);
      min-height: 226px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      .yield-content {
@@ -601,13 +603,14 @@
    flex: 1;
    .report-log {
      height: 424px;
      height: 464px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      margin-bottom: 20px;
    }
    .bad-diagram {
      height: 222px;
      height:calc(100vh - 690px);;
      min-height: 226px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      .bad-content {