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

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

上级 b4722163
......@@ -368,6 +368,7 @@ export default {
formitem3: "多行输入框(=)",
formitem4: "进步器(<)",
formitem5: "评分器(=)",
formitem6: "滑动输入条(>=)",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -367,6 +367,7 @@ export default {
formitem3: "多行输入框(=)",
formitem4: "进步器(<)",
formitem5: "评分器(=)",
formitem6: "滑动输入条(>=)",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -181,6 +181,13 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem6.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem6' :itemRules="this.rules().formitem6" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem6')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem6.error" :isEmptyCaption="false" labelPos="LEFT">
<app-slider name='formitem6' :value="this.data.formitem6" @change="onFormItemValueChange" :disabled="detailsModel.formitem6.disabled" style=""></app-slider>
</app-form-item>
</i-col>
</row>
......@@ -587,6 +594,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem3: null,
formitem4: null,
formitem5: null,
formitem6: null,
ibizcustomerid: null,
ibizorderid: null,
ibizorder:null,
......@@ -692,6 +700,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem5.required, type: 'string', message: '评分器(=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem5.required, type: 'string', message: '评分器(=) 值不能为空', trigger: 'blur' },
],
formitem6: [
{ required: this.detailsModel.formitem6.required, type: 'string', message: '滑动输入条(>=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem6.required, type: 'string', message: '滑动输入条(>=) 值不能为空', trigger: 'blur' },
],
}
}
......@@ -838,6 +850,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem4: new FormItemModel({ caption: '进步器(<)', detailType: 'FORMITEM', name: 'formitem4', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem5: new FormItemModel({ caption: '评分器(=)', detailType: 'FORMITEM', name: 'formitem5', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem6: new FormItemModel({ caption: '滑动输入条(>=)', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1097,6 +1111,18 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem5', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem6 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem6')
onFormitem6Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem6', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizcustomerid 值
*
......@@ -1241,6 +1267,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
}
/**
......@@ -2337,6 +2364,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('formitem5')) {
this.data['formitem5'] = '3';
}
if (this.data.hasOwnProperty('formitem6')) {
this.data['formitem6'] = '60';
}
}
/**
......
......@@ -114,6 +114,10 @@ export default class UIPART_0011Model {
name: 'formitem5',
dataType:'FORMITEM',
},
{
name: 'formitem6',
dataType:'FORMITEM',
},
{
name: 'ibizcustomerid',
prop: 'ibizcustomerid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册