Commit 83ba2838 authored by zhengke's avatar zhengke

修改

parent 0ce14c3a
......@@ -148,14 +148,17 @@
<img src="../../assets/images/work_list.png" />
<span class="word_sche">工作清单</span>
<div class="sche_hengLine"></div>
<span class="word_scheNumber" :class="{'schNoneNum':saveObj.WorkList.length==0}">{{this.saveObj.WorkList.length}}</span>
<div slot="reference" class="addSche" @click="saveOrder">
<i class="iconfont icon-chenggong" title="点击保存"></i>
</div>
<span class="word_scheNumber" v-if="saveObj&&saveObj.WorkList" :class="{'schNoneNum':saveObj.WorkList.length==0}">{{this.saveObj.WorkList.length}}</span>
</div>
<div class="scheList_Bottom">
<div class="sche_List_in" v-if="WorkObj">
<template v-if="WorkObj.ItemType==1">
<div class="sche_Dian" style="margin-top:5px;"></div>
<div class="sche_ListInner" style="margin:5px 10px 0 0;">{{WorkObj.ItemName}} </div>
<el-checkbox style="margin-top:5" v-model="WorkObj.IsChecked"></el-checkbox>
<el-checkbox style="margin-top:5" :true-label="1" :false-label="0" v-model="WorkObj.IsChecked"></el-checkbox>
</template>
<template v-else-if="WorkObj.ItemType==2">
<div class="sche_Dian"></div>
......@@ -167,12 +170,12 @@
</div>
<div></div>
</div>
<div class="sche_Fenye">
<div class="sche_Fenye" v-if="saveObj&&saveObj.WorkList.length>0">
<div class="sche_left">
<i class="iconfont icon-arrow-left" :class="{'canClick_Color':WorkIndex!=0}" @click="WorkMove(1)"></i>
</div>
<div class="sche_Page">{{WorkIndex+1}}/{{this.saveObj.WorkList.length}}</div>
<div class="sche_left">
<div class="sche_Page" v-if="saveObj&&saveObj.WorkList">{{WorkIndex+1}}/{{this.saveObj.WorkList.length}}</div>
<div class="sche_left" v-if="saveObj&&saveObj.WorkList">
<i class="iconfont icon-arrow-right1" :class="{'canClick_Color':WorkIndex!=saveObj.WorkList.length-1}"
@click="WorkMove(2)"></i>
</div>
......@@ -183,7 +186,7 @@
<img v-if="EmergenciesObj&&EmergenciesObj.FileURL" :src="EmergenciesObj.FileURL" />
<img v-else src="../../assets/images/tufa.png" />
<span class="word_sche">突发事件</span>
<span class="word_scheNumber" style="" :class="{'schNoneNum':saveObj.EmergenciesList.length==0}">{{this.saveObj.EmergenciesList.length}}</span>
<span class="word_scheNumber" style="" v-if="saveObj&&saveObj.EmergenciesList" :class="{'schNoneNum':saveObj.EmergenciesList.length==0}">{{this.saveObj.EmergenciesList.length}}</span>
<div class="sche_hengLine" ref="hengLine"></div>
<el-popover placement="bottom" popper-class="tufaPop" width="400" trigger="click">
<div>
......@@ -205,7 +208,7 @@
<div class="sche_ListInner" v-if="EmergenciesObj">{{EmergenciesObj.OtherContent}}</div>
</div>
</div>
<div class="sche_Fenye">
<div class="sche_Fenye" v-if="saveObj&&saveObj.EmergenciesList.length>0">
<div class="sche_left">
<i class="iconfont icon-arrow-left" :class="{'canClick_Color':EmergenciesIndex!=0}" @click="EmergenciesMove(1)"></i>
</div>
......@@ -220,7 +223,7 @@
<img src="../../assets/images/jiaojie.png" />
<span class="word_sche">交接工作说明</span>
<div class="sche_hengLine"></div>
<span class="word_scheNumber" style="left:174px;" :class="{'schNoneNum':saveObj.HandoverList.length==0}">{{this.saveObj.HandoverList.length}}</span>
<span class="word_scheNumber" style="left:174px;" v-if="saveObj&&saveObj.HandoverList" :class="{'schNoneNum':saveObj.HandoverList.length==0}">{{this.saveObj.HandoverList.length}}</span>
<el-popover placement="bottom" popper-class="tufaPop" width="400" trigger="click">
<div>
<el-upload class="schedul_Upload" action="" :style="{'background-image': 'url('+addMsg3.FileURL+')'}" :show-file-list="false" :http-request="UploadJiaojie">
......@@ -239,7 +242,7 @@
<div class="secondList_Bottom">
<div class="sche_ListInner" v-if="HandoverObj">{{HandoverObj.OtherContent}}</div>
</div>
<div class="sche_Fenye">
<div class="sche_Fenye" v-if="saveObj&&saveObj.HandoverList.length>0">
<div class="sche_left" :class="{'canClick_Color':HandoverIndex!=0}">
<i class="iconfont icon-arrow-left" @click="HandoverMove(1)"></i>
</div>
......@@ -395,6 +398,10 @@
}
})
},
//保存工作清单
saveOrder(){
// console.log(this.saveObj.WorkList,'this.saveObj.WorkList');
},
//保存突发事件
saveTufa(){
this.addMsg2.PlanShift = this.saveObj.Shfit;
......
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