Commit 06469e96 authored by 张伯涛's avatar 张伯涛

修改

parent cf814caf
......@@ -49,7 +49,7 @@
:data="item.tableData"
style="margin-top: 10px"
>
<el-table-column v-for="(item1, index1) in item.column" :key="index1" align="center" :label="item1.label" :prop="item1.prop" :min-width="item1.width">
<el-table-column v-for="(item1, index1) in item.column" :key="index1" align="center" :label="item1.label" :prop="item1.prop" :min-width="item1.width" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="(item1.label.indexOf('Scan') !== -1 || item1.label.indexOf('Test') !== -1 || item1.label.indexOf('Repair') !== -1) && scope.row[item1.prop] !== 0" style="cursor: pointer; color: #D20A10" @click="openModel(item, item1, scope.row)">{{ scope.row[item1.prop] }}</span>
<span v-else :style="{color: scope.row[item1.prop] === 0 ? '#D20A10' : '#606266'}">{{ scope.row[item1.prop] }}</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment