地图初始测试

This commit is contained in:
Teo
2025-04-18 18:03:05 +08:00
parent 85ee9fba77
commit 68648072de
13 changed files with 1737264 additions and 17 deletions

View File

@ -16,6 +16,7 @@
<p>{{ visitCount }}</p>
</div>
</div>
<openLayersMap></openLayersMap>
</div>
</template>

View File

@ -18,7 +18,14 @@
</el-select>
</el-form-item>
<el-form-item label="打卡日期" prop="clockDate">
<el-date-picker clearable v-model="queryParams.clockDate" type="date" value-format="YYYY-MM-DD" placeholder="请选择打卡日期" />
<el-date-picker
clearable
v-model="queryParams.clockDate"
type="date"
value-format="YYYY-MM-DD"
placeholder="请选择打卡日期"
@change="selectDate"
/>
</el-form-item>
<el-form-item>
@ -164,9 +171,7 @@
<template #date-cell="{ data }">
<div class="flex-c" @click="handleViewPlayCard(data)">
<p class="time">{{ day(data) }}</p>
<img v-if="!isplayCard(data)" src="http://zmkg.cqet.top:8899/assets/empty-CZvxqguX.png" /><span v-if="!isplayCard(data)"
>暂无打卡记录</span
>
<img v-if="!isplayCard(data)" src="@/assets/icons/svg/empty-CZvxqguX.png" /><span v-if="!isplayCard(data)">暂无打卡记录</span>
<div v-if="isplayCard(data)" class="flex-r"><div class="circle" :class="'status' + attendanceStatus(data)"></div></div>
<div v-if="isplayCard(data)" class="flex justify-center flex-col w100% items-center">
<el-button type="primary" plain size="small" class="w70% my-2" v-if="workTime(data)">{{ workTime(data) }} 上班打卡</el-button>
@ -307,6 +312,10 @@ const handleMonth = async (e: any) => {
handleCalendarMonth(e);
};
const selectDate = (e: any) => {
handleQuery();
};
const handleCalendarMonth = async (e?) => {
let clockMonth;
if (e) {

View File

@ -92,7 +92,9 @@
uploadUrl="/project/constructionUserFile/upload/zip"
:limit="1"
:file-size="50"
/>
>
<el-button type="warning" plain icon="Edit">导入员工资料 </el-button>
</file-upload>
</el-col>
</el-row>

View File

@ -43,7 +43,7 @@
</el-tooltip>
</el-col>
<el-col :span="1.5">
<el-button type="primary" plain icon="Download" :disabled="single" @click="handleDownload()">批量下载</el-button>
<el-button type="primary" plain icon="Download" :disabled="single" @click="handleDownload()">批量下载试卷</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>

View File

@ -12,8 +12,8 @@
<el-descriptions-item :span="2" label="班会内容">{{ teamMeetingDetail?.content }}</el-descriptions-item>
<el-descriptions-item :span="2" label="班会图片">
<el-space wrap>
<span :key="item.id" v-for="item in teamMeetingDetail?.pictureUrl">
<image-preview :src="item.name" width="200px" />
<span :key="item" v-for="item in teamMeetingDetail?.pictureUrlList">
<image-preview :src="item" width="200px" />
</span>
</el-space>
</el-descriptions-item>