| | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" |
| | | v-hasPermi="['platform:score:add']">新增</el-button> |
| | | v-hasPermi="['contract:score: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" |
| | | v-hasPermi="['platform:score:remove']">删除</el-button> |
| | | v-hasPermi="['contract:score:remove']">删除</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" |
| | | v-hasPermi="['platform:score:export']">导出</el-button> |
| | | v-hasPermi="['contract:score:export']">导出</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)">详情</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-s-check" @click="handleAuditing(scope.row)" |
| | | v-hasPermi="['default:audit']" v-if="scope.row.auditingStatus === '待审核'">审核</el-button> |
| | | v-hasPermi="['contract:score:audit']" v-if="scope.row.auditingStatus === '待审核'">审核</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| | | v-if="scope.row.auditingStatus === '待审核'" v-hasPermi="['system:auditing:edit']">修改</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button> |
| | | v-if="scope.row.auditingStatus === '待审核'" v-hasPermi="['contract:score:edit']">修改</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['contract:score:remove']">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |