209 lines
4.0 KiB
JavaScript
209 lines
4.0 KiB
JavaScript
/*
|
|
* Copyright (c) 2018-2025, cyweb All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions are met:
|
|
*
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions and the following disclaimer.
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
* documentation and/or other materials provided with the distribution.
|
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
|
* contributors may be used to endorse or promote products derived from
|
|
* this software without specific prior written permission.
|
|
*
|
|
*/
|
|
|
|
export const tableOption = {
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
align: 'center',
|
|
editBtn: false,
|
|
delBtn: false,
|
|
addBtn: false,
|
|
dic: [],
|
|
column: [
|
|
/*{
|
|
label: '主键',
|
|
prop: 'id'
|
|
},*/
|
|
/* {
|
|
label: '创建人',
|
|
prop: 'createBy'
|
|
},
|
|
{
|
|
label: '创建时间',
|
|
prop: 'createTime'
|
|
},
|
|
{
|
|
label: '更新人',
|
|
prop: 'updateBy'
|
|
},
|
|
{
|
|
label: '更新时间',
|
|
prop: 'updateTime'
|
|
},
|
|
{
|
|
label: '删除标志位',
|
|
prop: 'delFlag'
|
|
},*/
|
|
|
|
/* {
|
|
label: '租户id',
|
|
prop: 'tenantId'
|
|
},*/
|
|
{
|
|
label: '审核状态',
|
|
prop: 'state',
|
|
search:true,
|
|
dicUrl:'/admin/dict/item/type/professional_state',
|
|
type:'select',
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
},
|
|
addDisplay:false,
|
|
editDisplay:false,
|
|
},
|
|
{
|
|
label: "驳回理由",
|
|
prop: "backReason",
|
|
},
|
|
{
|
|
label: '工号',
|
|
prop: 'teacherNo',
|
|
search:true
|
|
},
|
|
{
|
|
label: '姓名',
|
|
prop: 'realName',
|
|
search:true
|
|
|
|
},
|
|
{
|
|
label: '资格等级',
|
|
prop: 'qualificationConfigId',
|
|
type: 'select',
|
|
dicUrl: '/professional/professionalqualificationconfig/getLevelList',
|
|
props: {
|
|
label: 'levelName',
|
|
value: 'id'
|
|
}
|
|
},
|
|
{
|
|
label: '工种',
|
|
prop: 'worker',
|
|
type: 'select',
|
|
dicUrl: '/professional/professionalworktype/getWorkTypeList',
|
|
props: {
|
|
label: 'workName',
|
|
value: 'id'
|
|
}
|
|
},
|
|
{
|
|
label: '是否最高',
|
|
prop: 'isHighest',
|
|
addDisplay:false,
|
|
editDisplay:false,
|
|
hide:true
|
|
},
|
|
|
|
{
|
|
label: '证书编号',
|
|
prop: 'certificateNumber',
|
|
hide:true
|
|
},
|
|
{
|
|
label: '取证时间',
|
|
prop: 'certificateTime',
|
|
type:'datetime',
|
|
format:'yyyy-MM-dd',
|
|
valueFormat:'yyyy-MM-dd HH:mm:ss',
|
|
addDisplay:false,
|
|
editDisplay:false,
|
|
hide:true
|
|
},
|
|
|
|
{
|
|
label: '证明材料1',
|
|
prop: 'evidenceA',
|
|
row:true,
|
|
formslot:true,
|
|
hide:true,
|
|
span:24,
|
|
},
|
|
{
|
|
label: '证明材料2',
|
|
prop: 'evidenceB',
|
|
row:true,
|
|
formslot:true,
|
|
hide:true,
|
|
span:24,
|
|
},
|
|
{
|
|
label: '证明材料3',
|
|
prop: 'evidenceC',
|
|
row:true,
|
|
formslot:true,
|
|
hide:true,
|
|
span:24,
|
|
},
|
|
|
|
{
|
|
label: '证明材料',
|
|
prop: 'evidence',
|
|
row:true,
|
|
display:false,
|
|
span:24,
|
|
slot:true
|
|
},
|
|
{
|
|
label: '备注',
|
|
prop: 'remarks',
|
|
type:"textarea",
|
|
span:24,
|
|
hide:true
|
|
},
|
|
|
|
{
|
|
label: '流程状态',
|
|
prop: 'procInsStatus',
|
|
addDisplay:false,
|
|
editDisplay:false,
|
|
hide:true
|
|
},
|
|
{
|
|
label: '更新时间',
|
|
prop: 'updateTime',
|
|
type:'datetime',
|
|
format:'yyyy-MM-dd',
|
|
addDisplay:false,
|
|
editDisplay:false
|
|
},
|
|
{
|
|
label: '原因',
|
|
prop: 'reason',
|
|
addDisplay:false,
|
|
editDisplay:false,
|
|
hide:true
|
|
},
|
|
/* {
|
|
label: '审核人',
|
|
prop: 'auditor'
|
|
},*/
|
|
/* {
|
|
label: '审核时间',
|
|
prop: 'auditTime'
|
|
},*/
|
|
|
|
// {
|
|
// label: '排序',
|
|
// prop: 'sort'
|
|
// },
|
|
]
|
|
}
|