3 changed files with 154 additions and 74 deletions
-
77src/components/sumDoctorCheck/SumAsbItemStatus.vue
-
15src/components/sumDoctorCheck/SumSug.vue
-
4src/views/doctorCheck/sumDoctorCheck.vue
@ -0,0 +1,77 @@ |
|||||
|
<template> |
||||
|
<div style="display: flex;height:90px;"> |
||||
|
<div class="asbitemListClass"> |
||||
|
<div style="margin-top:2px;font-size:7px;color: #409EFF;">未检组合项目:</div> |
||||
|
<div style="display: flex; flex-wrap: wrap; height:68px;width:100%; margin-top:2px;border: 1px solid;"> |
||||
|
<el-tag style="margin-left: 5px;" v-for="item in unCheckAsb" :key="item" size="mini">{{item}}</el-tag> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="asbitemListClass"> |
||||
|
<div style="margin-top:2px;font-size:7px;color: #909399;">弃检组合项目:</div> |
||||
|
<div style="display: flex; flex-wrap: wrap; height:68px;width:100%; margin-top:2px;border: 1px solid;"> |
||||
|
<el-tag type="info" style="margin-left: 5px;" v-for="item in refuseAsb" :key="item" size="mini">{{item}}</el-tag> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="asbitemListClass"> |
||||
|
<div style="margin-top:2px;font-size:7px;color: #F56C6C;">组合项目已检但无值的明细项目:</div> |
||||
|
<div style="display: flex; flex-wrap: wrap; height:68px;width:100%; margin-top:2px;border: 1px solid;"> |
||||
|
<el-tag type="danger" style="margin-left: 5px;" v-for="item in noResultItem" :key="item" size="mini">{{item}}</el-tag> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="asbitemListClass"> |
||||
|
<div style="margin-top:2px;font-size:7px;color: #E6A23C;">组合项目已检但弃检的明细项目:</div> |
||||
|
<div style="display: flex; flex-wrap: wrap; height:68px;width:100%; margin-top:2px;border: 1px solid;"> |
||||
|
<el-tag type="warning" style="margin-left: 5px;" v-for="item in refuseItem" :key="item" size="mini">{{item}}</el-tag> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
<script> |
||||
|
import moment from "moment"; |
||||
|
import { mapState } from "vuex"; |
||||
|
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
||||
|
|
||||
|
export default { |
||||
|
components: {}, |
||||
|
data() { |
||||
|
return { |
||||
|
unCheckAsb:['未检项目1','未检项目2','未检项目3','未检项目4','未检项目5','未检项目6','未检项目7','未检项目8'], |
||||
|
refuseAsb:['弃检1','弃检2'], |
||||
|
noResultItem:['无果1','无果2'], |
||||
|
refuseItem:['弃检明细1','弃检明细2'], |
||||
|
}; |
||||
|
}, |
||||
|
|
||||
|
created() {}, |
||||
|
|
||||
|
//挂载完成 |
||||
|
mounted() {}, |
||||
|
|
||||
|
computed: { |
||||
|
...mapState(["dict", "doctorCheck","sumDoctorCheck"]), |
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
lmoment(date, forMat) { |
||||
|
return moment(new Date(date)).format(forMat); |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
<style scoped> |
||||
|
.asbitemListClass { |
||||
|
display: block; |
||||
|
width: 24.5%; |
||||
|
margin-left: 3px; |
||||
|
} |
||||
|
.labelClass{ |
||||
|
margin-top:2px; |
||||
|
font-size:8x; |
||||
|
} |
||||
|
.contentClass{ |
||||
|
display: flex; |
||||
|
height:52px; |
||||
|
margin-top:2px; |
||||
|
font-size:8x; |
||||
|
} |
||||
|
</style> |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue