| | |
| | | <div class="map-container"> |
| | | <div class="map-header" |
| | | style="margin-bottom: 10px"> |
| | | <el-button @click="getCurrentLocation"> |
| | | <!-- <el-button @click="getCurrentLocation"> |
| | | <el-icon> |
| | | <Position /> |
| | | </el-icon> |
| | | 当前位置 |
| | | </el-button> |
| | | <span style="margin-left: 10px; color: #909399;font-size: 12px;">点击地图选择位置</span> |
| | | </el-button> --> |
| | | <!-- <span style="margin-left: 10px; color: #909399;font-size: 12px;">点击地图选择位置</span> --> |
| | | </div> |
| | | <div id="map-container" |
| | | class="map" |
| | |
| | | }); |
| | | |
| | | const dialogTitle = computed(() => { |
| | | if (props.operationType === "add") return "新增打卡规则"; |
| | | if (props.operationType === "edit") return "编辑打卡规则"; |
| | | return "查看打卡规则"; |
| | | if (props.operationType === "add") return "新增班次"; |
| | | if (props.operationType === "edit") return "编辑班次"; |
| | | return "查看班次"; |
| | | }); |
| | | |
| | | // 表单数据 |