提交 19770de6 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码

上级 de30280b
......@@ -439,14 +439,14 @@ export default class MainBase extends Vue implements ControlInterface {
postcode: [
{ type: 'string', message: '岗位编码 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '岗位编码 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '岗位编码 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '岗位编码 值不能为空', trigger: 'blur' },
{ required: true, type: 'string', message: '岗位编码 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '岗位编码 值不能为空', trigger: 'blur' },
],
postname: [
{ type: 'string', message: '岗位名称 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '岗位名称 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '岗位名称 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '岗位名称 值不能为空', trigger: 'blur' },
{ required: true, type: 'string', message: '岗位名称 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '岗位名称 值不能为空', trigger: 'blur' },
],
domains: [
{ type: 'string', message: '区属 值必须为字符串类型', trigger: 'change' },
......
......@@ -476,8 +476,8 @@ export default class MainBase extends Vue implements ControlInterface {
personname: [
{ type: 'string', message: '姓名 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '姓名 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '姓名 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '姓名 值不能为空', trigger: 'blur' },
{ required: true, type: 'string', message: '姓名 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '姓名 值不能为空', trigger: 'blur' },
],
postname: [
{ type: 'string', message: '岗位 值必须为字符串类型', trigger: 'change' },
......
......@@ -720,8 +720,8 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '用户标识 值不能为空', trigger: 'blur' },
],
personname: [
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '姓名 值不能为空', trigger: 'change' },
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '姓名 值不能为空', trigger: 'blur' },
{ required: true, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '姓名 值不能为空', trigger: 'change' },
{ required: true, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '姓名 值不能为空', trigger: 'blur' },
],
srfkey: [
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: '组成员标识 值不能为空', trigger: 'change' },
......
......@@ -465,8 +465,8 @@ export default class MainBase extends Vue implements ControlInterface {
teamname: [
{ type: 'string', message: '组名称 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '组名称 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '组名称 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '组名称 值不能为空', trigger: 'blur' },
{ required: true, type: 'string', message: '组名称 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '组名称 值不能为空', trigger: 'blur' },
],
memo: [
{ type: 'string', message: '备注 值必须为字符串类型', trigger: 'change' },
......
......@@ -42,7 +42,7 @@ public class IBZPost extends EntityMP implements Serializable {
/**
* 岗位标识
*/
@DEField(isKeyField=true)
@DEField(defaultValue = "postcode" , defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField=true)
@TableId(value= "postid",type=IdType.ASSIGN_UUID)
@JSONField(name = "postid")
@JsonProperty("postid")
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册