This commit is contained in:
parent
9a836d995b
commit
808829b5b1
|
|
@ -38,11 +38,28 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
:key="column.prop"
|
:key="column.prop"
|
||||||
:prop="column.prop"
|
|
||||||
:label="column.label"
|
:label="column.label"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
v-for="column in tableColumns"
|
v-for="column in tableColumns"
|
||||||
/>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<template
|
||||||
|
v-if="
|
||||||
|
column.prop === 'planAccess' ||
|
||||||
|
column.prop === 'exeAccess'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
scope.row[column.prop]
|
||||||
|
? scope.row[column.prop] + '%'
|
||||||
|
: '-'
|
||||||
|
}}
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
{{ scope.row[column.prop] }}
|
||||||
|
</template>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="140">
|
<el-table-column label="操作" align="center" width="140">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -143,6 +160,14 @@ export default {
|
||||||
label: '实际结束时间',
|
label: '实际结束时间',
|
||||||
prop: 'endTime',
|
prop: 'endTime',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '计划进度',
|
||||||
|
prop: 'planAccess',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '实际进度',
|
||||||
|
prop: 'exeAccess',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue