个人报名
Showing
3 changed files
with
15 additions
and
5 deletions
| ... | @@ -807,6 +807,8 @@ export function preCheckForGroup(groupId, type) { | ... | @@ -807,6 +807,8 @@ export function preCheckForGroup(groupId, type) { |
| 807 | } | 807 | } |
| 808 | 808 | ||
| 809 | // 个人报名校验 | 809 | // 个人报名校验 |
| 810 | // type 1校验,2删除 | ||
| 811 | |||
| 810 | export function preCheckForPerson(params) { | 812 | export function preCheckForPerson(params) { |
| 811 | return request({ | 813 | return request({ |
| 812 | url: `/systemj/personInfo/preCheckForPerson`, | 814 | url: `/systemj/personInfo/preCheckForPerson`, |
| ... | @@ -816,6 +818,7 @@ export function preCheckForPerson(params) { | ... | @@ -816,6 +818,7 @@ export function preCheckForPerson(params) { |
| 816 | } | 818 | } |
| 817 | 819 | ||
| 818 | // 人员OCR校验 | 820 | // 人员OCR校验 |
| 821 | // type 1个人2团体 | ||
| 819 | export function checkOcr(data) { | 822 | export function checkOcr(data) { |
| 820 | return request({ | 823 | return request({ |
| 821 | url: `/systemj/personInfo/checkOcr`, | 824 | url: `/systemj/personInfo/checkOcr`, | ... | ... |
| ... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
| 104 | <span | 104 | <span |
| 105 | v-else class="text-danger pointer" | 105 | v-else class="text-danger pointer" |
| 106 | @click="editPerson(scope.row)" | 106 | @click="editPerson(scope.row)" |
| 107 | >{{ language == 0 ? '上传证件' : 'Upload Valid Passport' }}</span> | 107 | >{{ language == 0 ? '完善信息' : 'Upload Valid Passport' }}</span> |
| 108 | <span | 108 | <span |
| 109 | v-if="scope.row.userId=='0'&&mateId!=scope.row.id" class="text-primary pd10 pointer" | 109 | v-if="scope.row.userId=='0'&&mateId!=scope.row.id" class="text-primary pd10 pointer" |
| 110 | @click="deletePerson(scope.row)" | 110 | @click="deletePerson(scope.row)" | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <el-dialog v-model="show" :title="title" append-to-body width="1000px"> | 2 | <el-dialog v-model="show" :title="title" append-to-body destroy-on-close width="1000px"> |
| 3 | |||
| 4 | <div class="from-Card"> | 3 | <div class="from-Card"> |
| 5 | <el-form :inline="true" :model="query" class="mt20" label-width="60" size="small"> | 4 | <el-form |
| 5 | ref="formRef" :inline="true" :model="query" class="mt20" label-width="60" | ||
| 6 | size="small" | ||
| 7 | > | ||
| 6 | <el-form-item :label="language==0?'姓名':'Name'"> | 8 | <el-form-item :label="language==0?'姓名':'Name'"> |
| 7 | <el-input v-model="query.realName" clearable style="width: 120px;" /> | 9 | <el-input v-model="query.realName" clearable style="width: 120px;" /> |
| 8 | </el-form-item> | 10 | </el-form-item> |
| ... | @@ -104,12 +106,12 @@ import checkOcr from '../components/checkOcr' | ... | @@ -104,12 +106,12 @@ import checkOcr from '../components/checkOcr' |
| 104 | import Import from '../components/import' | 106 | import Import from '../components/import' |
| 105 | import { useStorage } from '@vueuse/core/index' | 107 | import { useStorage } from '@vueuse/core/index' |
| 106 | import { getPerPersonList } from '@/apiPc/match' | 108 | import { getPerPersonList } from '@/apiPc/match' |
| 109 | import { resetForm } from '/@/utils/ruoyi' | ||
| 107 | 110 | ||
| 108 | const language = useStorage('language', 0) | 111 | const language = useStorage('language', 0) |
| 109 | const { proxy } = getCurrentInstance() | 112 | const { proxy } = getCurrentInstance() |
| 110 | const data = reactive({ | 113 | const data = reactive({ |
| 111 | query: { | 114 | query: { |
| 112 | label: '0', | ||
| 113 | pageSize: 10, | 115 | pageSize: 10, |
| 114 | pageNum: 1 | 116 | pageNum: 1 |
| 115 | }, | 117 | }, |
| ... | @@ -142,8 +144,13 @@ const type = ref('1') | ... | @@ -142,8 +144,13 @@ const type = ref('1') |
| 142 | 144 | ||
| 143 | 145 | ||
| 144 | const open = (id, val) => { | 146 | const open = (id, val) => { |
| 147 | query.value = { | ||
| 148 | pageSize: 10, | ||
| 149 | pageNum: 1 | ||
| 150 | } | ||
| 145 | show.value = true | 151 | show.value = true |
| 146 | query.value.id = id | 152 | query.value.id = id |
| 153 | query.value.mateFlag = '1' | ||
| 147 | type.value = val | 154 | type.value = val |
| 148 | getList() | 155 | getList() |
| 149 | } | 156 | } | ... | ... |
-
Please register or sign in to post a comment