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
| <template>
| <div class='authentication_show'>
| <div class="clearfix">
| <p class="w_col_12">姓名:{{os.name}}</p>
| <p class="w_col_12">手机号:{{os.phone}}</p>
| <p class="w_col_12">所在党支部:{{os.orgName}}</p>
| <p class="w_col_12">党员类型:{{os.type===2?'正式党员':'预备党员'}}</p>
| <p class="w_col_12">入党时间:{{os.joinTime}}</p>
| <p class="w_col_12">报到单位:{{os.checkUnitName||'暂无'}}</p>
| <p class="w_col_12">转正时间:{{os.employmentTime}}</p>
| <p class="w_col_12">职位:{{os.position||'暂无'}}</p>
| <p class="w_col_12">身份证号:{{os.idCard}}</p>
| <p class="w_col_12">职能:{{os.function||'暂无'}}</p>
| <p class="w_col_12">特长:{{os.specialtyName||'暂无'}}</p>
| <p class="w_col_24">认证时间:{{os.createAt}}</p>
| <p class="w_col_24">状态:{{['待审核','已审核','/','已驳回'][os.auditResult]}}</p>
| </div>
| <section class="fls">
| <p class="label">照片:</p>
| <article>
| <img
| :src="os.photoPath || '../../static/image/noimage.jpg'"
| alt=""
| @click="appShowImage(os.photoPath)"
| >
| </article>
| </section>
| </div>
| </template>
|
| <script>
| export default {
| props: {
| item: {
| type: Object,
| default: () => {
| return {};
| },
| },
| door: {
| type: Object,
| default: () => {
| return {};
| },
| },
| },
| components: {},
| data() {
| return { os: {} };
| },
| inject: ["appShowImage"],
| watch: {
| item: {
| handler() {
| this.setItem();
| },
| deep: true,
| },
| door: {
| handler(n) {
| if (n.r) {
| this.sub(n.t);
| }
| },
| deep: true,
| },
| },
| methods: {
| setItem() {
| this.os = this.item.v || {};
| },
| sub(type) {
| this.$store.dispatch("setFixed", {
| event: "del",
| type: type,
| time: Date.now(),
| });
| },
| },
| mounted() {
| this.setItem();
| },
| };
| </script>
| <style lang='less' scoped>
| .authentication_show {
| p {
| font-size: 15px;
| color: #666;
| margin-bottom: 12px;
| line-height: 1.5;
| }
| .fls {
| display: flex;
| .label {
| width: 100px;
| }
| article {
| width: calc(100% - 100px);
| display: flex;
| flex-wrap: wrap;
| img {
| display: block;
| width: 100px;
| height: 100px;
| margin: 0 10px 10px 0;
| cursor: pointer;
| background-color: #eee;
| }
| }
| }
| }
| </style>
|
|