feat(01): la long map
This commit is contained in:
parent
e7c6a31bbf
commit
a91d783b12
4 changed files with 29 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ defineProps<{
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 bordered rounded column">
|
<div class="col-12 bordered rounded column">
|
||||||
<div class="q-pl-md q-py-sm app-text-muted bordered-b">location</div>
|
<!-- <div class="q-pl-md q-py-sm app-text-muted bordered-b">location</div> -->
|
||||||
|
|
||||||
<div v-if="!!longitude && !!latitude" class="col flex flex-center">
|
<div v-if="!!longitude && !!latitude" class="col flex flex-center">
|
||||||
<iframe
|
<iframe
|
||||||
|
|
@ -54,7 +54,7 @@ defineProps<{
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<q-btn
|
<!-- <q-btn
|
||||||
:text-color="$q.dark.isActive ? 'black' : 'white'"
|
:text-color="$q.dark.isActive ? 'black' : 'white'"
|
||||||
style="
|
style="
|
||||||
background: var(--blue-5);
|
background: var(--blue-5);
|
||||||
|
|
@ -67,8 +67,26 @@ defineProps<{
|
||||||
:label="$t('branch.form.shareLocation')"
|
:label="$t('branch.form.shareLocation')"
|
||||||
@click="getLocation()"
|
@click="getLocation()"
|
||||||
id="btn-get-location"
|
id="btn-get-location"
|
||||||
/>
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row full-width q-pt-sm">
|
||||||
|
<q-input
|
||||||
|
v-model="latitude"
|
||||||
|
:readonly="readonly"
|
||||||
|
:outlined="outlined"
|
||||||
|
:dense="dense"
|
||||||
|
:label="$t('branch.form.latitude')"
|
||||||
|
class="col q-mr-xs"
|
||||||
|
/>
|
||||||
|
<q-input
|
||||||
|
v-model="longitude"
|
||||||
|
:readonly="readonly"
|
||||||
|
:outlined="outlined"
|
||||||
|
:dense="dense"
|
||||||
|
:label="$t('branch.form.longitude')"
|
||||||
|
class="col q-ml-xs"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,8 @@ export default {
|
||||||
bankAccountNumber: 'Bank Account Number',
|
bankAccountNumber: 'Bank Account Number',
|
||||||
bankAccountName: 'Bank Account Name',
|
bankAccountName: 'Bank Account Name',
|
||||||
bankAccountType: 'Bank Account Type',
|
bankAccountType: 'Bank Account Type',
|
||||||
|
latitude: 'Latitude',
|
||||||
|
longitude: 'Longitude',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,8 @@ export default {
|
||||||
bankAccountNumber: 'เลขบัญชี',
|
bankAccountNumber: 'เลขบัญชี',
|
||||||
bankAccountName: 'ชื่อบัญชี',
|
bankAccountName: 'ชื่อบัญชี',
|
||||||
bankAccountType: 'ประเภทบัญชี',
|
bankAccountType: 'ประเภทบัญชี',
|
||||||
|
latitude: 'ละติจูด',
|
||||||
|
longitude: 'ลองจิจูด',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1559,6 +1559,8 @@ watch(currentHq, () => {
|
||||||
:separator="true"
|
:separator="true"
|
||||||
v-model:latitude="formData.latitude"
|
v-model:latitude="formData.latitude"
|
||||||
v-model:longitude="formData.longitude"
|
v-model:longitude="formData.longitude"
|
||||||
|
outlined
|
||||||
|
dense
|
||||||
title="branch.form.group.location"
|
title="branch.form.group.location"
|
||||||
/>
|
/>
|
||||||
<FormQr
|
<FormQr
|
||||||
|
|
@ -1792,6 +1794,8 @@ watch(currentHq, () => {
|
||||||
v-model:longitude="formData.longitude"
|
v-model:longitude="formData.longitude"
|
||||||
:readonly="formType === 'view'"
|
:readonly="formType === 'view'"
|
||||||
:separator="true"
|
:separator="true"
|
||||||
|
outlined
|
||||||
|
dense
|
||||||
class="q-mb-xl"
|
class="q-mb-xl"
|
||||||
/>
|
/>
|
||||||
<FormQr
|
<FormQr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue