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

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

上级 56433b1a
......@@ -96,6 +96,7 @@ export default {
f27: "数据选择(无AC、数据链接)",
f28: "数据选择(下拉)",
f29: "数据选择(下拉、数据链接)",
formitem: "",
f30: "自动填充",
f31: "自动填充(只能选择)",
f32: "自动填充(无按钮)",
......
......@@ -95,6 +95,7 @@ export default {
f27: "数据选择(无AC、数据链接)",
f28: "数据选择(下拉)",
f29: "数据选择(下拉、数据链接)",
formitem: "",
f30: "自动填充",
f31: "自动填充(只能选择)",
f32: "自动填充(无按钮)",
......
......@@ -290,7 +290,7 @@
:service="service"
:acParams="{ }"
valueitem=''
valueitem='formitem'
:value="data.f28"
editortype="dropdown"
style=""
......@@ -991,6 +991,7 @@ export default class Main4Base extends Vue implements ControlInterface {
f27: null,
f28: null,
f29: null,
formitem: null,
f30: null,
f31: null,
f32: null,
......@@ -1415,6 +1416,8 @@ export default class Main4Base extends Vue implements ControlInterface {
f28: new FormItemModel({ caption: '数据选择(下拉)', detailType: 'FORMITEM', name: 'f28', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
f29: new FormItemModel({ caption: '数据选择(下拉、数据链接)', detailType: 'FORMITEM', name: 'f29', 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:false, disabled: false, enableCond: 3 })
,
f30: new FormItemModel({ caption: '自动填充', detailType: 'FORMITEM', name: 'f30', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1896,6 +1899,18 @@ export default class Main4Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'f29', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@Watch('data.formitem')
onFormitemChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 f30 值
*
......@@ -2214,6 +2229,7 @@ export default class Main4Base extends Vue implements ControlInterface {
}
......
......@@ -177,6 +177,9 @@ export default class Main4Model {
prop: 'field24',
dataType: 'CODELISTTEXT',
},
{
name: 'formitem',
},
{
name: 'f30',
dataType:'FORMITEM',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册