tijiaoziliao

This commit is contained in:
shilixia 2021-03-18 11:05:31 +08:00
parent 610becb715
commit b8ebb0a049
2 changed files with 18 additions and 9 deletions

View File

@ -85,7 +85,7 @@
<template slot-scope="scope" >{{ scope.row.up_date }}</template>
</el-table-column>
<el-table-column label="上报人" >
<template slot-scope="scope">{{ scope.row.up_user }}</template>
<template slot-scope="scope" v-if="scope.row.up_user">{{ scope.row.up_user_.name }}</template>
</el-table-column>
<el-table-column sortable label="截止时间">
<template slot-scope="scope">{{ scope.row.end_date }}</template>
@ -103,12 +103,18 @@
<template slot-scope="scope" >{{ scope.row.belong_dept_.name }}</template>
</el-table-column>
<el-table-column label="记录状态">
<template slot-scope="scope">{{ scope.row.state }}</template>
</el-table-column>
<el-table-column label="是否适用">
<template slot-scope="scope">
<el-tag type="success" v-if="scope.row.is_yes"></el-tag>
<el-tag type="danger" v-else></el-tag></template>
<el-tag type="danger" v-if="scope.row.state == '待上报'">{{ scope.row.state }}</el-tag>
<el-tag type="warning" v-else-if="scope.row.state == '待整改'">{{ scope.row.state }}</el-tag>
<el-tag type="success" v-else-if="scope.row.state == '已确认'">{{ scope.row.state }}</el-tag>
<el-tag v-else-if="scope.row.state == '已上报'">{{ scope.row.state }}</el-tag>
</template>
</el-table-column>
<el-table-column label="上报文件">
<template slot-scope="scope" v-if="scope.row.files">
<el-link v-if="scope.row.files.length>1">{{scope.row.files.length}}个文件</el-link>
</template>
</el-table-column>
</el-table>
<pagination

View File

@ -66,9 +66,12 @@
}}</template>
</el-table-column>
<el-table-column label="状态">
<template slot-scope="scope">{{
scope.row.state
}}</template>
<template slot-scope="scope">
<el-tag type="danger" v-if="scope.row.state == '待上报'">{{ scope.row.state }}</el-tag>
<el-tag type="warning" v-else-if="scope.row.state == '待整改'">{{ scope.row.state }}</el-tag>
<el-tag type="success" v-else-if="scope.row.state == '已确认'">{{ scope.row.state }}</el-tag>
<el-tag v-else-if="scope.row.state == '已上报'">{{ scope.row.state }}</el-tag>
</template>
</el-table-column>
<el-table-column label="上报情况">
<template slot-scope="scope"