|
|
@@ -5,8 +5,10 @@
|
|
|
<a-button type="primary" @click="handleCreate">{{ t('layout.map.addPro') }}</a-button>
|
|
|
</template>
|
|
|
<template #isShow="{ record }">
|
|
|
+ <!-- gpsNum: {{ record.gpsNum }} -->
|
|
|
<Switch
|
|
|
:checked="record.isShow"
|
|
|
+ :disabled="record.lat === null && record.lon === null"
|
|
|
:checkedValue="1"
|
|
|
:unCheckedValue="0"
|
|
|
@click="handleUpdateSwitch(record)"
|
|
|
@@ -47,6 +49,7 @@
|
|
|
label: t('common.delText'),
|
|
|
tooltip: t('common.delText'),
|
|
|
popConfirm: {
|
|
|
+ placement: 'left',
|
|
|
title: t('common.delConfirm'),
|
|
|
confirm: handleDelete.bind(null, record),
|
|
|
},
|