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

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 128c4b41
......@@ -185,6 +185,7 @@ export default {
formitem1: "更新时间-多久之前",
formitem2: "名称-穿梭框",
formitem3: "日期型-cron",
formitem4: "日期时间型",
ibizsample0001id: "IBIZSAMPLE0001标识",
},
uiactions: {
......
......@@ -184,6 +184,7 @@ export default {
formitem1: "更新时间-多久之前",
formitem2: "名称-穿梭框",
formitem3: "日期型-cron",
formitem4: "日期时间型",
ibizsample0001id: "IBIZSAMPLE0001标识",
},
uiactions: {
......
......@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface {
]
},
],
price:[
type:[
{
type:"VALUERANGE2",
type:"STRINGLENGTH",
condOP:"",
ruleInfo:"数值必须大于[0.0]且小于等于[100.0]",
ruleInfo:"内容长度必须大于[0]且小于等于[6]",
isKeyCond:false,
isNotMode:false,
maxValue:100,
maxValue:6,
minValue:0,
deName:"price",
deName:"type",
isIncludeMaxValue:true,
isIncludeMinValue:false,
},
],
type:[
price:[
{
type:"STRINGLENGTH",
type:"VALUERANGE2",
condOP:"",
ruleInfo:"内容长度必须大于[0]且小于等于[6]",
ruleInfo:"数值必须大于[0.0]且小于等于[100.0]",
isKeyCond:false,
isNotMode:false,
maxValue:6,
maxValue:100,
minValue:0,
deName:"type",
deName:"price",
isIncludeMaxValue:true,
isIncludeMinValue:false,
},
......
......@@ -406,6 +406,23 @@
placeholder='请选择...' />
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem4.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem4' :itemRules="this.rules().formitem4" class='' :caption="$t('entities.ibizsample0001.main_form.details.formitem4')" uiStyle="DEFAULT" :labelWidth="150" :isShowCaption="true" :error="detailsModel.formitem4.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list-dynamic
v-model="data.formitem4"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem4.disabled"
valueType="string"
placeholder='请选择...' style="">
</dropdown-list-dynamic>
</app-form-item>
</i-col>
</row>
......@@ -836,6 +853,7 @@ export default class MainBase extends Vue implements ControlInterface {
formitem1: null,
formitem2: null,
formitem3: null,
formitem4: null,
ibizsample0001id: null,
ibizsample0001:null,
};
......@@ -1004,6 +1022,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem3.required, type: 'string', message: '日期型-cron 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem3.required, type: 'string', message: '日期型-cron 值不能为空', trigger: 'blur' },
],
formitem4: [
{ required: this.detailsModel.formitem4.required, type: 'string', message: '日期时间型 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem4.required, type: 'string', message: '日期时间型 值不能为空', trigger: 'blur' },
],
}
}
......@@ -1186,6 +1208,8 @@ export default class MainBase extends Vue implements ControlInterface {
formitem2: new FormItemModel({ caption: '名称-穿梭框', detailType: 'FORMITEM', name: 'formitem2', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem3: new FormItemModel({ caption: '日期型-cron', detailType: 'FORMITEM', name: 'formitem3', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem4: new FormItemModel({ caption: '日期时间型', detailType: 'FORMITEM', name: 'formitem4', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizsample0001id: new FormItemModel({ caption: 'IBIZSAMPLE0001标识', detailType: 'FORMITEM', name: 'ibizsample0001id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1635,6 +1659,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem3', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem4 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.formitem4')
onFormitem4Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem4', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizsample0001id 值
*
......@@ -1739,6 +1775,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
......
......@@ -200,6 +200,11 @@ export default class MainModel {
prop: 'field09',
dataType: 'DATE',
},
{
name: 'formitem4',
prop: 'field08',
dataType: 'DATETIME',
},
{
name: 'ibizsample0001id',
prop: 'ibizsample0001id',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册