fix(02): drawer example
This commit is contained in:
parent
583c9d31a0
commit
7683116e62
1 changed files with 16 additions and 20 deletions
|
|
@ -1461,7 +1461,6 @@ watch(
|
||||||
:undo="() => undo()"
|
:undo="() => undo()"
|
||||||
:editData="() => (infoDrawerEdit = true)"
|
:editData="() => (infoDrawerEdit = true)"
|
||||||
>
|
>
|
||||||
<template #info>
|
|
||||||
<InfoForm
|
<InfoForm
|
||||||
:readonly="!infoDrawerEdit"
|
:readonly="!infoDrawerEdit"
|
||||||
v-model:address="formData.address"
|
v-model:address="formData.address"
|
||||||
|
|
@ -1471,7 +1470,11 @@ watch(
|
||||||
v-model:subDistrictId="formData.subDistrictId"
|
v-model:subDistrictId="formData.subDistrictId"
|
||||||
v-model:zipCode="formData.zipCode"
|
v-model:zipCode="formData.zipCode"
|
||||||
>
|
>
|
||||||
<template #person-card>
|
<div
|
||||||
|
class="col surface-1 q-ma-lg rounded bordered scroll row"
|
||||||
|
id="branch-info"
|
||||||
|
>
|
||||||
|
<div class="col-10 q-pa-md q-gutter-y-xl">
|
||||||
<ProfileUpload
|
<ProfileUpload
|
||||||
prefix-id="drawer-info-personnel"
|
prefix-id="drawer-info-personnel"
|
||||||
v-model:url-profile="profileUrl"
|
v-model:url-profile="profileUrl"
|
||||||
|
|
@ -1480,7 +1483,6 @@ watch(
|
||||||
@input-file="inputFile.click()"
|
@input-file="inputFile.click()"
|
||||||
@cancel-file="inputFile.value = ''"
|
@cancel-file="inputFile.value = ''"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- <AppBox class="surface-1" style="padding: 0">
|
<!-- <AppBox class="surface-1" style="padding: 0">
|
||||||
<PersonCard
|
<PersonCard
|
||||||
:can-edit-profile="infoDrawerEdit"
|
:can-edit-profile="infoDrawerEdit"
|
||||||
|
|
@ -1500,8 +1502,6 @@ watch(
|
||||||
@edit-profile="inputFile.click()"
|
@edit-profile="inputFile.click()"
|
||||||
/>
|
/>
|
||||||
</AppBox> -->
|
</AppBox> -->
|
||||||
</template>
|
|
||||||
<template #information>
|
|
||||||
<FormInformation
|
<FormInformation
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -1515,8 +1515,6 @@ watch(
|
||||||
v-model:username="formData.username"
|
v-model:username="formData.username"
|
||||||
v-model:userCode="userCode"
|
v-model:userCode="userCode"
|
||||||
/>
|
/>
|
||||||
</template>
|
|
||||||
<template #person>
|
|
||||||
<FormPerson
|
<FormPerson
|
||||||
prefix-id="drawer-info-personnel"
|
prefix-id="drawer-info-personnel"
|
||||||
dense
|
dense
|
||||||
|
|
@ -1532,8 +1530,6 @@ watch(
|
||||||
v-model:gender="formData.gender"
|
v-model:gender="formData.gender"
|
||||||
v-model:birthDate="formData.birthDate"
|
v-model:birthDate="formData.birthDate"
|
||||||
/>
|
/>
|
||||||
</template>
|
|
||||||
<template #by-type>
|
|
||||||
<FormByType
|
<FormByType
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -1554,9 +1550,9 @@ watch(
|
||||||
v-model:agencyFileList="agencyFileList"
|
v-model:agencyFileList="agencyFileList"
|
||||||
v-model:userId="userId"
|
v-model:userId="userId"
|
||||||
/>
|
/>
|
||||||
</template>
|
</div>
|
||||||
|
</div>
|
||||||
</InfoForm>
|
</InfoForm>
|
||||||
</template>
|
|
||||||
</DrawerInfo>
|
</DrawerInfo>
|
||||||
|
|
||||||
<!-- form -->
|
<!-- form -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue