You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
314 lines
6.0 KiB
314 lines
6.0 KiB
export const swTableOption = { |
|
reserveSelection:false, |
|
selection:true, |
|
index:true, |
|
addTitle:'实物档案>新增', |
|
editTitle:'实物档案>编辑', |
|
indexFixed:false, |
|
dialogDrag: true, |
|
border: false, |
|
indexLabel: '序号', |
|
stripe: true, |
|
menuAlign: 'center', |
|
align: 'center', |
|
menuType: 'text', |
|
excelBtn: true, |
|
printBtn: false, |
|
addBtn:false, |
|
menuWidth: '150px', |
|
viewBtn: false, |
|
editBtn:false, |
|
delBtn:false, |
|
menu:true, |
|
searchSize: 'mini', |
|
search:true, |
|
column: [ |
|
{ |
|
label: '状态', |
|
prop: 'status', |
|
type: 'select', |
|
display:false, |
|
dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/record_status', |
|
props:{ |
|
label:'dictLabel', |
|
value:'dictValue' |
|
}, |
|
}, |
|
{ |
|
label: '退回理由', |
|
prop: 'rejectReason', |
|
editDisplay:false, |
|
addDisplay:false, |
|
hide:true, |
|
disabled:true, |
|
viewDisplay:false, |
|
width: '150px' |
|
}, |
|
{ |
|
label: 'PK', |
|
prop: 'id', |
|
hide:true, |
|
editDisplay:false, |
|
addDisplay:false, |
|
display:false, |
|
disabled:true, |
|
showColumn:false, |
|
}, |
|
{ |
|
label: '档号', |
|
prop: 'fileNum', |
|
search: true, |
|
editDisplay:false, |
|
addDisplay:false, |
|
display:false, |
|
// rules: [{ |
|
// required: true, |
|
// message: '请输入档号', |
|
// trigger: 'change' |
|
// }] |
|
width:'150px' |
|
}, |
|
{ |
|
label: '档案类目', |
|
prop: 'archiveScope', |
|
type: 'tree', |
|
filter:false, |
|
parent:false, |
|
props: { |
|
label: 'label', |
|
value: 'id' |
|
}, |
|
dicUrl: process.env.VUE_APP_BASE_API+'/archives/categoryInfo/treeSonselect?code=SW', |
|
rules: [{ |
|
required: true, |
|
message: '请输入档案类目', |
|
trigger: 'change' |
|
}], |
|
}, |
|
{ |
|
label: '年度', |
|
prop: 'year', |
|
rules: [{ |
|
required: true, |
|
message: '请输入年度', |
|
trigger: 'change' |
|
}], |
|
value:new Date().getFullYear() |
|
}, |
|
{ |
|
label: '保管期限', |
|
prop: 'storageTime', |
|
type: 'select', |
|
dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/storage_time', |
|
props:{ |
|
label:'dictLabel', |
|
value:'dictValue' |
|
}, |
|
rules: [{ |
|
required: true, |
|
message: '请输入保管期限', |
|
trigger: 'change' |
|
}], |
|
value:'YJ' |
|
}, |
|
{ |
|
label: '证书编号', |
|
prop: 'certificateNo', |
|
search: true, |
|
width:'150px' |
|
}, |
|
{ |
|
label: '证书名称', |
|
prop: 'boxName', |
|
search: true, |
|
rules: [{ |
|
required: true, |
|
message: '请输入证书名称', |
|
trigger: 'change' |
|
}], |
|
width:'250px' |
|
}, |
|
{ |
|
label: '获奖单位', |
|
prop: 'winnersUnit', |
|
}, |
|
{ |
|
label: '颁发单位', |
|
prop: 'issuingUnit', |
|
}, |
|
{ |
|
label: '颁发日期', |
|
prop: 'descriptionTime', |
|
type:'date', |
|
format: "yyyyMMdd", |
|
valueFormat: "yyyy-MM-dd", |
|
width:'150px' |
|
}, |
|
{ |
|
label: '外观尺寸', |
|
prop: 'sizeDes', |
|
width:'150px' |
|
}, |
|
{ |
|
label: '备注', |
|
prop: 'remark', |
|
search: true |
|
}, |
|
{ |
|
label: '密级', |
|
prop: 'secretLevel', |
|
type: 'select', |
|
dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/pro_secret_level', |
|
props:{ |
|
label:'dictLabel', |
|
value:'dictValue' |
|
}, |
|
}, |
|
{ |
|
label: '存放地点', |
|
prop: 'address', |
|
width:'150px' |
|
}, |
|
|
|
{ |
|
label: '全宗号', |
|
prop: 'totalNum', |
|
}, |
|
{ |
|
label: '案卷流水号', |
|
prop: 'caseNum', |
|
editDisplay:false, |
|
addDisplay:false, |
|
display:false, |
|
width: '150px' |
|
}, |
|
{ |
|
label: '档案类别', |
|
prop: 'archiveCategory', |
|
type:'select', |
|
dicUrl:process.env.VUE_APP_BASE_API+'/archives/categoryInfo/listCategoryInfo', |
|
props:{ |
|
label:'name', |
|
value:'code' |
|
}, |
|
value:'SW', |
|
disabled:true |
|
}, |
|
|
|
] |
|
} |
|
|
|
export const swFileInfo = { |
|
reserveSelection:false, |
|
selection:false, |
|
index:true, |
|
indexFixed:false, |
|
dialogDrag: true, |
|
border: false, |
|
indexLabel: '序号', |
|
menuWidth: '150px', |
|
stripe: true, |
|
menuAlign: 'center', |
|
align: 'center', |
|
menuType: 'text', |
|
excelBtn: false, |
|
printBtn: false, |
|
addBtn:false, |
|
viewBtn: false, |
|
editBtn:false, |
|
delBtn:false, |
|
menu:true, |
|
searchSize: 'mini', |
|
search:true, |
|
column: [ |
|
{ |
|
label: 'PK', |
|
prop: 'id', |
|
hide:true, |
|
editDisplay:false, |
|
addDisplay:false, |
|
display:false, |
|
disabled:true, |
|
showColumn:false, |
|
}, |
|
{ |
|
label: '状态', |
|
prop: 'status', |
|
type: 'select', |
|
display:false, |
|
dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/record_status', |
|
props:{ |
|
label:'dictLabel', |
|
value:'dictValue' |
|
}, |
|
}, |
|
{ |
|
label: '案卷档号', |
|
prop: 'recordFileNum', |
|
editDisplay:false, |
|
addDisplay:false, |
|
width:'150px' |
|
}, |
|
{ |
|
label: '顺序号', |
|
prop: 'arSort', |
|
editDisplay:false, |
|
addDisplay:false, |
|
}, |
|
{ |
|
label: '文号', |
|
prop: 'receiveNum', |
|
search:true, |
|
width:'160px' |
|
}, |
|
{ |
|
label: '文件标题', |
|
search:true, |
|
prop: 'title', |
|
rules: [{ |
|
required: true, |
|
message: '请输入文件标题', |
|
trigger: 'change' |
|
}], |
|
width:'250px' |
|
}, |
|
{ |
|
label: '页号', |
|
prop: 'pageNums', |
|
}, |
|
{ |
|
label: '密级', |
|
prop: 'secretLevel', |
|
type: 'select', |
|
dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/pro_secret_level', |
|
props:{ |
|
label:'dictLabel', |
|
value:'dictValue' |
|
}, |
|
}, |
|
{ |
|
label: '责任者', |
|
search:true, |
|
prop: 'ownerName', |
|
width:'150px' |
|
}, |
|
{ |
|
label: '日期', |
|
prop: 'fileDate', |
|
type:'date', |
|
format: "yyyyMMdd", |
|
valueFormat: "yyyy-MM-dd", |
|
width:'150px' |
|
}, |
|
{ |
|
label: '备注', |
|
prop: 'remark', |
|
}, |
|
] |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|