operate.vue
1.91 KB
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
<!-- 操作记录 -->
<template>
<div class="oparete-wrap">
<div class="title">
操作记录
</div>
<div class="content">
<div v-for="(item, index) in logs"
:key="index"
class="item">
<div class="item-type">
{{ operationType[item.operationType] }}
</div>
<div class="item-operate">
操作人:{{ item.createdBy }}
</div>
<div class="item-time">
操作时间:{{ item.createdDate }}
</div>
<div v-if="item.operationRemark" class="item-remark">
{{ item.operationRemark }}
</div>
</div>
</div>
</div>
</template>
<script>
export default {
props: {
logs: {
type: Array,
default: () => [],
},
},
data() {
return {
// 1-创建 2-人事确认 3-驳回 4-新增简历 5-编辑简历 6-新增入职 7-完成 ,
operationType: {
1: "创建",
2: "人事确认",
3: "驳回",
4: "新增简历",
5: "编辑简历",
6: "新增入职",
7: "完成",
8: "处理",
9: "督导确认",
10: "试岗开账号通过",
11: "试岗开账号驳回",
},
};
},
};
</script>
<style lang="scss" scoped>
.oparete-wrap {
background: #ffffff;
margin: 20px 20px 0;
.title {
color: #333333;
font-size: 16px;
font-weight: bold;
padding: 13.5px 20px;
border-bottom: 1px solid #e5e5e5;
line-height: 23px;
box-sizing: border-box;
}
.content {
padding: 20px;
}
.item {
display: flex;
align-items: center;
margin-bottom: 20px;
.item-type {
color: #333333;
font-size: 14px;
font-weight: 600;
width: 120px;
margin-right: 40px;
}
.item-operate {
width: 200px;
color: #333333;
font-size: 14px;
margin-right: 40px;
}
.item-time {
color: #333333;
font-size: 14px;
margin-right: 40px;
}
.item-remark {
color: #333333;
font-size: 14px;
margin-right: 40px;
}
}
}
</style>