Commit 4d5de15c authored by zhengke's avatar zhengke

修改

parent 5f004039
......@@ -12,7 +12,7 @@ export default {
<style>
@import url('~assets/css/font.css');
@import url('//at.alicdn.com/t/font_2077629_gpi989iyym5.css');
@import url('//at.alicdn.com/t/font_2077629_a7sx3iejpat.css');
html,
body,
......
......@@ -216,7 +216,7 @@
<div class="sche_hengLine"></div>
<span class="word_scheNumber" :class="{'schNoneNum': (WorkList&&WorkList.length==0)}">
<template v-if="saveObj&&WorkList">
{{this.WorkList.length}}
{{getWorkCount()}}
</template>
</span>
</div>
......@@ -260,7 +260,7 @@
</template>
<template v-if="WorkObj.ItemType==2 && workAuthObj.isShowEditAndDelete">
<q-btn color="primary" flat dense style="margin-left:10px;" v-if="isShowSure" slot="reference"
@click="saveOrder()" size="sm" label="确认完成" />
@click="saveOrder()" label="确认完成" />
</template>
</div>
</div>
......@@ -807,6 +807,16 @@
this.addMsg3.OtherContent = '';
this.addMsg3.FileList = [];
},
//获取工作统计
getWorkCount(){
let WorkLen = this.WorkList.length;
this.WorkList.forEach(x=>{
if(x.IsChecked==1){
WorkLen = WorkLen-1 ;
}
})
return WorkLen;
}
},
}
......
......@@ -259,17 +259,22 @@
<div class="scheduMain">
<div class="flex row mySched">
<div class="col scroll schScroll">
<schedulHead :dataList="dataList"></schedulHead>
<div class="Sche_Bottom">
<template v-if="dataList.DutyStatus!=2">
<schedulOrder :save-obj="msg"></schedulOrder>
<schedulVisit :save-obj="msg"></schedulVisit>
</template>
<template v-else>
<schedulOrder :save-obj="msg" :authObj="workAuthObj"></schedulOrder>
<schedulVisit :save-obj="msg" :authObj="vitiorAuthObj"></schedulVisit>
</template>
</div>
<template v-if="dataList.Status==1">
<schedulHead :dataList="dataList"></schedulHead>
<div class="Sche_Bottom">
<template v-if="dataList.DutyStatus!=2">
<schedulOrder :save-obj="msg"></schedulOrder>
<schedulVisit :save-obj="msg"></schedulVisit>
</template>
<template v-else>
<schedulOrder :save-obj="msg" :authObj="workAuthObj"></schedulOrder>
<schedulVisit :save-obj="msg" :authObj="vitiorAuthObj"></schedulVisit>
</template>
</div>
</template>
<template v-if="dataList.Status==0">
<schedulRemind></schedulRemind>
</template>
</div>
</div>
</div>
......@@ -286,14 +291,15 @@
import schedulOrder from '../../components/schedul/schedul-orderlist'
import schedulVisit from '../../components/schedul/schedul-visit'
import schedulHead from '../../components/schedul/schedul-head'
import schedulRemind from '../../components/schedul/schedul-remind'
export default {
props: {},
components: {
schedulOrder,
schedulVisit,
schedulHead
schedulHead,
schedulRemind
},
data() {
return {
......
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