This commit is contained in:
parent
9a836d995b
commit
808829b5b1
|
|
@ -38,11 +38,28 @@
|
|||
<el-table-column
|
||||
align="center"
|
||||
:key="column.prop"
|
||||
:prop="column.prop"
|
||||
:label="column.label"
|
||||
show-overflow-tooltip
|
||||
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">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
|
|
@ -143,6 +160,14 @@ export default {
|
|||
label: '实际结束时间',
|
||||
prop: 'endTime',
|
||||
},
|
||||
{
|
||||
label: '计划进度',
|
||||
prop: 'planAccess',
|
||||
},
|
||||
{
|
||||
label: '实际进度',
|
||||
prop: 'exeAccess',
|
||||
},
|
||||
],
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue