fix: clean and adjust
This commit is contained in:
parent
aba75d06cc
commit
3882678e9f
3 changed files with 40 additions and 31 deletions
|
|
@ -873,6 +873,7 @@ watch(locale, () => {
|
||||||
onSubmit();
|
onSubmit();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
:close="() => (modal = false)"
|
||||||
>
|
>
|
||||||
<template #information>
|
<template #information>
|
||||||
<FormBranchInformation
|
<FormBranchInformation
|
||||||
|
|
|
||||||
|
|
@ -975,7 +975,6 @@ async function assignFormDataEmployee(id: string) {
|
||||||
citizenId: fetchOther.citizenId,
|
citizenId: fetchOther.citizenId,
|
||||||
};
|
};
|
||||||
|
|
||||||
formDataEmployeeTab.value = 'personalInfo';
|
|
||||||
currentEmployeeCode.value = foundEmployee.code;
|
currentEmployeeCode.value = foundEmployee.code;
|
||||||
currentEmployee.value = foundEmployee;
|
currentEmployee.value = foundEmployee;
|
||||||
profileUrl.value = foundEmployee.profileImageUrl;
|
profileUrl.value = foundEmployee.profileImageUrl;
|
||||||
|
|
@ -1713,25 +1712,25 @@ watch(selectorLabel, async () => {
|
||||||
:title="$t('customerCardUserType')"
|
:title="$t('customerCardUserType')"
|
||||||
no-footer
|
no-footer
|
||||||
no-app-box
|
no-app-box
|
||||||
max-width="80%"
|
width="60vw"
|
||||||
|
height="50vh"
|
||||||
|
:close="() => (dialogCustomerType = false)"
|
||||||
>
|
>
|
||||||
<template #body>
|
<div class="row full-width items-center">
|
||||||
<div class="row q-gutter-xl q-pa-sm">
|
<ItemCard
|
||||||
<ItemCard
|
class="col q-mx-sm"
|
||||||
class="col"
|
v-for="i in itemCard"
|
||||||
v-for="i in itemCard"
|
:key="i.text"
|
||||||
:key="i.text"
|
:icon="i.icon"
|
||||||
:icon="i.icon"
|
:text="i.text"
|
||||||
:text="i.text"
|
:color="i.color"
|
||||||
:color="i.color"
|
@trigger="
|
||||||
@trigger="
|
() => {
|
||||||
() => {
|
triggerCreate(i.text === 'customerLegalEntity' ? 'CORP' : 'PERS');
|
||||||
triggerCreate(i.text === 'customerLegalEntity' ? 'CORP' : 'PERS');
|
}
|
||||||
}
|
"
|
||||||
"
|
/>
|
||||||
/>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</FormDialog>
|
</FormDialog>
|
||||||
|
|
||||||
<FormDialog
|
<FormDialog
|
||||||
|
|
@ -1743,7 +1742,11 @@ watch(selectorLabel, async () => {
|
||||||
onSubmit();
|
onSubmit();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
:close="() => {}"
|
:close="
|
||||||
|
() => {
|
||||||
|
dialogInputForm = false;
|
||||||
|
}
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<ProfileUpload
|
<ProfileUpload
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import ServiceProperties from 'src/components/04_product-service/ServiceProperti
|
||||||
import WorkNameManagement from 'src/components/04_product-service/WorkNameManagement.vue';
|
import WorkNameManagement from 'src/components/04_product-service/WorkNameManagement.vue';
|
||||||
import useOptionStore from 'src/stores/options';
|
import useOptionStore from 'src/stores/options';
|
||||||
import FormServiceProperties from 'src/components/04_product-service/FormServiceProperties.vue';
|
import FormServiceProperties from 'src/components/04_product-service/FormServiceProperties.vue';
|
||||||
|
import InfoForm from 'src/components/02_personnel-management/InfoForm.vue';
|
||||||
|
|
||||||
import useFlowStore from 'src/stores/flow';
|
import useFlowStore from 'src/stores/flow';
|
||||||
import { Status } from 'src/stores/types';
|
import { Status } from 'src/stores/types';
|
||||||
|
|
@ -1763,17 +1764,21 @@ watch(currentPageService, async () => {
|
||||||
:close="() => (drawerInfo = false)"
|
:close="() => (drawerInfo = false)"
|
||||||
>
|
>
|
||||||
<template #info>
|
<template #info>
|
||||||
<AppBox class="q-ma-md" bordered>
|
<InfoForm noAddress>
|
||||||
<BasicInformation
|
<template #information>
|
||||||
dense
|
<!-- <AppBox class="q-ma-md" bordered> -->
|
||||||
:isType="productMode === 'type'"
|
<BasicInformation
|
||||||
:readonly="!isEdit"
|
dense
|
||||||
v-model:remark="formDataGroup.remark"
|
:isType="productMode === 'type'"
|
||||||
v-model:name="formDataGroup.name"
|
:readonly="!isEdit"
|
||||||
v-model:code="formDataGroup.code"
|
v-model:remark="formDataGroup.remark"
|
||||||
v-model:detail="formDataGroup.detail"
|
v-model:name="formDataGroup.name"
|
||||||
/>
|
v-model:code="formDataGroup.code"
|
||||||
</AppBox>
|
v-model:detail="formDataGroup.detail"
|
||||||
|
/>
|
||||||
|
<!-- </AppBox> -->
|
||||||
|
</template>
|
||||||
|
</InfoForm>
|
||||||
</template>
|
</template>
|
||||||
</DrawerInfo>
|
</DrawerInfo>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue