123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <template>
- <view >
- <view class="flex-row all-l" style="height: 100rpx; font-size: 16rpx; ">
- <view class="flex-row right-l" style="width: 9%; height: 100%; align-items: center; justify-content: center;">乡镇</view>
- <view class="" style="width: 45%; height: 100%;">
- <view class="bottom-l right-l flex-row" style="width: 100%; height: 50%; justify-content: center; align-items: center;">18岁以上第一针完成情况</view>
- <view class="flex-row" style="width: 100%; height: 50%;">
- <view class="one-five right-l">总任务数</view>
- <view class="one-five right-l">总接种数</view>
- <view class="one-five right-l">完成率</view>
- <view class="one-five right-l">未完成率</view>
- <view class="one-five right-l">当日接种数</view>
- </view>
- </view>
- <view class="" style="width: 45%; height: 100%;">
- <view class="bottom-l flex-row" style="width: 100%; height: 50%; justify-content: center; align-items: center;">第二针当日完成情况</view>
- <view class="flex-row" style="width: 100%; height: 50%;">
- <view class="one-five right-l">当日任务数</view>
- <view class="three-five right-l" style="height: 100%;">
- <view class="bottom-l" style="width: 100%; height: 100%;">接种数</view>
- <view class="flex-row" style="height: 100%;">
- <view class="right-l one-three">第二针</view>
- <view class="right-l one-three">第三针</view>
- <view class=" one-three">合计</view>
- </view>
- </view>
- <view class="one-five ">完成率</view>
- </view>
- </view>
- </view>
-
- <view class="flex-row" v-for="(item, index) in list" :style="index % 2 == 0 ? 'background-color: #ebeff2;' : ''"
- style="width: 100%; padding-top: 15px; font-size: 16rpx;">
- <text class="one-nine">{{item.xz}}</text>
- <view class="one-nine">{{item.zrws}}</view>
- <view class="one-nine">{{item.zjzs}}</view>
- <view class="one-nine">{{item.wcl1}}</view>
- <view class="one-nine">{{item.wwcs}}</view>
- <view class="one-nine">{{item.drjzs}}</view>
- <view class="one-nine">{{item.drrws}}</view>
- <view class="one-nine">{{item.dez}}</view>
- <view class="one-nine">{{item.dsz}}</view>
- <view class="one-nine">{{item.hj}}</view>
- <view class="one-nine">{{item.wcl2}}</view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: [],
- }
- },
- onLoad() {
- },
- onReady() {
- this.getList()
- },
- methods: {
- getList() {
- this.$http.get("boman-web-core/vaccination/statisticYmjz").then(res => {
- if(res.code == 200){
- this.list = res.data
- }
- })
- }
- }
- }
- </script>
- <style scoped>
- .flex-row {
- display: flex;
- flex-direction: row;
- }
- .one-five {
- width: 20%;
- height: 100%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- text-align: center;
- }
- .three-five {
- width: 60%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- text-align: center;
- }
- .one-three {
- width: 33%;
- height: 100%;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- }
- .one-nine {
- width: 9%;
- height: 40rpx;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- text-align: center;
- }
- .all-l {
- border: 1px solid #ebeff2;
- }
- .top-l {
- border-top: 1px solid #ebeff2;
- }
- .left-l {
- border-left: 1px solid #ebeff2;
- }
- .right-l {
- border-right: 1px solid #ebeff2;
- }
- .bottom-l {
- border-bottom: 1px solid #ebeff2;
- }
- </style>
|