|
|
|
@ -9,11 +9,11 @@
|
|
|
|
|
<a-tabs @change="tabChange" v-model:activeKey="activeKey">
|
|
|
|
|
<a-tab-pane key="0" tab="机构信息">
|
|
|
|
|
<BasicForm @register="registerForm">
|
|
|
|
|
<template #isDepartment="item">
|
|
|
|
|
<a-switch @change="changeIsDepartment" v-model:checked="item.values.isDepartment" /> <span class="s-txt" :class="{ 's-active': item.values.isDepartment }">{{ item.values.isDepartment ? '是' : '否'}}</span>
|
|
|
|
|
<template #isDepartment="{ model }">
|
|
|
|
|
<a-switch @change="changeIsDepartment" v-model:checked="model.isDepartment" /> <span class="s-txt" :class="{ 's-active': model.isDepartment }">{{ model.isDepartment ? '是' : '否'}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template #status="item">
|
|
|
|
|
<a-switch @change="changeStatus" v-model:checked="item.values.status" /> <span class="s-txt" :class="{ 's-active': item.values.status }">{{ item.values.status ? '启用' : '禁用'}}</span>
|
|
|
|
|
<template #status="{ model }">
|
|
|
|
|
<a-switch @change="changeStatus" v-model:checked="model.status" /> <span class="s-txt" :class="{ 's-active': model.status }">{{ model.status ? '启用' : '禁用'}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicForm>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|