...
|
...
|
@@ -79,13 +79,16 @@ |
79
|
79
|
/>
|
80
|
80
|
</template>
|
81
|
81
|
<template #status="{ record }">
|
82
|
|
- <Switch
|
83
|
|
- :checked="record.status === 1"
|
84
|
|
- :loading="record.pendingStatus"
|
85
|
|
- checkedChildren="启用"
|
86
|
|
- unCheckedChildren="禁用"
|
87
|
|
- @change="(checked:boolean)=>hanldeSwitch(checked,record)"
|
88
|
|
- />
|
|
82
|
+ <Authority :value="PermissionDataFlowEnum.PERMISSION_STATUS">
|
|
83
|
+ <Switch
|
|
84
|
+ :checked="record.status === 1"
|
|
85
|
+ :loading="record.pendingStatus"
|
|
86
|
+ checkedChildren="启用"
|
|
87
|
+ unCheckedChildren="禁用"
|
|
88
|
+ @change="(checked:boolean)=>hanldeSwitch(checked,record)"
|
|
89
|
+ />
|
|
90
|
+ </Authority>
|
|
91
|
+ <Authority> 无权限 </Authority>
|
89
|
92
|
</template>
|
90
|
93
|
</BasicTable>
|
91
|
94
|
<DataFlowModal @register="registerModal" @success="handleSuccess" />
|
...
|
...
|
|