Zhu Zhonghua
2025-04-17 032a82a3609e5248d1bcb94d1c0ebfbebe9dbeb3
更新高亮标识
已修改1个文件
12 ■■■■ 文件已修改
src/views/mainPlan/weldSeam/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/weldSeam/index.vue
@@ -226,7 +226,8 @@
    title: '生产基地',
    field: 'productionBase',
    width: 150, 
    fixed: 'left'
    fixed: 'left',
    type: 'html'
  },
  {
    title: '订单需求',
@@ -275,6 +276,7 @@
    title: '是否满足',
    field: 'isSatisfy',
    width: 150,
    type: 'html'
  },
  { title: '操作', width: 100, fixed:"right", slots: { default: 'buttons' } }
]);
@@ -452,9 +454,9 @@
function getList() {
  loading.value = true;
  query(queryParams.value).then(response => {
    dataList.value = response.rows;
    let responseData = response.rows;
    // exportData.value = response.rows;
    dataList.value.forEach(item=>{
    responseData.forEach(item=>{
      let data = [];
      data.push(item.year);
      data.push(item.month);
@@ -469,8 +471,12 @@
      data.push(item.requirementDayWeldSeam);
      data.push(item.productionDayWeldSeam);
      data.push(item.isSatisfy);
      item.productionBase = item.isSatisfy === '否' ? `<div class='el-badge'><sup class="el-badge__content is-fixed is-dot" style="right: 2px; top: 2px;"></sup>${item.productionBase}</div>` : item.productionBase
      item.isSatisfy = item.isSatisfy === '否' ? `<font color='red'>${item.isSatisfy}</font>` : item.isSatisfy
      exportData.value.push(data);
    })
    dataList.value = responseData;
    loading.value = false;
  });
}