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

zhouweidong@lab.ibiz5.com 发布系统代码

上级 7cce94ba
......@@ -22,6 +22,7 @@ export default {
formpage1: "基本信息",
srforikey: "",
srfkey: "标识",
srfmajortext: "认证标识",
srftempmode: "",
srfuf: "",
srfdeid: "",
......
......@@ -21,6 +21,7 @@ export default {
formpage1: "基本信息",
srforikey: "",
srfkey: "标识",
srfmajortext: "认证标识",
srftempmode: "",
srfuf: "",
srfdeid: "",
......
......@@ -378,6 +378,7 @@ export default class MsgUserAccountEditViewBase extends Vue {
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'msguseraccount',
majorPSDEField: 'identifier',
isLoadDefault: true,
});
}
......
......@@ -9,7 +9,7 @@
<div class='view-top-messages'>
</div>
<div style='margin-bottom: 6px;'>
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="" />
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="认证标识" />
<div class='pull-right'>
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
......@@ -412,6 +412,7 @@ export default class MsgUserAccountGridViewBase extends Vue {
grid: this.$refs.grid,
searchform: this.$refs.searchform,
keyPSDEField: 'msguseraccount',
majorPSDEField: 'identifier',
isLoadDefault: true,
});
}
......
......@@ -31,7 +31,7 @@ export default class MsgUserAccountServiceBase extends EntityService {
this.APPLYDEKEY ='msguseraccount';
this.APPDEKEY = 'id';
this.APPDENAME = 'msguseraccounts';
this.APPDETEXT = '';
this.APPDETEXT = 'identifier';
this.APPNAME = 'web';
this.SYSTEMNAME = 'ibznotify';
}
......
......@@ -398,6 +398,7 @@ export default class MainBase extends Vue implements ControlInterface {
public data: any = {
srforikey: null,
srfkey: null,
srfmajortext: null,
srftempmode: null,
srfuf: null,
srfdeid: null,
......@@ -462,6 +463,12 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '标识 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '标识 值不能为空', trigger: 'blur' },
],
srfmajortext: [
{ type: 'string', message: '认证标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '认证标识 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '认证标识 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '认证标识 值不能为空', trigger: 'blur' },
],
srftempmode: [
{ type: 'string', message: ' 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: ' 值必须为字符串类型', trigger: 'blur' },
......@@ -609,6 +616,8 @@ export default class MainBase extends Vue implements ControlInterface {
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
srfkey: new FormItemModel({ caption: '标识', detailType: 'FORMITEM', name: 'srfkey', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
srfmajortext: new FormItemModel({ caption: '认证标识', detailType: 'FORMITEM', name: 'srfmajortext', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
srftempmode: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srftempmode', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
......@@ -654,6 +663,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'srfkey', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 srfmajortext 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfmajortext')
onSrfmajortextChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfmajortext', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 srftempmode 值
*
......@@ -828,6 +849,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
......
......@@ -33,6 +33,11 @@ export default class MainModel {
prop: 'id',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'identifier',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
......
......@@ -41,6 +41,11 @@ export default class MainModel {
prop: 'identifier',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'identifier',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'id',
......
......@@ -42,6 +42,9 @@ public class MsgUserAccountSearchContext extends QueryWrapperContext<MsgUserAcco
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper ->
wrapper.like("identifier", query)
);
}
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册