提交 06cd4582 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibiz-rt,ibizlab-runtime]

上级 8eca1781
......@@ -194,6 +194,7 @@ function getLocaleResourceBase(){
n_usercode_like: commonLogic.appcommonhandle("工号",null),
n_personname_like: commonLogic.appcommonhandle("姓名",null),
n_mdeptname_like: commonLogic.appcommonhandle("部门",null),
n_postname_like: commonLogic.appcommonhandle("岗位",null),
},
uiactions: {
},
......
......@@ -194,6 +194,7 @@ function getLocaleResourceBase(){
n_usercode_like: commonLogic.appcommonhandle("工号",null),
n_personname_like: commonLogic.appcommonhandle("姓名",null),
n_mdeptname_like: commonLogic.appcommonhandle("部门",null),
n_postname_like: commonLogic.appcommonhandle("岗位",null),
},
uiactions: {
},
......
......@@ -4,7 +4,7 @@
<row>
<i-col span="20" class="form-content">
<row>
<i-col v-show="detailsModel.n_usercode_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<i-col v-show="detailsModel.n_usercode_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='n_usercode_like' :itemRules="this.rules.n_usercode_like" class='' :caption="$t('entities.sysemployee.default_searchform.details.n_usercode_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_usercode_like.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.n_usercode_like"
......@@ -18,7 +18,7 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.n_personname_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<i-col v-show="detailsModel.n_personname_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='n_personname_like' :itemRules="this.rules.n_personname_like" class='' :caption="$t('entities.sysemployee.default_searchform.details.n_personname_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_personname_like.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.n_personname_like"
......@@ -32,7 +32,7 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.n_mdeptname_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<i-col v-show="detailsModel.n_mdeptname_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='n_mdeptname_like' :itemRules="this.rules.n_mdeptname_like" class='' :caption="$t('entities.sysemployee.default_searchform.details.n_mdeptname_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_mdeptname_like.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.n_mdeptname_like"
......@@ -45,6 +45,20 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.n_postname_like.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='n_postname_like' :itemRules="this.rules.n_postname_like" class='' :caption="$t('entities.sysemployee.default_searchform.details.n_postname_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_postname_like.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.n_postname_like"
@enter="onEnter($event)"
:disabled="detailsModel.n_postname_like.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
</row>
</i-col>
......@@ -306,6 +320,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_usercode_like: null,
n_personname_like: null,
n_mdeptname_like: null,
n_postname_like: null,
};
/**
......@@ -322,6 +337,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_personname_like: new FormItemModel({ caption: '姓名', detailType: 'FORMITEM', name: 'n_personname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
n_mdeptname_like: new FormItemModel({ caption: '部门', detailType: 'FORMITEM', name: 'n_mdeptname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
n_postname_like: new FormItemModel({ caption: '岗位', detailType: 'FORMITEM', name: 'n_postname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
};
......@@ -350,6 +367,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
{ required: this.detailsModel.n_mdeptname_like.required, type: 'string', message: '部门 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_mdeptname_like.required, type: 'string', message: '部门 值不能为空', trigger: 'blur' },
],
n_postname_like: [
{ type: 'string', message: '岗位 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '岗位 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_postname_like.required, type: 'string', message: '岗位 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_postname_like.required, type: 'string', message: '岗位 值不能为空', trigger: 'blur' },
],
}
/**
......@@ -388,6 +411,18 @@ export default class DefaultBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'n_mdeptname_like', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 n_postname_like 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_postname_like')
onN_postname_likeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_postname_like', newVal: newVal, oldVal: oldVal });
}
/**
* 重置表单项值
......@@ -412,6 +447,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
}
/**
......
......@@ -40,6 +40,11 @@ export default class DefaultModel {
prop: 'mdeptname',
dataType: 'PICKUPTEXT',
},
{
name: 'n_postname_like',
prop: 'postname',
dataType: 'PICKUPTEXT',
},
]
}
......
......@@ -141,6 +141,11 @@ export default class MainModel {
prop: 'n_mdeptname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_postname_like',
prop: 'n_postname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册