| | |
| | | v-hasPermi="['system:report:add']">单次报备</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="success" plain icon="el-icon-upload" size="mini" @click="handleImport">批量报备</el-button> |
| | | <el-button type="success" plain icon="el-icon-upload" size="mini" @click="handleImport" |
| | | v-hasPermi="['system:report:add']">批量报备</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" |
| | |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:report:edit']" v-if="scope.row.status === 2 || scope.row.status === 0">修改</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAuditing(scope.row)" |
| | | v-hasPermi="['system:report:edit']" v-if="scope.row.status === 0 || scope.row.status === 2">审核</el-button> |
| | | v-hasPermi="['system:report:auditing']" v-if="scope.row.status === 0 || scope.row.status === 2">审核</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-s-check" @click="handleAuditingRecord(scope.row.id)" |
| | | v-hasPermi="['system:report:record']">审核记录</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
| | |
| | | if (item.result === 0) { |
| | | return '审核中' |
| | | } else if (item.status === 1) { |
| | | return '审核通过' |
| | | return '通过' |
| | | } else if (item.status === 2) { |
| | | return '审核未通过' |
| | | return '未通过' |
| | | } |
| | | }, |
| | | auditingCancel() { |