修改中心点定位

master
doublekou 1 year ago
commit d8b146a7a0

@ -390,8 +390,9 @@
<p>联系方式{{ formModel.customNid }}</p>
<div style="overflow-y: auto; max-height: 200px">
<p v-for="(item, index) in formModel.customStoreEntities" :key="index">
{{ `报名的门店${index + 1}` }} {{ item.storeName }} --
{{ `${item.reservationDate?.toString().split(' ')[0]} ${item.reservationTime}` }}
<span>{{ `报名的门店${index + 1}` }}{{ item.storeName }}</span>
<span>&nbsp;{{ item.reservationDate?.toString().split(' ')[0] }}</span>
<span>&nbsp;{{ item.reservationTime }}</span>
</p>
</div>
</a-modal>
@ -694,7 +695,7 @@ const match = async (detailAddress: string) => {
const resetForm = () => {
formModel.address = []
formModel.detailAddress = ''
formModel.radius = ''
formModel.radius = '5000'
// initMap()
listData.value.length = 0
map.value.clearMap()
@ -736,7 +737,7 @@ const storeResetForm = () => {
if (title.value !== '编辑预约') {
formModel.address = []
formModel.detailAddress = ''
formModel.radius = ''
formModel.radius = '5000'
}
formModel.customStoreEntities.length = 0

@ -111,7 +111,7 @@ const columns: ProColumns[] = [
dataIndex: 'enrollStatus',
customRender: function ({ record }: any) {
if (record.enrollStatus === 0) {
return h('div', '暂中')
return h('div', '暂中')
} else if (record.enrollStatus === 1) {
return h('div', '待分发')
} else if (record.enrollStatus === 2) {

@ -59,7 +59,7 @@
</a-col>
<a-col xs="24" :sm="24" :md="12">
<a-form-item label="预约时间">
<a-input v-model:value="item.reservationTime" placeholder="请输入" readonly />
<a-input v-model:value="item.reservationTime" placeholder="未选择" readonly />
</a-form-item>
</a-col>
</a-row>
@ -186,7 +186,7 @@ defineExpose({
const targetObj = formModel.customStoreVOList.find(
(i: any) => i.storeId === item.storeId
)
if (targetObj) {
if (targetObj && item.reservationDate) {
targetObj.reservationTime =
item.reservationDate.split(' ')[0] + ' ' + item.reservationTime
}

@ -157,11 +157,11 @@ const columns: ProColumns[] = [
},
{
title: '承接销售',
dataIndex: 'address'
dataIndex: 'userName'
},
{
title: '店铺地址',
dataIndex: 'userName'
dataIndex: 'address'
},
{
title: '创建日期',

Loading…
Cancel
Save