linwei
2024-01-04 0270a1c72a4496ee88c0778cbc5fe22b17d9993e
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
<template>
  <avue-form :option="option" v-model="data"></avue-form>
</template>
<script>
  import {
    getDetail
  } from "@/api/task/bailReporting"
  export default {
    data() {
      return {
        data: {},
        option: {
          submitBtn: false,
          emptyBtn: false,
          column: [{
            // span: 10,
            label: '自查人名称',
            prop: 'checkUserName',
            disabled: true,
          }, {
            // span: 12,
            label: '自查人手机',
            prop: 'checkTelephone',
            disabled: true,
          }, {
            label: '自查位置',
            prop: 'location',
            disabled: true,
          }, {
            label: '确认时间',
            prop: 'confirmTime',
            disabled: true,
          }, {
            label: '确认用户',
            prop: 'confirmUserName',
            disabled: true,
          }, {
            label: '确认意见',
            prop: 'confirmNotion',
            disabled: true,
          }, {
            label: '确认标记',
            prop: 'confirmFlag',
            disabled: true,
            type: 'select',
            dicData: [{
              label: '待审核',
              value: '1'
            }, {
              label: '审核通过',
              value: '2'
            }, {
              label: '审核不通过',
              value: '3'
            }]
          }, {
            label: '申请时间',
            prop: 'applyTime',
            disabled: true,
          }, {
            label: '外出原因',
            prop: 'applyName',
            disabled: true,
          }, {
            label: '身份证号',
            prop: 'idCard',
            disabled: true,
          }, {
            label: '位置图片',
            fileType: 'img',
            type: "upload",
            listType: "picture-card",
            dataType: "string",
            prop: 'locationImageUrls',
            disabled: true,
          }, {
            label: '确认人电话',
            prop: 'confirmUserTelephone',
            disabled: true,
          }, {
            label: '出发-当前时间',
            prop: 'startTime',
            disabled: true,
          }, {
            label: '出发-报备位置',
            prop: 'startLocation',
            disabled: true,
          }, {
            label: '出发-位置图片',
            fileType: 'img',
            type: "upload",
            listType: "picture-card",
            dataType: "string",
            prop: 'startImageUrls',
            disabled: true,
          }, {
            label: '到达-当前时间',
            prop: 'reachTime',
            disabled: true,
          }, {
            label: '到达-报备位置',
            prop: 'reachLocation',
            disabled: true,
          }, {
            label: '到达-位置图片',
            fileType: 'img',
            type: "upload",
            listType: "picture-card",
            dataType: "string",
            prop: 'reachImageUrls',
            disabled: true,
          }, {
            label: '返回-当前时间',
            prop: 'returnTime',
            disabled: true,
          }, {
            label: '返回-报备位置',
            prop: 'returnLocation',
            disabled: true,
          }, {
            label: '返回-位置图片',
            fileType: 'img',
            type: "upload",
            listType: "picture-card",
            dataType: "string",
            prop: 'returnImageUrls',
            disabled: true,
          }, {
            label: '创建时间',
            prop: 'createTime',
            disabled: true,
          }, ]
        }
      }
    },
    methods: {
      init(data) {
        this.getTaskDetail(data.id)
      },
 
      getTaskDetail(taskId) {
        getDetail({
          taskId: taskId
        }).then((res) => {
          this.data = res.data.data
        })
      }
 
    }
  }
</script>
 
<style>
</style>