|
|
@@ -160,35 +160,35 @@ function onPasswordReset(row: { ocId: number; adminId: number; adminName: string
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="center" label="状态" width="120">
|
|
|
+ <el-table-column align="center" label="License控制" width="120">
|
|
|
<template #default="scope">
|
|
|
- <div v-if="scope.row.isFixed !== 1">
|
|
|
+ <div>
|
|
|
<el-switch
|
|
|
- v-model="scope.row.status"
|
|
|
+ v-model="scope.row.ifLic"
|
|
|
:active-value="1"
|
|
|
:inactive-value="0"
|
|
|
:loading="scope.row.loading"
|
|
|
inline-prompt
|
|
|
active-text="启用"
|
|
|
inactive-text="禁用"
|
|
|
- @change="() => onStatusChange(scope.row.status, scope.row)"
|
|
|
+ @change="() => onLicStatusChange(scope.row.ifLic, scope.row)"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="center" label="License控制" width="120">
|
|
|
+ <el-table-column align="center" label="状态" width="120">
|
|
|
<template #default="scope">
|
|
|
- <div>
|
|
|
+ <div v-if="scope.row.isFixed !== 1">
|
|
|
<el-switch
|
|
|
- v-model="scope.row.ifLic"
|
|
|
+ v-model="scope.row.status"
|
|
|
:active-value="1"
|
|
|
:inactive-value="0"
|
|
|
:loading="scope.row.loading"
|
|
|
inline-prompt
|
|
|
active-text="启用"
|
|
|
inactive-text="禁用"
|
|
|
- @change="() => onLicStatusChange(scope.row.status, scope.row)"
|
|
|
+ @change="() => onStatusChange(scope.row.status, scope.row)"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|