Commit bb994183 authored by 黄奎's avatar 黄奎

页面修改

parent a6ee4caf
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
height: 300px; height: 300px;
background: #fff; background: #fff;
border-radius: 16px; border-radius: 16px;
border:1px solid #EBEBEB; border: 1px solid #EBEBEB;
box-shadow: 0px 1px 1px 0px #E4E7FB; box-shadow: 0px 1px 1px 0px #E4E7FB;
overflow: hidden; overflow: hidden;
font-family: 'MicrosoftYaHei'; font-family: 'MicrosoftYaHei';
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
.scheList_TOP img { .scheList_TOP img {
/* width: 100%; */ /* width: 100%; */
height:100%; height: 100%;
} }
.word_sche { .word_sche {
...@@ -194,35 +194,39 @@ ...@@ -194,35 +194,39 @@
top: 25px; top: 25px;
left: 32px; left: 32px;
} }
.word_scheNumber{
.word_scheNumber {
display: inline-block; display: inline-block;
width:36px; width: 36px;
height:36px; height: 36px;
color:#fff; color: #fff;
background-color: #FE4475; background-color: #FE4475;
position: absolute; position: absolute;
top:30px; top: 30px;
left:130px; left: 130px;
text-align: center; text-align: center;
line-height: 36px; line-height: 36px;
border-radius: 8px; border-radius: 8px;
font-size:25px; font-size: 25px;
} }
.scheList_Bottom{
margin:15px 20px 0 20px; .scheList_Bottom {
font-size:14px; margin: 15px 20px 0 20px;
color:#000000; font-size: 14px;
padding-bottom:10px; color: #000000;
border-bottom:1px solid #F3F3F3; padding-bottom: 10px;
border-bottom: 1px solid #F3F3F3;
} }
.sche_Dian{
display:inline-block; .sche_Dian {
width:6px; display: inline-block;
height:6px; width: 6px;
height: 6px;
background-color: #6D97FF; background-color: #6D97FF;
border-radius: 50%; border-radius: 50%;
margin-right:10px; margin-right: 10px;
} }
</style> </style>
<template> <template>
...@@ -253,7 +257,8 @@ ...@@ -253,7 +257,8 @@
<span class="Scotop_little">校区</span>{{dataList.SchoolName}} <span class="Scotop_little">校区</span>{{dataList.SchoolName}}
</div> </div>
<div class="Sctop_Color" style="width:300px;"> <div class="Sctop_Color" style="width:300px;">
<span class="Scotop_little">时间</span>2021.04.27 周二 9:30 <span class="Scotop_little">时间</span>{{dataList.PlanDate}} {{dataList.WeekDay}}
{{dataList.StartTime}}-{{dataList.EndTime}}
</div> </div>
<div class="Sctop_Color"> <div class="Sctop_Color">
<span class="Scotop_little">班次</span>{{dataList.ShiftName}} <span class="Scotop_little">班次</span>{{dataList.ShiftName}}
...@@ -268,7 +273,6 @@ ...@@ -268,7 +273,6 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { import {
OnDuty OnDuty
...@@ -287,13 +291,16 @@ ...@@ -287,13 +291,16 @@
return { return {
msg: { msg: {
Id: 0, Id: 0,
Shfit: 0 Shfit: 0,
PlanDate: "", //日期
HandoverList: [], //交接事项列表
EmergenciesList: [], //突发事项列表
WorkList: [], //工作清单列表
}, },
dataList: {} dataList: {}
} }
}, },
created() { created() {
console.log(this.$route.query.Shift);
if (this.$route.query.Shift && this.$route.query.Id) { if (this.$route.query.Shift && this.$route.query.Id) {
this.msg.Id = this.$route.query.Id this.msg.Id = this.$route.query.Id
this.msg.Shfit = this.$route.query.Shift this.msg.Shfit = this.$route.query.Shift
...@@ -305,12 +312,15 @@ ...@@ -305,12 +312,15 @@
getList() { getList() {
OnDuty(this.msg).then(res => { OnDuty(this.msg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res, '数据来也'); console.log("OnDuty", res);
this.dataList = res.Data; this.dataList = res.Data;
this.msg.PlanDate = res.Data.PlanDate;
this.msg.HandoverList = res.Data.HandoverList;
this.msg.EmergenciesList = res.Data.EmergenciesList;
this.msg.WorkList = res.Data.WorkList;
} }
}) })
}, },
}, },
} }
</script>
</script> \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment