This commit is contained in:
guochunsi
2025-12-31 17:40:01 +08:00
parent 6d94e91b70
commit 74c06bb8a0
713 changed files with 115034 additions and 46 deletions

View File

@@ -0,0 +1,64 @@
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menuWidth: 150,
menuBtn: true,
align: 'center',
editBtn: false,
delBtn: false,
filterBtn:false,
menuType: 'menu',
searchShow: false,
labelWidth: 120,
column: [{
fixed: true,
label: '模型ID',
prop: 'id',
editDisabled: true,
addDisplay: false
}, {
fixed: true,
label: '模型标识',
prop: 'key',
editDisabled: true
}, {
label: '流程分类',
prop: 'category',
search: true
}, {
label: '模型名称',
prop: 'name'
}, {
label: '描述',
prop: 'desc',
hide: true,
editDisabled: false,
addDisplay: true
}, {
label: '版本号',
prop: 'version',
editDisabled: true,
addDisplay: false
}, {
width: 150,
label: '创建时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'timestamp',
editDisabled: true,
addDisplay: false
}, {
width: 150,
label: '最后更新时间',
prop: 'lastUpdateTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'timestamp',
editDisabled: true,
addDisplay: false
}]
}

View File

@@ -0,0 +1,148 @@
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
column: [
{
label: '任务ID',
prop: 'taskId',
editDisabled: true,
addDisplay: false,
},
{
label: '任务名称',
prop: 'taskName',
editDisabled: true,
addDisplay: false
},
{
label: '任务描述',
prop: 'description',
editDisabled: true,
addDisplay: false,
width:450,
},
{
label: '提交时间',
prop: 'time',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm'
}
]
}
export const formOption = {
submitBtn: false,
emptytBtn: false,
row: true,
span: 12,
column: [
{
label: "任务编号",
prop: "taskId",
disabled: true
},
{
label: "任务名称",
prop: "taskName",
disabled: true
}
]
}
export const tableDictItemOption = {
border: true,
index: false,
indexLabel: '序号',
stripe: true,
menu:false,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
showSummary:true,
addBtn: false,
refreshBtn: false,
showColumnBtn: false,
searchSize: 'mini',
height:500,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'price',
type: 'sum'
}],
column: [
{
//报废单审核明细列表请排个序,名称、编码、型号、部门、面积、单位、单价、数量、总价、入库日期、报废类型。另外抬头请用学校全称
label:'江苏省常州技师学院',
children:[
{
label: '入库时间',
prop: 'time'
},
{
label: '数量',
prop: 'num'
}, {
label: '单价',
prop: 'price'
},
{
label: '单位',
prop: 'unit'
}
,
{
label: '面积',
prop: 'area'
},
{
label: '部门名称',
prop: 'oldDeptName'
}
,
{
label: '规格|型号',
prop: 'spec'
},
{
label: '资产编码',
prop: 'code',
} ,
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '报废类型',
prop: 'type',
type:'select',
dicData:[{label:"电子废物",value:"0"},{label:"土地房屋",value:"1"},{label:"汽车类",value:"2"},{label:"其他",value:"3"}],
props:{
label:'label',
value:'value'
},
},
{
label: '报废原因',
prop: 'invalidReason'
},
]
}
]
}

View File

@@ -0,0 +1,157 @@
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
column: [
// {
// label: '任务ID',
// prop: 'taskId',
// editDisabled: true,
// addDisplay: false
// },
{
label: '任务名称',
prop: 'taskName',
editDisabled: true,
addDisplay: false
},
{
label: '任务描述',
prop: 'description',
editDisabled: true,
addDisplay: false,
width:450,
},
{
label: '提交时间',
prop: 'time',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm'
}
]
}
export const tableDictItemOption = {
border: true,
index: false,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
showSummary:true,
addBtn: false,
refreshBtn: false,
showColumnBtn: false,
searchSize: 'mini',
height:500,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'num',
type: 'sum'
},
{
name: 'price',
type: 'sum'
}],
column: [
{
label:'江苏省常州技师学院固定资产调拨单',
children:[
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '数量',
prop: 'num'
},
{
label: '调拨时间',
prop: 'createTime'
}, {
label: '流程实例状态',
prop: 'procInsStatus'
},
{
label: '原资产编码',
prop: 'oldCode',
},
{
label: '原部门名称',
prop: 'oldDeptName'
},
{
label: '新资产编码',
prop: 'newCode',
},
{
label: '新部门名称',
prop: 'newDeptName'
},
{
label: '资产名称',
prop: 'goodsName'
}, {
width:150,
label: '单价',
prop: 'price'
}
]
}
]
}
export const taskOption = {
menu: false,
page: false,
addBtn: false,
align: 'center',
menuAlign: 'center',
column: [
{
label: 'id',
prop: 'id',
hide: true
},
{
label: '用户',
prop: 'userId'
},
{
label: '批注',
prop: 'fullMessage'
}, {
label: "操作时间",
prop: "time",
type: "datetime",
format: "yyyy-MM-dd hh:mm:ss",
valueFormat: "yyyy-MM-dd hh:mm:ss",
}
]
}

View File

@@ -0,0 +1,68 @@
export const procHistricOption = {
border: true,
index: true,
// indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
menu:false,
refreshBtn:false,
columnBtn:false,
dialogClickModal:false,
// dialogFullscreen:true,
fit:true,
dialogWeight:'90%',
dialogHeight:'90%',
dic: [],
column: [
{
label: '主键',
prop: 'id',
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false,
hide:true,
},{
label: '执行环节',
prop: 'activityName',
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false
},{
label: '执行人',
prop: 'assigneeName',
// slot:true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false
},{
label: '开始时间',
prop: 'startTime',
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false
},{
label: '结束时间',
prop: 'endTime',
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false
},{
label: '审核意见',
prop: 'comment',
addDisplay:false,
editDisabled:true,
editDisplay:false,
viewDisplay:false
}]
}

View File

@@ -0,0 +1,67 @@
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
menuType: 'menu',
'column': [
{
label: 'ID',
prop: 'leaveId',
editDisabled: true,
addDisplay: false
},
{
label: '申请人',
prop: 'username',
editDisabled: true,
addDisplay: false
},
{
label: '天数',
prop: 'days',
type: 'number'
},
{
label: '请假时间',
prop: 'leaveTime',
type: 'datetime',
overHidden: true,
format: 'yyyy-MM-dd HH:mm',
valueFormat: "yyyy-MM-dd hh:mm:ss"
},
{
label: '提交时间',
prop: 'createTime',
type: 'datetime',
overHidden: true,
format: 'yyyy-MM-dd HH:mm',
editDisabled: true,
addDisplay: false,
hide: true
},
{
label: '状态',
prop: 'state',
type: 'select',
dicUrl: '/admin/dict/type/leave_status',
search: true,
addDisplay: false
},
{
label: '备注',
prop: 'content',
type: 'textarea',
overHidden: true,
minRows: 2,
row: true,
span: 24
}
]
}

View File

@@ -0,0 +1,46 @@
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menuWidth: 150,
menuBtn: true,
align: 'center',
addBtn: false,
editBtn: false,
delBtn: false,
filterBtn:false,
menuType: 'menu',
searchShow: false,
column: [{
fixed: true,
label: '流程ID',
prop: 'processonDefinitionId'
}, {
fixed: true,
label: '模型标识',
prop: 'key',
editDisabled: true
}, {
label: '流程分类',
prop: 'category',
search: true
}, {
label: '模型名称',
prop: 'name'
}, {
label: '版本号',
prop: 'revision',
editDisabled: true,
addDisplay: false
}, {
label: '部署时间',
prop: 'deploymentTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'timestamp',
editDisabled: true,
addDisplay: false
}]
}

View File

@@ -0,0 +1,97 @@
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: false,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
viewBtn:false,
// title: "培训立项申报任务",
menuType: 'menu',
column: [
{
label: '任务ID',
prop: 'taskId',
editDisabled: true,
addDisplay: false,
},
{
label: '任务名称',
prop: 'taskName',
editDisabled: true,
addDisplay: false
},
// {
// label: '模块',
// prop: 'category',
// editDisabled: true,
// addDisplay: false
// },
{
label: '任务描述',
prop: 'description',
editDisabled: true,
addDisplay: false,
width:450,
},
{
label: '提交时间',
prop: 'time',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm'
}
]
}
export const formOption = {
submitBtn: false,
emptytBtn: false,
row: true,
span: 12,
column: [
{
label: "任务编号",
prop: "taskId",
disabled: true
},
{
label: "任务名称",
prop: "taskName",
disabled: true
}
]
}
export const taskOption = {
menu: false,
page: false,
addBtn: false,
align: 'center',
menuAlign: 'center',
column: [
{
label: 'id',
prop: 'id',
hide: true
},
{
label: '用户',
prop: 'userId'
},
{
label: '批注',
prop: 'fullMessage'
}, {
label: "操作时间",
prop: "time",
type: "datetime",
format: "yyyy-MM-dd hh:mm:ss",
valueFormat: "yyyy-MM-dd hh:mm:ss",
}
]
}

View File

@@ -0,0 +1,268 @@
import {isInvalid} from "@/const/crud/asset/assets/assetassets";
export const procInsStatusList=[
{label:"待提交",value:"0"},
{label:"待部门审核",value:"1"},
{label:"部门审核驳回",value:"2"},
{label:"待业务分管处审核",value:"3"},
{label:"业务分管处驳回",value:"4"},
{label:"待财务审核",value:"5"},
{label:"财务审核驳回",value:"6"},
{label:"待部门负责人审批",value:"7"},
{label:"部门负责人驳回",value:"8"},
{label:"待分管院领导审批",value:"9"},
{label:"分管院领导驳回",value:"10"},
{label:"待校党委审批",value:"11"},
{label:"校党委驳回",value:"12"},
{label:"审核通过",value:"13"},
]
export const procInsWanderStatusList=[
{label:"待采购处确认",value:"-1"},
{label:"待部门完善信息",value:"0"},
{label:"待部门审核",value:"1"},
{label:"部门审核驳回",value:"2"},
{label:"待业务分管处审核",value:"3"},
{label:"业务分管处驳回",value:"4"},
{label:"待财务审核",value:"5"},
{label:"财务审核驳回",value:"6"},
{label:"待部门负责人审批",value:"7"},
{label:"部门负责人驳回",value:"8"},
{label:"待分管院领导审批",value:"9"},
{label:"分管院领导驳回",value:"10"},
{label:"待校党委审批",value:"11"},
{label:"校党委驳回",value:"12"},
{label:"待后勤负责人审批",value:"13"},
{label:"后勤负责人驳回",value:"14"},
{label:"审核通过",value:"15"},
]
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
column: [
{
label: 'ID',
prop: 'taskId',
hide:true,
editDisabled: true,
addDisplay: false
},
{
label: '任务名称',
prop: 'taskName',
editDisabled: true,
addDisplay: false
},
{
label: '备注',
prop: 'remark',
type:'select',
dicData:procInsStatusList,
props:{
label:'label',
value:'value'
},
editDisabled: true,
addDisplay: false
},
{
label: '提交时间',
prop: 'time',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm'
}
]
}
export const tableOptionOther = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
column: [
{
label: 'ID',
prop: 'taskId',
hide:true,
editDisabled: true,
addDisplay: false
},
{
label: '部门',
prop: 'purchasingDept',
editDisabled: true,
addDisplay: false
},
{
label: '采购内容',
prop: 'purchasingContent',
editDisabled: true,
addDisplay: false
},
{
label: '采购需求及依据',
prop: 'purchasingDemand',
editDisabled: true,
addDisplay: false
},
{
label: '采购金额',
prop: 'budget',
editDisabled: true,
addDisplay: false
},
{
label: '任务状态',
prop: 'taskName',
editDisabled: true,
hide:true,
addDisplay: false
},
{
label: '流程状态',
prop: 'remark',
type:'select',
dicData:procInsStatusList,
props:{
label:'label',
value:'value'
},
editDisabled: true,
addDisplay: false
}
]
}
export const formOption = {
submitBtn: false,
emptytBtn: false,
row: true,
span: 12,
column: [
{
label: "任务编号",
prop: "taskId",
disabled: true
},
{
label: "任务名称",
prop: "taskName",
disabled: true
},
{
label: "申请人",
prop: "createBy",
disabled: true
},
{
label: "申请时间",
prop: "time",
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
disabled: true
},
{
label: '批注',
prop: 'comment',
type: 'textarea',
minRows: 2,
row: true,
span: 24,
rules: [{
required: true,
message: "请输入备注",
trigger: "blur"
}]
}
]
}
export const taskOption = {
menu: false,
page: false,
addBtn: false,
align: 'center',
menuAlign: 'center',
column: [
{
label: 'id',
prop: 'id',
hide: true
},
{
label: '用户',
prop: 'userId'
},
{
label: '批注',
prop: 'fullMessage'
}, {
label: "操作时间",
prop: "time",
type: "datetime",
format: "yyyy-MM-dd hh:mm:ss",
valueFormat: "yyyy-MM-dd hh:mm:ss",
}
]
}
export const tableWanderOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
menuBtn: true,
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
column: [
{
label: 'ID',
prop: 'taskId',
hide:true,
editDisabled: true,
addDisplay: false
},
{
label: '任务名称',
prop: 'taskName',
editDisabled: true,
addDisplay: false
},
{
label: '备注',
prop: 'remark',
type:'select',
dicData:procInsWanderStatusList,
props:{
label:'label',
value:'value'
},
editDisabled: true,
addDisplay: false
},
{
label: '提交时间',
prop: 'time',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm'
}
]
}

View File

@@ -0,0 +1,103 @@
const DIC = {
vaild: [{
label: '否',
value: 'false'
}, {
label: '是',
value: 'true'
}]
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
viewBtn: true,
filterBtn:false,
size:"small",
column: [{
width: 150,
label: '编号',
prop: 'clientId',
align: 'center',
sortable: true,
rules: [{
required: true,
message: '请输入clientId',
trigger: 'blur'
}]
}, {
label: '密钥',
prop: 'clientSecret',
align: 'center',
sortable: true,
overHidden: true,
rules: [{
required: true,
message: '请输入clientSecret',
trigger: 'blur'
}]
}, {
label: '域',
prop: 'scope',
align: 'center',
rules: [{
required: true,
message: '请输入scope',
trigger: 'blur'
}]
}, {
label: '授权模式',
prop: 'authorizedGrantTypes',
align: 'center',
overHidden: true,
rules: [{
required: true,
message: '请输入授权模式',
trigger: 'blur'
}]
}, {
label: '回调地址',
prop: 'webServerRedirectUri',
align: 'center',
hide: true
}, {
label: '权限',
prop: 'authorities',
align: 'center',
hide: true
}, {
label: '令牌时效',
prop: 'accessTokenValidity',
align: 'center'
}, {
label: '刷新时效',
prop: 'refreshTokenValidity',
align: 'center'
}, {
label: '扩展信息',
prop: 'additionalInformation',
align: 'center',
hide: true
}, {
label: '自动放行',
prop: 'autoapprove',
align: 'center',
type: 'radio',
dicData: DIC.vaild,
rules: [{
required: true,
message: '请选择是否放行',
trigger: 'blur'
}]
}, {
label: '资源ID',
prop: 'resourceIds',
align: 'center',
hide: true
}]
}

View File

@@ -0,0 +1,55 @@
export const tableOption = {
border: true,
stripe: true,
menuAlign: 'center',
menuWidth: 150,
align: 'center',
refreshBtn: false,
showColumn: false,
viewBtn: false,
addBtn: false,
editBtn: false,
delBtn: false,
filterBtn: false,
expandAll: false,
tree: true,
page: false,
size:"small",
column: [
{
label: '部门ID',
prop: 'id',
align:'left',
display: false
},
{
label: '父级节点',
prop: 'parentId',
type: 'tree',
dicUrl: '/admin/dept/tree',
props: {
label: 'name',
value: 'id'
},
rules: [{
required: true,
message: '请选择父级节点',
trigger: 'blur'
}]
},
{
label: '部门名称',
prop: 'name',
rules: [{
required: true,
message: '请输入部门名称',
trigger: 'blur'
}]
},
{
label: '排序',
prop: 'sort',
type: 'number'
}
]
}

View File

@@ -0,0 +1,105 @@
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
refreshBtn: false,
showColumn: false,
viewBtn: false,
filterBtn:false,
size:"small",
column: [{
label: '类型',
prop: 'type',
search: true,
rules: [{
required: true,
message: '请输入字典类型',
trigger: 'blur'
}]
}, {
label: '描述',
prop: 'description',
rules: [{
required: true,
message: '请输入字典描述',
trigger: 'blur'
}]
}, {
label: '备注信息',
prop: 'remarks'
}, {
label: '创建时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
addDisplay:false,
editDisabled:true
}, {
label: '修改时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
addDisplay:false,
editDisabled:true
}]
}
export const tableDictItemOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
refreshBtn: false,
showColumnBtn: false,
searchSize: 'mini',
column: [{
label: '类型',
prop: 'type',
addDisabled: true,
editDisabled: true
}, {
width: 150,
label: '数据值',
prop: 'value',
rules: [{
required: true,
message: '请输入数据值',
trigger: 'blur'
}]
}, {
label: '标签名',
prop: 'label',
rules: [{
required: true,
message: '请输入标签名',
trigger: 'blur'
}]
}, {
label: '描述',
prop: 'description',
rules: [{
required: true,
message: '请输入字典描述',
trigger: 'blur'
}]
}, {
label: '排序',
prop: 'sort',
type: 'number',
rules: [{
required: true,
message: '请输入排序',
trigger: 'blur'
}]
}, {
label: '备注信息',
prop: 'remarks'
}]
}

View File

@@ -0,0 +1,51 @@
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menuWidth: 150,
align: 'center',
refreshBtn: true,
showColumn: false,
searchSize: 'mini',
addBtn: false,
editBtn: false,
delBtn: false,
viewBtn: true,
filterBtn:false,
props: {
label: 'label',
value: 'value'
},
column: [{
label: '类型',
prop: 'type',
type: 'select',
search: true,
dicUrl: '/admin/dict/type/log_type'
}, {
label: '标题',
prop: 'title'
}, {
label: 'IP地址',
prop: 'remoteAddr'
}, {
label: '请求方式',
prop: 'method'
}, {
label: '客户端',
prop: 'serviceId'
}, {
width: 80,
label: '请求时间',
prop: 'time'
}, {
width: 150,
label: '创建时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'yyyy-MM-dd HH:mm:ss'
}]
}

View File

@@ -0,0 +1,128 @@
const DIC = {
keepAlive: [{
label: '关闭',
value: '0'
}, {
label: '开启',
value: '1'
}],
type: [{
label: '按钮',
value: '1'
}, {
label: '菜单',
value: '0'
}],
isOrNo:[{
label: '否',
value: '0'
}, {
label: '是',
value: '1'
}]
}
export const tableOption = {
border: true,
stripe: true,
menuAlign: 'center',
menuWidth: 150,
align: 'center',
refreshBtn: false,
showColumn: false,
viewBtn:false,
addBtn: false,
editBtn: false,
delBtn: false,
filterBtn: false,
// expandLevel: 2,
tree: true,
page: false,
dialogClickModal:false,
size:"small",
column: [
{
label: '节点ID',
prop: 'id',
align:'left',
rules: [{
required: true,
message: '请输入节点ID',
trigger: 'blur'
}]
},
{
label: '父级节点',
prop: 'parentId',
type:'tree',
dicUrl: '/admin/menu/tree',
props: {
label: 'name',
value: 'id'
},
},
{
label: '菜单标题',
prop: 'name',
rules: [{
required: true,
message: '请输入菜单标题',
trigger: 'blur'
}]
},
{
label: '权限标识',
prop: 'permission'
},
{
label: '模块',
prop: 'module'
},
{
label: '图标',
prop: 'icon'
},
{
label: '类型',
prop: 'type',
type: 'switch',
dicData: DIC.type
},
{
label: '排序',
prop: 'sort'
},
{
label: '前端组件',
prop: 'component'
},
{
label: '前端地址',
prop: 'path'
},
{
label: '路由缓冲',
prop: 'keepAlive',
type: 'switch',
dicData: DIC.keepAlive
},
{
label: '是否为手机菜单',
prop: 'mobileFlag',
type: "switch",
dicData:DIC.isOrNo
},
{
label: '手机图标',
prop: 'mobileIcon',
slot:true,
hide:true,
formslot:true,
},
{
label: '手机端跳转标志',
prop: 'mobileJumpFlag',
}
]
}

View File

@@ -0,0 +1,69 @@
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
editBtn: false,
delBtn: false,
align: 'center',
addBtn: false,
viewBtn: true,
filterBtn: false,
size: "small",
column: [{
width: 240,
fixed: true,
label: '角色名称',
prop: 'roleName',
span: 24,
rules: [{
required: true,
message: '角色名称不能为空',
trigger: 'blur'
},
{
min: 3,
max: 100,
message: '长度在 3 到 100 个字符',
trigger: 'blur'
}
]
}, {
width: 240,
label: '角色标识',
prop: 'roleCode',
span: 24,
editDisabled: true,
rules: [{
required: true,
message: '角色标识不能为空',
trigger: 'blur'
},
{
min: 3,
max: 100,
message: '长度在 3 到 100 个字符',
trigger: 'blur'
}
]
}, {
label: '角色描述',
prop: 'roleDesc',
overHidden: true,
type: 'textarea',
minRows: 6,
span: 24,
}, {
width: 150,
label: '创建时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
editDisplay: false,
addDisplay: false,
span: 24,
}]
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018-2025, cloud 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 thecyweb.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: cloud
*/
// import { rule } from "@/util/validateRules";
import {getObj} from '@/api/admin/sys-public-param'
var validateParam = (rule, value, callback) => {
getObj(value).then(response => {
if (window.boxType === 'edit') callback()
const result = response.data.data
if (result !== null) {
callback(new Error('参数键已经存在'))
} else {
callback()
}
})
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
searchMenuSpan: 6,
column: [
{
label: '名称',
search: true,
prop: 'publicName',
rules: [
{ required: true, message: '请输名称', trigger: 'blur' },
{ max: 30, message: '长度在 30 个字符', trigger: 'blur' },
// { validator: rule.validatorNameCn, trigger: 'blur'}
]
},
{
label: '键',
prop: 'publicKey',
rules: [
{ required: true, message: '请输入键', trigger: 'blur' },
// { validator: rule.validatorKey, trigger: 'blur'},
{ validator: validateParam, trigger: 'blur'},
]
},
{
label: '值',
overHidden: true,
prop: 'publicValue',
rules: [
{ required: true, message: '请输入值', trigger: 'blur' }
]
},
// {
// label: '编码',
// prop: 'validateCode'
// },
// {
// label: '类型',
// prop: 'system',
// type: 'select',
// dicUrl: '/admin/dict/type/dict_type',
// // rules: [{
// // required: true,
// // message: '请输入类型',
// // trigger: 'blur'
// // }],
// search: true
// },
// {
// label: '状态',
// prop: 'status',
// width: 80,
// type: 'select',
// dicUrl: '/admin/dict/type/status_type',
// rules: [
// { required: true, message: '请输入值', trigger: 'blur' }
// ]
// },
// {
// label: '类型',
// prop: 'publicType',
// width: 80,
// type: 'select',
// dicUrl: '/admin/dict/type/param_type',
// rules: [{
// required: true,
// message: '请选择类型',
// trigger: 'blur'
// }]
// }
// 省略 ...
]
}

View File

@@ -0,0 +1,72 @@
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
filterBtn:false,
size:"small",
column: [{
label: 'ID',
prop: 'id',
hide: true,
addDisplay: false,
editDisabled: true
},
{
label: '类型',
prop: 'type',
type: 'select',
dicUrl: '/admin/dict/type/social_type',
search: true,
rules: [{
required: true,
message: '请选择类型',
trigger: 'blur'
}]
},
{
label: '描述',
prop: 'remark'
},
{
label: 'appId',
prop: 'appId',
rules: [{
required: true,
message: '请输入appId',
trigger: 'blur'
}]
},
{
label: 'appSecret',
prop: 'appSecret',
rules: [{
required: true,
message: '请输入appSecret',
trigger: 'blur'
}]
},
{
label: '回调地址',
prop: 'redirectUrl',
rules: [{
required: true,
message: '请输入回调地址',
trigger: 'blur'
}]
},
{
valueFormat: 'timestamp',
format: 'yyyy-MM-dd hh:mm:ss',
label: '创建时间',
prop: 'createTime',
align: 'center',
addDisplay: false,
editDisabled: true
}
]
}

View File

@@ -0,0 +1,43 @@
const DIC = {
vaild: [{
label: '否',
value: 'false'
}, {
label: '是',
value: 'true'
}]
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
addBtn: false,
editBtn: false,
delBtn: false,
filterBtn:false,
size:"small",
column: [{
label: '令牌',
prop: 'token_value',
align: 'center'
}, {
label: '用户ID',
prop: 'user_id',
align: 'center'
}, {
label: '用户名',
prop: 'user_name',
align: 'center'
}, {
label: '类型',
prop: 'token_type',
align: 'center'
}, {
label: '过期时间',
prop: 'expires_in',
align: 'center'
}]
}

View File

@@ -0,0 +1,168 @@
import {getDetails} from "@/api/admin/user";
var validateUsername = (rule, value, callback) => {
getDetails(value).then(response => {
if (window.boxType === 'edit') callback()
let result = response.data.data
if (result !== null) {
callback(new Error('用户名已经存在'))
} else {
callback()
}
});
};
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
editBtn: false,
delBtn: false,
align: 'center',
addBtn: false,
filterBtn: false,
size:"small",
column: [{
fixed: true,
label: 'id',
prop: 'userId',
span: 24,
hide: true,
editDisabled: true,
editDisplay: false,
addDisplay: false,
}, {
fixed: true,
label: '用户名',
prop: 'username',
editDisabled: true,
search: true,
span: 24,
rules: [{
required: true,
message: "请输入用户名",
},
{
min: 3,
max: 20,
message: "长度在 3 到 20 个字符",
trigger: "blur"
},
{validator: validateUsername, trigger: 'blur'}
]
}, {
label: '真实姓名',
prop: 'realName',
search: true,
span: 24,
rules: [{
required: true,
message: "请输入真实姓名",
}]
},
{
label: '用户类型',
prop: 'userType',
hide:true,
addDisplay:false,
editDisplay:false,
search:true,
dicUrl:'/admin/dict/item/type/sys_user_type',
type: 'select',
},
{
label: '密码',
prop: 'password',
type: 'password',
value: '',
hide: true,
span: 24,
rules: [{
min: 6,
max: 20,
message: "长度在 6 到 20 个字符",
trigger: "blur"
}]
}, {
label: '所属部门',
prop: 'deptId',
formslot: true,
slot: true,
span: 24,
hide: true,
editDisabled: true,
editDisplay: false,
addDisplay: false,
rules: [{
required: true,
message: "请选择部门",
trigger: "blur"
}]
}, {
label: '手机号',
prop: 'phone',
value: '',
hide: true,
span: 24,
editDisplay: false,
rules: [{
min: 6,
max: 20,
message: "长度在 11 个字符",
trigger: "blur"
}]
}, {
label: '角色',
prop: 'role',
formslot: true,
slot: true,
overHidden: true,
span: 24,
rules: [{
required: true,
message: "请选择角色",
trigger: "blur"
}],
}, {
label: '状态',
prop: "lockFlag",
type: "select",
span: 24,
rules: [{
required: true,
message: "请选择状态",
trigger: "blur"
}],
dicData: [{
label: '有效',
value: "0"
}, {
label: '锁定',
value: "9"
}]
}, {
width: 180,
label: '创建时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
hide: true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
span: 24,
},
{
width: 300,
label: '头像',
prop: 'imageUrl',
hide:true,
// slot:true,
formslot:true
},
]
}

View File

@@ -0,0 +1,108 @@
/*
* 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,
size:"small",
dic: [],
column: [
{
label: '主键',
prop: 'id',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '创建人',
prop: 'createBy',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '创建时间',
prop: 'createTime',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '更新人',
prop: 'updateBy',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '更新时间',
prop: 'updateTime',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '删除标记',
prop: 'delFlag',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '所属租户',
prop: 'tenantId',
hide:true,
editDisabled: true,
addDisplay: false,
editDisplay: false,
},
{
label: '工号',
prop: 'username',
editDisabled: true,
},
{
label: '姓名',
prop: 'realName',
editDisabled: true,
},
{
label: '手机号',
prop: 'phone'
},
{
label: '备注',
prop: 'remarks'
},
]
}

View File

@@ -0,0 +1,45 @@
/*
* 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',
dic: [],
column: [
{
label: '详细地址',
prop: 'detailAddress'
},
{
label: '班级id',
prop: 'classId'
},
{
label: '删除标记',
prop: 'delFlag'
},
{
label: '创建时间',
prop: 'createTime'
},
]
}

39
src/const/crud/aj/scjajarea.js Executable file
View File

@@ -0,0 +1,39 @@
/*
* 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: 'areaName'
},
{
label: '区域代码',
prop: 'areaCode'
},
]
}

View File

@@ -0,0 +1,35 @@
/*
* 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 tableAddressOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '地区名称',
prop: 'addressName',
},
]
}

View File

@@ -0,0 +1,181 @@
/*
* 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 YES_OR_NO=[
{
label:'展示',
value:'0'
},
{
label:'不展示',
value:'1'
}
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
delBtn: false,
addBtn: false,
column: [
{
label: '班级名称',
prop: 'className',
editDisabled:true,
search:true
},
{
label: '培训年份',
prop: 'trainYear',
editDisabled:true,
search:true
},
{
label: '类型',
prop: 'companyType',
type:'select',
editDisabled:true,
dicUrl: '/aj/scjajcompanytype/getAllTypeList',
props:{
label:'typeName',
value:'id'
},
},
{
label: '培训地点',
prop: 'trainLocation',
editDisabled:true
},
{
label: '人员类型',
prop: 'personType',
type:'select',
editDisabled:true,
dicUrl: '/admin/dict/item/type/person_type',
props:{
label:'label',
value:'value'
},
},
{
label: '培训类型',
prop: 'trainType',
search:true,
type:'select',
editDisabled:true,
dicUrl: '/admin/dict/item/type/train_class_type',
props:{
label:'label',
value:'value'
},
},
{
label: '报名截止日期',
prop: 'signEndTime',
type:'date',
format:'yyyy-MM-dd HH:mm',
valueFormat:'yyyy-MM-dd HH:mm:ss',
disabled:true
},
{
label: '开始时间',
prop: 'trainStart',
type:'date',
format:'yyyy-MM-dd',
editDisabled:true
},
{
label: '结束时间',
prop: 'trainEnd',
type:'date',
format:'yyyy-MM-dd',
editDisabled:true
},
{
label: '培训费',
prop: 'price',
type:'number',
precision: 2,
min:0,
rules:[
{ validator: function (rule, value, callback) {
if(value!=''){
var reg =/^(\d|[1-9]\d+)(\.\d+)?$/
if(!reg.test(value)){
callback(new Error('请填写大于0的金额'));
}else{
callback()
}
}
}, trigger: 'blur' }
]
},
{
label: '预招人数',
prop: 'totalNums',
type:'number',
disabled:true
},
{
label: '是否展示',
prop: 'status',
type:'radio',
dicData:YES_OR_NO,
props:{
label:'label',
value:'value'
},
search:true
}
]
}
export const tableAddressOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
column: [
{
label: '详细地址',
prop: 'detailAddress',
rules: [{
required: true,
message: '请输入地址',
trigger: 'blur'
}],
},
{
label: '创建时间',
prop: 'createTime',
addDisabled:true,
addDisplay:false,
editDisabled:true,
},
]
}

View File

@@ -0,0 +1,54 @@
/*
* 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 combineOrderOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
column: [
{
label: '订单号',
prop: 'orderNum'
},
{
label: '微信账号',
prop: 'orderOutTradeNo'
},
{
label: '应付金额',
prop: 'price'
},
{
label: '实际到账',
prop: 'realPrice'
},
{
label: '创建时间',
prop: 'createTime'
},
{
label: '付款时间',
prop: 'payTime'
},
]
}

View File

@@ -0,0 +1,47 @@
/*
* 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: 'combinOrderId'
},
{
label: '',
prop: 'orderId'
},
{
label: '',
prop: 'delFlag'
},
]
}

View File

@@ -0,0 +1,38 @@
/*
* 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: [],
dialogDrag:true,
column: [
{
label: '名称',
prop: 'typeName'
},
]
}

View File

@@ -0,0 +1,47 @@
/*
* 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: 'parentId'
},
{
label: '类型名称',
prop: 'typeName'
},
{
label: '删除标记',
prop: 'delFlag'
},
]
}

View File

@@ -0,0 +1,55 @@
/*
* 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: 'className',
editDisabled:true
},
{
label: '班级名称',
prop: 'courseName',
editDisabled:true
},
{
label: '课时',
prop: 'courseHour',
editDisabled:true
},
{
label: '价格',
prop: 'price',
type:'number',
precision:2
},
]
}

277
src/const/crud/aj/scjajorder.js Executable file
View File

@@ -0,0 +1,277 @@
/*
* 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,
column: [
{
label: '订单号',
prop: 'orderNum',
addDisplay:false,
editDisabled:true
},
{
label: '企业名',
prop: 'companyName',
editDisabled: true
},
// {
// label: '班级',
// prop: 'className',
// editDisabled: true
// },
// {
// label: '单价',
// prop: 'price',
// editDisabled: true
// },
{
label: '订单类目',
prop: 'orderCate',
type:'select',
dicUrl: '/admin/dict/item/type/order_cate',
props:{
label:'label',
value:'value'
},
editDisabled: true
},
{
label: '总价',
prop: 'price',
editDisabled: true
},
{
label: '到账金额',
prop: 'realPrice',
editDisabled: true
},
// {
// label: '支付类别',
// prop: 'payType',
// type:'select',
// dicUrl: '/admin/dict/item/type/pay_type',
// props:{
// label:'label',
// value:'value'
// },
// editDisabled: true
// },
{
label: '支付时间',
prop: 'payTime',
editDisabled: true
},
{
label: '微信单号',
prop: 'orderOutTradeNo',
editDisabled: true
},
{
label: '订单状态 ',
prop: 'status',
type:'select',
search:true,
dicUrl: '/admin/dict/item/type/order_status',
props:{
label:'label',
value:'value'
},
editDisabled: true
},
{
label: '创建时间',
prop: 'createTime',
type:'date',
format:'yyyy-MM-dd HH:mm:ss',
valueFormat:'yyyy-MM-dd HH:mm:ss',
editDisabled: true
},
{
label: '备注',
type:'textarea',
row:true,
span:24,
prop: 'remark'
},
]
}
// export const tableOrderOption = {
// border: true,
// index: true,
// indexLabel: '序号',
// stripe: true,
// menuAlign: 'center',
// align: 'center',
// editBtn: false,
// delBtn: false,
// addBtn: false,
// column: [
// {
// label: '用户名',
// prop: 'personName',
// addDisplay:false,
// editDisabled:true
// },
// {
// label: '电话',
// prop: 'personPhone',
// editDisabled: true
// },
// {
// label: '性别',
// prop: 'sex',
// type: 'select',
// dicUrl: '/admin/dict/item/type/sexy',
// props:{
// label:'label',
// value:'value'
// },
// },
// {
// label: '身份证号',
// prop: 'personId',
// editDisabled: true
// },
// {
// label: '学历',
// prop: 'education',
// editDisabled: true
// },
// {
// label: '职称',
// prop: 'proName',
// editDisabled: true
// },
// {
// label: '培训班级名称',
// prop: 'className',
// editDisabled: true
// },
// {
// label: '单位类型(小类)',
// prop: 'companySmalltype',
// type: 'select',
// dicUrl: '/aj/scjajcompanytypesec/getAllSecTypeList',
// props:{
// label:'typeName',
// value:'id'
// },
// editDisabled: true,
// },
// {
// label: '费用',
// prop: 'price',
// editDisabled: true
// },
//
// ]
// }
export const tableOrderOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
column: [
{
label: '订单号',
prop: 'orderNum',
addDisplay:false,
editDisabled:true
},
{
label: '企业名',
prop: 'companyName',
editDisabled: true
},
{
label: '订单类目',
prop: 'orderCate',
type:'select',
dicUrl: '/admin/dict/item/type/order_cate',
props:{
label:'label',
value:'value'
},
editDisabled: true
},
{
label: '总价',
prop: 'price',
editDisabled: true
},
{
label: '到账金额',
prop: 'realPrice',
editDisabled: true
},
{
label: '支付时间',
prop: 'payTime',
editDisabled: true
},
{
label: '微信单号',
prop: 'orderOutTradeNo',
editDisabled: true
},
{
label: '订单状态 ',
prop: 'status',
type:'select',
search:true,
dicUrl: '/admin/dict/item/type/order_status',
props:{
label:'label',
value:'value'
},
editDisabled: true
},
{
label: '创建时间',
prop: 'createTime',
type:'date',
format:'yyyy-MM-dd HH:mm:ss',
valueFormat:'yyyy-MM-dd HH:mm:ss',
editDisabled: true
},
{
label: '备注',
type:'textarea',
row:true,
span:24,
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,43 @@
/*
* 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: '订单id',
prop: 'orderId'
},
{
label: '用户id',
prop: 'personId'
},
]
}

241
src/const/crud/aj/scjajperson.js Executable file
View File

@@ -0,0 +1,241 @@
/*
* 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 idType={
value:''
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dialogHeight:700,
selection:true,
column: [
{
label: '微信账单号',
prop: 'orderOutTradeNo',
disabled: true,
search:true,
hide:true
},
{
label: '订单号',
prop: 'everOrderNum',
editDisabled: true,
search:true,
},
{
label: '人员信息',
prop: 'personInfo',
editDisabled: true,
hide:true,
search:true,
display:false
},
{
label: '人员姓名',
prop: 'personName',
},
{
label: '人员类型',
prop: 'personType',
type: 'select',
dicUrl: '/admin/dict/item/type/person_type',
props:{
label:'label',
value:'value'
},
editDisabled: true,
},
{
label: '证件类型',
prop: 'personidType',
type: 'select',
dicUrl: '/admin/dict/item/type/id_type',
props:{
label:'label',
value:'value'
},
rules:[
{ validator: function (rule, value, callback) {
idType['value']=value
callback()
},
trigger: 'change' }
]
},
{
label: '证件号码',
prop: 'personId',
rules:[
{ validator: function (rule, value, callback) {
if(idType['value']=='0'){
if (value && (!(/\d{17}[\d|x]|\d{15}/).test(value) || (value.length !== 15 && value.length !== 18))) {
callback(new Error('身份证号码不规范'))
} else {
callback()
}
}else{
callback()
}
}, trigger: 'blur' }
]
},
{
label: '性别',
prop: 'sex',
type: 'radio',
dicUrl: '/admin/dict/item/type/sexy',
props:{
label:'label',
value:'value'
},
},
{
label: '电话号码',
prop: 'personPhone',
rules:[
{ validator: function (rule, value, callback) {
var reg=/^1[3456789]\d{9}$/;
if(!reg.test(value)){
callback(new Error('请输入有效的手机号码'));
}else{
callback()
}
}, trigger: 'blur' }
]
},
{
label: '培训班级名',
prop: 'className',
editDisabled: true,
search:true,
width:200
},
{
label: '单位信息',
prop: 'companyName',
editDisabled: true,
width:200,
search:true,
formslot:true,
},
{
label: '单位子类型',
prop: 'secCompanyType',
type: 'select',
dicUrl: '/aj/scjajcompanytypesec/getAllSecTypeList',
props:{
label:'typeName',
value:'id'
},
},
{
label: '报名时间',
prop: 'createTime',
editDisabled: true,
type:'date',
format:'yyyy-MM-dd HH:mm:ss'
},
{
label: '职称',
prop: 'proName',
type: 'select',
dicUrl: '/admin/dict/item/type/proname_type',
props:{
label:'label',
value:'label'
},
},
{
label: '学历',
prop: 'education',
type: 'select',
dicUrl: '/admin/dict/item/type/education_type',
props:{
label:'label',
value:'label'
},
},
{
label: '付款时间',
prop: 'payTime',
editDisabled: true,
type:'date',
format:'yyyy-MM-dd'
},
{
label: '付款截止时间',
prop: 'closeDate',
editDisabled: true,
type:'date',
format:'yyyy-MM-dd HH:mm:ss'
},
{
label: '状态',
prop: 'orderStatus',
editDisabled: true,
search:true,
type: 'select',
dicUrl: '/admin/dict/item/type/order_status',
props:{
label:'label',
value:'value'
},
},
// {
// label: '延迟付款时间(秒)',
// prop: 'closeTime',
// type:'number',
// hide:true
// },
// {
// label: '关闭时间',
// prop: 'closeDate',
// type:'datetime',
// value:'yyyy-MM-dd HH:mm',
// valueFormat:'yyyy-MM-dd HH:mm:ss',
// slot:true
// },
{
label: '是否同步',
prop: 'pushStatus',
editDisabled: true,
type: 'select',
search:true,
dicUrl: '/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
},
{
label: '推送失败原因',
prop: 'info',
editDisabled: true,
}
]
}

View File

@@ -0,0 +1,73 @@
/*
* 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,
column: [
{
label: '单位名称',
prop: 'companyName',
editDisabled: true,
search:true,
},
// {
// label: '新版营业执照',
// prop: 'isPick',
// type:'select',
// dicUrl: '/admin/dict/type/yes_no',
// props:{
// label:'label',
// value:'value'
// },
//
// },
{
label: '统一社会信用代码',
prop: 'socialCode',
editDisabled: true,
search:true
},
{
label: '区县代码',
prop: 'areaCode',
type:'select',
dicUrl: '/aj/scjajarea/getAreaNameByCode',
props:{
label:'areaName',
value:'areaCode'
},
},
{
label: '详细地址',
prop: 'address',
editDisabled: true,
},
{
label: '创建时间',
prop: 'createTime',
editDisabled:true,
},
]
}

View File

@@ -0,0 +1,235 @@
/*
* 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',
menu:false,
searchText:'统计',
addBtn:false,
column: [
{
label: '企业名称',
prop: 'companyName'
},
{
label: '报名人数',
prop: 'success'
},
{
label: '取消人数',
prop: 'fail'
},
{
label: '毕业人数',
prop: 'gradu'
},
]
}
//培训班级
export const tablePxBjOption={
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
menu:false,
searchText:'统计',
addBtn:false,
column: [
{
label: '类型',
prop: 'typeName'
},
{
label: '班级数量',
prop: 'typeNums'
}
]
}
//培训能力
export const tablePxNlTjOption={
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
menu:false,
searchText:'统计',
addBtn:false,
column: [
{
label: '类型',
prop: 'typeName'
},
{
label: '数量',
prop: 'typeNums'
}
]
}
//报名统计
export const tableBmTjOption={
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
menu:false,
searchText:'统计',
addBtn:false,
maxHeight:600,
column: [
{
label: '班级名称',
prop: 'className',
width:300,
},
{
label: '报名人数',
prop: 'signNums'
},
{
label: '培训人数',
prop: 'trainNums'
},
{
label: '一次合格',
prop: 'firPass'
},
{
label: '补考合格',
prop: 'secPass'
},
]
}
//开班统计
export const tableKbTjOption={
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
menu:false,
searchText:'统计',
addBtn:false,
maxHeight:600,
column: [
{
label: '班级名称',
prop: 'className'
},
{
label: '类型',
prop: 'companyType'
},
{
label: '培训开始日期',
prop: 'trainStart'
},
{
label: '报名截止日期',
prop: 'signEndDate'
},
{
label: '人员类型',
prop: 'personType'
},
{
label: '培训类型',
prop: 'trainType'
},
{
label: '报名人数',
prop: 'signNums'
},
{
label: '签到人数',
prop: 'qdNums'
},
{
label: '课时',
prop: 'courseTime'
},
]
}
//考核统计
export const tableKhResultOption={
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
menu:false,
searchText:'统计',
addBtn:false,
maxHeight:600,
column: [
{
label: '班级名称',
prop: 'className'
},
{
label: '开考日期',
prop: 'examDate',
type:'date',
format:"yyyy-MM-dd HH:mm"
},
{
label: '报名人数',
prop: 'signNums'
},
{
label: '未开考',
prop: 'noExam'
},
{
label: '一次合格',
prop: 'firPass'
},
{
label: '补考合格',
prop: 'secPass'
},
{
label: '待补考',
prop: 'waitExam'
},
{
label: '不合格',
prop: 'noPass'
},
]
}

View File

@@ -0,0 +1,52 @@
/*
* 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,
menu:false,
refreshBtn:false,
columnBtn:false,
dic: [],
column: [
{
label: '系部',
prop: 'deptName'
},
{
label: '班号',
prop: 'classNo'
},
{
label: '合格率',
prop: 'standardRate',
sortable:"custom"
},
{
label: '优秀率',
prop: 'excellentRate',
sortable:"custom"
}
]
}

View File

@@ -0,0 +1,64 @@
/*
* 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.
*
*/
/*
* 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,
menu:false,
refreshBtn:false,
columnBtn:false,
dic: [],
column: [
{
label: '课程',
prop: 'courseName'
},
{
label: '合格率',
prop: 'standardRate'
},
{
label: '优秀率',
prop: 'excellentRate'
}
]
}

View File

@@ -0,0 +1,46 @@
/*
* 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,
menu:false,
refreshBtn:false,
columnBtn:false,
dic: [],
column: [
{
label: '开课部门',
prop: 'deptName'
},
{
label: '合格率',
prop: 'standardRate'
},
{
label: '优秀率',
prop: 'excellentRate'
}
]
}

View File

@@ -0,0 +1,160 @@
/*
* 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,
menu:false,
refreshBtn:false,
columnBtn:false,
dic: [],
column: [
{
label:'年级',
prop:'grade',
type:'select',
dicUrl:'admin/dict/item/type/basic_class_info_grade',
props:{
label:'label',
value:'value'
},
search:true
},
{
label: '系部',
prop: 'deptName'
},
{
label: '班级',
prop: 'classCode'
},
{
label: '学年',
prop: 'schoolYear'
},
{
label: '学期',
prop: 'schoolTerm'
},
{
label: '课程名称',
prop: 'courseName'
},
{
label: '课程性质',
prop: 'coursePropertiesName'
},
{
label: '考核方式',
prop: 'courseEvaluationMode',
type:'select',
dicUrl: '/ems/courseevaluationmode/list',
props: {
label: 'courseEvaluationModeName',
value: 'id'
},
search:true
},
{
label: '任课教师',
prop: 'teacherRealName'
},
{
label: '100分',
prop: 'tine'
},
{
label: '比率',
prop: 'tineRate'
},
{
label: '99-90分',
prop: 'nine'
},
{
label: '比率',
prop: 'nineRate'
},
{
label: '89-80分',
prop: 'eight'
},
{
label: '比率',
prop: 'eightRate'
},
{
label: '79-70分',
prop: 'seven'
},
{
label: '比率',
prop: 'sevenRate'
},
{
label: '69-60分',
prop: 'six'
},
{
label: '比率',
prop: 'sixRate'
},
{
label: '合格',
prop: 'sixUp'
},
{
label: '合格率',
prop: 'sixUpRate'
},
{
label: '60分以下',
prop: 'sixDown'
},
{
label: '比率',
prop: 'sixDownRate'
},
{
label: '最高分',
prop: 'maxScore'
},
{
label: '最低分',
prop: 'minScore'
},
{
label: '考试人数',
prop: 'totalCount'
},
{
label: '平均分',
prop: 'avgScore'
},
{
label: '优秀率',
prop: 'excellentRate'
}
]
}

View File

@@ -0,0 +1,56 @@
/*
* 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: 'subjectName',
span: 24,
rules: [{ required: true, message: '请输入类目', trigger: 'blur' }]
},
{
label: '备注',
prop: 'remarks',
type: 'textarea',
span: 24,
},
{
label: '排序',
prop: 'sort',
type:'number',
span: 24,
rules: [{ required: true, message: '请输入类目', trigger: 'blur' }]
},
{
label: '创建时间',
prop: 'createTime',
editDisplay: false,
addDisplay: false,
}
]
}

View File

@@ -0,0 +1,56 @@
/*
* 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: 'subjectName',
span: 24,
rules: [{ required: true, message: '请输入明细', trigger: 'blur' }]
},
{
label: '备注',
prop: 'remarks',
type: 'textarea',
span: 24
},
{
label: '排序',
prop: 'sort',
span: 24,
rules: [{ required: true, message: '请输入类目', trigger: 'blur' }]
},
{
label: '创建时间',
prop: 'createTime',
editDisplay: false,
addDisplay: false
},
]
}

View File

@@ -0,0 +1,161 @@
/*
* 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: 'inboundNo'
},
{
label: '类别编码',
prop: 'codeEnName'
},
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
},
{
label: '库存',
prop: 'inboundNum'
},
{
label: '总金额',
prop: 'totalPrice'
},
{
label: '开始编码',
prop: 'codeStart'
},
{
label: '结束编码',
prop: 'codeEnd'
},
{
label: '是否审核',
prop: 'isExamine',
type:'select',
dicData:[
{
label:'已审核',
value:1
},{
label:'未审核',
value:-1
},{
label:'审核不通过',
value:2
}
]
},
{
label: '审核备注',
prop: 'examineValue'
},
{
label: '备注',
prop: 'remarks'
},
{
label: '最小数量',
prop: 'minNum',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最小单价',
prop: 'minPrice',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最小面积',
prop: 'minArea',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大数量',
prop: 'maxNum',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大单价',
prop: 'maxPrice',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大面积',
prop: 'maxArea',
addDisplay: false,
editDisplay: false,
hide: true
},{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
editDisplay: false,
addDisplay: false,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
editDisplay: false,
addDisplay: false,
hide: true
}
]
}

View File

@@ -0,0 +1,138 @@
/*
* 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',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '类别编码',
prop: 'codeEnName',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写类别编码",
trigger: "blur"
}]
},
{
label: '资产名称',
prop: 'goodsName',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写资产名称",
trigger: "blur"
}]
},
{
label: '面积',
prop: 'area',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写面积",
trigger: "blur"
}]
},
{
label: '单位',
prop: 'unit',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写单位",
trigger: "blur"
}]
},
{
label: '单价',
prop: 'price',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写单价",
trigger: "blur"
}]
},
{
label: '总金额',
prop: 'totalPrice',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写总金额",
trigger: "blur"
}]
},
{
label: '备注',
prop: 'remarks',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写备注",
trigger: "blur"
}]
},
{
label: '入库单号',
prop: 'inboundNo',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写入库单号",
trigger: "blur"
}]
},
{
label: '入库日期',
prop: 'inboundDate',
span: 12,
labelWidth: 120,
addDisplay:false,
editDisabled:true,
},
]
}

View File

@@ -0,0 +1,323 @@
import {getDetails} from "@/api/asset/assetcode/assetcode";
import {validateUpperCase} from "../../../../util/validate";
import global from "@/components/tools/commondict";
import fa from "element-ui/src/locale/lang/fa";
var validateUsername = (rule, value, callback) => {
getDetails(value).then(response => {
if (!validateUpperCase(value)) {
callback(new Error('请输入大写字母'));
}
if (window.boxType === 'edit') callback()
let result = response.data.data;
if (result != null && result != undefined) {
callback(new Error('类别编码已经存在'))
} else {
callback()
}
});
};
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',
// type: 'input', // 控件类型
// maxlength: 20, //长度限制 0/n
// addDisplay:false, //添加是否显示
// editDisplay:false, //修改是否显示
// rules: [{ //自定义规则
// required: false,
// trigger: 'blur',
// message:"请填写创建人"
// }]
// },
// {
// label: '更新人',
// prop: 'updateBy',
// type: 'input', // 控件类型
// maxlength: 20, //长度限制 0/n
// addDisplay:false, //添加是否显示
// editDisplay:false, //修改是否显示
// rules: [{ //自定义规则
// required: false,
// trigger: 'blur',
// message:"请填写更新人"
// }]
// },
// {
// label: '开始年限',
// prop: 'startYear',
// maxlength: 4, //长度限制 0/n
// rules: [{ //自定义规则
// required: true,
// trigger: 'blur',
// message:"请填写开始年限(例:2020)"
// }]
// },
{
label: '包含类型',
prop: 'codeName',
type: 'input', // 控件类型
span: 24,
search:true,
maxlength: 100, //长度限制 0/n
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写包含类型"
}]
},
{
label: '类别编码',
prop: 'codeEnName',
span: 24,
search:true,
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写类别编码"
},
{
min: 3,
max: 3,
message: "长度在 3 个字符",
trigger: "blur"
},
// {validator: validateUsername, trigger: 'blur'}
]
},
{
label: '报废时间',
prop: 'expireTime',
type:"select",
span: 24,
dicUrl:'/admin/dict/item/type/scrap_time',
props:{
label:'label',
value:'value'
},
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写报废时间"
}]
},
{
label: '类型',
prop: 'type',
type: 'select',
span: 24,
dicUrl:'/admin/dict/item/type/assets_code',
props:{
label:'label',
value:'value'
},
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请选择类型"
}]
},
{
label: '编码备注',
prop: 'remarks',
type: 'textarea',
span: 24,
minRows: 2,
maxlength: 250, //长度限制 0/n
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
},
// {
// label: '创建时间',
// prop: 'createTime',
// addDisplay:false, //添加是否显示
// editDisplay:false, //修改是否显示
// },
// {
// label: '更新时间',
// prop: 'updateTime',
// addDisplay:false, //添加是否显示
// editDisplay:false, //修改是否显示
// },
]
}
export const tableOption2 = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '类别编码',
prop: 'codeEnName',
span: 24,
search:true,
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写类别编码"
},
{
min: 3,
max: 3,
message: "长度在 3 个字符",
trigger: "blur"
},
// {validator: validateUsername, trigger: 'blur'}
]
},
{
label: '包含类型',
prop: 'codeName',
type: 'input', // 控件类型
span: 24,
search:true,
maxlength: 100, //长度限制 0/n
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写包含类型"
}]
},
{
label: '报废时间',
prop: 'expireTime',
type:"select",
span: 24,
dicUrl:'/admin/dict/item/type/scrap_time',
props:{
label:'label',
value:'value'
},
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写报废时间"
}]
},
{
label: '资产数量',
prop: 'num'
}
]
}
export const tableStaticOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu: false,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
showSummary:true,
sumColumnList: [
{
name: 'num',
type: 'sum'
}, {
name: 'price',
type: 'sum'
}
],
dic: [],
column: [
{
label: '资产分布',
prop: 'times',
search:true,
hide:true,
type:'year',
valueFormat:'yyyy'
},
{
label: '部门名称',
prop: 'deptName'
},
{
label: '数量合计',
prop: 'num'
},{
label: '金额合计',
prop: 'price'
}
]
}
export const tableStatictypeOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu: false,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
showSummary:true,
sumColumnList: [
{
name: 'num',
type: 'sum'
}, {
name: 'price',
type: 'sum'
}
],
dic: [],
column: [
{
label: '资产分布',
prop: 'times',
search:tableOption,
hide:true,
type:'year',
valueFormat:'yyyy'
},
{
label: '部门名称',
prop: 'deptName'
},
{
label: '数量合计',
prop: 'num'
},{
label: '金额合计',
prop: 'price'
}
]
}

View File

@@ -0,0 +1,154 @@
/*
* 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 {ROLE_CODE} from "../../../../config/global";
import {getDetailsByName,getDetailsByCode} from "@/api/asset/assetdept/assetdept";
var validaterName = (rule, value, callback) => {
getDetailsByName(value).then(response => {
if (window.boxType === 'edit') callback()
let result = response.data.data;
if (result != null && result != undefined) {
callback(new Error('部门名称已经存在'))
} else {
callback()
}
});
};
var validaterCode = (rule, value, callback) => {
getDetailsByCode(value).then(response => {
if (window.boxType === 'edit') callback()
let result = response.data.data;
if (result != null && result != undefined) {
callback(new Error('部门编号已经存在'))
} else {
callback()
}
});
};
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: 'startYear'
// },
// {
// label: '删除标志位',
// prop: 'delFlag'
// },
// {
// label: '租户id',
// prop: 'tenantId'
// },
{
label: '部门编码',
prop: 'deptCode',
search:true,
type: 'input', // 控件类型
maxlength: 5, //长度限制 0/n
span: 24,
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写部门编码"
},
{validator: validaterCode, trigger: 'blur'}]
},
{
label: '部门名称',
prop: 'deptName',
search:true,
type: 'input', // 控件类型
maxlength: 10, //长度限制 0/n
span: 24,
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
rules: [{ //自定义规则
required: true,
trigger: 'blur',
message:"请填写部门名称"
},
{validator: validaterName, trigger: 'blur'}
]
},
{
span: 24,
label: '部门成员',
prop: 'deptMember',
slot: true,
overHidden: true,
type: 'select',
multiple:true,
remote: true,
props: {
label: 'realName',
value: 'realName'
},
dicUrl: '/professional/teacherbase/queryTeacherBaseByNo/{{key}}',
rules: [{
required: true,
message: '请设置部门成员',
trigger: 'blur'
}],
},
{
label: '备注',
prop: 'remarks',
type: 'textarea',
span: 24,
minRows: 2,
maxlength: 250, //长度限制 0/n
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
}
]
}

View File

@@ -0,0 +1,507 @@
/*
* 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";
import globalDict from "@/components/newcommon/js/global_dict";
export const tableWLOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
showSummary:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'totalPrice',
type: 'sum'
}],
column: [
{
label: '入库日期',
prop: 'createTime',
},
{
label: '入库单号',
prop: 'inboundNo'
},
{
label:'开始时间',
prop:'beginTime',
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label:'结束时间',
prop:'endTime',
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label: '入库部门',
prop: 'deptCode',
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '合同金额',
prop: 'contractMoney'
},
{
label: '发票金额',
prop: 'invoiceMoney'
},
{
label: '入库总金额',
prop: 'totalPrice'
},
{
label: '是否完善',
prop: 'isPerfect',
type:'select',
dicData:[
{
label:'待完善',
value:"0"
},{
label:'已完善',
value:"1"
},{
label:'已完善,待审核',
value:"3"
}
]
},
{
label: '审核进度',
prop: 'isExamine',
type:'select',
dicData:[
{
label:'待部门审核',
value:"0"
},{
label:'待后勤审核',
value:"1"
},{
label:'审核通过',
value:"2"
},{
label:'驳回',
value:"3"
}
]
},
{
label: '资产类别',
prop: 'type',
type:'select',
dicData:global.assets_type,
props:{
label:'label',
value:'value'
},
},
{
label: '备注',
prop: 'remarks'
},
]
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
showSummary:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'totalPrice',
type: 'sum'
}],
column: [
{
label: '入库日期',
prop: 'createTime',
},
{
label: '入库单号',
prop: 'inboundNo',
search:true
},
{
label: '履约评价单',
prop: 'purchasingNo',
search:true
},
{
label:'开始时间',
prop:'beginTime',
search:true,
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label:'结束时间',
prop:'endTime',
search:true,
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label: '入库部门',
prop: 'deptCode',
search:true,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '合同金额',
prop: 'contractMoney'
},
{
label: '发票金额',
prop: 'invoiceMoney'
},
{
label: '入库总金额',
prop: 'totalPrice'
},
{
label: '是否完善',
prop: 'isPerfect',
type:'select',
dicData:[
{
label:'待完善',
value:"0"
},{
label:'已完善',
value:"1"
},{
label:'已完善,待审核',
value:"3"
}
]
},
{
label: '审核进度',
prop: 'isExamine',
type:'select',
search:true,
dicData:[
{
label:'待提交',
value:"-1"
},
{
label:'待部门审核',
value:"0"
},{
label:'待后勤审核',
value:"1"
},{
label:'资产负责人审核',
value:"4"
},{
label:'审核通过',
value:"2"
},{
label:'驳回',
value:"3"
}
]
},
{
label: '审核意见',
prop: 'examineValue',
},
// {
// label: '资产类别',
// prop: 'type',
// type:'select',
// dicData:global.assets_type,
// props:{
// label:'label',
// value:'value'
// },
// search:true
// },
{
label: '备注',
prop: 'remarks'
},
]
}
export const tableDelOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
showSummary:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'totalPrice',
type: 'sum'
}],
column: [
{
label: '删除时间',
prop: 'createTime',
},
{
label: '入库单号',
prop: 'inboundNo',
search:true
},
{
label:'开始时间',
prop:'beginTime',
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label:'结束时间',
prop:'endTime',
hide:true,
addDisplay:false,
editDisplay:false,
type:'date',
format:'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
},
{
label: '入库部门',
prop: 'deptCode',
search:true,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '合同金额',
prop: 'contractMoney'
},
{
label: '发票金额',
prop: 'invoiceMoney'
},
{
label: '入库总金额',
prop: 'totalPrice'
},
{
label: '备注',
prop: 'remarks'
},
{
label: '资产类别',
prop: 'type',
type:'select',
dicData:global.assets_type,
props:{
label:'label',
value:'value'
},
search:true
},
]
}
export const tableDictItemOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu:false,
showSummary:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'totalPrice',
type: 'sum'
}],
column: [
{
label: '入库单号',
prop: 'inboundNo'
},
{
label: '类别编码',
prop: 'codeEnName'
},
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
},
{
label: '库存',
prop: 'inboundNum'
},
{
label: '总金额',
prop: 'totalPrice'
},
{
label: '开始编码',
prop: 'codeStart'
},
{
label: '结束编码',
prop: 'codeEnd'
},
{
label: '是否资产',
prop: 'isAssetValue',
type:'select',
dicData:[
{
label:'否',
value: "0"
},{
label:'固定资产',
value: "1"
},{
label:'无形资产',
value: "2"
}
]
},
{
label: '资产用途',
prop: 'assetUser',
type:'select',
dicData:globalDict.ASSET_USAGE,
},
{
label: '资产类别',
prop: 'type',
type:'select',
dicData:global.assets_type,
props:{
label:'label',
value:'value'
},
search:true
},
{
label: '备注',
prop: 'remarks'
}
]
}

View File

@@ -0,0 +1,424 @@
/*
* 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 tableIndexOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '主键',
prop: 'id',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '出库时间',
prop: 'createTime'
},
{
label: '出库单号',
prop: 'outboundNo',
},
{
label: '出库部门名称',
prop: 'deptName'
},
{
label: '总金额',
prop: 'totalPrice'
},
{
label: '出库数量',
prop: 'outboundNum'
},
{
label: '进度',
prop: 'schedule',
formslot:true,
slot:true,
},
{
label: '是否审核',
prop: 'isExamine',
type:'select',
dicData:[
{
label:'待完善',
value:"0"
},{
label:'通过',
value:"1"
},{
label:'未通过',
value:"2"
},{
label:'已完善,待审核',
value:"3"
}
]
},
{
label: '审核意见',
prop: 'examineValue'
},{
label: '备注',
prop: 'remarks'
},
{
label: '出库部门',
prop: 'outDeptName',
hide: true,
addDisplay: false,
editDisplay: false,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 00:00:00',
editDisplay: false,
addDisplay: false,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 23:59:59',
editDisplay: false,
addDisplay: false,
hide: true
}
]
}
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',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '出库时间',
prop: 'createTime'
},
{
label: '出库单号',
prop: 'outboundNo',
search:true
},
{
label: '出库部门名称',
prop: 'deptName'
},
{
label: '总金额',
prop: 'totalPrice'
},
{
label: '出库数量',
prop: 'outboundNum'
},
{
label: '进度',
prop: 'schedule',
formslot:true,
slot:true,
},
{
label: '是否审核',
prop: 'isExamine',
type:'select',
search:true,
dicData:[
{
label:'待完善',
value:"0"
},{
label:'通过',
value:"1"
},{
label:'未通过',
value:"2"
},{
label:'已完善,待后勤管理员审核',
value:"3"
},{
label:'已完善,待资产负责人审核',
value:"4"
}
]
},
{
label: '审核意见',
prop: 'examineValue'
},{
label: '备注',
prop: 'remarks'
},
{
label: '出库部门',
prop: 'outDeptName',
search:true,
hide: true,
addDisplay: false,
editDisplay: false,
filterable:true,
searchFilterable:true,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 00:00:00',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 23:59:59',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
}
]
}
export const tableDictItemOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
refreshBtn: false,
showColumnBtn: false,
searchSize: 'mini',
dic: [],
column: [
{
label: '主键',
prop: 'id',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '入库单号',
prop: 'inboundNo'
},
{
label: '出库单号',
prop: 'outboundNo'
} ,
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '类别编码',
prop: 'codeEnName'
},
{
label: '开始编码',
prop: 'codeStart'
},
{
label: '结束编码',
prop: 'codeEnd'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
},
{
label: '出库数量',
prop: 'outboundNum'
},
{
label: '总金额',
prop: 'totalPrice'
},
{
label: '出库部门编码',
prop: 'deptCode'
},
{
label: '出库部门名称',
prop: 'deptName'
},
{
label: '备注',
prop: 'remarks'
},{
label: '出库部门',
prop: 'outDeptName',
type:'select',
hide: true,
addDisplay: false,
editDisplay: false,
//dicUrl: '/asset/assetdept/list',
dicUrl: '/basic/basicdept/getDeptList?teachFlag=1',
props:{
label:'deptName',
value:'deptCode'
},
},
{
label: '最小数量',
prop: 'minNum',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大数量',
prop: 'maxNum',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最小单价',
prop: 'minPrice',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大单价',
prop: 'maxPrice',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最小面积',
prop: 'minArea',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大面积',
prop: 'maxArea',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最小金额',
prop: 'minTotal',
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: '最大金额',
prop: 'maxTotal',
addDisplay: false,
editDisplay: false,
hide: true
}
,{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
editDisplay: false,
addDisplay: false,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
editDisplay: false,
addDisplay: false,
hide: true
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,64 @@
/*
* 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: 'userName',
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},rules: [{
required: true,
trigger: 'blur',
message:"请选择用户账号"
}]
},
{
label: '部门',
prop: 'deptCode',
type:'select',
search:true,
filterable:true,
searchFilterable:true,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},rules: [{
required: true,
message: '部门不能为空',
trigger: 'blur'
}
]
}
]
}

View File

@@ -0,0 +1,82 @@
/*
* 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',
hide:true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
// {
// label: '楼号',
// prop: 'buildCode',
// search:true,
// rules: [{
// required: true,
// message: '楼号不能为空',
// trigger: 'blur'
// },
// {
// min: 0,
// max: 10,
// message: '长度在 0 到 10 个字符',
// trigger: 'blur'
// }
// ]
// },
{
label: '楼名',
prop: 'buildName',
search:true,
span:24,
rules: [{
required: true,
message: '楼栋名不能为空',
trigger: 'blur'
},
{
min: 0,
max: 50,
message: '长度在 0 到 50 个字符',
trigger: 'blur'
}
]
},
{
label: '备注',
type:'textarea',
row:true,
span:24,
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,93 @@
/*
* 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 YES_OR_NO=[
{
label:'关闭',
value:'0'
},
{
label:'开启',
value:'1'
}
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '开始时间',
prop: 'startTime',
type: 'datetime',
span: 24,
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
rules: [{
required: true,
message: '开始时间不能为空',
trigger: 'blur'
}]
},
{
label: '结束时间',
prop: 'endTime',
type: 'datetime',
span: 24,
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
rules: [{
required: true,
message: '结束时间不能为空',
trigger: 'blur'
}]
},
{
label: '开启报废',
prop: 'isOpen',
type:'radio',
dicData:YES_OR_NO,
span: 24,
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: '是否开启报废不能为空',
trigger: 'blur'
}]
},
{
label: '备注',
prop: 'remarks',
type: 'textarea',
span: 24,
minRows: 2,
maxlength: 250, //长度限制 0/n
},
]
}

View File

@@ -0,0 +1,157 @@
/*
* 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: 'id',
hide:true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '楼栋',
prop: 'buildCode',
filterable:true,
searchFilterable:true,
search:true,
type:'select',
dicUrl: '/asset/assetsbuilding/list',
props: {
label: 'buildName',
value: 'id'
},
rules: [{
required: true,
message: '楼栋不能为空',
trigger: 'blur'
}
]
},
{
label: '房间号',
prop: 'roomCode',
search:true,
filterable:true,
searchFilterable:true,
rules: [{
required: true,
message: '房间号不能为空',
trigger: 'blur'
},
{
min: 0,
max: 20,
message: '长度在 0 到 20 个字符',
trigger: 'blur'
}
]
},
{
label: '房间类型',
prop: 'roomType',
search:true,
type:'select',
filterable:true,
searchFilterable:true,
dicData:global.room_type,
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: '房间类型不能为空',
trigger: 'blur'
}
]
},
{
label: '面积',
prop: 'area'
},
{
label: '专业',
prop: 'majorCode',
hide:true,
filterable:true,
searchFilterable:true,
multiple:true,
type:'select',
dicUrl: '/basic/major/getMajorNameList',
props: {
label: 'majorName',
value: 'majorCode'
}
},
{
label: '全专业',
prop: 'isAll',
type: 'switch',
dicData:[{
label:'否',
value:'0'
},{
label:'是',
value:'1'
}]
},
{
label: '部门',
prop: 'deptCode',
type:'select',
search:true,
filterable:true,
searchFilterable:true,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},rules: [{
required: true,
message: '部门不能为空',
trigger: 'blur'
}
]
},
{
label: '备注',
type:'textarea',
row:true,
span:24,
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,191 @@
/*
* 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 wxstat=[
{
label:'正常',
value:'0'
},
{
label:'维修',
value:'1'
},
{
label:'维护',
value:'2'
},
{
label:'维修申请中',
value:'3'
}
]
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',
search: true,
type:"select",
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: '学院不能为空',
trigger: 'blur'
}]
},
{
label: '所属区域',
prop: 'buildingId',
search: true,
type:"select",
dicUrl: '/asset/checkbuilding/list',
props: {
label: 'areaName',
value: 'id'
},
rules: [{
required: true,
message: '所属区域不能为空',
trigger: 'blur'
}]
},
// {
// label: '状态',
// prop: 'assetState',
// type:'select',
// dicData:wxstat,
// props:{
// label:'label',
// value:'value'
// },
// search:true,
// addDisplay:false,
// editDisplay:false,
//
// },
{
label: '班级',
prop: 'classCode',
type:"select",
filterable:true,
dicUrl:'/basic/basicclass/list',
props:{
label: 'classNo',
value: 'classCode',
},
},
{
label: '任课教师',
prop: 'teacherNo',
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},
},
{
label: '设备名称',
prop: 'goodsName',
rules: [{
required: true,
message: '设备名称不能为空',
trigger: 'blur'
}]
},
{
label: '规格/型号',
prop: 'spec',
labelWidth:100,
rules: [{
required: true,
message: '规格/型号不能为空',
trigger: 'blur'
}]
},
{
label: '面积(㎡)',
prop: 'area'
},
{
label: '单位',
prop: 'unit',
rules: [{
required: true,
message: '单位不能为空',
trigger: 'blur'
}]
},
{
label: '数量',
prop: 'num',
type:'number',
rules: [{
required: true,
message: '数量不能为空',
trigger: 'blur'
}]
},
// {
// label: '单价',
// prop: 'price',
// type:'number',
// precision: 2,
// min:0,
// rules:[
// { validator: function (rule, value, callback) {
// if(value!=''){
// var reg =/^(\d|[1-9]\d+)(\.\d+)?$/
// if(!reg.test(value)){
// callback(new Error('请填写大于0的金额'));
// }else{
// callback()
// }
// }
// }, trigger: 'blur' },
// // {
// // required: true,
// // message: '单价不能为空',
// // trigger: 'blur'
// // }
// ]
// },
{
label: '备注',
prop: 'remark',
type:'textarea',
row:true,
span:24,
},
]
}

View File

@@ -0,0 +1,139 @@
/*
* 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 stateList=[
{
label:'已检查',
value:'1'
},
{
label:'未检查',
value:'0'
}
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '设备名称',
prop: 'assetId',
search: true,
type:"select",
dicUrl: '/asset/checkdevice/list',
props: {
label: 'goodsName',
value: 'id'
},
rules: [{
required: true,
message: '资产名称不能为空',
trigger: 'blur'
}]
},
{
label: '学院',
prop: 'deptCode',
search: true,
type:"select",
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
editDisabled: true,
editDisplay: false,
addDisplay: false,
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: '学院不能为空',
trigger: 'blur'
}]
},
{
label: '所属区域',
prop: 'buildId',
type:"select",
dicUrl: '/asset/checkbuilding/list',
props:{
label:'areaName',
value:'id'
},
rules: [{
required: true,
message: '所属区域不能为空',
trigger: 'blur'
}],
formSlot:true,
// editDisabled: true,
// editDisplay: false,
// addDisplay: false,
},
{
label: '检查时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
rules: [{
required: true,
message: '检查时间时间不能为空',
trigger: 'blur'
}]
},
{
label: '检查情况图片',
prop: 'imgs',
slot: true,
formslot: true,
addDisplay:false,
editDisplay:false,
rules: [{
required: true,
message: '账号不能为空',
trigger: 'blur'
}]
},
// {
// label: '是否检查',
// prop: 'state',
// type: 'select',
// search:true,
// dicData: stateList,
// rules: [{
// required: true,
// message: '类型不能为空',
// trigger: 'blur'
// }]
// },
{
label: '备注',
prop: 'remark',
type: 'textarea',
},
]
}

View File

@@ -0,0 +1,116 @@
/*
* 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 typeList=[
{
label:'巡检',
value:'1'
},
{
label:'管理',
value:'2'
}
]
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',
// search: true,
// type:"select",
// dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
// props: {
// label: 'deptName',
// value: 'deptCode'
// },
// rules: [{
// required: true,
// message: '学院不能为空',
// trigger: 'blur'
// }]
// },
{
label: '姓名',
prop: 'name',
search:true,
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},
rules: [{
required: true,
message: '姓名不能为空',
trigger: 'blur'
}]
},
{
label: '电话',
prop: 'phone',
rules: [{
required: true,
message: '电话不能为空',
trigger: 'blur'
}]
},
{
label: '账号',
prop: 'userName',
addDisplay: false,
editDisabled: true,
rules: [{
required: true,
message: '账号不能为空',
trigger: 'blur'
}]
},
{
label: '类型',
prop: 'type',
type: 'select',
search:true,
dicData: typeList,
rules: [{
required: true,
message: '类型不能为空',
trigger: 'blur'
}]
},
{
label: '备注',
prop: 'remark',
type: 'textarea',
span: 24,
minRows: 2,
maxlength: 250, //长度限制 0/n
addDisplay:true, //添加是否显示
editDisplay:true, //修改是否显示
},
]
}

View File

@@ -0,0 +1,44 @@
/*
* 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: 'title'
},
{
label: '故障代码',
prop: 'code',
search:true
},
{
label: '备注',
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,199 @@
/*
* 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 stateList=[
{
label:'已撤销',
value:'-1'
},
{
label:'待提交',
value:'0'
},
{
label:'待部门复查',
value:'1'
},
{
label:'部门复查驳回',
value:'2'
},
{
label:'待部门审核',
value:'3'
},
{
label:'部门审核驳回',
value:'4'
},
{
label:'待报价',
value:'5'
},
{
label:'待部门批准',
value:'6'
},
{
label:'部门批准驳回',
value:'7'
},
{
label:'维修中',
value:'8'
},
{
label:'待报修人验收',
value:'9'
},
{
label:'待报修人验收驳回',
value:'10'
}, {
label:'待实训室审批',
value:'11'
},
{
label:'实训室审批驳回',
value:'12'
},
{
label:'报修完结',
value:'13'
},
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '所属区域',
prop: 'buildId',
type:"select",
dicUrl: '/asset/checkbuilding/list',
props:{
label:'areaName',
value:'id'
},
addDisplay: false,
editDisplay: false
},
{
label: '设备',
prop: 'assetId',
search: true,
type:"select",
dicUrl: '/asset/checkdevice/list',
props: {
label: 'goodsName',
value: 'id'
},
rules: [{
required: true,
message: '设备名称不能为空',
trigger: 'blur'
}],
addDisabled: false,
editDisabled: true
},
{
label: '维修申请原因',
prop: 'name'
},
{
label: '维修报价',
prop: 'wxPrice',
addDisplay: false,
editDisplay: false
},
{
label: '状态',
prop: 'state',
search:true,
dicData: stateList,
type:'select',
props:{
label:'label',
value:'value'
},
addDisplay: false,
editDisplay: false
},
{
label: '审核意见',
prop: 'examRemark',
addDisplay: false,
editDisplay: false
},
{
label: '申请时间',
prop: 'createTime',
addDisplay: false,
editDisplay: false
},
{
label: '备注',
type:'textarea',
row:true,
span:24,
prop: 'remark'
},
]
}
export const tablestaticOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '所属区域',
prop: 'buildId',
search: true
},
{
label: '故障时间',
prop: 'gztime',
},
{
label: '故障类型',
prop: 'gzname',
search: true
},
{
label: '故障次数',
prop: 'gznum',
},
]
}

View File

@@ -0,0 +1,80 @@
/*
* 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: 'name',
search:true,
rules: [{
required: true,
message: '姓名不能为空',
trigger: 'blur'
}]
},
{
label: '手机',
prop: 'phone',
rules: [{
required: true,
message: '手机不能为空',
trigger: 'blur'
}]
},
{
label: '用户名',
prop: 'userName',
rules: [{
required: true,
message: '用户名不能为空',
trigger: 'blur'
}],
addDisabled:false,
editDisabled:true,
},
{
label: '身份证',
prop: 'idCard',
rules: [
{
required: true,
message: '请输入身份证号',
trigger: 'blur'
},
{ min:11 ,max:18 , message: '身份证号码应为 18位', trigger: 'blur' }
]
},
{
label: '备注',
prop: 'remark',
type:'textarea',
row:true,
span:24,
},
]
}

View File

@@ -0,0 +1,93 @@
/*
* 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: 'deptCode',
type:'select',
search: true,
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: '学院不能为空',
trigger: 'blur'
}]
},
{
label: '资产',
prop: 'assetId',
search: true,
type:"select",
dicUrl: '/asset/checkdevice/list',
props: {
label: 'goodsName',
value: 'id'
},
rules: [{
required: true,
message: '资产名称不能为空',
trigger: 'blur'
}]
},
{
label: '所属区域',
prop: 'buildId',
type:"select",
dicUrl: '/asset/checkbuilding/list',
props:{
label:'buildName',
value:'id'
},
rules: [{
required: true,
message: '所属区域不能为空',
trigger: 'blur'
}]
},
{
label: '检查情况图片',
prop: 'imgs',
slot: true,
formslot: true,
},
{
label: '保养时间',
prop: 'createTime'
},
{
label: '备注',
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,81 @@
/*
* 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: 'name',
search:true,
rules: [{
required: true,
message: '姓名不能为空',
trigger: 'blur'
}]
},
{
label: '手机',
prop: 'phone',
rules: [{
required: true,
message: '手机不能为空',
trigger: 'blur'
}]
},
{
label: '用户名',
prop: 'userName',
rules: [{
required: true,
message: '用户名不能为空',
trigger: 'blur'
}],
addDisabled:false,
editDisabled:true,
},
{
label: '身份证',
prop: 'idCard',
rules: [
{
required: true,
message: '请输入身份证号',
trigger: 'blur'
},
{ min:11 ,max:18 , message: '身份证号码应为 18位', trigger: 'blur' }
]
},
{
label: '备注',
prop: 'remark',
type:'textarea',
row:true,
span:24,
},
]
}

View File

@@ -0,0 +1,257 @@
/*
* 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 states=[
{
label:'审核中',
value:'-1'
},
{
label:'审核完成',
value:'0'
},
{
label:'审核不通过',
value:'2'
},
]
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',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '报废单号',
prop: 'invalidNo',
},
{
label: '资产编码',
prop: 'code',
},
{
label: '资产名称',
prop: 'goodsName',
},
{
label: '保管人',
prop: 'belongTeacherNo',
},
{
label: '金额',
prop: 'price',
},
{
label: '报废原因',
prop: 'invalidReason'
},
{
label: '部门编码',
prop: 'deptCode',
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props:{
label:'deptName',
value:'deptCode'
}
},
{
label: '存放地点',
prop: 'place',
},
{
label: '预计报废日期',
prop: 'invalidDate',
},
{
label: '实际报废日期',
prop: 'invalidActualDate',
},
{
label: '备注',
prop: 'remarks'
},
]
}
export const tableDictItemOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
refreshBtn: false,
searchSize: 'mini',
showSummary:true,
sumColumnList: [
{
name: 'price',
type: 'sum'
},
{
name: 'num',
type: 'sum'
}
],
column: [
{
label: '主键',
prop: 'id',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '报废单号',
prop: 'invalidNo',
search:true
},
{
label: '申请时间',
prop: 'createTime',
type: 'date', // 添加这一行
format: 'yyyy-MM-dd',
},
{
label: '资产编码',
prop: 'code',
hide: true,
},
{
label: '金额',
prop: 'price',
},
{
label: '保管人-工号',
prop: 'belongTeacherNo',
hide: true,
},
{
label: '保管人-姓名',
prop: 'belongRealName',
hide: true,
},
{
label: '部门编码',
prop: 'deptCode',
type:'select',
addDisplay: false,
search:true,
editDisplay: false,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props:{
label:'deptName',
value:'deptCode'
}
} ,{
label: '报废原因',
prop: 'invalidReason',
},{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 00:00:00',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 23:59:59',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
},
{
label: '存放地点',
prop: 'place',
hide: true,
},
{
label: '预计报废日期',
prop: 'invalidDate',
hide: true,
},
{
label: '实际报废日期',
prop: 'invalidActualDate',
},
{
label: '审核状态',
prop: 'procInsStatus',
},
{
label: '审核状态',
type:'select',
prop: 'status',
searchFilterable:true,
dicData:states,
props:{
label:'label',
value:'value'
},
search:true,
hide:true
},
{
label: '报废资产数量',
prop: 'num',
},
{
label: '报废类型',
prop: 'type',
type:'select',
search:true,
dicData:[{label:"电子废物",value:"0"},{label:"土地房屋",value:"1"},{label:"汽车类",value:"2"},{label:"其他",value:"3"}],
props:{
label:'label',
value:'value'
},
},
{
label: '审核备注',
prop: 'procInsRemork',
}
]
}

View File

@@ -0,0 +1,206 @@
export const tableiOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
searchBtn:false,
refreshBtn:false,
columnBtn:false,
dic: [],
selection: true,
selectable:(row,index)=>{
return index===1;
},
column: [
{
label: '主键',
prop: 'id',
hide: true,
},
{
label: '资产编码',
prop: 'code'
},
{
label: '部门编码',
prop: 'belongDeptCode',
hide: true,
},
{
label: '部门',
prop: 'belongDeptName',
},
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
},{
label: '预计报废日期',
prop: 'invalidDate',
type:'date',
format:'yyyy-MM-dd',
},
{
label: '实际报废日期',
type:'date',
prop: 'invalidActualDate',
format:'yyyy-MM-dd',
},
{
label: '报废状态',
prop: 'isInvalid',
},
{
label: '报废审核备注',
prop: 'procInsRemork',
}
]
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
searchBtn:false,
refreshBtn:false,
columnBtn:false,
dic: [],
column: [
{
label: '主键',
prop: 'id',
hide: true,
},
{
label: '资产编码',
prop: 'code'
},
{
label: '调出部门编码',
prop: 'belongDeptCode',
hide: true,
},
{
label: '调出部门',
prop: 'belongDeptName',
},
{
label: '调入部门',
prop: 'newDeptName',
},
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
}
]
}
export const tableOption2 = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu:true,
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
searchBtn:false,
refreshBtn:false,
columnBtn:false,
dic: [],
selection: true,
selectable:(row,index)=>{
return index===1;
},
column: [
{
label: '主键',
prop: 'id',
hide: true,
},
{
label: '资产编码',
prop: 'code'
},
{
label: '调出部门编码',
prop: 'belongDeptCode',
hide: true,
},
{
label: '调出部门',
prop: 'belongDeptName',
},
{
label: '资产名称',
prop: 'goodsName'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '单价',
prop: 'price'
}
]
}

View File

@@ -0,0 +1,264 @@
/*
* 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 {YES_OR_NO} from "@/const/crud/asset/assets/assetassets";
export const states=[
{
label:'审核中',
value:'-1'
},
{
label:'审核完成',
value:'0'
},
{
label:'审核不通过',
value:'2'
},
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
showSummary:true,
sumColumnList: [
{
name: 'price',
type: 'sum'
},
{
name: 'num',
type: 'sum'
}
],
height:500,
dic: [],
column: [
{
label: '主键',
prop: 'id',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false,
},
{
label: '调拨单号',
prop: 'transferNo',
search:"true"
},
// {
// label: '原资产编码',
// prop: 'oldCode',
// search:"true",
// hide:false
// },
{
label: '原部门名称',
prop: 'oldDeptName'
},
// {
// label: '新资产编码',
// prop: 'newCode',
// search:"true",
// hide:false
// },
{
label: '新部门名称',
prop: 'newDeptName'
},
{
label: '数量',
prop: 'num'
},
{
label: '金额',
prop: 'price'
},
{
label: '审核状态',
prop: 'procInsStatus'
},
{
label: '审核状态',
type:'select',
prop: 'status',
searchFilterable:true,
dicData:states,
props:{
label:'label',
value:'value'
},
search:true,
hide:true
},
{
label: '审核意见',
prop: 'procInsRemork'
},
{
label: '调拨时间',
prop: 'createTime'
},{
label: '开始时间',
prop: 'beginTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 00:00:00',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
},{
label: '结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd 23:59:59',
editDisplay: false,
addDisplay: false,
search:true,
hide: true
},
{
label: '原部门名称',
prop: 'oldName',
type:'select',
hide: true,
addDisplay: false,
search:true,
editDisplay: false,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props:{
label:'deptName',
value:'deptCode'
},
},
{
label: '新部门名称',
prop: 'newName',
type:'select',
hide: true,
addDisplay: false,
search:true,
editDisplay: false,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props:{
label:'deptName',
value:'deptCode'
}
}
]
}
export const tableDictItemOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
menu:false,
align: 'center',
editBtn: false,
delBtn: false,
showSummary:true,
addBtn: false,
refreshBtn: false,
showColumnBtn: false,
searchSize: 'mini',
height:500,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'price',
type: 'sum'
}],
column: [
{
label:'江苏省常州技师学院固定资产调拨单',
children:[
{
title: '序号',
type: 'index',
width: 50,
align: 'center'
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '面积',
prop: 'area'
},
{
label: '单位',
prop: 'unit'
},
{
label: '数量',
prop: 'num'
},
{
label: '调拨时间',
prop: 'createTime'
}, {
label: '审核状态',
prop: 'procInsStatus'
},
{
label: '原资产编码',
prop: 'oldCode',
},
{
label: '原部门名称',
prop: 'oldDeptName'
},
{
label: '新资产编码',
prop: 'newCode',
},
{
label: '新部门名称',
prop: 'newDeptName'
},
{
label: '资产名称',
prop: 'goodsName'
}, {
width:150,
label: '单价',
prop: 'price'
}
]
}
]
}

View File

@@ -0,0 +1,93 @@
/*
* 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: 'deptCode',
labelWidth: 120,
search:true,
rules: [{
required: true,
message: '部门不能为空',
trigger: 'blur'
}]
},
{
label: '楼号',
prop: 'buildCode',
search:true,
rules: [{
required: true,
message: '楼号不能为空',
trigger: 'blur'
}]
},
// {
// label: '楼名',
// labelWidth: 120,
// prop: 'buildName',
// rules: [{
// required: true,
// message: '楼名不能为空',
// trigger: 'blur'
// }]
// },
{
label: '房间(区域)',
prop: 'roomCode',
search:true,
labelWidth: 120,
rules: [{
required: true,
message: '房间(区域)不能为空',
trigger: 'blur'
}]
},
// {
// label: '房间描述',
// prop: 'roomName',
// rules: [{
// required: true,
// message: '房间描述不能为空',
// trigger: 'blur'
// }]
// },
// {
// label: '区域描述',
// prop: 'areaName',
// },
{
label: '备注',
type: 'textarea',
prop: 'remark'
},
]
}

View File

@@ -0,0 +1,385 @@
/*
* 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";
import {isInvalid, YES_OR_NO2} from "@/const/crud/asset/assets/assetassets";
export const wxstat=[
{
label:'正常',
value:'0'
},
{
label:'维修',
value:'1'
},
{
label:'维护',
value:'2'
}
]
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: 'remark'
},
{
label: '学院',
prop: 'deptCode'
},
{
label: '资产id',
prop: 'assetId'
},
{
label: '资产状态0正常 1维修 2保养',
prop: 'assetState'
},
{
label: '班级代码',
prop: 'classCode'
},
{
label: '任课教师',
prop: 'teacherNo'
},
{
label: '所属区域',
prop: 'buildingId'
},
]
}
export const tableDetailPageOption= {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
refreshBtn: false,
height:500,
showColumnBtn: false,
searchSize: 'mini',
selection: true,
selectable:(row,index)=>{
return index===1;
},
column: [
{
label: '资产编码',
prop: 'code',
search: true
},
{
label: '资产名称',
prop: 'goodsName',
search: true
},
{
label: '规格|型号',
prop: 'spec'
},
{
label: '单位',
prop: 'unit'
},
{
label: '数量',
prop: 'num',
},
{
label: '价格',
prop: 'price',
},
{
label: '使用部门',
prop: 'belongDeptName',
},
{
label: '入库时间',
prop: 'intTimeValue',
},
{
label: '部门名称',
prop: 'belongDeptCode',
searchFilterable:true,
type:'select',
hide: true,
addDisplay: false,
search:true,
editDisplay: false,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props:{
label:'deptName',
value:'deptCode'
},
},
{
label: '资产分类',
prop: 'codeEnName',
type:'select',
filterable:true,
searchFilterable:true,
hide: true,
addDisplay: false,
search:true,
editDisplay: false,
dicUrl: '/asset/assetcode/allList',
props:{
label:'codeName',
value:'codeEnName'
},
},
{
label: '资产状态',
prop: 'isInvalid',
type:'select',
dicData:isInvalid,
props:{
label:'label',
value:'value'
},
search:true
},
{
label: '维修/维护',
prop: 'isInvalid',
type:'select',
dicData:wxstat,
props:{
label:'label',
value:'value'
},
search:true
},
{
label: '班级及任课老师',
prop: '',
},
{
label: '开始编码',
prop: 'startCode',
hide: true,
search:true
},
{
label: '结束编码',
prop: 'endCode',
hide: true,
search:true
},
{
label: '最小面积',
prop: 'minArea',
addDisplay: false,
editDisplay: false,
search:true,
hide: true
},
{
label: '最大面积',
prop: 'maxArea',
addDisplay: false,
editDisplay: false,
search:true,
hide: true
},
{
label: '主键',
prop: 'id',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '最小单价',
prop: 'minPrice',
addDisplay: false,
editDisplay: false,
search:true,
hide: true
},
{
label: '最大单价',
prop: 'maxPrice',
addDisplay: false,
editDisplay: false,
search:true,
hide: true
},
{
label: '入库开始时间',
prop: 'startTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
search:true,
hide: true
},
{
label: '入库结束时间',
prop: 'endTime',
type: 'date',
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
search:true,
hide: true
},
{
label: '部门编码',
prop: 'belongDeptCode',
hide: true,
},
{
label: '存放地类型',
prop: 'roomType',
type:'select',
dicData:global.all_room_type_id,
props:{
label:'label',
value:'value'
},
},
{
label: '存放楼栋',
prop: 'buildName'
},
{
label: '存放楼栋',
prop: 'buildId',
type:'select',
filterable:true,
searchFilterable:true,
addDisplay: false,
search:true,
hide:true,
editDisplay: false,
dicUrl: '/asset/assetsbuilding/list',
props:{
label:'buildName',
value:'id'
},
},
{
label: '存放房间',
prop: 'roomName'
},
{
label: '存放房间',
prop: 'roomId',
type:'select',
filterable:true,
searchFilterable:true,
addDisplay: false,
search:true,
hide:true,
editDisplay: false,
dicUrl: '/asset/assetsroom/listBuild',
props:{
label:'roomCode',
value:'id'
},
},
{
label: '照片',
prop: 'photo',
slot: true,
formslot: true
},
{
label: '调拨日期',
prop: 'transferTime',
},{
label: '备注',
prop: 'remarks',
search:true
},{
label: '老资产ID',
prop: 'oldId',
search: true
},{
label: '调拨状态',
prop: 'transferState',
search: true,
hide: true,
type:'select',
dicData:global.transferState,
props:{
label:'label',
value:'value'
},
},{
label: '报废状态',
prop: 'invalidState',
search: true,
hide: true,
type:'select',
dicData:global.invalidState,
props:{
label:'label',
value:'value'
},
}
]
}

View File

@@ -0,0 +1,71 @@
/*
* 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: true,
delBtn: true,
addBtn: true,
dic: [],
dialogHeight:500,
column: [
{
label: '图片地址',
prop: 'imgUrl',
slot:true,
formslot:true,
rules: [
{
required: true,
trigger: 'blur',
message:"请上传图片"
}
]
},
{
label: '跳转路径',
prop: 'href',
span:15,
// type:'textarea',
row:true
},
{
label: '备注',
prop: 'remarks',
type:'textarea',
row:true,
span:15
},
{
label: '排序(倒序)',
prop: 'sort',
type:'number',
span: 15
},
{
label: '创建时间',
prop: 'createTime',
addDisplay:false,
editDisabled:true
},
]
}

View File

@@ -0,0 +1,320 @@
/*
* 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'
import {number} from "echarts/src/export";
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
selection:true,
dic: [],
column: [
{
label: '入学日期',
prop: 'enterDate',
labelWidth: 120,
type:'date',
formslot: true,
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
rules: [{
required: true,
message: "请选择入学日期",
trigger: "blur"
}],
hide:true
},
{
label: '专业',
prop: 'majorCode',
labelWidth: 120,
hide:true,
formslot: true,
type:'select',
dicUrl: '/basic/major/getMajorNameList',
props: {
label: 'majorCodeAndName',
value: 'majorCode'
},
rules: [{
required: true,
message: "请选择专业",
trigger: "blur"
}]
},
{
label: '学院',
prop: 'deptCode',
labelWidth: 120,
formslot: true,
type:"select",
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '班级代码',
prop: 'classCode',
labelWidth: 120,
hide:true,
formslot: true,
rules: [{
required: true,
message: "请填写班级代码",
trigger: "blur"
}]
},
{
label: '班号',
prop: 'classNo',
labelWidth: 50,
formslot: true,
},
{
label: '班级名称',
prop: 'className',
labelWidth: 120,
hide:true,
formslot: true,
rules: [{
required: true,
message: "请填写班级名称",
trigger: "blur"
}]
},
{
label: '班级规范名称',
prop: 'classProName',
labelWidth: 120,
formslot: true,
},
// {
// label:'入学年份',
// prop:'grade',
// type:'select',
// dicUrl: '/basic/basicclass/list',
// props: {
// label: 'grade',
// value: 'grade'
// },
// search:true,
// addDisplay:false,
// editDisplay:false
// },
{
label:'入学年份',
prop:'grade',
labelWidth: 120,
search:true,
hide:true,
formslot: true,
type:'select',
dicUrl: '/basic/basicclass/getGradeList',
props: {
label: 'grade',
value: 'grade'
},
// hide:true,
},
{
label: '班主任',
prop: 'teacherNos',
labelWidth: 120,
hide:true,
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},
rules: [{
required: true,
message: "请选择班主任",
trigger: "blur"
}],
},
{
label:'班主任',
prop:'teacherRealName',
search:true,
slot: true,
addDisplay:false,
editDisplay:false
},
{
label: '班主任工号',
prop: 'teacherNo',
addDisplay:false,
editDisplay:false,
hide: true
},
{
label: '班主任电话号码',
prop: 'teacherPhone',
addDisplay:false,
editDisplay:false
},
{
label:'预计招生人数',
prop:'preStuNum',
labelWidth: 120,
hide:true,
type:'number',
rules: [{
required: true,
message: "请填写招生人数",
trigger: "blur"
}],
},
{
label:'班级现有/原始人数',
prop:'stuNum',
slot: true,
addDisplay:false,
editDisplay:false
},
{
label:'男',
prop:'manStuNum',
addDisplay:false,
editDisplay:false,
hide: true
},
{
label:'女',
prop:'girlStuNum',
addDisplay:false,
editDisplay:false,
hide: true
},
{
label:'班级qq',
prop:'classQq',
labelWidth: 120,
addDisplay:false,
hide:true,
type:'number'
},
// {
// label:'是否毕业',
// prop:'isGraduate',
// labelWidth: 120,
// addDisplay:false,
// // search:true,
// type:'select',
// dicUrl:'/admin/dict/item/type/yes_no',
// props:{
// label:'label',
// value:'value'
// },
// rules: [{
// required: true,
// message: "请选择是否毕业",
// trigger: "blur"
// }],
// },
// {
// label:'是否顶岗',
// prop:'isPractice',
// labelWidth: 120,
// addDisplay:false,
// type:'select',
// // search:true,
// dicUrl:'/admin/dict/item/type/yes_no',
// props:{
// label:'label',
// value:'value'
// },
// rules: [{
// required: true,
// message: "请选择是否顶岗",
// trigger: "blur"
// }],
// },
// {
// label:'是否更岗',
// prop:'isUpdataPractice',
// labelWidth: 120,
// addDisplay:false,
// // search:true,
// type:'select',
// dicUrl:'/admin/dict/item/type/yes_no',
// props:{
// label:'label',
// value:'value'
// },
// rules: [{
// required: true,
// message: "请选择是否更岗",
// trigger: "blur"
// }],
// },
{
label: '门禁规则',
prop: 'gateRule',
addDisplay:false,
editDisplay:false,
type: "select",
dicUrl: "/stuwork/entrancerule/queryRuleNameList",
props:{
label:'ruleName',
value:'id'
},
},
{
label: '班级状态',
prop: 'classStatus',
addDisplay:false,
search:true,
type: "select",
dicData:global.CLASS_STATUS,
props:{
label:"label",
value:"value"
}
},
{
label: '备注',
prop: 'remarks',
labelWidth: 120,
type:'textarea',
span:24,
hide: true
},
{
label: '流失率',
prop: 'stuLoseRate',
labelWidth: 100,
addDisplay:false,
editDisplay:false,
slot:true
},
]
}

150
src/const/crud/basic/basicdept.js Executable file
View File

@@ -0,0 +1,150 @@
/*
* 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: [],
border: true,
stripe: true,
menuAlign: 'center',
menuWidth: 150,
align: 'center',
refreshBtn: false,
showColumn: false,
viewBtn: false,
addBtn: false,
editBtn: false,
delBtn: false,
filterBtn: false,
expandAll: true,
tree: true,
page: false,
column: [
{
label: '部门编码',
prop: 'deptCode',
align: 'left',
slot: true,
rules: [{
required: true,
message: '请输入部门编码',
trigger: 'blur'
}]
},
{
label: 'id',
prop: 'id',
hide: true,
addDisplay: false,
editDisabled: false,
editDisplay: false,
visdiplay: false
},
{
label: '父级节点',
prop: 'parentCode',
type: 'tree',
dicUrl: '/basic/basicdept/tree',
props: {
label: 'deptName',
value: 'deptCode'
},
hide: true,
},
{
label: '部门名称',
prop: 'deptName',
hide: true,
rules: [{
required: true,
message: '请输入部门名称',
trigger: 'blur'
}]
},
{
label: '排序',
prop: 'sort',
rules: [{
required: true,
message: '请输入排序',
trigger: 'blur'
}]
},
{
label: '是否为二级学院',
prop: 'secondFlag',
labelWidth: 135,
type: 'radio',
dicUrl: '/admin/dict/item/type/yes_no',
props: {
label: 'label',
value: 'value'
},
rules: [{
required: true,
message: '请选择',
trigger: 'blur'
}]
},
{
label: '是否为培训部门',
prop: 'trainFlag',
labelWidth: 135,
type: 'radio',
dicUrl: '/admin/dict/item/type/yes_no',
props: {
label: 'label',
value: 'value'
},
rules: [{
required: true,
message: '请选择',
trigger: 'blur'
}]
},
{
label: '是否为教学部门',
prop: 'teachFlag',
labelWidth: 135,
type: 'radio',
dicUrl: '/admin/dict/item/type/yes_no',
props: {
label: 'label',
value: 'value'
},
rules: [{
required: true,
message: '请选择',
trigger: 'blur'
}]
},
]
}

View File

@@ -0,0 +1,204 @@
/*
* 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,
column: [
{
label: '学年',
prop: 'year',
type:'select',
search:true,
dicUrl:'/basic/basicyear/queryAllSchoolYear',
disabled:true,
props:{
label:'year',
value:'year'
},
rules: [
{
required: true,
trigger: 'blur',
message:"选择学年"
}
]
},
{
label: '学期',
prop: 'yearTerm',
type:'radio',
search:true,
dicData:global.LEARN_TERM,
props:{
label:'label',
value:'value'
},
disabled:true,
rules: [
{
required: true,
trigger: 'blur',
message:"选择学期"
}
]
},
{
label: '日期',
prop: 'holidayDate',
type: 'date',
valueFormat: 'yyyy-MM-dd',
format: 'yyyy-MM-dd',
disabled:true,
rules: [
{
required: true,
trigger: 'blur',
message:"选择日期"
}
]
},
{
label: '节日类型',
prop: 'holidayType',
search:true,
type:'select',
addDisplay:false,
dicUrl:'/admin/dict/item/type/holiday_type',
props:{
label:'label',
value:'value'
},
},
{
label: '备注',
prop: 'remarks',
type:'textarea'
},
]
}
export const makeHolidayOption= {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
submitText:'生成',
column: [
{
label: '学年学期',
prop: 'yearStr',
type:'cascader',
filterable:true,
span:24,
dicUrl:'/basic/basicholiday/getAllYearAndTerm',
rules: [
{
required: true,
trigger: 'blur',
message:"选择学年"
}
]
},
{
label: '日期',
prop: 'dateRange',
type: 'daterange',
span:24,
valueFormat:'yyyy-MM-dd',
rules: [
{
required: true,
trigger: 'blur',
message:"选择日期"
}
]
}
]
}
export const addHolidayOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
column: [
// {
// label: '日期',
// prop: 'holidayDate',
// type: 'date',
// valueFormat: 'yyyy-MM-dd',
// format: 'yyyy-MM-dd',
// rules: [
// {
// required: true,
// trigger: 'blur',
// message:"选择日期"
// }
// ]
// },
{
label: '日期',
prop: 'dateRange',
type: 'daterange',
span:24,
valueFormat:'yyyy-MM-dd',
rules: [
{
required: true,
trigger: 'blur',
message:"选择日期"
}
]
},
{
label: '节日类型',
prop: 'holidayType',
type:'select',
dicUrl:'/admin/dict/item/type/holiday_type',
props:{
label:'label',
value:'value'
},
},
{
label: '备注',
prop: 'remarks',
type:'textarea'
},
]
}

View File

@@ -0,0 +1,71 @@
/*
* 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: 'remarks'
},
{
label: '身份证前6位',
prop: 'idCardPrefix'
},
{
label: '户口所在地',
prop: 'position'
},
]
}

View File

@@ -0,0 +1,47 @@
/*
* 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: 'nationCode'
},
{
label: '民族名称',
prop: 'nationName'
},
{
label: '分类排序',
prop: 'sort'
},
]
}

View File

@@ -0,0 +1,71 @@
/*
* 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: 'politicsStatus'
},
// {
// label: '删除标志位',
// prop: 'delFlag'
// },
// {
// label: '备注',
// prop: 'remarks'
// },
// {
// label: '租户id',
// prop: 'tenantId'
// },
{
label: '排序',
prop: 'sort'
},
]
}

View File

@@ -0,0 +1,549 @@
/*
* 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: false,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
selection: true,
reserveSelection:false,
dic: [],
width:1920,
dialogHeight:700,
column: [
{
label:'学院',
prop:'deptName',
// search:true,
addDisplay:false,
editDisplay: false,
clearable:true
},
{
label:'专业',
prop: 'majorName',
addDisplay:false,
editDisplay: false,
// type:'select',
// dicUrl: '/basic/major/getMajorNameList',
// props: {
// label: 'majorName',
// value: 'majorCode'
// },
},
{
label: '班级',
prop: 'className',
// search:true,
},
{
label: '学号',
prop: 'stuNo',
// search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '姓名',
prop: 'realName',
// search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '性别',
prop: 'gender',
addDisplay:false,
editDisplay: false,
type:"select",
dicUrl: '/admin/dict/item/type/sexy',
props:{
label:'label',
value:'value'
},
},
{
label: '身份证号',
prop: 'idCard',
// search:true,
addDisplay:false,
editDisplay: false,
},
{
label: '中职卡号',
prop: 'bankCard',
// search:true,
hide:true,
addDisplay:false,
editDisplay: false,
},
{
label: '家庭住址',
prop: 'liveAddress',
// search:true,
hide:true,
addDisplay:false,
editDisplay: false,
},
{
label: '班主任',
prop: 'teacherNo',
addDisplay:false,
editDisplay: false,
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},
},
{
label: '住宿',
prop: 'roomNo',
addDisplay:false,
editDisplay: false,
// type: 'select',
// search:true,
// dicUrl: '/admin/dict/item/type/yes_no',
// props:{
// label:'label',
// value:'value'
// },
},
{
label: '文化程度',
prop: 'education',
addDisplay:false,
editDisplay: false,
type:"select",
dicUrl: '/admin/dict/item/type/pre_school_education',
props:{
label:'label',
value:'value'
},
},
{
label: '学籍状态',
prop: 'enrollStatus',
addDisplay:false,
editDisplay: false,
type:"select",
dicUrl: '/admin/dict/item/type/enroll_status',
props:{
label:'label',
value:'value'
},
// search:true
},
{
label: '个人电话',
prop: 'phone',
addDisplay:false,
editDisplay: false,
},
{
label: '户籍所在地',
prop: 'householdAddress',
addDisplay:false,
editDisplay: false,
},
{
label: '班级',
prop: 'classCode',
// search:true,
hide:true,
type:"select",
dicUrl:'/basic/basicclass/list',
props:{
label: 'classNo',
value: 'classCode',
},
slot:true
},
{
label: '学生状态',
prop: 'stuStatus',
type:'select',
dicUrl:'/admin/dict/item/type/student_status',
props:{
label:'label',
value:'value'
},
// search:true
},
{
label: '是否班干部',
prop: 'isClassLeader',
// search:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
}
},
{
label: '是否允许进出',
prop: 'isInout',
// search:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
}
},
{
label: '资料完成度',
prop: 'completeRate',
display:false
// slot:true,
},
{
width: 300,
label: '头像',
prop: 'imageUrl',
hide:true,
// slot:true,
formslot:true
},
],
group:[
{
icon:'el-icon-info',
label: '基础信息',
prop: 'sjlb',
column:[
{
label: '学号',
prop: 'stuNo',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '姓名',
prop: 'realName',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '班级',
prop: 'classNo',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '学生状态',
prop: 'stuStatus',
type:'select',
dicUrl:'/admin/dict/item/type/student_status',
props:{
label:'label',
value:'value'
},
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
width: 300,
label: '头像',
prop: 'imageUrl',
// slot:true,
formslot:true
},
]
},
{
icon:'el-icon-info',
label: '拓展信息',
prop: 'sjlb',
column: [
{
label: '曾用名',
prop: 'oldName'
},
{
label: '身份证号',
prop: 'idCard'
},
{
label: '出生年月',
prop: 'birthday',
type:'datetime',
format:'yyyy-MM-dd'
},
{
label: '户口所在地',
prop: 'householdAddress'
},
{
label: '政治面貌',
prop: 'politicsStatus',
type:'select',
cell: true,
dicUrl:`/basic/basicpoliticsstatusbase/getPoliticsStatusDict`,
props:{
label:'name',
value:'id',
}
},
{
label: '民族',
prop: 'national',
type:'select',
dicUrl:'/basic/basicnation/getNationalList',
props:{
label:'nationName',
value:'nationCode'
},
},
{
label: '辩色力',
prop: 'colourSense'
},
{
label: '裸眼视力(左)',
prop: 'eyeLeft'
},
{
label: '裸眼视力(右)',
prop: 'eyeRight'
},
{
label: '身高',
prop: 'height'
},
{
label: '体重',
prop: 'weight'
},
{
label: '需关爱类型',
prop: 'careType',
type: 'select',
dicUrl: '/admin/dict/item/type/care_type',
props:{
label:'label',
value:'value'
}
},
{
label: '电子邮箱',
prop: 'email'
},
{
label: 'qq/微信号',
prop: 'qq'
},
{
label: '本人电话',
prop: 'phone'
},
{
label: '退伍军人',
prop: 'veteran',
type: 'select',
dicUrl: '/admin/dict/item/type/veteran_status',
props:{
label:'label',
value:'value'
}
},
{
label: '既往病史',
prop: 'seekText'
},
{
label: '本人特长',
prop: 'advantage'
}
]
},
]
}
export const tableStuOption = {
border: true,
index: false,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
reserveSelection:false,
dic: [],
width:1920,
dialogHeight:700,
column: [
{
label:'学院',
prop:'deptName',
addDisplay:false,
editDisplay: false,
},
{
label:'专业',
prop: 'majorName',
addDisplay:false,
editDisplay: false,
},
{
label: '班级',
prop: 'className',
},
{
label: '学号',
prop: 'stuNo',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '姓名',
prop: 'realName',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '身份证',
prop: 'idCard',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '电话',
prop: 'phone',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '家长电话',
prop: 'jzPhone',
search:true,
addDisplay:false,
editDisabled:true,
editDisplay:true,
visdiplay:false
},
{
label: '性别',
prop: 'gender',
addDisplay:false,
editDisplay: false,
type:"select",
dicUrl: '/admin/dict/item/type/sexy',
props:{
label:'label',
value:'value'
},
},
{
label: '宿舍号',
prop: 'roomNo',
addDisplay:false,
editDisplay: false,
},
{
label: '班主任',
prop: 'teacherNo',
addDisplay:false,
editDisplay: false,
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},
},
{
label: '班主任电话',
prop: 'telPhone',
},
{
label: '学籍状态',
prop: 'enrollStatus',
addDisplay:false,
editDisplay: false,
type:"select",
dicUrl: '/admin/dict/item/type/enroll_status',
props:{
label:'label',
value:'value'
},
},
{
label: '学生状态',
prop: 'stuStatus',
type:'select',
dicUrl:'/admin/dict/item/type/student_status',
props:{
label:'label',
value:'value'
},
},
{
width: 300,
label: '头像',
prop: 'headImg',
slot:true,
},
],
}

View File

@@ -0,0 +1,99 @@
/*
* 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: 'remarks'
},
{
label: '学号',
prop: 'stuNo'
},
{
label: '成教院校',
prop: 'schoolName'
},
{
label: '成教学历',
prop: 'education'
},
{
label: '成教准考证号',
prop: 'examNo'
},
{
label: '成教入籍日期',
prop: 'enterDate'
},
{
label: '成教学号',
prop: 'adultNo'
},
{
label: '成教专业',
prop: 'majorName'
},
{
label: '成教计算机',
prop: 'computerScore'
},
{
label: '成教英语',
prop: 'englishScore'
},
]
}

View File

@@ -0,0 +1,95 @@
/*
* 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: 'remarks'
},
{
label: '学号',
prop: 'stuNo'
},
{
label: '文化程度',
prop: 'education'
},
{
label: '中考分数',
prop: 'examScore'
},
{
label: '中考准考证',
prop: 'examNo'
},
{
label: '借读学年',
prop: 'temporaryyeYear'
},
{
label: '毕业学校校名',
prop: 'schoolName'
},
{
label: '毕业学校所在省',
prop: 'schoolProvince'
},
{
label: '学生来源0:往届 1应届',
prop: 'position'
},
]
}

View File

@@ -0,0 +1,84 @@
/*
* 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: 'remarks'
// },
// {
// label: '学号',
// prop: 'stuNo'
// },
{
label: '开始年月',
prop: 'startYearMonth'
},
{
label: '结束年月',
prop: 'endYearMonth'
},
{
label: '学校名称',
prop: 'schoolName'
},
{
label: '任职情况',
prop: 'positionName'
},
]
}

View File

@@ -0,0 +1,103 @@
/*
* 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: 'remarks'
},
{
label: '学号',
prop: 'stuNo'
},
{
label: '户口地址',
prop: 'householdAddress'
},
{
label: '户口性质',
prop: 'householdProperties'
},
{
label: '居住详细地址',
prop: 'liveAddress'
},
{
label: '是否租住',
prop: 'isTemp'
},
{
label: '家庭出身',
prop: 'homeBirth'
},
{
label: '收入来源',
prop: 'incomeSource'
},
{
label: '家庭收入',
prop: 'incomeMoney'
},
{
label: '家庭人均年收入',
prop: 'incomePerMoney'
},
{
label: '家庭困难证',
prop: 'homeDifficulty'
},
]
}

View File

@@ -0,0 +1,269 @@
/*
* 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: 'remarks'
// },
{
label: '学号',
prop: 'stuNo'
},
{
label: '姓名',
prop: 'realName'
},
{
label: '曾用名',
prop: 'oldName'
},
{
label: '身份证号',
prop: 'idCard'
},
{
label: '出生年月',
prop: 'birthday',
type:'datetime',
format:'yyyy-MM-dd'
},
{
label: '户口所在地',
prop: 'householdAddress'
},
{
label: '政治面貌',
prop: 'politicsStatus',
type:'select',
cell: true,
dicUrl:`/basic/basicpoliticsstatusbase/getPoliticsStatusDict`,
props:{
label:'name',
value:'id',
}
},
{
label: '民族',
prop: 'national',
type:'select',
dicUrl:'/basic/basicnation/getNationalList',
props:{
label:'nationName',
value:'nationCode'
},
},
{
label: '辩色力',
prop: 'colourSense'
},
{
label: '裸眼视力(左)',
prop: 'eyeLeft'
},
{
label: '裸眼视力(右)',
prop: 'eyeRight'
},
{
label: '身高',
prop: 'height'
},
{
label: '体重',
prop: 'weight'
},
{
label: '需关爱类型',
prop: 'careType',
type: 'select',
dicUrl: '/admin/dict/item/type/care_type',
props:{
label:'label',
value:'value'
}
},
{
label: '电子邮箱',
prop: 'email'
},
{
label: 'qq/微信号',
prop: 'qq'
},
{
label: '本人电话',
prop: 'phone'
},
{
label: '退伍军人',
prop: 'veteran',
type: 'select',
dicUrl: '/admin/dict/item/type/veteran_status',
props:{
label:'label',
value:'value'
}
},
{
label: '既往病史',
prop: 'seekText'
},
{
label: '本人特长',
prop: 'advantage'
}]
}
//家庭成员
export const relationHomeOption={
keyId:'id',
addBtn:false,
editBtn:false,
addRowBtn:true,
cellBtn:true,
column: [{
label:'称谓',
prop: 'appellation',
cell: true,
type:'select',
dicUrl:`/admin/dict/item/type/family_member_type`,
props:{
label:'label',
value:'value',
},
rules: [
{
required: true,
message: '请输入称谓',
trigger: 'blur'
}
]
},
{
label:'姓名',
prop: 'realName',
cell: true,
rules: [
{
required: true,
message: '请输入姓名',
trigger: 'blur'
}
]
},
{
label:'电话',
prop: 'tel',
cell: true,
rules: [
{
required: true,
message: '请输入电话',
trigger: 'blur'
},
{ min:8 ,max: 12, message: '电话号码应为 8-12位数字', trigger: 'blur' }
]
},
{
label:'身份证号',
prop: 'idCard',
cell: true,
rules: [
{
required: true,
message: '请输入身份证号',
trigger: 'blur'
},
{ min:11 ,max:18 , message: '身份证号码应为 18位', trigger: 'blur' }
]
},
{
label:'工作单位',
prop: 'workAddress',
cell: true,
rules: [
{
required: true,
message: '请输入工作单位',
trigger: 'blur'
}
]
},
{
label:'政治面貌',
prop: 'politicsStatus',
type:'select',
cell: true,
dicUrl:`/admin/dict/item/type/political_family`,
props:{
label:'label',
value:'value',
}
},
{
label:'身体状况',
prop: 'health',
type:'select',
cell: true,
dicUrl:`/admin/dict/item/type/health_status`,
props:{
label:'label',
value:'value',
}
},
]
}

View File

@@ -0,0 +1,119 @@
/*
* 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: 'remarks'
},
{
label: '学号',
prop: 'stuNo'
},
{
label: '学籍',
prop: 'schoolRoll'
},
{
label: '学籍号',
prop: 'schoolRollNumber'
},
{
label: '入学日期',
prop: 'enterDate'
},
{
label: '中技证号',
prop: 'middleNumber'
},
{
label: '中技后文化程度',
prop: 'middleTime'
},
{
label: '高技证号',
prop: 'highNumber'
},
{
label: '高技后文化程度',
prop: 'highTime'
},
{
label: '技师证号',
prop: 'technicianNumber'
},
{
label: '毕业证号',
prop: 'graduateNumber'
},
{
label: '毕业时间',
prop: 'graduateDate'
},
{
label: '',
prop: 'pauseDate'
},
{
label: '中职卡号',
prop: 'bankCard'
},
{
label: '停车证号',
prop: 'parkingNo'
},
]
}

View File

@@ -0,0 +1,91 @@
/*
* 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: 'remarks'
// },
// {
// label: '学号',
// prop: 'stuNo'
// },
{
label: '称谓关系',
prop: 'appellation'
},
{
label: '姓名',
prop: 'realName'
},
// {
// label: '身份证号',
// prop: 'idCard'
// },
{
label: '工作单位',
prop: 'workAddress'
},
{
label: '政治面貌',
prop: 'politicsStatus'
},
{
label: '健康状况',
prop: 'health'
},
]
}

154
src/const/crud/basic/basicyear.js Executable file
View File

@@ -0,0 +1,154 @@
/*
* 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"
const map={
startYear:'',
endYear:''
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
column: [
{
label: '学年',
prop: 'year',
display:false
},
{
label: '开始年',
prop: 'startYear',
type:'year',
hide:true,
valueFormat:'yyyy',
rules: [
{ validator: function (rule, value, callback) {
map['startYear']=value
let endYear=map['endYear']
if(value==''){
callback(new Error('请选择开始年份'));
}
if(endYear!=''){
if(global.compareDate(value,endYear)){
callback(new Error('结束年份必须大于开始年份'));
}else{
callback()
}
}
}, required:true, trigger: 'blur' }
]
},
{
label: '结束年',
prop: 'endYear',
type:'year',
hide:true,
valueFormat:'yyyy',
rules: [
{ validator: function (rule, value, callback) {
map['endYear']=value
let startYear=map['startYear']
if(value==''){
callback(new Error('请选择结束年份'));
}
if(startYear!=''){
if(global.compareDate(startYear,value)){
callback(new Error('结束年份必须大于开始年份'));
}else{
callback()
}
}
}, required:true, trigger: 'blur' }
]
},
{
label: '学期',
prop: 'yearTerm',
type:'radio',
dicData:global.LEARN_TERM,
props:{
label:'label',
value:'value'
},
rules: [
{
required: true,
trigger: 'blur',
message:"选择学期"
}
]
},
{
label: '当前学年',
prop: 'isCurrent',
type:'radio',
dicData:global.YES_OR_NO,
props:{
label:'label',
value:'value'
},
rules: [
{
required: true,
trigger: 'blur',
message:"是否当前学年"
}
]
},
{
label: '开启制定教学计划',
prop: 'isNextTeach',
type:'radio',
dicData:global.YES_OR_NO,
props:{
label:'label',
value:'value'
},
rules: [
{
required: true,
trigger: 'blur',
message:"请选择是否开启制定教学计划"
}
]
},
{
label: '备注',
prop: 'remarks',
span:24,
row: true
},
{
label: '创建时间',
prop: 'createTime',
display:false
}
]
}

View File

@@ -0,0 +1,228 @@
/*
* 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',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '创建人',
prop: 'createBy',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '创建时间',
prop: 'createTime',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '更新人',
prop: 'updateBy',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '更新时间',
prop: 'updateTime',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '删除标记',
prop: 'delFlag',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '班级代码',
prop: 'classCode',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写班级",
trigger: "blur"
}]
},
{
label: '班号',
prop: 'classNo',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写班号",
trigger: "blur",
}]
},
{
label: '班级名称',
prop: 'className',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写班级名称",
trigger: "blur"
}]
},
{
label: '班级规范名称',
prop: 'classOfficalName',
span: 12,
labelWidth: 120,
rules: [{
required: true,
message: "请填写班级规范名称",
trigger: "blur"
}]
},
{
label: '归属学院',
prop: 'classDeptCode',
span: 12,
labelWidth: 120,
type:"select",
search:true,
dicUrl:"/basic/basicdept/getDeptList?secondFlag=1",
props:{
label:'deptName',
value:'deptCode'
},
rules: [{
required: true,
message: "请填写归属学院",
trigger: "blur"
}]
},
{
label: '班主任',
prop: 'classLeader',
span: 12,
labelWidth: 120,
search:true,
type:"select",
dicUrl:'/admin/user/list',
filterable:true,
props: {
label:'userIdAndName',
value:'username'
},
rules: [{
required: true,
message: "请填写班主任",
trigger: "blur"
}]
},
{
label: '年级',
prop: 'classGrade',
span: 12,
labelWidth: 120,
type:'select',
dicUrl:'/admin/dict/item/type/basic_class_info_grade',
search:true,
rules: [{
required: true,
message: "请填写年级",
trigger: "blur"
}]
},
{
label: '入学日期',
prop: 'classDate',
span: 12,
labelWidth: 120,
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
rules: [{
required: true,
message: "请填写入学日期",
trigger: "blur"
}],
hide:true
},
{
label: '专业',
prop: 'majorCode',
span: 12,
labelWidth: 120,
type:"select",
dicUrl: '/basic/major/list',
filterable:true,
search:true,
props: {
label: 'majorCodeAndName',
value: 'majorCode'
},
rules: [{
required: true,
message: "请填写专业代码",
trigger: "blur"
}]
},
{
label: '备注',
prop: 'remarks',
type:"textarea",
span: 24,
labelWidth: 120
},
]
}

View File

@@ -0,0 +1,222 @@
/*
* 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',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '创建人',
prop: 'createBy',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '创建时间',
prop: 'createTime',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '更新人',
prop: 'updateBy',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '更新时间',
prop: 'updateTime',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '删除标记',
prop: 'delFlag',
hide: true,
addDisplay:false,
editDisabled:true,
editDisplay:false,
visdiplay:false
},
{
label: '专业代码',
prop: 'majorCode',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写专业代码",
trigger: "blur"
}]
},
{
label: '专业名称',
prop: 'majorName',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写专业名称",
trigger: "blur"
}]
},
{
label: '部门',
prop: 'deptCode',
search:true,
type:"select",
span: 12,
labelWidth: 120,
dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: "请填写部门编码",
trigger: "blur"
}]
},
// {
// label: '归属学院',
// prop: 'majorDeptCode',
// span: 12,
// labelWidth: 120,
// type:"select",
// dicUrl:"/basic/basicdept/getDeptList?secondFlag=1",
// search:true,
// props:{
// label:'deptName',
// value:'deptCode'
// },
// rules: [{
// required: true,
// message: "请填写归属学院",
// trigger: "blur"
// }]
// },
{
label: '学制',
prop: 'majorYears',
span: 12,
labelWidth: 120,
type:"select",
dicUrl: '/admin/dict/item/type/basic_major_years',
search:true,
rules: [{
required: true,
message: "请填写学制",
trigger: "blur"
}]
},
{
label: '专业规范名称',
prop: 'majorProName',
span: 12,
labelWidth: 120,
search:true,
rules: [{
required: true,
message: "请填写专业规范名称",
trigger: "blur"
}]
},
{
label: '培养层次',
prop: 'majorLevel',
span: 12,
labelWidth: 120,
type:"select",
dicUrl: '/admin/dict/item/type/basic_major_level',
search:true,
rules: [{
required: true,
message: "请填写培养层次",
trigger: "blur"
}]
},
// {
// label: '是否为订单班',
// prop: 'classIsOrder',
// type:"select",
// dicUrl: '/admin/dict/item/type/yes_no',
// search:true,
// span: 12,
// labelWidth: 120,
// rules: [{
// required: true,
// message: "请选择是否为订单班",
// trigger: "blur"
// }]
// },
// {
// label: '是否为中德班',
// prop: 'classIsGerman',
// type:"select",
// dicUrl: '/admin/dict/item/type/yes_no',
// search:true,
// span: 12,
// labelWidth: 120,
// rules: [{
// required: true,
// message: "请选择是否为中德班",
// trigger: "blur"
// }]
// },
{
label: '备注',
prop: 'remarks',
type:"textarea",
span: 24,
labelWidth: 120
},
]
}

View File

@@ -0,0 +1,83 @@
/*
* 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: true,
delBtn: true,
addBtn: true,
dic: [],
dialogHeight:700,
column: [
{
label: '新闻标题',
prop: 'title',
type:'textarea',
row:true,
span:24
},
{
label: '新闻内容',
prop: 'content',
hide:true,
formslot:true,
span:24,
row:true
},
{
label: '新闻缩略图',
prop: 'thumb',
slot:true,
formslot:true,
span:24,
row:true
},
{
label: '备注',
prop: 'remarks',
type:'textarea',
span:24,
row:true
},
{
label: '发布时间',
prop: 'pubTime',
type:'datetime',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd HH:mm:ss',
row:true,
rules: [
{
required: true,
trigger: 'blur',
message:"请选择发布时间"
}
]
},
{
label: '创建时间',
prop: 'createTime',
addDisplay:false,
editDisabled:true
}
]
}

View File

@@ -0,0 +1,95 @@
/*
* 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: 'remarks'
},
{
label: '学号',
prop: 'stuNo'
},
{
label: '称谓关系',
prop: 'appellation'
},
{
label: '姓名',
prop: 'realName'
},
{
label: '电话',
prop: 'tel'
},
{
label: '身份证号',
prop: 'idCard'
},
{
label: '工作单位',
prop: 'workAddress'
},
{
label: '政治面貌',
prop: 'politicsStatus'
},
{
label: '健康状况',
prop: 'health'
},
]
}

View File

@@ -0,0 +1,33 @@
/*
* 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: [],
selection:true,
column: [
]
}

View File

@@ -0,0 +1,465 @@
/*
* 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,
dialogHeight:700,
menuWidth:250,
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: 'remarks'
// },
{
label: '年份',
prop: 'year',
search:true,
hide:true,
addDisplay:false,
editDisplay:false,
type:'year',
valueFormat:'yyyy'
},
{
label: '起草部门',
fixed:true,
prop: 'deptCode',
labelWidth:124,
searchFilterable:true,
search:true,
addDisplay:false,
editDisabled:true,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: "请选择起草部门",
trigger: "blur"
}],
minWidth:110
},
{
label: '起草部门',
prop: 'deptName',
hide:true,
addDisplay:false,
editDisplay:false
},
{
label: '合同编号',
prop: 'contractNo',
fixed:true,
search:true,
sortable:true,
labelWidth:124,
addDisplay:false,
editDisabled:true,
rules: [{
required: true,
message: "请输入合同编号",
trigger: "blur"
}],
minWidth:170
},
{
label: '合同名称',
prop: 'contractName',
fixed:true,
search:true,
labelWidth:124,
rules: [{
required: true,
message: "请输入合同名称",
trigger: "blur"
}],
minWidth:250,
},
{
label: '合同类型',
prop: 'contractType',
labelWidth:124,
search:true,
filterable:true,
searchFilterable:true,
type:'select',
dicUrl: '/contract/contracttype/contractTypeOne',
props:{
label:'typeName',
value:'id'
},
rules: [{
required: true,
message: "请选择合同类型",
trigger: "blur"
}],
minWidth:100
},
{
label: '采购编号',
prop: 'purchaseNo',
search:true,
minWidth:150,
},
{
label: '是否招标',
prop: 'isBidding',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择是否招标",
trigger: "blur"
}],
minWidth:50,
},
{
label: '是否需要法律顾问',
prop: 'isLegalAdviser',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择是否需要法律顾问",
trigger: "blur"
}],
minWidth:50
},
{
label: '是否涉及多个部门',
prop: 'isDepts',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择是否涉及多个部门",
trigger: "blur"
}],
minWidth:50
},
{
label: '法律顾问意见',
prop: 'legalAdviserOpinion',
labelWidth:124,
// formslot: true,
hide:true,
},
{
label: '是否经济类合同',
prop: 'isEconomy',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择是否经济类合同",
trigger: "blur"
}],
minWidth:50
},
{
label: '是否按实/按月结算',
prop: 'isActPay',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择是否按实/按月结算",
trigger: "blur"
}],
minWidth:50
},
{
label: '是否全校合同',
prop: 'isSchool',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
search:true,
rules: [{
required: true,
message: "请选择是否全校合同",
trigger: "blur"
}],
minWidth:50
},
{
label: '是否不定金额合同',
prop: 'isNotFixMoney',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
search:true,
rules: [{
required: true,
message: "请选择是否为不定金额合同",
trigger: "blur"
}],
minWidth:50
},
{
label: '质保期',
prop: 'warrantyPeriod',
labelWidth:124,
type:'select',
dicUrl:'/admin/dict/item/type/warranty_period',
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请选择质保期",
trigger: "blur"
}],
minWidth:50
},
{
label: '合同开始时间',
prop: 'startTime',
labelWidth:124,
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
rules: [{
required: true,
message: "请选择开始时间",
trigger: "blur"
}],
minWidth:95
},
{
label: '合同结束时间',
prop: 'endTime',
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
labelWidth:124,
rules: [{
required: true,
message: "请选择结束时间",
trigger: "blur"
}],
minWidth:95
},
{
label: '支出金额',
prop: 'money',
labelWidth:124,
type:'number',
precision:2,
minRows:0,
minWidth:80
},
{
label: '收入金额',
prop: 'inMoney',
labelWidth:124,
type:'number',
precision:2,
minRows:0,
minWidth:80
},
{
label: '对方单位',
prop: 'supplierNameList',
labelWidth:124,
// search:true,
// searchFilterable:true,
formslot:true,
hide:true,
rules: [{
required: true,
message: "请选择供应商",
trigger: "blur"
}],
},
{
label:'对方单位',
prop:'supplierNames',
slot:true,
addDisplay:false,
editDisplay:false,
minWidth:250,
},
{
label:'对方单位',
prop:'supplierName',
addDisplay:false,
editDisplay:false,
hide:true,
search:true,
searchFilterable:true,
type:'select',
dicUrl: '/contract/supplierinfo/getSupplierData',
props:{
label:'supplierName',
value:'supplierName'
},
},
{
label:'文件数',
prop:'attachmentNum',
search:true,
slot:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl: '/admin/dict/item/type/attachment_num',
props:{
value:'value',
label:'label'
},
minWidth:50
},
{
label:'状态',
prop:'contractStatus',
search:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl: '/admin/dict/item/type/contract_status',
props:{
value:'value',
label:'label'
},
},
{
label:'审核意见',
prop:'auditOpinion',
addDisplay:false,
editDisplay:false,
minWidth: 100,
},
{
label: '付款分次',
prop: 'paymentType',
labelWidth:124,
hide:true,
formslot:true,
rules: [{
required: true,
message: "请选择付款分次",
trigger: "blur"
}]
},
{
label: '付款信息',
prop: 'paymentList',
labelWidth:124,
span:24,
hide:true,
formslot:true,
},
{
label:'合同进度',
prop:'plan',
type:"number",
slot:true,
addDisplay:false,
editDisplay:false
},
{
label:'合同级别',
prop:'contractLevel',
addDisplay:false,
editDisplay:false,
hide:true,
search:true,
type:'select',
dicUrl: '/admin/dict/item/type/contract_level',
props:{
value:'value',
label:'label'
},
}
]
}

View File

@@ -0,0 +1,318 @@
/*
* 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,
dialogHeight:700,
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: 'remarks'
// },
{
label: '起草部门',
prop: 'deptCode',
labelWidth:124,
searchFilterable:true,
search:true,
addDisplay:false,
editDisabled:true,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
},
{
label: '合同编号',
prop: 'contractNo',
search:true,
labelWidth:124,
editDisabled:true,
},
{
label: '合同名称',
prop: 'contractName',
search:true,
labelWidth:124,
},
{
label: '合同类型',
prop: 'contractType',
labelWidth:124,
search:true,
filterable:true,
searchFilterable:true,
type:'select',
dicUrl: '/contract/contracttype/contractTypeTwo',
props:{
label:'typeName',
value:'id'
},
},
{
label: '是否招标',
prop: 'isBidding',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
},
{
label: '是否需要法律顾问',
prop: 'isLegalAdviser',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
},
{
label: '法律顾问意见',
prop: 'legalAdviserOpinion',
labelWidth:135,
rules: [{
required: true,
message: "请选择是否需要法律顾问",
trigger: "blur"
}]
},
{
label: '是否涉及多个部门',
prop: 'isDepts',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
},
{
label: '是否经济类合同',
prop: 'isEconomy',
labelWidth:135,
type:'radio',
dicUrl:'/admin/dict/item/type/yes_no',
props:{
label:'label',
value:'value'
},
},
{
label: '质保期',
prop: 'warrantyPeriod',
labelWidth:124,
},
{
label: '合同开始时间',
prop: 'startTime',
labelWidth:124,
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd'
},
{
label: '合同结束时间',
prop: 'endTime',
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
labelWidth:124
},
{
label: '合同金额',
prop: 'money',
labelWidth:124,
type:'number',
precision:2,
minRows:0,
},
{
label: '对方单位',
prop: 'supplierId',
labelWidth:124,
search:true,
searchFilterable:true,
formslot:true,
type:'select',
dicUrl: '/contract/supplierinfo/getSupplierData',
props:{
label:'supplierName',
value:'id'
}
},
{
label:'状态',
prop:'contractStatus',
search:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl: '/admin/dict/item/type/contract_status',
props:{
value:'value',
label:'label'
},
},
]
}
export const contractTableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
expandAll: false,
tree: true,
showSummary:true,
refreshBtn: false,
showColumn: false,
filterBtn: false,
page: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'nums',
type: 'sum'
},
{
name: 'moneyTotal',
type: 'sum'
}],
column: [
{
span: 24,
label: '合同类别',
prop: 'typeName',
},
{
label: '合同数',
prop: 'nums',
span: 24,
},
{
label: '总金额',
prop: 'moneyTotal',
span: 24,
},
]
}
export const supplierTableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
expandAll: false,
tree: true,
showSummary:true,
refreshBtn: false,
showColumn: false,
filterBtn: false,
page: false,
dic: [],
sumColumnList: [
{
label:'合计:',
name: 'sum',
type: 'sum',
decimals:1
},
{
name: 'nums',
type: 'sum'
},
{
name: 'moneyTotal',
type: 'sum'
}],
column: [
{
span: 24,
label: '对方单位',
prop: 'supplierName',
},
{
label: '合同数',
prop: 'nums',
span: 24,
},
{
label: '总金额',
prop: 'moneyTotal',
span: 24,
},
]
}

View File

@@ -0,0 +1,119 @@
/*
* 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: 'remarks'
// },
{
label: '合同编号',
prop: 'contractNo',
addDisabled:true,
// searchFilterable:true,
// filterable:true,
// type:'select',
// dicUrl: '/contract/contract/list',
// props:{
// label:'contractNo',
// value:'contractNo'
// },
rules: [{
required: true,
message: "请选择合同",
trigger: "blur"
}]
},
{
label:'合同名称',
prop:'contractName',
formslot: true,
addDisabled:true,
editDisabled:true,
},
{
label: '附件类型',
prop: 'contractAttachmentType',
formslot: true,
type:'select',
dicUrl:'/admin/dict/item/type/attachment_type',
props:{
label:'label',
value:'value'
},
},
{
label: '附件名称',
prop: 'contractAttachmentName',
addDisplay:false,
editDisplay:false
},
{
label: '附件',
prop: 'attachmentList',
hide:true,
type: 'upload',
loadText: '附件上传中,请稍等',
span: 24,
// limit:10,
action: '/contract/file/upload',
propsHttp: {
res: 'data',
name:'fileName',
},
},
]
}

View File

@@ -0,0 +1,80 @@
/*
* 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,
dialogHeight:700,
dic: [],
column: [
{
label: '起草部门',
prop: 'deptCode',
labelWidth:124,
searchFilterable:true,
search:true,
hide:true,
addDisplay:false,
editDisplay:false,
type:'select',
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},
rules: [{
required: true,
message: "请选择起草部门",
trigger: "blur"
}]
},
{
label: '合同类型',
prop: 'contractType',
labelWidth:124,
hide:true,
search:true,
filterable:true,
searchFilterable:true,
type:'select',
dicUrl: '/contract/contracttype/contractTypeOne',
props:{
label:'typeName',
value:'id'
},
},
{
label: '待付款金额',
prop: 'moneyTotal',
addDisplay:false,
editDisplay:false,
},
{
label: '合同数',
prop: 'nums',
addDisplay:false,
editDisplay:false,
},
]
}

View File

@@ -0,0 +1,81 @@
/*
* 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: 'remarks'
// },
{
label: '合同编号',
prop: 'contractNo'
},
{
label: '变更类型',
prop: 'changeType',
type:'select',
dicUrl:'/admin/dict/item/type/contract_change_type',
props:{
label:'label',
value:'value'
},
},
{
label: '变更记录',
prop: 'changeContent'
},
]
}

View File

@@ -0,0 +1,109 @@
/*
* 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: 'remarks'
// },
{
label: '合同范文类型',
prop: 'contractModelType',
labelWidth:120,
search:true,
type:'select',
//看合同类别几级菜单二级菜单就用2
dicUrl: '/contract/contracttype/contractTypeOne',
// dicUrl: '/contract/contracttype/contractTypeTwo',
props:{
label:'typeName',
value:'id'
},
rules: [{
required: true,
message: "请选择范文类型",
trigger: "blur"
}]
},
{
label: '范文名称',
prop: 'contractModelName',
// addDisplay:false,
// editDisabled:true,
labelWidth:120,
rules: [{
required: true,
message: "请输入范文名称",
trigger: "blur"
}]
},
{
label: '附件',
prop: 'attachmentList',
labelWidth:120,
hide:true,
type: 'upload',
loadText: '附件上传中,请稍等',
span: 24,
limit:1,
action: '/contract/file/upload',
propsHttp: {
res: 'data',
name:'fileName',
},
},
]
}

View File

@@ -0,0 +1,109 @@
/*
* 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: 'remarks'
// },
{
label: '合同编号',
prop: 'contractNo',
search:true
},
{
label: '合同名称',
prop: 'contractName',
addDisplay:false,
editDisplay:false,
},
{
label: '付款类型',
prop: 'paymentType',
type:'select',
dicUrl: '/admin/dict/item/type/payment_type',
props:{
label:'label',
value:'value'
},
},
{
label: '付款时间',
prop: 'paymentDate',
type:'date',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
},
{
label: '付款金额',
prop: 'paymentMoney',
type:'number',
minRows:0,
precision:2,
},
{
label: '付款状态',
prop: 'paymentStatus',
search:true,
type:'select',
dicUrl: '/admin/dict/item/type/payment_status',
props:{
label:'label',
value:'value'
},
},
]
}

View File

@@ -0,0 +1,64 @@
/*
* 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: 'userName',
type:'select',
filterable:true,
dicUrl:'/professional/teacherbase/TeacherBaseList',
props:{
label:'realName',
value:'teacherNo'
},rules: [{
required: true,
trigger: 'blur',
message:"请选择用户账号"
}]
},
{
label: '部门',
prop: 'deptCode',
type:'select',
search:true,
filterable:true,
searchFilterable:true,
dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
props: {
label: 'deptName',
value: 'deptCode'
},rules: [{
required: true,
message: '部门不能为空',
trigger: 'blur'
}
]
}
]
}

View File

@@ -0,0 +1,149 @@
/*
* 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 YES_OR_NO=[
{
label:'否',
value:'0'
},
{
label:'是',
value:'1'
}
]
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
dic: [],
tree: true,
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: 'remarks'
// },
{
label: '分类名称',
prop: 'typeName',
labelWidth:120,
rules: [{
required: true,
message: "请填写分类名称",
trigger: "blur"
}]
},
{
label: '是否需要付款',
prop: 'isPay',
// slot:true,
labelWidth:120,
type:'radio',
dicData:YES_OR_NO,
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请填写分类名称",
trigger: "blur"
}]
},
{
label: '是否需要质保',
prop: 'isZb',
// slot:true,
labelWidth:120,
type:'radio',
dicData:YES_OR_NO,
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请填写是否需要质保",
trigger: "blur"
}]
},
{
label: '是否有付款凭证',
prop: 'isPz',
// slot:true,
labelWidth:120,
type:'radio',
dicData:YES_OR_NO,
props:{
label:'label',
value:'value'
},
rules: [{
required: true,
message: "请填写是否有付款凭证",
trigger: "blur"
}]
},
{
label: '上级菜单',
prop: 'parentId',
labelWidth:120,
hide:true,
addDisplay:false,
editDisplay:false,
type:'tree',
// search:true,
dicUrl: '/contract/contracttype/contractTypeOne',
props:{
label:'typeName',
value:'id'
},
},
]
}

View File

@@ -0,0 +1,115 @@
/*
* 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,
// menu:false,
dic: [],
column: [
{
label: '合同编号',
prop: 'contractNo',
search:true
},
{
label: '合同名称',
prop: 'contractName',
addDisplay:false,
editDisplay:false,
},
{
label: '付款类型',
prop: 'paymentType',
type:'select',
dicUrl: '/admin/dict/item/type/payment_type',
props:{
label:'label',
value:'value'
},
},
{
label: '付款时间',
prop: 'paymentDate',
type:'datetime',
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
},
{
label: '付款金额',
prop: 'paymentMoney',
addDisplay:false,
editDisplay:false,
},
{
label: '付款单位',
prop: 'supplierName',
search:true,
},
{
label: '付款状态',
prop: 'paymentStatus',
// search:true,
type:'select',
dicUrl: '/admin/dict/item/type/payment_status',
props:{
label:'label',
value:'value'
},
},
{
label: '合同类型',
prop: 'contractType',
labelWidth:124,
hide:true,
search:true,
filterable:true,
searchFilterable:true,
type:'select',
dicUrl: '/contract/contracttype/contractTypeOne',
props:{
label:'typeName',
value:'id'
},
},
{
label: '开始日期',
prop: 'startDate',
type:'date',
// search:true,
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
hide:true
},
{
label: '结束日期',
prop: 'endDate',
type:'date',
// search:true,
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
hide:true
},
]
}

View File

@@ -0,0 +1,95 @@
/*
* 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: 'remarks'
// },
{
label: '公司名称',
prop: 'supplierName',
search:true,
rules: [{
required: true,
message: "请输入公司名称",
trigger: "blur"
}]
},
{
label: '社会统一信用代码',
prop: 'creditCode',
search:true
},
{
label: '公司法人',
prop: 'operName',
search:true
},
{
label: '成立时间',
prop: 'startDate'
},
{
label: '注册码',
prop: 'supplierNo'
},
{
label: '公司状态',
prop: 'status'
},
]
}

View File

@@ -0,0 +1,82 @@
const DIC = {
isSuccess: [{
label: '成功',
value: 1
},
{
label: '失败',
value: 0
}
]
}
export const tableOption = {
border: true,
index: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
viewBtn: true,
filterBtn:false,
column: [
{
label: 'ID',
prop: 'id',
hide: true
},
{
label: '任务名称',
prop: 'jobName'
},
{
label: '任务ID',
prop: 'taskId',
hide: true,
overHidden: true
},
{
label: '主机名',
prop: 'hostname',
hide: true
},
{
label: 'IP',
prop: 'ip'
},
{
width: 80,
label: '分片项',
prop: 'shardingItem'
},
{
label: '执行源',
prop: 'executionSource',
hide: true
},
{
label: '失败原因',
prop: 'failureCause',
hide: true
},
{
width: 100,
label: '执行结果',
prop: 'isSuccess',
type: 'select',
dicData: DIC.isSuccess,
},
{
label: '开始时间',
prop: 'startTime',
hide: true
},
{
label: '完成时间',
prop: 'completeTime'
},
]
}

View File

@@ -0,0 +1,87 @@
const DIC = {
state: [{
label: '准备中',
value: 'TASK_STAGING'
},
{
label: '执行中',
value: 'TASK_RUNNING'
}, {
label: '已经完成',
value: 'TASK_FINISHED'
}
]
}
export const tableOption = {
border: true,
index: true,
stripe: true,
menuAlign: 'center',
align: 'center',
editBtn: false,
delBtn: false,
addBtn: false,
viewBtn: true,
filterBtn:false,
column: [{
label: 'ID',
prop: 'id',
hide: true
},
{
label: '作业名称',
prop: 'jobName',
search: true
},
{
label: '原任务',
prop: 'originalTaskId',
hide: true,
width: 100
},
{
label: '任务ID',
prop: 'taskId',
hide: true
},
{
label: '服务器IP',
prop: 'slaveId'
},
{
label: '资源',
prop: 'source',
hide: true
},
{
label: '执行类型',
prop: 'executionType',
hide: true
},
{
width: 100,
label: '分片项',
prop: 'shardingItem'
},
{
width: 100,
label: '状态',
prop: 'state',
type: 'select',
dicData: DIC.state,
search: true
},
{
label: '消息',
prop: 'message',
width: 100,
overHidden: true,
hide: true
},
{
label: '创建时间',
prop: 'creationTime'
}
]
}

View File

@@ -0,0 +1,111 @@
export const tableOption = {
border: true,
index: true,
menu: false,
page: true,
indexLabel: '序号',
stripe: true,
menuAlign: 'right',
align: 'center',
filterBtn: false,
editBtn: false,
delBtn: false,
addBtn: false,
column: [
{
label: 'id',
prop: 'jobLogId',
hide: true,
showColumn:false,
display:false
},
{
label: '任务id',
prop: 'jobId',
hide: true,
},
{
label: '任务名称',
prop: 'jobName',
search: true,
},
{
label: '任务组名',
prop: 'jobGroup',
search: true,
},
{
label: '组内顺序',
prop: 'jobOrder',
hide: true
},
{
label: '类型',
prop: 'jobType',
type:
'select',
dicUrl:
'/admin/dict/type/job_type',
dicMethod:
'get',
width: 100,
},
{
label: '执行文件',
prop: 'className',
overHidden: true,
},
{
label: '执行方法',
prop: 'methodName',
overHidden: true,
width: 120,
},
{
label: '执行参数值',
prop: 'methodParamsValue',
width: 100,
overHidden: true,
},
{
label: 'cron表达式',
prop: 'cronExpression',
width: 100,
overHidden: true,
},
{
label: '状态',
prop: 'jobLogStatus',
search: true,
type:
'select',
dicUrl:
'/admin/dict/type/job_execute_status',
dicMethod:
'get',
slot: true
},
{
label: '状态描述',
prop: 'jobMessage'
},
{
label: '执行时间(ms)',
prop: 'executeTime',
width: 120,
},
{
label: '异常信息',
prop: 'exceptionInfo',
overHidden: true,
},
{
label: '开始时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
width: 160,
}
]
};

View File

@@ -0,0 +1,289 @@
export const tableOption = {
border: true,
card: true,
index: true,
indexLabel: '序号',
stripe: true,
menu: true,
menuAlign: 'center',
filterBtn: false,
menuWidth: 300,
align: 'center',
viewBtn: true,
editBtn: true,
delBtn: true,
addBtn: true,
dialogWidth: '85%',
labelWidth: 130,
dialogHeight: '78%',
column: [
{
label: 'jobId',
prop: 'jobId',
hide: true,
addDisplay: false,
editDisplay: false,
rules:
[{
required: true,
message: '请输入任务类型',
trigger: 'blur'
}]
},
{
label: '任务名称',
prop: 'jobName',
search: true,
placeholder: "任务名称",
rules: [{
required: true,
message: '请输入任务名称',
trigger: 'blur'
}],
editDisabled: true
},
{
label: '任务组名',
prop:
'jobGroup',
search:
true,
rules:
[{
required: true,
message: '请输入任务组名',
trigger: 'blur'
}],
editDisabled: true
},
{
label: '任务状态',
prop: 'jobStatus',
type: 'select',
dicUrl: '/admin/dict/item/type/job_status',
dicMethod: 'get',
addDisplay: false,
search:
true,
}
,
{
label: '执行状态',
prop: 'jobExecuteStatus',
type: 'select',
dicUrl: '/admin/dict/item/type/job_execute_status',
dicMethod: 'get',
addDisplay: false,
search: true,
},
{
label: '首次执行时间',
prop: 'startTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
width: 160,
addDisplay: false,
editDisabled: true
},
{
label: '上次执行时间',
prop: 'previousTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
addDisplay: false,
editDisabled: true
},
{
label: '下次执行时间',
prop: 'nextTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss',
addDisplay: false,
editDisabled: true
},
{
label: '组内顺序',
prop: 'jobOrder',
type: 'silder',
step: 1,
min:1,
max: 9
},
{
label: '类型',
prop: 'jobType',
type: 'select',
dicUrl: '/admin/dict/item/type/job_type',
dicMethod: 'get',
width: 100,
rules:
[{
required: true,
message: '请输入任务类型',
trigger: 'blur'
}]
}, {
label: '执行路径',
prop: 'executePath',
overHidden: true
},
{
label: '执行文件',
prop: 'className',
overHidden: true
}, {
label: '执行方法',
prop: 'methodName',
overHidden: true,
}, {
label: '执行参数值',
prop: 'methodParamsValue',
width: 100,
overHidden: true
}, {
label: 'cron表达式',
prop: 'cronExpression',
width: 100,
formslot: true,
rules:
[{
required: true,
max: 200,
message: '请输入cron表达式',
trigger: 'blur'
}]
},
{
label: '错失执行策略',
prop: 'misfirePolicy',
type: 'select',
dicUrl: '/admin/dict/item/type/misfire_policy',
dicMethod: 'get',
rules:
[{
required: true,
message: '请输入任务错失执行策略',
trigger: 'blur'
}]
}, {
label: '备注信息',
prop: 'remark',
type: 'textarea',
span: 20,
overHidden: true,
rules: [{
max: 500,
message: '备注信息不得超过500',
trigger: 'blur'
}]
}
]
};
export const tableLogOption = {
border: true,
index: false,
menu: false,
page: true,
indexLabel: '序号',
stripe: true,
filterBtn: false,
editBtn: false,
delBtn: false,
addBtn: false,
columnBtn: false,
column: [
{
label: 'id',
prop: 'jobLogId',
hide: true
},
{
label: '任务id',
prop: 'jobId',
hide: true
},
{
label: '任务名称',
prop: 'jobName'
},
{
label: '任务组名',
prop: 'jobGroup'
},
{
label: '状态',
prop: 'jobLogStatus',
type: 'select',
dicUrl: '/admin/dict/item/type/job_execute_status',
dicMethod: 'get',
slot: true,
},
{
label: '组内顺序',
prop: 'jobOrder',
hide: true
},
{
label: '类型',
prop: 'jobType',
type: 'select',
dicUrl: '/admin/dict/item/type/job_type',
dicMethod: 'get',
},
{
label: '执行路径',
prop: 'executePath',
overHidden: true
},
{
label: '执行文件',
prop: 'className',
overHidden: true
},
{
label: '执行方法',
prop: 'methodName',
overHidden: true,
width: 120
},
{
label: '执行参数值',
prop: 'methodParamsValue',
width: 100,
overHidden: true
},
{
label: 'cron表达式',
prop: 'cronExpression',
width: 100,
overHidden: true
},
{
label: '状态描述',
prop: 'jobMessage'
},
{
label: '执行时间(ms)',
prop: 'executeTime',
width: 120
},
{
label: '异常信息',
prop: 'exceptionInfo',
overHidden: true
},
{
label: '开始时间',
prop: 'createTime',
type: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-dd HH:mm:ss'
}
]
};

View File

@@ -0,0 +1,75 @@
/*
* 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: '备注',
prop: 'remarks'
},
{
label: '赛事名称',
prop: 'competitionName'
},
{
label: '主办单位',
prop: 'organizer'
},
{
label: '通知文件',
prop: 'notificationFile'
},
{
label: '通知文件名称',
prop: 'notificationFileName'
},
]
}

Some files were not shown because too many files have changed in this diff Show More