瀏覽代碼

质检进度显示

695593266@qq.com 4 月之前
父節點
當前提交
7151e8efd4
共有 1 個文件被更改,包括 26 次插入0 次删除
  1. 26 0
      src/views/produce/components/workPlan/index.vue

+ 26 - 0
src/views/produce/components/workPlan/index.vue

@@ -196,6 +196,32 @@
               </template>
             </el-popconfirm>
           </template>
+
+          <template v-slot:templateList="{ row }">
+            <div style="width: 250px; max-height: 60px; overflow: auto">
+              <el-tag
+                v-for="item in row.templateList"
+                :key="item.id"
+                :type="
+                  inspectionProjectStatus.find(
+                    (ProjectStatus) => ProjectStatus.value == item.status
+                  )?.type
+                "
+                effect="dark"
+                style="margin-top: 4px"
+              >
+                <span
+                  :title="
+                    inspectionProjectStatus.find(
+                      (ProjectStatus) => ProjectStatus.value == item.status
+                    )?.label
+                  "
+                >
+                  {{ item.inspectionName }}
+                </span>
+              </el-tag>
+            </div>
+          </template>
         </ele-pro-table>
         <!--  -->
         <!-- <el-dialog title="修改" :visible.sync="certificateVisible" width="25%" :before-close="handleClose">