jiangping
2024-02-02 5eb40c731da8ccf235ba557f97a5e05a70a75308
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
<template>
    <GlobalWindow
        :title="title"
        width="50%"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
    >
        <div class="box">
            <div class="box_label">派遣单位详情</div>
            <div class="box_list">
                <div class="box_list_item">
                    <div class="box_list_item_label">派遣单位:</div>
                    <div class="box_list_item_val">芜湖格力精密制造有限公司</div>
                </div>
                <div class="box_list_item">
                    <div class="box_list_item_label">派遣单位信用代码:</div>
                    <div class="box_list_item_val">913401000900000001</div>
                </div>
                <div class="box_list_item">
                    <div class="box_list_item_label">派遣单位状态:</div>
                    <div class="box_list_item_val">已通过</div>
                </div>
                <div class="box_list_item">
                    <div class="box_list_item_label">派遣单位详述:</div>
                    <div class="box_list_item_val">无</div>
                </div>
            </div>
            <div class="box_x"></div>
            <div class="box_fa">保险方案:平安保险雇主责任险A版</div>
            <el-table
                :data="tableData"
                border
                style="width: 100%">
                <el-table-column
                    label="序号"
                    align="center"
                    width="80">
                    <template slot-scope="scope">
                        <span>{{scope.$index + 1}}</span>
                    </template>
                </el-table-column>
                <el-table-column
                    align="center"
                    label="所属工种">
                    <template slot-scope="{row}">
                        <el-select v-model="row.info" placeholder="请选择">
                            <el-option
                                v-for="item in options"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value">
                            </el-option>
                        </el-select>
                    </template>
                </el-table-column>
                <el-table-column
                    label="审核通过日期"
                    width="150"
                    align="center"
                    prop="time">
                </el-table-column>
            </el-table>
            <div class="box_videos">
                <div class="box_videos_item" v-for="(item,index) in 1" :key="index">
                    <video src="https://baidu.com"></video>
                    <div class="box_videos_item_info">
                        1-3类 蔬菜/园艺工/家禽家畜饲养人员
                    </div>
                </div>
            </div>
            <div class="box_fa">保险方案:平安保险雇主责任险A版</div>
            <el-table
                    :data="tableData"
                    border
                    style="width: 100%">
                <el-table-column
                        label="序号"
                        align="center"
                        width="80">
                    <template slot-scope="scope">
                        <span>{{scope.$index + 1}}</span>
                    </template>
                </el-table-column>
                <el-table-column
                        align="center"
                        label="所属工种">
                    <template slot-scope="{row}">
                        <el-select v-model="row.info" placeholder="请选择">
                            <el-option
                                    v-for="item in options"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value">
                            </el-option>
                        </el-select>
                    </template>
                </el-table-column>
                <el-table-column
                        label="审核通过日期"
                        width="150"
                        align="center"
                        prop="time">
                </el-table-column>
            </el-table>
            <div class="box_videos">
                <div class="box_videos_item" v-for="(item,index) in 1" :key="index">
                    <video src="https://baidu.com"></video>
                    <div class="box_videos_item_info">
                        1-3类 蔬菜/园艺工/家禽家畜饲养人员
                    </div>
                </div>
            </div>
            <div class="box_label">审核流程</div>
            <el-timeline :reverse="reverse" style="margin-top: 20px;">
                <el-timeline-item
                    v-for="(activity, index) in activities"
                    :key="index"
                    :timestamp="activity.timestamp">
                    {{activity.content}}
                </el-timeline-item>
            </el-timeline>
        </div>
    </GlobalWindow>
</template>
 
<script>
    import BaseOpera from '@/components/base/BaseOpera'
    import GlobalWindow from '@/components/common/GlobalWindow'
    export default {
        name: 'OperaDispatchUnitWindow',
        extends: BaseOpera,
        components: { GlobalWindow },
        data () {
            return {
                reverse: false,
                activities: [{
                    content: '提交派遣单位',
                    timestamp: '操作员-张伟(安徽豆米科技有限公司)\n' +
                        '\n' +
                        '2023-09-11 00:00:00'
                }, {
                    content: '派遣单位通过\n' +
                        '\n' +
                        '\n' +
                        '提交意见:-',
                    timestamp: '操作员-叶显骏(平台端)\n' +
                        '\n' +
                        '2023-09-11 00:00:00'
                }],
                // 表单数据
                form: {
                    id: null,
                    worktypeStatus: ''
                },
                // 验证规则
                rules: {
                },
                tableData: []
            }
        },
        created () {
            this.config({
                api: '/business/dispatchUnit',
                'field.id': 'id'
            })
        }
    }
</script>
 
<style lang="scss" scoped>
    .box {
        width: 100%;
        .box_label {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .box_list {
            width: 100%;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: space-between;
            .box_list_item {
                width: 33.3%;
                display: flex;
                align-items: center;
                margin-top: 10px;
                .box_list_item_label {
                    flex-shrink: 0;
                    font-size: 14px;
                    color: black;
                }
                .box_list_item_val {
                    flex: 1;
                    font-size: 14px;
                    color: black;
                }
            }
        }
        .box_x {
            width: 100%;
            height: 1px;
            background: #ececec;
            margin: 20px 0;
        }
        .box_fa {
            font-size: 14px;
            color: black;
            margin-bottom: 20px;
        }
        .box_videos {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-top: 20px;
            .box_videos_item {
                width: 300px;
                padding: 5px;
                box-sizing: border-box;
                display: flex;
                align-items: start;
                border: 1px solid #ececec;
                margin-right: 20px;
                margin-bottom: 20px;
                &:last-child {
                    margin-right: 0 !important;
                }
                video {
                    flex-shrink: 0;
                    width: 100px;
                    height: 100px;
                }
                .box_videos_item_info {
                    flex: 1;
                    font-size: 14px;
                    color: black;
                    margin-left: 5px;
                }
            }
        }
    }
</style>