提交 29fc2eb6 编写于 作者: 刘英杰's avatar 刘英杰

v20241007 优化保存

上级 f6b5c471
......@@ -85,6 +85,7 @@ declare module 'vue' {
VanTabbarItem: typeof import('vant/es')['TabbarItem']
VanTabs: typeof import('vant/es')['Tabs']
VanTag: typeof import('vant/es')['Tag']
VanTextEllipsis: typeof import('vant/es')['TextEllipsis']
VanTreeSelect: typeof import('vant/es')['TreeSelect']
VanUploader: typeof import('vant/es')['Uploader']
ViewFiles: typeof import('./src/components/viewFiles.vue')['default']
......
......@@ -8,6 +8,7 @@
<span class="text-[14px] text-gray-400 ">{{ item.phone }}</span>
<div class="w-[50px] h-[50px] absolute right-2 top-3">
<slot name="image"></slot>
</div>
</div>
<div class=" p-3 w-full h-[60%]">
......
class Version {
constructor() {
this.version = 'Build 1.0.0 - 240919 1.0.1'
this.version = 'Build 1.0.0 - 241122 1.0.1'
}
}
......
......@@ -5,8 +5,9 @@
">
<div class="relative p-3 w-full h-[18%] border-b-[1px] flex items-center ">
<span class="font-black text-gray-600">{{ item.title }}</span>
<div class="w-[50px] h-[50px] absolute right-2 top-3">
<div class="w-[30px] h-[50px] absolute right-2 top-3">
<slot name="image"></slot>
<slot name="checkbox"></slot>
</div>
</div>
<div class=" p-3 w-full min-h-[60%] ">
......
......@@ -7,6 +7,7 @@ import CommonDataRequest from "@/api/commonDataRequest/systemSelf/index.js";
import * as api from '@/api/dist/controller/index.js'
import * as hooks from '@/hooks/index.js'
import * as config from "@/config/index.js";
import VersionValue from "@/config/modules/version.js";
const emit = defineEmits(['getTabBarIndex'])
const active = ref(0);
......@@ -250,95 +251,100 @@ onMounted(() => {
</van-popup>
<div class="w-full p-3 h-[calc(100%-66px)] relative">
<!-- <div class="mb-3 w-full flex flex-nowrap justify-between">
<van-cell-group
@click="go2Router('eventCatalogTeacherAdd')"
:style="{'margin':'0 !important','background':`url(${getImage('hb9fb3')})`,backgroundSize:'100% 100%'}"
class="w-[48.5%] h-[90px] p-3 van-haptics-feedback"
inset>
<div v-font:{size:17,family:`黑体`} class="text-white ">教师赛事申请</div>
<div
class="w-[65px] h-[25px] border border-[#fff] border-solid rounded-[15px] flex items-center justify-center">
<span v-font:{size:12,family:`黑体`,color:`#fff`}
class="text-[12px] text-yellow-600 font-serif">去申请</span>
</div>
</van-cell-group>
<van-cell-group
@click="go2Router('eventCatalogStudentAdd')"
:style="{'margin':'0 !important','background':`url(${getImage('hb9fb2')})`,backgroundSize:'100% 100%'}"
class="w-[48.5%] h-[90px] p-3 van-haptics-feedback"
inset>
<div v-font:{size:17,family:`黑体`} class="text-white ">学生赛事申请</div>
<div
class="w-[65px] h-[25px] border border-[#fff] border-solid rounded-[15px] flex items-center justify-center">
<span v-font:{size:12,family:`黑体`,color:`#fff`}
class="text-[12px] text-yellow-600 font-serif">去申请</span>
</div>
</van-cell-group>
</div>
<div class="w-full p-3 h-[calc(100%-66px)] relative box-border">
<div class="mb-3 w-full flex flex-nowrap justify-between">
<van-cell-group
@click="go2Router('eventCatalogTeacherEdit')"
:style="{'margin':'0 !important','background':`url(${getImage('hb9')})`,backgroundSize:'100% 100%'}"
class="w-[48.5%] p-3 h-[75px] flex items-center justify-between van-haptics-feedback"
inset>
<div v-font:{size:17,family:`黑体`,color:`#CE821F`} class=" text-white ">教师赛事调整</div>
<img :src="getImage('zy13')" class=" w-[25px] h-[25px]">
</van-cell-group>
<van-cell-group
@click="go2Router('eventCatalogStudentEdit')"
:style="{'margin':'0 !important','background':`url(${getImage('hb9fb1')})`,backgroundSize:'100% 100%'}"
class="w-[48.5%] p-3 h-[75px] flex items-center justify-between van-haptics-feedback"
inset>
<div v-font:{size:17,family:`黑体`,color:`#3AA38E`} class=" text-white ">学生赛事调整</div>
<img :src="getImage('zy14')" class=" w-[25px] h-[25px]">
</van-cell-group>
<p v-font:{size:17,family:`黑体`,color:`#323233`} class="my-3">2024年11月24日数据看板</p>
<div
class="mb-3 w-full flex flex-nowrap justify-between">
<van-cell-group
:style="{'margin':'0 !important'}"
class="w-[48.5%] p-3 min-h-[75px] flex items-center justify-between "
inset>
<div class=" text-white h-full ">
<div v-font:{size:18,family:`黑体`,color:`#3D9DE8`} class="font-bold">
{{ 66 }}人
</div>
<div v-font:{size:16,family:`黑体`,color:`#323233`}>未归</div>
</div>
-->
<p v-font:{size:17,family:`黑体`,color:`#323233`} class="my-3">赛事报名</p>
<div class="mb-3 w-full flex flex-nowrap justify-between">
<img :src="getImage('hb19')" class="ml-5 w-[30px] h-[30px]">
</van-cell-group>
<van-cell-group
:style="{'margin':'0 !important'}"
class="w-[48.5%] p-3 min-h-[75px] flex items-center justify-between "
inset>
<div class=" text-white h-full ">
<div v-font:{size:18,family:`黑体`,color:`#9190EF`} class="font-bold">
{{ 66 }}人
</div>
<div v-font:{size:16,family:`黑体`,color:`#323233`}>晚归</div>
</div>
<img :src="getImage('hb19fb1')" class="ml-5 w-[30px] h-[30px]">
</van-cell-group>
</div>
<div
class="mb-3 w-full flex flex-nowrap justify-between">
<van-cell-group
@click="go2('eventApplicationTeacherCompetition')"
:style="{'margin':'0 !important','background':`url(${getImage('zy10')})`,backgroundSize:'100% 100%'}"
class="w-[50%] px-6 py-4 h-[75px] flex items-center justify-between flex-wrap van-haptics-feedback"
:style="{'margin':'0 !important'}"
class="w-[48.5%] p-3 min-h-[75px] flex items-center justify-between "
inset>
<p v-font:{size:17,family:`黑体`,color:`#0F472C`} class="w-full">教师赛</p>
<p v-font:{size:12,family:`黑体`,color:`#84B09C`} class="w-full">去申请 >></p>
<div class=" text-white h-full ">
<div v-font:{size:18,family:`黑体`,color:`#F8B55B`} class="font-bold">
{{ 66 }}人
</div>
<div v-font:{size:16,family:`黑体`,color:`#323233`}>整夜未归</div>
</div>
<img :src="getImage('hb19fb3')" class="ml-5 w-[30px] h-[30px]">
</van-cell-group>
<van-cell-group
@click="go2('eventApplicationStudentCompetition')"
:style="{'margin':'0 !important','background':`url(${getImage('zy9')})`,backgroundSize:'100% 100%'}"
class="w-[50%] px-6 py-4 h-[75px] flex items-center justify-between flex-wrap van-haptics-feedback"
:style="{'margin':'0 !important'}"
class="w-[48.5%] p-3 min-min-h-[75px] flex items-center justify-between "
inset>
<p v-font:{size:17,family:`黑体`,color:`#0F472C`} class="w-full">学生赛</p>
<p v-font:{size:12,family:`黑体`,color:`#84B09C`} class="w-full">去申请 >></p>
<div class=" text-white h-full ">
<div v-font:{size:18,family:`黑体`,color:`#4DD88F`} class="font-bold">
{{ 66 }}人
</div>
<div v-font:{size:16,family:`黑体`,color:`#323233`}>24小时未进出</div>
</div>
<img :src="getImage('hb19fb2')" class="w-[30px] h-[30px]">
</van-cell-group>
</div>
<div
class="mb-3 w-full flex flex-nowrap justify-between">
<van-cell-group
:style="{'margin':'0 !important'}"
class="w-[48.5%] p-3 min-h-[75px] flex items-center justify-between "
inset>
<div class=" text-white h-full ">
<div v-font:{size:18,family:`黑体`,color:`#5DC2FF`} class="font-bold">
{{ 66 }}人
</div>
<div v-font:{size:16,family:`黑体`,color:`#323233`}>早出</div>
</div>
<img :src="getImage('jshd')" class="ml-5 w-[30px] h-[30px]">
</van-cell-group>
</div>
<p v-font:{size:17,family:`黑体`,color:`#323233`} class="my-3">状态预警</p>
<div @click="hooks.go2Router('abnormalStateOfStudentList')"
class="mb-3 ddd w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover">
<img :src="getImage('wodejiehuanjilulogo')" class="ml-5 w-[40px] h-[40px]">
<div class="w-[220px] h-full flex items-center">
<div class=" h-[40px] ccFlex">
<span class="ml-3 text-white text-[15px] font-bold">学生异常状态预警</span>
</div>
</div>
<div class="w-[calc(100%-280px)]">
<div class="ml-3 text-white font-bold">
<div class="w-[45px] h-[20px] bg-blue-100 rounded-[15px] flex items-center justify-center">
<span class="text-[11px] text-blue-600 font-serif">去查看</span>
</div>
</div>
</div>
</div>
<!-- version-->
<div class="w-full ccFlex mt-10 p-3 h-3 "
style="color: #b0b0b0;font-size: 10px">{{ VersionValue.version }}
</div>
<!-- footer 50px-->
<van-tabbar v-model="active" class="w-full h-[80px] " fixed @change="(e)=> emit('getTabBarIndex',e)">
<van-tabbar-item icon="home-o">申请
<template #icon>
<img :src="getImage('zy8')" class="w-[20px] h-[20px]"/>
</template>
</van-tabbar-item>
<van-tabbar-item icon="search">流程
<template #icon>
<img :src="getImage('zy5')" class="w-[20px] h-[20px]"/>
</template>
</van-tabbar-item>
<van-tabbar-item icon="search">统计
<template #icon>
<img :src="getImage('zy4')" class="w-[20px] h-[20px]"/>
</template>
</van-tabbar-item>
</van-tabbar>
</div>
</template>
......@@ -575,5 +581,8 @@ td {
/deep/ .van-cell__title {
font-size: 16px !important;
}
.ddd {
background-image: url("@/static/icon/changlanse.png");
background-size: cover;
}
</style>
export const abnormalStateOfStudent = [
{
name: 'abnormalStateOfStudentList',
path: '/abnormalStateOfStudentList',
component: () => import('@/pages/dormScreenComponents/abnormalStateOfStudentList.vue'),
},
{
name: 'abnormalStateOfStudentDetail',
path: '/abnormalStateOfStudentDetail',
component: () => import('@/pages/dormScreenComponents/abnormalStateOfStudentDetail.vue'),
},
]
......@@ -6,6 +6,7 @@ import {flow} from "./modules/flow.js";
import {apply} from "@/router/modules/apply.js";
import {datails} from "@/router/modules/datails.js";
import {resetFlow} from "@/router/modules/resetFlow.js";
import {abnormalStateOfStudent} from "@/router/modules/abnormalStateOfStudent.js";
const routes = [
{
......@@ -70,6 +71,7 @@ const routes = [
...apply,
...datails,
...resetFlow,
...abnormalStateOfStudent,
{
name: 'tree',
path: '/tree',
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或