Browse Source

个人用户实名认证关联页面功能调整,用户注册页面删除功能修复

main
TonyStark 2 months ago
parent
commit
642523c90e
  1. 8
      src/views/business/userRegister/index.vue
  2. 9
      src/views/business/userVerification/index.vue

8
src/views/business/userRegister/index.vue

@ -665,7 +665,13 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const account = row.account; const account = row.account;
this.$modal.confirm('是否确认删除登录账号为"' + account + '"的数据项?').then(() => { const ids = row.id || this.ids;
var msg = "";
if(null != account)
msg = '是否确认删除登录账号为"' + account + '"的数据项?';
else
msg = "是否要批量删除?";
this.$modal.confirm(msg).then(() => {
this.loading = true; this.loading = true;
return delUserRegister(ids); return delUserRegister(ids);
}).then(() => { }).then(() => {

9
src/views/business/userVerification/index.vue

@ -120,13 +120,6 @@
icon="el-icon-view" icon="el-icon-view"
@click="handleAudit(scope.row)" @click="handleAudit(scope.row)"
>审核</el-button> >审核</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['business:userVerification:remove']"
>删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -207,7 +200,7 @@
<el-form-item label="手持身份证照:"> <el-form-item label="手持身份证照:">
{{auditForm.userWithIdCardImagePath}} {{auditForm.userWithIdCardImagePath}}
</el-form-item> </el-form-item>
<el-form-item label="认证失败原因:" prop="auditFailureReason"> <el-form-item label="认证失败原因:" prop="failureReason">
<el-input v-model="auditForm.failureReason" placeholder="请输入认证失败原因" /> <el-input v-model="auditForm.failureReason" placeholder="请输入认证失败原因" />
</el-form-item> </el-form-item>
</el-form> </el-form>

Loading…
Cancel
Save