fx
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
    <div class="detail-header">
 | 
			
		||||
      <div class="name">
 | 
			
		||||
        <h2>张三<span>返乡人员</span></h2>
 | 
			
		||||
        <p><u-icon name="phone" color="#4181FF" size="28"></u-icon>拨打电话</p>
 | 
			
		||||
        <p @click="call(info.phone)"><u-icon name="phone" color="#4181FF" size="28"></u-icon>拨打电话</p>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="idNumber">
 | 
			
		||||
        <span>身份证号:</span>
 | 
			
		||||
@@ -59,17 +59,16 @@
 | 
			
		||||
    data () {
 | 
			
		||||
      return {
 | 
			
		||||
        info: {},
 | 
			
		||||
        pageShow: false,
 | 
			
		||||
        checked: true,
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    // onLoad (query) {
 | 
			
		||||
    //   this.$loading()
 | 
			
		||||
    //   this.$dict.load(['epidemicTouchInFourteen', 'epidemicRecentHealth', 'epidemicRecentTestResult', 'epidemicHealthCode', 'epidemicVaccineTime']).then(() => {
 | 
			
		||||
    //     this.getInfo(query.id)
 | 
			
		||||
    //   })
 | 
			
		||||
    // },
 | 
			
		||||
    onLoad (query) {
 | 
			
		||||
      this.$dict.load(['epidemicTouchInFourteen', 'epidemicRecentHealth', 'epidemicRecentTestResult', 'epidemicHealthCode', 'epidemicVaccineTime']).then(() => {
 | 
			
		||||
        this.getInfo(query.id)
 | 
			
		||||
      })
 | 
			
		||||
      this.getInfo(query.id)
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    methods: {
 | 
			
		||||
      preview (url) {
 | 
			
		||||
@@ -84,6 +83,12 @@
 | 
			
		||||
        this.checked = !this.checked
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
      call(phone) {
 | 
			
		||||
        uni.makePhoneCall({
 | 
			
		||||
          phoneNumber: phone
 | 
			
		||||
        })
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
      getInfo (id) {
 | 
			
		||||
        this.$instance.post(`/app/appepidemichealthreport/queryDetailById?id=${id}`).then(res => {
 | 
			
		||||
          if (res.code === 0) {
 | 
			
		||||
@@ -98,13 +103,7 @@
 | 
			
		||||
              healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v)
 | 
			
		||||
            })
 | 
			
		||||
            this.info.healthName = healthName
 | 
			
		||||
 | 
			
		||||
            this.$nextTick(() => {
 | 
			
		||||
              this.pageShow = true
 | 
			
		||||
            })
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          this.$hideLoading()
 | 
			
		||||
        })
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -3,16 +3,16 @@
 | 
			
		||||
    <div class="detail-header">
 | 
			
		||||
      <div class="user">
 | 
			
		||||
        <div class="header">
 | 
			
		||||
          <h3>张三</h3>
 | 
			
		||||
          <div style="color: #4181FF;" @click="call('110')"><u-icon name="phone" color="#4181FF" size="28"></u-icon>拨打电话</div>
 | 
			
		||||
          <h3>{{ info.name }}</h3>
 | 
			
		||||
          <div style="color: #4181FF;" @click="call(info.phone)"><u-icon name="phone" color="#4181FF" size="28"></u-icon>拨打电话</div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="idNumber">
 | 
			
		||||
          <span>身份证号:</span>
 | 
			
		||||
          <span>220102200303078610</span>
 | 
			
		||||
          <span>{{ info.idNumber }}</span>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="phone">
 | 
			
		||||
          <span>手机号码:</span>
 | 
			
		||||
          <span>13827263092</span>
 | 
			
		||||
          <span>{{ info.phone }}</span>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="picture">
 | 
			
		||||
          <div class="healthPic">
 | 
			
		||||
@@ -80,7 +80,7 @@
 | 
			
		||||
            <label>目的地</label>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="right">
 | 
			
		||||
            <span>{{ info.startAddress }}</span>
 | 
			
		||||
            <span>{{ info.arriveAreaName }}</span>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
@@ -89,7 +89,7 @@
 | 
			
		||||
            <label>居住地点</label>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="right">
 | 
			
		||||
            <span>{{ info.startAddress }}</span>
 | 
			
		||||
            <span>{{ info.startAreaName }}</span>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user