Commit 840b0f17 authored by zhengke's avatar zhengke

修改

parent 0bf684cf
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
<div> <div>
<div> <div>
<div class="SchImg_List" v-for="(item,index) in addMsg2.FileList"> <div class="SchImg_List" v-for="(item,index) in addMsg2.FileList">
<img :src="item" alt=""> <img :src="item" alt="">
<i class="iconfont icon-yiquxiao sch_del" @click="handleRemoveAdd(index)"></i> <i class="iconfont icon-yiquxiao sch_del" @click="handleRemoveAdd(index)"></i>
</div> </div>
<el-upload class="schedul_Upload" style="display:inline;" action="" list-type="picture-card" <el-upload class="schedul_Upload" style="display:inline;" action="" list-type="picture-card"
...@@ -310,10 +310,12 @@ ...@@ -310,10 +310,12 @@
</div> </div>
<div class="secondList_Bottom"> <div class="secondList_Bottom">
<div class="tufa_List"> <div class="tufa_List">
<div class="tufa_left" v-if="EmergenciesObj&&EmergenciesObj.FileList"> <template v-if="EmergenciesObj&&EmergenciesObj.FileList.length>0">
<el-image :src="EmergenciesObj.FileList[0]" :preview-src-list="EmergenciesObj.FileList"> <div class="tufa_left">
</el-image> <el-image :src="EmergenciesObj.FileList[0]" :preview-src-list="EmergenciesObj.FileList">
</div> </el-image>
</div>
</template>
<div class="SchOtherContent" v-if="EmergenciesObj.OtherContent"> <div class="SchOtherContent" v-if="EmergenciesObj.OtherContent">
{{EmergenciesObj.OtherContent}} {{EmergenciesObj.OtherContent}}
</div> </div>
...@@ -392,7 +394,7 @@ ...@@ -392,7 +394,7 @@
</div> </div>
<div class="secondList_Bottom"> <div class="secondList_Bottom">
<div class="tufa_List"> <div class="tufa_List">
<div class="tufa_left" v-if="HandoverObj&&HandoverObj.FileList"> <div class="tufa_left" v-if="HandoverObj&&HandoverObj.FileList.length>0">
<el-image :src="HandoverObj.FileList[0]" :preview-src-list="HandoverObj.FileList"> <el-image :src="HandoverObj.FileList[0]" :preview-src-list="HandoverObj.FileList">
</el-image> </el-image>
</div> </div>
...@@ -629,6 +631,13 @@ ...@@ -629,6 +631,13 @@
SetDutyContent(saveWorkMsg).then(res => { SetDutyContent(saveWorkMsg).then(res => {
this.isShowSure = false; this.isShowSure = false;
this.getWorkList(); this.getWorkList();
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.Message,
position: 'top'
})
}) })
this.isShowSure = false; this.isShowSure = false;
}, },
...@@ -696,11 +705,11 @@ ...@@ -696,11 +705,11 @@
//修改突发 //修改突发
EditTufa(obj) { EditTufa(obj) {
this.addMsg2.OtherContent = obj.OtherContent; this.addMsg2.OtherContent = obj.OtherContent;
this.addMsg2.FileList = obj.FileList; this.addMsg2.FileList = JSON.parse(JSON.stringify(obj.FileList));
}, },
EditJiaojie(obj) { EditJiaojie(obj) {
this.addMsg3.OtherContent = obj.OtherContent; this.addMsg3.OtherContent = obj.OtherContent;
this.addMsg3.FileList = obj.FileList; this.addMsg3.FileList = JSON.parse(JSON.stringify(obj.FileList));
}, },
//删除突发 //删除突发
delTufa() { delTufa() {
......
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
<div class="Sctop_Color" style="width:400px;"> <div class="Sctop_Color" style="width:400px;">
<span class="Scotop_little">时间</span> <span class="Scotop_little">时间</span>
<span v-if="dataList.PlanDate">{{dataList.PlanDate.replaceAll('-','.')}}</span> <span v-if="dataList.PlanDate">{{dataList.PlanDate.replaceAll('-','.')}}</span>
<span v-if="dataList.WeekDay">{{dataList.WeekDay.replace('星期','周')}}</span> <span v-if="dataList.WeekDay"> {{dataList.WeekDay.replace('星期','周')}}</span>
{{dataList.StartTime}}-{{dataList.EndTime}} {{dataList.StartTime}}-{{dataList.EndTime}}
</div> </div>
<div class="Sctop_Color"> <div class="Sctop_Color">
......
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