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

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

上级 8b7b70fc
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
f25: "数据选择(数据链接)", f25: "数据选择(数据链接)",
f26: "数据选择(无AC)", f26: "数据选择(无AC)",
f27: "数据选择(无AC、数据链接)", f27: "数据选择(无AC、数据链接)",
f28: "数据选择(下拉)", formitem28: "数据选择(下拉)",
f29: "数据选择(下拉、数据链接)", f29: "数据选择(下拉、数据链接)",
formitem5: "数据链接", formitem5: "数据链接",
formitem6: "地址框(支持选择、AC)", formitem6: "地址框(支持选择、AC)",
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
f25: "数据选择(数据链接)", f25: "数据选择(数据链接)",
f26: "数据选择(无AC)", f26: "数据选择(无AC)",
f27: "数据选择(无AC、数据链接)", f27: "数据选择(无AC、数据链接)",
f28: "数据选择(下拉)", formitem28: "数据选择(下拉)",
f29: "数据选择(下拉、数据链接)", f29: "数据选择(下拉、数据链接)",
formitem5: "数据链接", formitem5: "数据链接",
formitem6: "地址框(支持选择、AC)", formitem6: "地址框(支持选择、AC)",
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:showBusyIndicator="true" :showBusyIndicator="true"
v-show="isExpandSearchForm" v-show="true"
loaddraftAction="FilterGetDraft" loaddraftAction="FilterGetDraft"
loadAction="FilterGet" loadAction="FilterGet"
@valuechange="quickFormValueChange"
name="quicksearchform" name="quicksearchform"
ref='quicksearchform' ref='quicksearchform'
@closeview="closeView($event)"> @closeview="closeView($event)">
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:showBusyIndicator="true" :showBusyIndicator="true"
v-show="isExpandSearchForm" v-show="true"
loaddraftAction="FilterGetDraft" loaddraftAction="FilterGetDraft"
loadAction="FilterGet" loadAction="FilterGet"
@valuechange="quickFormValueChange"
name="quicksearchform" name="quicksearchform"
ref='quicksearchform' ref='quicksearchform'
@closeview="closeView($event)"> @closeview="closeView($event)">
......
...@@ -35,12 +35,6 @@ ...@@ -35,12 +35,6 @@
</i-col> </i-col>
</row> </row>
</i-col> </i-col>
<i-col span="4" class="search-button">
<row v-show="Object.keys(data).length>0">
<i-button class='search_reset' size="default" type="primary" @click="onSearch">{{$t('app.searchButton.search')}}</i-button>
<i-button class='search_reset' size="default" @click="onReset">{{this.$t('app.searchButton.reset')}}</i-button>
</row>
</i-col>
</row> </row>
</i-form> </i-form>
...@@ -394,6 +388,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -394,6 +388,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
this.resetFormData({ name: name, newVal: newVal, oldVal: oldVal }); this.resetFormData({ name: name, newVal: newVal, oldVal: oldVal });
this.formLogic({ name: name, newVal: newVal, oldVal: oldVal }); this.formLogic({ name: name, newVal: newVal, oldVal: oldVal });
this.dataChang.next(JSON.stringify(this.data)); this.dataChang.next(JSON.stringify(this.data));
this.$emit('valuechange',this.data);
} }
/** /**
......
...@@ -452,8 +452,8 @@ ...@@ -452,8 +452,8 @@
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.f28.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }"> <i-col v-show="detailsModel.formitem28.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='f28' :itemRules="this.rules().f28" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f28')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f28.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem28' :itemRules="this.rules().formitem28" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem28')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.formitem28.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker <app-picker
:formState="formState" :formState="formState"
...@@ -462,16 +462,16 @@ ...@@ -462,16 +462,16 @@
:viewparams="viewparams" :viewparams="viewparams"
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.f28.disabled" :disabled="detailsModel.formitem28.disabled"
placeholder="占位提示-数据选择(下拉)" placeholder="占位提示-数据选择(下拉)"
name='f28' name='formitem28'
deMajorField='ibizsample0002name' deMajorField='ibizsample0002name'
deKeyField='ibizsample0002' deKeyField='ibizsample0002'
:service="service" :service="service"
:acParams="{ serviceName: 'IBIZSample0002Service', interfaceName: 'FetchDefault'}" :acParams="{ serviceName: 'IBIZSample0002Service', interfaceName: 'FetchDefault'}"
valueitem='ibizsample0002id' valueitem='ibizsample0002id'
:value="data.f28" :value="data.formitem28"
editortype="dropdown" editortype="dropdown"
style="" style=""
@formitemvaluechange="onFormItemValueChange"> @formitemvaluechange="onFormItemValueChange">
...@@ -1056,7 +1056,7 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1056,7 +1056,7 @@ export default class Main4Base extends Vue implements ControlInterface {
f25: null, f25: null,
f26: null, f26: null,
f27: null, f27: null,
f28: null, formitem28: null,
f29: null, f29: null,
formitem5: null, formitem5: null,
formitem6: null, formitem6: null,
...@@ -1262,9 +1262,9 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1262,9 +1262,9 @@ export default class Main4Base extends Vue implements ControlInterface {
{ required: this.detailsModel.f27.required, type: 'string', message: '数据选择(无AC、数据链接) 值不能为空', trigger: 'change' }, { required: this.detailsModel.f27.required, type: 'string', message: '数据选择(无AC、数据链接) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.f27.required, type: 'string', message: '数据选择(无AC、数据链接) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.f27.required, type: 'string', message: '数据选择(无AC、数据链接) 值不能为空', trigger: 'blur' },
], ],
f28: [ formitem28: [
{ required: this.detailsModel.f28.required, type: 'string', message: '数据选择(下拉) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem28.required, type: 'string', message: '数据选择(下拉) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.f28.required, type: 'string', message: '数据选择(下拉) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem28.required, type: 'string', message: '数据选择(下拉) 值不能为空', trigger: 'blur' },
], ],
f29: [ f29: [
{ required: this.detailsModel.f29.required, type: 'string', message: '数据选择(下拉、数据链接) 值不能为空', trigger: 'change' }, { required: this.detailsModel.f29.required, type: 'string', message: '数据选择(下拉、数据链接) 值不能为空', trigger: 'change' },
...@@ -1495,7 +1495,7 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1495,7 +1495,7 @@ export default class Main4Base extends Vue implements ControlInterface {
, ,
f27: new FormItemModel({ caption: '数据选择(无AC、数据链接)', detailType: 'FORMITEM', name: 'f27', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) f27: new FormItemModel({ caption: '数据选择(无AC、数据链接)', detailType: 'FORMITEM', name: 'f27', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
f28: new FormItemModel({ caption: '数据选择(下拉)', detailType: 'FORMITEM', name: 'f28', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem28: new FormItemModel({ caption: '数据选择(下拉)', detailType: 'FORMITEM', name: 'formitem28', 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 }) f29: new FormItemModel({ caption: '数据选择(下拉、数据链接)', detailType: 'FORMITEM', name: 'f29', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -2048,15 +2048,15 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -2048,15 +2048,15 @@ export default class Main4Base extends Vue implements ControlInterface {
} }
/** /**
* 监控表单属性 f28 值 * 监控表单属性 formitem28 值
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main4Base * @memberof Main4Base
*/ */
@Watch('data.f28') @Watch('data.formitem28')
onF28Change(newVal: any, oldVal: any) { onFormitem28Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'f28', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem28', newVal: newVal, oldVal: oldVal });
} }
/** /**
......
...@@ -206,7 +206,7 @@ export default class Main4Model { ...@@ -206,7 +206,7 @@ export default class Main4Model {
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{ {
name: 'f28', name: 'formitem28',
prop: 'ibizsample0002name', prop: 'ibizsample0002name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册