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
| <template>
| <div class='authentication_send'>
| <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" v-if="os.type===2">转正时间:{{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>
| </div>
| <section class="fls">
| <p class="label">照片:</p>
| <article>
| <img
| :src="os.photoPath || '../../static/image/noimage.jpg'"
| alt=""
| @click="appShowImage(os.photoPath)"
| >
| </article>
| </section>
| <section class="fls">
| <p class="label">审核状态:</p>
| <article>
| <el-radio
| v-model="radio"
| label="1"
| >通过</el-radio>
| <el-radio
| v-model="radio"
| label="0"
| >驳回</el-radio>
| </article>
| </section>
| <section v-if="+radio===0">
| <p class="label">驳回原因:</p>
| <article>
| <textarea
| class="m_inp"
| cols="30"
| rows="10"
| v-model="msg"
| ></textarea>
| </article>
| </section>
| </div>
| </template>
|
| <script>
| export default {
| props: {
| item: {
| type: Object,
| default: () => {
| return {};
| },
| },
| door: {
| type: Object,
| default: () => {
| return {};
| },
| },
| },
| components: {},
| data() {
| return { radio: "1", os: {}, msg: "" };
| },
| 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) {
| let os = {
| id: this.os.id,
| idCard: this.os.idCard,
| type: this.radio * 1,
| };
| if (!os.type) {
| if (!this.msg) return demo.toast("请输入驳回原因");
| os.refuseReason = this.msg;
| }
| this.$api.post(
| "communitypartybuilding/reviewprepartybuildingmember",
| os,
| () => {
| demo.toast("操作成功");
| this.$store.dispatch("setFixed", {
| event: "del",
| type: type,
| time: Date.now(),
| });
| this.$store.dispatch("setPageReset", "/com_authentication");
| }
| );
| },
| },
| mounted() {
| this.setItem();
| },
| };
| </script>
| <style lang='less' scoped>
| .authentication_send {
| 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>
|
|