2afbdc86 by zhangmeng

个人报名

1 parent 80051c65
......@@ -807,6 +807,8 @@ export function preCheckForGroup(groupId, type) {
}
// 个人报名校验
// type 1校验,2删除
export function preCheckForPerson(params) {
return request({
url: `/systemj/personInfo/preCheckForPerson`,
......@@ -816,6 +818,7 @@ export function preCheckForPerson(params) {
}
// 人员OCR校验
// type 1个人2团体
export function checkOcr(data) {
return request({
url: `/systemj/personInfo/checkOcr`,
......
......@@ -104,7 +104,7 @@
<span
v-else class="text-danger pointer"
@click="editPerson(scope.row)"
>{{ language == 0 ? '上传证件' : 'Upload Valid Passport' }}</span>
>{{ language == 0 ? '完善信息' : 'Upload Valid Passport' }}</span>
<span
v-if="scope.row.userId=='0'&&mateId!=scope.row.id" class="text-primary pd10 pointer"
@click="deletePerson(scope.row)"
......
<template>
<el-dialog v-model="show" :title="title" append-to-body width="1000px">
<el-dialog v-model="show" :title="title" append-to-body destroy-on-close width="1000px">
<div class="from-Card">
<el-form :inline="true" :model="query" class="mt20" label-width="60" size="small">
<el-form
ref="formRef" :inline="true" :model="query" class="mt20" label-width="60"
size="small"
>
<el-form-item :label="language==0?'姓名':'Name'">
<el-input v-model="query.realName" clearable style="width: 120px;" />
</el-form-item>
......@@ -104,12 +106,12 @@ import checkOcr from '../components/checkOcr'
import Import from '../components/import'
import { useStorage } from '@vueuse/core/index'
import { getPerPersonList } from '@/apiPc/match'
import { resetForm } from '/@/utils/ruoyi'
const language = useStorage('language', 0)
const { proxy } = getCurrentInstance()
const data = reactive({
query: {
label: '0',
pageSize: 10,
pageNum: 1
},
......@@ -142,8 +144,13 @@ const type = ref('1')
const open = (id, val) => {
query.value = {
pageSize: 10,
pageNum: 1
}
show.value = true
query.value.id = id
query.value.mateFlag = '1'
type.value = val
getList()
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!