feat(property): 1
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
007bda30bc
commit
9131eb0e44
@ -144,6 +144,9 @@ export interface PersonForm extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
authGroupId?: string | number
|
authGroupId?: string | number
|
||||||
|
|
||||||
|
begDate?: string
|
||||||
|
|
||||||
|
endDate?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PersonQuery extends PageQuery {
|
export interface PersonQuery extends PageQuery {
|
||||||
|
@ -212,16 +212,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
fieldName: 'carNumber',
|
fieldName: 'carNumber',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: '人脸图片',
|
|
||||||
fieldName: 'img',
|
|
||||||
component: 'ImageUpload',
|
|
||||||
componentProps: {
|
|
||||||
// accept: 'image/*', // 可选拓展名或者mime类型 ,拼接
|
|
||||||
maxCount: 1, // 最大上传文件数 默认为1 为1会绑定为string而非string[]类型
|
|
||||||
},
|
|
||||||
formItemClass: 'col-span-2',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: '授权期限',
|
label: '授权期限',
|
||||||
fieldName: 'authTime',
|
fieldName: 'authTime',
|
||||||
@ -257,6 +247,16 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '人脸图片',
|
||||||
|
fieldName: 'img',
|
||||||
|
component: 'ImageUpload',
|
||||||
|
componentProps: {
|
||||||
|
// accept: 'image/*', // 可选拓展名或者mime类型 ,拼接
|
||||||
|
maxCount: 1, // 最大上传文件数 默认为1 为1会绑定为string而非string[]类型
|
||||||
|
},
|
||||||
|
formItemClass: 'col-span-2',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '备注',
|
label: '备注',
|
||||||
fieldName: 'remark',
|
fieldName: 'remark',
|
||||||
|
@ -94,6 +94,9 @@ async function handleConfirm() {
|
|||||||
if(unitName.value){
|
if(unitName.value){
|
||||||
data.unitName = unitName.value
|
data.unitName = unitName.value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
data.begDate = data.authTime[0]
|
||||||
|
data.endDate = data.authTime[1]
|
||||||
await (isUpdate.value ? personUpdate(data) : personAdd(data));
|
await (isUpdate.value ? personUpdate(data) : personAdd(data));
|
||||||
resetInitialized();
|
resetInitialized();
|
||||||
emit('reload');
|
emit('reload');
|
||||||
|
Loading…
Reference in New Issue
Block a user