Commit b6eed566 authored by zhengke's avatar zhengke

修改

parent d16b4a39
...@@ -203,9 +203,9 @@ ...@@ -203,9 +203,9 @@
} }
.MyUpload .el-upload--picture-card { .MyUpload .el-upload--picture-card {
width: 60px; width: 50px;
height: 60px; height: 50px;
line-height: 65px; line-height: 60px;
} }
.WorkObj_ImgList { .WorkObj_ImgList {
...@@ -214,6 +214,7 @@ ...@@ -214,6 +214,7 @@
.sche_midList .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{ .sche_midList .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{
white-space: nowrap; white-space: nowrap;
overflow-x: auto; overflow-x: auto;
padding-bottom:5px;
} }
.sche_midList .el-scrollbar__view::-webkit-scrollbar { .sche_midList .el-scrollbar__view::-webkit-scrollbar {
width: 3px; width: 3px;
...@@ -241,14 +242,19 @@ ...@@ -241,14 +242,19 @@
<div class="sche_midList"> <div class="sche_midList">
<div class="scheList_TOP"> <div class="scheList_TOP">
<template v-if="WorkObj&&WorkObj.ItemImgList&&WorkObj.ItemImgList.length>0"> <template v-if="WorkObj&&WorkObj.ItemImgList&&WorkObj.ItemImgList.length>0">
<img :src="WorkObj.ItemImgList[0]" /> <!-- <img :src="WorkObj.ItemImgList[0]" /> -->
<el-carousel :interval="5000" height="107px">
<el-carousel-item v-for="item in WorkObj.ItemImgList" :key="item">
<img :src="item" />
</el-carousel-item>
</el-carousel>
</template> </template>
<template v-else> <template v-else>
<img src="../../assets/images/work_list.png" /> <img src="../../assets/images/work_list.png" />
</template> </template>
<span class="word_sche">工作清单</span> <span class="word_sche" style="z-index:999">工作清单</span>
<div class="sche_hengLine"></div> <div class="sche_hengLine" style="z-index:999"></div>
<span class="word_scheNumber" :class="{'schNoneNum': (WorkList&&WorkList.length==0)}"> <span class="word_scheNumber" style="z-index:999" :class="{'schNoneNum': (WorkList&&WorkList.length==0)}">
<template v-if="saveObj&&WorkList"> <template v-if="saveObj&&WorkList">
{{getWorkCount()}} {{getWorkCount()}}
</template> </template>
...@@ -271,7 +277,7 @@ ...@@ -271,7 +277,7 @@
<div class="WorkObj_ImgList"> <div class="WorkObj_ImgList">
<el-scrollbar> <el-scrollbar>
<template v-if="WorkObj.FileList&&WorkObj.FileList.length>0"> <template v-if="WorkObj.FileList&&WorkObj.FileList.length>0">
<div class="SchImg_List" style="width:60px;height:60px;border:0;" v-for="(item,index) in WorkObj.FileList"> <div class="SchImg_List" style="width:50px;height:50px;border:0;" v-for="(item,index) in WorkObj.FileList">
<!-- <img :src="item" alt=""> --> <!-- <img :src="item" alt=""> -->
<el-image :src="item" style="width:100%;height:100%;" :preview-src-list="WorkObj.FileList"> <el-image :src="item" style="width:100%;height:100%;" :preview-src-list="WorkObj.FileList">
</el-image> </el-image>
...@@ -609,6 +615,7 @@ ...@@ -609,6 +615,7 @@
this.HandoverList = res.Data.HandoverList; this.HandoverList = res.Data.HandoverList;
this.EmergenciesList = res.Data.EmergenciesList; this.EmergenciesList = res.Data.EmergenciesList;
this.WorkList = res.Data.WorkList; this.WorkList = res.Data.WorkList;
console.log(this.WorkList,'WorkList');
if (this.EmergenciesList && this.EmergenciesList.length > 0) { if (this.EmergenciesList && this.EmergenciesList.length > 0) {
this.EmergenciesObj = this.EmergenciesList[this.EmergenciesIndex]; this.EmergenciesObj = this.EmergenciesList[this.EmergenciesIndex];
} }
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
.sche_midList { .sche_midList {
width: 31.6%; width: 31.6%;
height: 300px; height: 320px;
background: #fff; background: #fff;
border-radius: 16px; border-radius: 16px;
border: 1px solid #EBEBEB; border: 1px solid #EBEBEB;
......
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