| | |
| | | type="primary" |
| | | plain |
| | | @click="openForm('create')" |
| | | v-hasPermi="['data:arc:create']" |
| | | > |
| | | <Icon icon="ep:plus" class="mr-5px"/> |
| | | 新增 |
| | |
| | | <!-- 列表 --> |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list"> |
| | | <el-table-column label="编码" align="center" prop="code"/> |
| | | <el-table-column label="名称" align="center" prop="name"/> |
| | | <el-table-column label="归档周期" align="center" prop="type"/> |
| | | <el-table-column label="归档点位" align="center" prop="point"/> |
| | | <el-table-column label="计算方法" align="center" prop="calculate"/> |
| | | <el-table-column label="是否启用" align="center" prop="isEnable"/> |
| | | <el-table-column label="是否启用" align="center" prop="isEnable"> |
| | | <template #default="scope"> |
| | | <el-tag v-if="scope.row.isEnable === 1" size="small">是</el-tag> |
| | | <el-tag v-else size="small" type="danger">否</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" min-width="110" fixed="right"> |
| | | <template #default="scope"> |
| | | <el-button |
| | | link |
| | | type="primary" |
| | | @click="openForm('update', scope.row.id)" |
| | | v-hasPermi="['data:arc:update']" |
| | | > |
| | | 编辑 |
| | | </el-button> |
| | |
| | | link |
| | | type="danger" |
| | | @click="handleDelete(scope.row.id)" |
| | | v-hasPermi="['data:arc:delete']" |
| | | > |
| | | 删除 |
| | | </el-button> |