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

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

上级 fb3f9c4a
...@@ -345,7 +345,7 @@ export default { ...@@ -345,7 +345,7 @@ export default {
uipart_0011_form: { uipart_0011_form: {
details: { details: {
group1: "订单基本信息", group1: "订单基本信息",
grouppanel1: "动态显示--类型(条件)", grouppanel1: "动态显示--编辑器类型(条件)",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -374,10 +374,14 @@ export default { ...@@ -374,10 +374,14 @@ export default {
formitem9: "选项框", formitem9: "选项框",
formitem10: "单选项列表(nil)", formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)", formitem11: "选项框列表(nil)",
formitem12: "地址框(nil)", formitem12: "地址框(单选项列表未选择)",
formitem13: "时间选择(notnil)", formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)", formitem14: "数据选择(选项框取消)",
formitem15: "", formitem15: "",
formitem16: "自动填充(开关未打开)",
formitem17: "图片控件(nil)",
formitem18: "文件上传(nil)",
formitem19: "HTML编辑器(nil)",
ibizcustomerid: "客户标识", ibizcustomerid: "客户标识",
ibizorderid: "订单标识", ibizorderid: "订单标识",
}, },
......
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
uipart_0011_form: { uipart_0011_form: {
details: { details: {
group1: "订单基本信息", group1: "订单基本信息",
grouppanel1: "动态显示--类型(条件)", grouppanel1: "动态显示--编辑器类型(条件)",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -373,10 +373,14 @@ export default { ...@@ -373,10 +373,14 @@ export default {
formitem9: "选项框", formitem9: "选项框",
formitem10: "单选项列表(nil)", formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)", formitem11: "选项框列表(nil)",
formitem12: "地址框(nil)", formitem12: "地址框(单选项列表未选择)",
formitem13: "时间选择(notnil)", formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)", formitem14: "数据选择(选项框取消)",
formitem15: "", formitem15: "",
formitem16: "自动填充(开关未打开)",
formitem17: "图片控件(nil)",
formitem18: "文件上传(nil)",
formitem19: "HTML编辑器(nil)",
ibizcustomerid: "客户标识", ibizcustomerid: "客户标识",
ibizorderid: "订单标识", ibizorderid: "订单标识",
}, },
......
...@@ -321,6 +321,49 @@ ...@@ -321,6 +321,49 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem16.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem16' :itemRules="this.rules().formitem16" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem16')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem16.error" :isEmptyCaption="false" labelPos="LEFT">
<app-autocomplete
:data="data"
:disabled="detailsModel.formitem16.disabled"
name='formitem16'
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:service="service"
:acParams="{ }"
valueitem='formitem15'
:value="data.formitem16"
@formitemvaluechange="onFormItemValueChange"
style="">
</app-autocomplete>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem17.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='formitem17' :itemRules="this.rules().formitem17" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem17')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem17.error" :isEmptyCaption="false" labelPos="LEFT">
<app-image-upload :multiple="true" :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='formitem17' :value="data.formitem17" :disabled="detailsModel.formitem17.disabled" :uploadparams='{}' :exportparams='{}' style="overflow: auto;"></app-image-upload>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem18.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='formitem18' :itemRules="this.rules().formitem18" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem18')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem18.error" :isEmptyCaption="false" labelPos="LEFT">
<app-file-upload :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='formitem18' :value="data.formitem18" :disabled="detailsModel.formitem18.disabled" :uploadparams='{}' :exportparams='{}' style="overflow: auto;"></app-file-upload>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem19.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='formitem19' :itemRules="this.rules().formitem19" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem19')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem19.error" :isEmptyCaption="false" labelPos="LEFT">
<app-rich-text-editor :formState="formState" :value="data.formitem19" @change="(val) =>{this.data.formitem19 =val}" :disabled="detailsModel.formitem19.disabled" :data="JSON.stringify(this.data)" name="formitem19" :uploadparams='{}' :exportparams='{}' style=""></app-rich-text-editor>
</app-form-item>
</i-col> </i-col>
</row> </row>
...@@ -737,6 +780,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -737,6 +780,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem13: null, formitem13: null,
formitem14: null, formitem14: null,
formitem15: null, formitem15: null,
formitem16: null,
formitem17: null,
formitem18: null,
formitem19: null,
ibizcustomerid: null, ibizcustomerid: null,
ibizorderid: null, ibizorderid: null,
ibizorder:null, ibizorder:null,
...@@ -867,8 +914,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -867,8 +914,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem11.required, type: 'string', message: '选项框列表(nil) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem11.required, type: 'string', message: '选项框列表(nil) 值不能为空', trigger: 'blur' },
], ],
formitem12: [ formitem12: [
{ required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(nil) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(单选项列表未选择) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(nil) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(单选项列表未选择) 值不能为空', trigger: 'blur' },
], ],
formitem13: [ formitem13: [
{ required: this.detailsModel.formitem13.required, type: 'string', message: '时间选择(notnil) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem13.required, type: 'string', message: '时间选择(notnil) 值不能为空', trigger: 'change' },
...@@ -878,6 +925,22 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -878,6 +925,22 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'blur' },
], ],
formitem16: [
{ required: this.detailsModel.formitem16.required, type: 'string', message: '自动填充(开关未打开) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem16.required, type: 'string', message: '自动填充(开关未打开) 值不能为空', trigger: 'blur' },
],
formitem17: [
{ required: this.detailsModel.formitem17.required, type: 'string', message: '图片控件(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem17.required, type: 'string', message: '图片控件(nil) 值不能为空', trigger: 'blur' },
],
formitem18: [
{ required: this.detailsModel.formitem18.required, type: 'string', message: '文件上传(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem18.required, type: 'string', message: '文件上传(nil) 值不能为空', trigger: 'blur' },
],
formitem19: [
{ required: this.detailsModel.formitem19.required, type: 'string', message: 'HTML编辑器(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem19.required, type: 'string', message: 'HTML编辑器(nil) 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -979,7 +1042,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -979,7 +1042,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
public detailsModel: any = { public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: '订单基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.uipart_0011_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '订单基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.uipart_0011_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
grouppanel1: new FormGroupPanelModel({ caption: '动态显示--类型(条件)', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.uipart_0011_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel1: new FormGroupPanelModel({ caption: '动态显示--编辑器类型(条件)', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.uipart_0011_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
, ,
...@@ -1037,13 +1100,21 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1037,13 +1100,21 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
, ,
formitem11: new FormItemModel({ caption: '选项框列表(nil)', detailType: 'FORMITEM', name: 'formitem11', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem11: new FormItemModel({ caption: '选项框列表(nil)', detailType: 'FORMITEM', name: 'formitem11', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem12: new FormItemModel({ caption: '地址框(nil)', detailType: 'FORMITEM', name: 'formitem12', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem12: new FormItemModel({ caption: '地址框(单选项列表未选择)', detailType: 'FORMITEM', name: 'formitem12', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem13: new FormItemModel({ caption: '时间选择(notnil)', detailType: 'FORMITEM', name: 'formitem13', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem13: new FormItemModel({ caption: '时间选择(notnil)', detailType: 'FORMITEM', name: 'formitem13', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem14: new FormItemModel({ caption: '数据选择(选项框取消)', detailType: 'FORMITEM', name: 'formitem14', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem14: new FormItemModel({ caption: '数据选择(选项框取消)', detailType: 'FORMITEM', name: 'formitem14', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem15: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem15: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem16: new FormItemModel({ caption: '自动填充(开关未打开)', detailType: 'FORMITEM', name: 'formitem16', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem17: new FormItemModel({ caption: '图片控件(nil)', detailType: 'FORMITEM', name: 'formitem17', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem18: new FormItemModel({ caption: '文件上传(nil)', detailType: 'FORMITEM', name: 'formitem18', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem19: new FormItemModel({ caption: 'HTML编辑器(nil)', detailType: 'FORMITEM', name: 'formitem19', visible: false, 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 }) ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1423,6 +1494,54 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1423,6 +1494,54 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem15', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem15', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem16 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem16')
onFormitem16Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem16', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem17 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem17')
onFormitem17Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem17', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem18 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem18')
onFormitem18Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem18', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem19 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem19')
onFormitem19Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem19', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizcustomerid 值 * 监控表单属性 ibizcustomerid 值
* *
...@@ -1635,10 +1754,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1635,10 +1754,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.detailsModel.formitem11.setVisible(ret); this.detailsModel.formitem11.setVisible(ret);
} }
if (Object.is(name, '') || Object.is(name, 'formitem12')) { if (Object.is(name, '') || Object.is(name, 'formitem10')) {
let ret = false; let ret = false;
const _formitem12 = this.data.formitem12; const _formitem10 = this.data.formitem10;
if (this.$verify.testCond(_formitem12, 'ISNULL', '')) { if (this.$verify.testCond(_formitem10, 'ISNULL', '')) {
ret = true; ret = true;
} }
this.detailsModel.formitem12.setVisible(ret); this.detailsModel.formitem12.setVisible(ret);
...@@ -1663,6 +1782,42 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1663,6 +1782,42 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
} }
if (Object.is(name, '') || Object.is(name, 'formitem8')) {
let ret = false;
const _formitem8 = this.data.formitem8;
if (this.$verify.testCond(_formitem8, 'EQ', '0')) {
ret = true;
}
this.detailsModel.formitem16.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem17')) {
let ret = false;
const _formitem17 = this.data.formitem17;
if (this.$verify.testCond(_formitem17, 'ISNULL', '')) {
ret = true;
}
this.detailsModel.formitem17.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem18')) {
let ret = false;
const _formitem18 = this.data.formitem18;
if (this.$verify.testCond(_formitem18, 'ISNULL', '')) {
ret = true;
}
this.detailsModel.formitem18.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem19')) {
let ret = false;
const _formitem19 = this.data.formitem19;
if (this.$verify.testCond(_formitem19, 'ISNULL', '')) {
ret = true;
}
this.detailsModel.formitem19.setVisible(ret);
}
} }
......
...@@ -153,6 +153,22 @@ export default class UIPART_0011Model { ...@@ -153,6 +153,22 @@ export default class UIPART_0011Model {
{ {
name: 'formitem15', name: 'formitem15',
}, },
{
name: 'formitem16',
dataType:'FORMITEM',
},
{
name: 'formitem17',
dataType:'FORMITEM',
},
{
name: 'formitem18',
dataType:'FORMITEM',
},
{
name: 'formitem19',
dataType:'FORMITEM',
},
{ {
name: 'ibizcustomerid', name: 'ibizcustomerid',
prop: 'ibizcustomerid', prop: 'ibizcustomerid',
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-71-8"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-86-8">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-71-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-86-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册