叶松
2023-11-21 6eaaba4f97028d581df3e019a7705d60b398c26e
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
<template>
    <view class="home_index">
        <view class="home_content">
            <u-navbar
                title="整改详情"
                bgColor="transparent"
                leftIconColor="#fff"
                titleStyle="text-align:left;width:100%;color:#fff;margin-left:40px;"
                :autoBack="true">
            </u-navbar>
            <view class="home_top_bg"></view>
            <!-- <view class="notice_header">
                <u-image class="notice_header_icon" src="@/static/time_header.png" width="88rpx" height="88rpx"></u-image>
                <view class="notice_header_time">整改截止时间:<span>2022-10-09 10:00</span></view>
            </view> -->
            <view class="notice_details">
                <view class="notice_main_headers">
                    <view class="rectify_main_left">{{rectifyDetail.inspectName}}</view>
                    <view class="rectify_main_right">
                        <view class="rectify_main_text" style="border-right:1px solid #D9D9D9">{{rectifyDetail.realName}}</view>
                        <view class="rectify_main_text">{{rectifyDetail.jobNum}}</view>
                    </view>
                </view>
                <view class="notice_main_matter">
                    <view class="notice_matter_items">
                        <view class="notice_matter_titles">问题内容:</view>
                        <view class="notice_matter_datas">{{rectifyDetail.inspectContent}}</view>
                    </view>
                    <view class="notice_matter_phone" v-for="(item,index) in NoticePhone" :key="index">
                        <u-image :src="`https://szpipe.thhy-tj.com/${item.imgPath}`" ></u-image>
                    </view>
                    <view class="notice_matter_items">
                        <view class="notice_matter_titles">整改结果:</view>
                        <view class="notice_matter_datas">{{rectifyDetail.feedbackContent ===null?"":rectifyDetail.feedbackContent}}</view>
                    </view>
                    <view class="notice_matter_phone" v-for="(item,index) in overNoticePhone" :key="index">
                        <u-image :src="`https://szpipe.thhy-tj.com/${item.imgPath}`" ></u-image>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    import { basrUrl } from '@/api/http';
    export default {
        data(){
            return{
                rectifyDetail:[],//整改详情数据
                overNoticePhone:[],//整改完成的图片
                NoticePhone:[],//未整改图片
            }
        },
        onLoad(option) {
            this.searchRectify(option.secureInspectId)
        },
        methods:{
            //获取详情信息
            searchRectify(val){
                this.$api.reboSystem.detailsCheckSafe({secureInspectId:val}).then(res=>{
                    if(res.statusMsg === 'ok'){
                        this.rectifyDetail = res.data
                        this.overNoticePhone = res.data.tsecureInspectPaths.filter(item=>item.isType ===2)
                        this.NoticePhone = res.data.tsecureInspectPaths.filter(item=>item.isType ===1)
                    }else{
                        uni.$u.toast(res.statusMsg);
                    }
                })
            }
        }
    }
</script>
 
<style scoped lang="scss">
    .home_index{
        background-color: #F6F6F6;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        .home_content{
            position: relative;
            height: calc(100vh - 110rpx);
            .home_top_bg{
                background: url('https://s1.ax1x.com/2022/09/14/vvBuYq.png') no-repeat;
                background-size: 100% 100%;
                height: 40vh;
                position: absolute;
                left: 0;
                top: 0;
                right: 0;
            }
            .notice_header{
                height: 148px;
                margin: 0px 15px;
                position: absolute;
                top: 50px;
                right: 0;
                left: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                
                .notice_header_icon{
                    width: 100%;
                    height: 100%;
                }
                .notice_header_time{
                    margin-top: 15px;
                    font-size: 16px;
                    color: #FFFFFF;
                }
            }
            .notice_details{
                height:100%;
                position: absolute;
                top: 110px;
                left: 0px;
                right: 0px;
                margin: 0 15px;
                border-radius: 6px;
                background-color: #FFFFFF;
                
                .notice_main_headers{
                    height: 22px;
                    padding: 15px;
                    display: flex;
                    justify-content: space-between;
                    padding-bottom: 10px;
                    border-bottom: 1px solid #EDEDED;
                    .rectify_main_left{
                        color:#1977FF;
                        font-size: 17px;
                    }
                    .rectify_main_right{
                        flex: none;
                        display: flex;
                        .rectify_main_text{
                            padding: 0 5px;
                            color: #333333;
                            font-size: 17px;
                        }
                    }
                }
                .notice_main_matter{
                    height: calc(100% - 210px);
                    overflow: auto;
                    margin-top: 15px;
                    padding: 0 15px;
                    display: flex;
                    flex-direction:  column;
                    .notice_matter_items{
                        display: flex;
                        flex-direction:row;
                        
                        .notice_matter_titles{
                            color: #333333;
                            font-size: 17px;
                            margin-left: 10px;
                            position: relative;
                            flex: none;
                            &::before{
                                content: "";
                                width: 3px;
                                height: 18px;
                                background-color: #1977FF;
                                position: absolute;
                                top: 3px;
                                left: -10px;
                            }
                        }
                        .notice_matter_datas{
                            color: #AEAEAE;
                            font-size: 17px;
                        }
                    }
                    .notice_matter_phone{
                        margin-top: 10px;
                        margin-bottom: 10px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                }
            }
        }
    }
</style>