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

zhouweidong 发布系统代码 [ibz-lite,应用]

上级 d7a3f06f
......@@ -64,6 +64,7 @@ function getLocaleResourceBase(){
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
......
......@@ -64,6 +64,7 @@ function getLocaleResourceBase(){
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
......
......@@ -64,6 +64,7 @@ function getLocaleResourceBase(){
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
......
......@@ -25,6 +25,20 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.systemid.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='systemid' :itemRules="this.rules().systemid" class='' :caption="$t('entities.metadynamicmodel.dynainst_form.details.systemid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.systemid.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.systemid"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.systemid.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.tabpanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<tabs :animated="false" name='tabpanel1' v-show="detailsModel.tabpanel1.visible" class=''
......@@ -479,6 +493,7 @@ export default class DynaInstBase extends Vue implements ControlInterface {
srfsourcekey: null,
configname: null,
formitem: null,
systemid: null,
configid: null,
metadynamicmodel:null,
};
......@@ -539,6 +554,10 @@ export default class DynaInstBase extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem.required, type: 'string', message: '文件 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '文件 值不能为空', trigger: 'blur' },
],
systemid: [
{ required: this.detailsModel.systemid.required, type: 'string', message: '系统 值不能为空', trigger: 'change' },
{ required: this.detailsModel.systemid.required, type: 'string', message: '系统 值不能为空', trigger: 'blur' },
],
}
}
......@@ -673,6 +692,8 @@ export default class DynaInstBase extends Vue implements ControlInterface {
configname: new FormItemModel({ caption: '配置名称', detailType: 'FORMITEM', name: 'configname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem: new FormItemModel({ caption: '文件', detailType: 'FORMITEM', name: 'formitem', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
systemid: new FormItemModel({ caption: '系统', detailType: 'FORMITEM', name: 'systemid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
configid: new FormItemModel({ caption: '配置标识', detailType: 'FORMITEM', name: 'configid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -786,6 +807,18 @@ export default class DynaInstBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 systemid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DynaInstBase
*/
@Watch('data.systemid')
onSystemidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'systemid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 configid 值
*
......@@ -867,6 +900,7 @@ export default class DynaInstBase extends Vue implements ControlInterface {
}
/**
......
......@@ -60,6 +60,11 @@ export default class DynaInstModel {
prop: 'modelfile',
dataType: 'TEXT',
},
{
name: 'systemid',
prop: 'system_id',
dataType: 'PICKUP',
},
{
name: 'configid',
prop: 'configid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册