hejianhao
2025-04-16 dab2d210ca06c1faa514c6388fbd5de1ab355360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<template>
  <div class="box-card">
    <div class="details-center">
      <span class="fz-10 fw-bold">报备详情</span>
      <div class="mr-t-30">
        <div class="fl-al">
          <div class="details-item-width fl-al">
            <span>用户:</span>
            <span class="fc-999">{{ dataInfo.name }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>联系电话:</span>
            <span class="fc-999">{{ dataInfo.phone }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>身份证:</span>
            <span class="fc-999">{{ dataInfo.idCard }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>报备时间:</span>
            <span class="fc-999">{{ dataInfo.createTime }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>填写对象:</span>
            <span class="fc-999">{{
              dataInfo.type == 1 ? "本人填写" : "代人填写"
            }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>出发城市:</span>
            <span class="fc-999">{{ dataInfo.departureCity }}</span>
          </div>
        </div>
        <div class="fl-f mr-t-20">
          <div class="details-item-width fl-f">
            <span>出发日期:</span>
            <span class="fc-999">{{ dataInfo.departureDate }}</span>
          </div>
          <div class="details-item-width fl-f">
            <span>中途旅游居城市:</span>
            <div class="fc-999">
              <div
                :class="[ix < dataInfo.touristCity.length - 1 ? 'mr-b-10' : '']"
                v-for="(it, ix) in dataInfo.touristCity"
                :key="ix"
              >
                {{ it.name }}
              </div>
            </div>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>在攀居住地:</span>
            <span class="fc-999">{{ dataInfo.localCity }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>详细地址:</span>
            <span class="fc-999">{{ dataInfo.localAddress }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>在攀有无明确地址:</span>
            <span class="fc-999">{{
              dataInfo.localCity == " " || !dataInfo.localCity ? "无" : "有"
            }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>到达日期:</span>
            <span class="fc-999">{{ dataInfo.arriveDate }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>行程卡是否带*:</span>
            <span class="fc-999">{{ dataInfo.travelCard }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>健康码状态:</span>
            <span class="fc-999">{{ dataInfo.colorMark }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>是否为冷链、海关、边检、口岸、机场等高风险行业人员</span>
            <span class="fc-999">{{ dataInfo.isSpecialJob }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>14天内是否到过中高风险地区:</span>
            <span class="fc-999">{{ dataInfo.dangerArea }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>28天内是否到过境外或边境口岸城市:</span>
            <span class="fc-999">{{ dataInfo.outsideCity }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>是否为入(返)川学生:</span>
            <span class="fc-999">{{ dataInfo.isStudent }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>新冠疫苗接种情况:</span>
            <span class="fc-999">{{ dataInfo.vaccination }}</span>
          </div>
          <div class="details-item-width fl-al">
            <span>48小时内核酸检测:</span>
            <span class="fc-999">{{ dataInfo.acidTest }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>定位地址:</span>
            <span class="fc-999">{{ dataInfo.realAddress }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width3 fl-al">
            <span>交通工具:</span>
            <span class="fc-999">{{ dataInfo.transport }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-al">
            <span>车次信息:</span>
            <span class="fc-999">{{ dataInfo.transportInfo }}</span>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-f">
            <span>健康码截图:</span>
            <el-image
              v-if="dataInfo.colorImage"
              class="img-show-style"
              fit="cover"
              :src="dataInfo.colorImage"
              :preview-src-list="[dataInfo.colorImage]"
            ></el-image>
          </div>
          <div class="details-item-width fl-f">
            <span>行程码截图:</span>
            <el-image
              v-if="dataInfo.travelImage"
              class="img-show-style"
              fit="cover"
              :src="dataInfo.travelImage"
              :preview-src-list="[dataInfo.travelImage]"
            ></el-image>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <div class="details-item-width fl-f">
            <span>48小时核酸截图:</span>
            <el-image
              v-if="dataInfo.acidImage"
              class="img-show-style"
              fit="cover"
              :src="dataInfo.acidImage"
              :preview-src-list="[dataInfo.acidImage]"
            ></el-image>
          </div>
        </div>
        <!-- 修改记录 -->
        <div class="mr-t-30" v-if="recordList.length">
          <h3 class="fz-10 mr-b-20">修改记录</h3>
          <div v-for="(it, ix) in recordList" :key="ix" class="mr-b-20">
            <div>
              修改时间:<span class="fc-999">{{ it.createTime }}</span>
            </div>
            <div class="fl-al mr-t-10">
              <div style="width: 250px">
                修改人:<span class="fc-999">{{ it.name }}</span>
              </div>
              <div class="mr-l-50">
                手机号:<span class="fc-999">{{ it.phone }}</span>
              </div>
            </div>
          </div>
        </div>
        <div class="fl-al mr-t-20">
          <el-button @click="handleClose">返 回</el-button>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import { watermark, removewatermark } from "../../utils/watermark";
export default {
  data() {
    return {
      info_id: "",
      dataInfo: {},
      recordList: [],
    };
  },
  destroyed() {
    removewatermark();
  },
  mounted() {
    this.info_id = this.$route.query.id;
    const USER_INFO = demo.$session.get("user");
    watermark({
      watermark_txt: `${USER_INFO.title}-“${USER_INFO.account} ${USER_INFO.name}”`,
    });
    this.getDataInfo();
  },
  methods: {
    getDataInfo() {
      this.$api.get(`comActAcidRecord/${this.info_id}`, {}, (res) => {
        this.recordList = res.comActAcidUpdateRecordVOList || [];
        if (res.touristCity) {
          if (res.touristCity.indexOf("[") == -1) {
            res.touristCity = [
              {
                name: res.touristCity,
              },
            ];
          } else {
            res.touristCity = JSON.parse(res.touristCity);
          }
        } else {
          res.touristCity = [];
        }
        this.dataInfo = res || {};
      });
    },
    handleClose() {
      this.$router.back();
    },
  },
};
</script>
<style scoped>
.details-center {
  padding: 30px;
}
.details-item-width {
  width: 400px;
}
.details-item-width2 {
  width: 500px;
}
.details-item-width3 {
  width: 700px;
}
.del-label-width {
  width: 82px;
}
.del-label-width2 {
  width: 418px;
}
.del-label-width3 {
  width: 618px;
}
.del-img-style {
  width: 100px;
  height: 100px;
}
.img-show-style {
  cursor: pointer;
  width: 80px;
  height: 80px;
}
</style>