228 lines
4.7 KiB
JavaScript
228 lines
4.7 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.
|
|
*
|
|
*/
|
|
|
|
import global from "@/components/tools/commondict";
|
|
|
|
export const tableOption = {
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
align: 'center',
|
|
editBtn: false,
|
|
delBtn: false,
|
|
addBtn: false,
|
|
dic: [],
|
|
column: [
|
|
{
|
|
label: '领用部门',
|
|
prop: 'deptCode',
|
|
type:'select',
|
|
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
|
|
props:{
|
|
label:'deptName',
|
|
value:'deptCode'
|
|
},
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用人',
|
|
prop: 'createBy',
|
|
type: "select",
|
|
dicUrl: '/professional/teacherbase/TeacherBaseList',
|
|
props: {
|
|
label: 'realName',
|
|
value: 'teacherNo'
|
|
}
|
|
},
|
|
{
|
|
label: '领用班级',
|
|
prop: 'classCode',
|
|
type:"select",
|
|
searchFilterable:true,
|
|
filterable:true,
|
|
dicUrl:'/basic/basicclass/listOther',
|
|
props:{
|
|
label: 'classNo',
|
|
value: 'classCode',
|
|
},
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用课程',
|
|
prop: 'courseName',
|
|
search:true
|
|
},
|
|
{
|
|
label: '领用编码',
|
|
prop: 'lyNo',
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用数量',
|
|
prop: 'lyNum'
|
|
},
|
|
{
|
|
label: '领用时间',
|
|
prop: 'createTime',
|
|
format: 'yyyy-MM-dd',
|
|
},
|
|
{
|
|
label: '领用状态',
|
|
prop: 'lyExamState',
|
|
search:true,
|
|
type:'select',
|
|
dicData:global.lyExamState,
|
|
editDisplay:false,
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
}
|
|
},
|
|
{
|
|
label: '回退状态',
|
|
prop: 'lvBack',
|
|
search:true,
|
|
type:'select',
|
|
dicData:global.lvBack,
|
|
editDisplay:false,
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
}
|
|
},
|
|
|
|
{
|
|
label: '回退备注',
|
|
prop: 'backExam'
|
|
},
|
|
{
|
|
label: '备注',
|
|
prop: 'remark'
|
|
},
|
|
]
|
|
}
|
|
export const tableExamOption = {
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
align: 'center',
|
|
editBtn: false,
|
|
delBtn: false,
|
|
addBtn: false,
|
|
dic: [],
|
|
column: [
|
|
{
|
|
label: '耗材所在部门',
|
|
prop: 'deptCode',
|
|
type:'select',
|
|
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
|
|
props:{
|
|
label:'deptName',
|
|
value:'deptCode'
|
|
},
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用人部门',
|
|
prop: 'createByDept',
|
|
type:'select',
|
|
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
|
|
props:{
|
|
label:'deptName',
|
|
value:'deptCode'
|
|
},
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用人',
|
|
prop: 'createBy',
|
|
type: "select",
|
|
dicUrl: '/professional/teacherbase/TeacherBaseList',
|
|
props: {
|
|
label: 'realName',
|
|
value: 'teacherNo'
|
|
}
|
|
},
|
|
{
|
|
label: '领用班级',
|
|
prop: 'classCode',
|
|
type:"select",
|
|
searchFilterable:true,
|
|
filterable:true,
|
|
dicUrl:'/basic/basicclass/listOther',
|
|
props:{
|
|
label: 'classNo',
|
|
value: 'classCode',
|
|
},
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用课程',
|
|
prop: 'courseName'
|
|
},
|
|
{
|
|
label: '领用编码',
|
|
prop: 'lyNo',
|
|
search:true,
|
|
},
|
|
{
|
|
label: '领用数量',
|
|
prop: 'lyNum'
|
|
},
|
|
{
|
|
label: '领用时间',
|
|
prop: 'createTime',
|
|
format: 'yyyy-MM-dd',
|
|
},
|
|
{
|
|
label: '领用状态',
|
|
prop: 'lyExamState',
|
|
type:'select',
|
|
dicData:global.lyExamState,
|
|
editDisplay:false,
|
|
search:true,
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
}
|
|
},
|
|
{
|
|
label: '回退状态',
|
|
prop: 'lvBack',
|
|
type:'select',
|
|
dicData:global.lvBack,
|
|
editDisplay:false,
|
|
props:{
|
|
label:'label',
|
|
value:'value'
|
|
}
|
|
},
|
|
{
|
|
label: '回退备注',
|
|
prop: 'backExam'
|
|
},
|
|
{
|
|
label: '备注',
|
|
prop: 'remark'
|
|
},
|
|
]
|
|
}
|