|
@@ -1,19 +1,18 @@
|
|
<template>
|
|
<template>
|
|
-<div>
|
|
|
|
- <header class="mui-bar mui-bar-nav">
|
|
|
|
- <h1 class="mui-title">疫情上报详情</h1>
|
|
|
|
- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
|
|
|
|
- </header>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <common @asynCallBack="asynCallBack"></common>
|
|
|
|
+ <top-header :pageTitle="pageTitle"></top-header>
|
|
|
|
+
|
|
<div class="mui-content margin60">
|
|
<div class="mui-content margin60">
|
|
<div class="mui-content-padded vongi-qingjiadt">
|
|
<div class="mui-content-padded vongi-qingjiadt">
|
|
<form class="mui-input-group">
|
|
<form class="mui-input-group">
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
<label>上报人</label>
|
|
<label>上报人</label>
|
|
- <span>1111</span>
|
|
|
|
|
|
+ <span v-text="detail.name"></span>
|
|
</div>
|
|
</div>
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
<label>联系方式</label>
|
|
<label>联系方式</label>
|
|
- <span>15500001111</span>
|
|
|
|
|
|
+ <span v-text="detail.phone"></span>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@@ -21,47 +20,105 @@
|
|
<form class="mui-input-group vongi-wybx">
|
|
<form class="mui-input-group vongi-wybx">
|
|
<div class="mui-input-row padd10">
|
|
<div class="mui-input-row padd10">
|
|
<label>上报内容</label>
|
|
<label>上报内容</label>
|
|
- <span class="vongi-span vongi-meform-pho">我是XXX公司的XXX,发现XXX在XX地体温测量数据超过37.3℃,XXXX年XX月XX日出现咳嗽发烧等疑似症状。</span>
|
|
|
|
|
|
+ <span class="vongi-span vongi-meform-pho" v-text="detail.content"></span>
|
|
<span class="vongi-span vongi-wordcard vongi-meform-pho">
|
|
<span class="vongi-span vongi-wordcard vongi-meform-pho">
|
|
<div class="fyy-upphoto flew">
|
|
<div class="fyy-upphoto flew">
|
|
- <div class="mui-col-xs-3">
|
|
|
|
- <img src="~$project/assets/img/zhaop.jpg" />
|
|
|
|
- </div>
|
|
|
|
- <div class="mui-col-xs-3">
|
|
|
|
- <img src="~$project/assets/img/zhaop.jpg" />
|
|
|
|
- </div>
|
|
|
|
- <div class="mui-col-xs-3">
|
|
|
|
- <img src="~$project/assets/img/zhaop.jpg" />
|
|
|
|
- </div>
|
|
|
|
- <div class="mui-col-xs-3">
|
|
|
|
- <img src="~$project/assets/img/zhaop.jpg" />
|
|
|
|
|
|
+ <div v-for="(item,index) in detail.img.split(',')" class="mui-col-xs-3">
|
|
|
|
+ <img :src="item" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="mui-content-padded vongi-qingjiadt">
|
|
<div class="mui-content-padded vongi-qingjiadt">
|
|
<form class="mui-input-group">
|
|
<form class="mui-input-group">
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
<label>上报时间</label>
|
|
<label>上报时间</label>
|
|
- <span>2020-10-10 10:00:00</span>
|
|
|
|
|
|
+ <span v-text="detail.createTime"></span>
|
|
</div>
|
|
</div>
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
<label>上报状态</label>
|
|
<label>上报状态</label>
|
|
- <span class="color55f868">提交成功</span>
|
|
|
|
|
|
+ <span class="color55f868" v-text="detail.statusN"></span>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="fyy-footer">
|
|
|
|
- <div class="bindfyy-btn"><button type="submit" class="mui-btn mui-btn-primary ">返 回</button></div>
|
|
|
|
|
|
+ <div class="fyy-footer">
|
|
|
|
+ <div class="bindfyy-btn" @click="goBack"><button type="submit" class="mui-btn mui-btn-primary ">返 回</button></div>
|
|
</div>
|
|
</div>
|
|
-</div>
|
|
|
|
|
|
+
|
|
|
|
+ <loading :visible="isLoading"></loading>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+ import * as API_Health from '@/apis/Master/health'
|
|
|
|
+ import Common from '$project/components/Common.vue'
|
|
|
|
+ import Loading from '$project/components/Loading.vue'
|
|
|
|
+ import TopHeader from '$project/components/TopHeader.vue'
|
|
|
|
+ import {
|
|
|
|
+ mapGetters,
|
|
|
|
+ mapMutations
|
|
|
|
+ } from 'vuex'
|
|
|
|
+ export default {
|
|
|
|
+ name: 'MasterHealthReportInfo',
|
|
|
|
+ components: {
|
|
|
|
+ Common,
|
|
|
|
+ Loading,
|
|
|
|
+ TopHeader
|
|
|
|
+ },
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ pageTitle: '疫情上报详情',
|
|
|
|
+
|
|
|
|
+ isLoading: false,
|
|
|
|
+
|
|
|
|
+ id: '',
|
|
|
|
+ detail: {
|
|
|
|
+ img: ''
|
|
|
|
+ },
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ created() {
|
|
|
|
+ this.id = this.$route.query.id ? this.$route.query.id : '';
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ //获取详情
|
|
|
|
+ getDetail(id) {
|
|
|
|
+ this.id = id || this.id;
|
|
|
|
+ this.isLoading = true;
|
|
|
|
+ API_Health.getReportInfo(this.id).then(response => {
|
|
|
|
+
|
|
|
|
+ this.detail = response;
|
|
|
|
+
|
|
|
|
+ this.isLoading = false;
|
|
|
|
+ }).catch(error => {
|
|
|
|
+ this.isLoading = false;
|
|
|
|
+ mui.toast(error);
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ //返回
|
|
|
|
+ goBack() {
|
|
|
|
+ this.$router.go(-1);
|
|
|
|
+ },
|
|
|
|
+ asynCallBack() {
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ mounted() {
|
|
|
|
+ //获取详情
|
|
|
|
+ this.getDetail();
|
|
|
|
+ },
|
|
|
|
+ destroyed() {},
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapGetters({
|
|
|
|
+ openId: 'wx_openid',
|
|
|
|
+ token: 'token',
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ }
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped src="$project/assets/css/xpwyfyy.css"></style>
|
|
<style scoped src="$project/assets/css/xpwyfyy.css"></style>
|