|
@@ -2,11 +2,11 @@
|
2
|
2
|
<div id="root">
|
3
|
3
|
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
4
|
4
|
<el-dialog
|
5
|
|
- title="提示"
|
6
|
5
|
:visible.sync="dialogVisible"
|
|
6
|
+ title="提示"
|
7
|
7
|
width="30%">
|
8
|
8
|
<span><el-radio v-model="formInline.remark" label="不认识的人的手机号">不认识的人的手机号</el-radio>
|
9
|
|
- <el-radio v-model="formInline.remark" label="其他原因需要沟通">其他原因需要沟通</el-radio>
|
|
9
|
+ <el-radio v-model="formInline.remark" label="其他原因需要沟通">其他原因需要沟通</el-radio>
|
10
|
10
|
</span>
|
11
|
11
|
<span slot="footer" class="dialog-footer">
|
12
|
12
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
@@ -116,7 +116,8 @@ export default {
|
116
|
116
|
},
|
117
|
117
|
total: 0, // 总数
|
118
|
118
|
tableData: [], // 数据体
|
119
|
|
- dialogVisible: false
|
|
119
|
+ dialogVisible: false,
|
|
120
|
+ fullscreen: true // 是否开启菊花转
|
120
|
121
|
}
|
121
|
122
|
},
|
122
|
123
|
mounted() {
|
|
@@ -160,20 +161,22 @@ export default {
|
160
|
161
|
})
|
161
|
162
|
},
|
162
|
163
|
// 展示弹框
|
163
|
|
- passTheAudit(verifyId, vstatus){
|
|
164
|
+ passTheAudit(verifyId, vstatus) {
|
164
|
165
|
this.formInline.userVerifyId = verifyId
|
165
|
166
|
this.formInline.verifyStatus = vstatus
|
166
|
167
|
this.dialogVisible = true
|
167
|
168
|
},
|
168
|
169
|
// 提交
|
169
|
|
- submitAudit(){
|
|
170
|
+ submitAudit() {
|
170
|
171
|
this.userVerifyAudit()
|
171
|
172
|
},
|
172
|
173
|
|
173
|
|
- userVerifyAudit(verifyId, vstatus,isA) {
|
174
|
|
- if(isA=='1'){
|
175
|
|
- this.formInline.userVerifyId = verifyId
|
176
|
|
- this.formInline.verifyStatus = vstatus
|
|
174
|
+ userVerifyAudit(verifyId, vstatus, isA) {
|
|
175
|
+ this.fullscreen = true
|
|
176
|
+ const loading = this.$loading({ fullscreen: this.fullscreen, background: 'rgba(0, 0, 0, 0.8)' })
|
|
177
|
+ if (isA === '1') {
|
|
178
|
+ this.formInline.userVerifyId = verifyId
|
|
179
|
+ this.formInline.verifyStatus = vstatus
|
177
|
180
|
}
|
178
|
181
|
this.$store.dispatch('UserVerifyAudit', this.formInline).then((res) => {
|
179
|
182
|
const resCode = res.code
|
|
@@ -183,11 +186,14 @@ export default {
|
183
|
186
|
type: 'success'
|
184
|
187
|
})
|
185
|
188
|
this.dialogVisible = false
|
|
189
|
+ loading.close()
|
186
|
190
|
this.getData()
|
187
|
191
|
return
|
188
|
192
|
}
|
|
193
|
+ loading.close()
|
189
|
194
|
this.$message.error(res.message)
|
190
|
195
|
}).catch(() => {
|
|
196
|
+ loading.close()
|
191
|
197
|
console.log('UserVerifyAudit error')
|
192
|
198
|
})
|
193
|
199
|
},
|