194 lines
4.2 KiB
JavaScript
194 lines
4.2 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: 'settingId',
|
|
type:'select',
|
|
search:true,
|
|
addDisplay:true,
|
|
editDisabled:false,
|
|
editDisplay:true,
|
|
dicUrl: '/finance/financetemporarychargessetting/list',
|
|
props:{
|
|
label:'settingName',
|
|
value:'id'
|
|
}
|
|
},
|
|
{
|
|
label: '学院',
|
|
prop: 'deptCode',
|
|
labelWidth: 120,
|
|
type:"select",
|
|
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
|
|
props: {
|
|
label: 'deptName',
|
|
value: 'deptCode'
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '专业',
|
|
prop: 'majorCode',
|
|
labelWidth: 120,
|
|
type:'select',
|
|
dicUrl: '/basic/major/getMajorNameList',
|
|
props: {
|
|
label: 'majorName',
|
|
value: 'majorCode'
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '班级',
|
|
prop: 'classCode',
|
|
search:true,
|
|
searchFilterable:true,
|
|
type:"select",
|
|
dicUrl:'/basic/basicclass/list',
|
|
props:{
|
|
label: 'classNo',
|
|
value: 'classNo',
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '学费提交人',
|
|
prop: 'submitName',
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '提交状态',
|
|
prop: 'isState',
|
|
search:true,
|
|
type:"select",
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
dicUrl: '/admin/dict/item/type/normal_state',
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
},
|
|
},
|
|
{
|
|
label: '备注',
|
|
prop: 'remarks'
|
|
},
|
|
|
|
]
|
|
}
|
|
|
|
|
|
export const tableOption2 = {
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
align: 'center',
|
|
editBtn: false,
|
|
delBtn: false,
|
|
addBtn: false,
|
|
menu:false,
|
|
dic: [],
|
|
column: [
|
|
{
|
|
label: '收费项目',
|
|
prop: 'settingId',
|
|
type:'select',
|
|
search:true,
|
|
addDisplay:true,
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
dicUrl: '/finance/financetemporarychargessetting/list',
|
|
props:{
|
|
label:'settingName',
|
|
value:'id'
|
|
}
|
|
},
|
|
{
|
|
label: '学院',
|
|
prop: 'deptCode',
|
|
labelWidth: 120,
|
|
type:"select",
|
|
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
|
|
props: {
|
|
label: 'deptName',
|
|
value: 'deptCode'
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '专业',
|
|
prop: 'majorCode',
|
|
labelWidth: 120,
|
|
type:'select',
|
|
dicUrl: '/basic/major/getMajorNameList',
|
|
props: {
|
|
label: 'majorName',
|
|
value: 'majorCode'
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '班级',
|
|
prop: 'classCode',
|
|
search:true,
|
|
searchFilterable:true,
|
|
type:"select",
|
|
dicUrl:'/basic/basicclass/list',
|
|
props:{
|
|
label: 'classNo',
|
|
value: 'classNo',
|
|
},
|
|
editDisabled:true,
|
|
editDisplay:true,
|
|
},
|
|
{
|
|
label: '提交状态',
|
|
prop: 'isState',
|
|
type:"select",
|
|
hide:true,
|
|
editDisabled:false,
|
|
editDisplay:true,
|
|
dicUrl: '/admin/dict/item/type/normal_state',
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
},
|
|
},
|
|
]
|
|
}
|