| | |
| | | |
| | | <div class="right-toolbar"> |
| | | <el-button type="primary" :disabled="!currentStandard" @click="openBindingDialog">添加绑定</el-button> |
| | | <el-button type="danger" plain :disabled="!currentStandard" @click="handleBatchUnbind">删除</el-button> |
| | | <el-button type="danger" plain :disabled="!currentStandard" @click="handleBatchUnbind" v-hasPermi="['qualityManagement:metricBinding:remove']">删除</el-button> |
| | | </div> |
| | | |
| | | <el-table |
| | |
| | | <el-table-column prop="productName" label="产品名称" min-width="140" /> |
| | | <el-table-column label="操作" width="120" fixed="right" align="center"> |
| | | <template #default="{ row }"> |
| | | <el-button link type="danger" size="small" @click="handleUnbind(row)">删除</el-button> |
| | | <el-button link type="danger" size="small" @click="handleUnbind(row)" v-hasPermi="['qualityManagement:metricBinding:remove']">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |