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

ibiz4j 发布系统代码 [ibz-dst,应用]

上级 6ed8c765
...@@ -65,6 +65,7 @@ export default { ...@@ -65,6 +65,7 @@ export default {
systemid: "系统标识", systemid: "系统标识",
dsid: "数据源标识", dsid: "数据源标识",
moduleid: "模块标识", moduleid: "模块标识",
extparams: "扩展参数",
entityid: "标识", entityid: "标识",
}, },
uiactions: { uiactions: {
......
...@@ -64,6 +64,7 @@ export default { ...@@ -64,6 +64,7 @@ export default {
systemid: "系统标识", systemid: "系统标识",
dsid: "数据源标识", dsid: "数据源标识",
moduleid: "模块标识", moduleid: "模块标识",
extparams: "扩展参数",
entityid: "标识", entityid: "标识",
}, },
uiactions: { uiactions: {
......
...@@ -260,6 +260,10 @@ ...@@ -260,6 +260,10 @@
]) ])
}"> }">
<i-col v-show="detailsModel.extparams.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<avue-custom-form :isSubForm="true" :isParseString="true" :isFormData="false" :options='{"column":[{"type":"dynamic","label":"配置","span":24,"display":true,"children":{"type":"crud","index":false,"align":"center","headerAlign":"center","addBtn":true,"delBtn":true,"column":[{"type":"input","label":"参数","span":24,"display":true,"prop":"param"},{"type":"input","label":"值","span":24,"display":true,"prop":"value"}]},"prop":"1600652985606_85389"}],"labelPosition":"right","labelSuffix":"","labelWidth":120,"gutter":0,"menuBtn":false,"submitBtn":false,"submitText":"提交","emptyBtn":false,"emptyText":"清空","menuPosition":"center"}' v-model="data.extparams" :formData="data" :formState="formState"></avue-custom-form>
</i-col>
</tab-pane> </tab-pane>
...@@ -675,6 +679,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -675,6 +679,7 @@ export default class MainBase extends Vue implements ControlInterface {
systemid: null, systemid: null,
dsid: null, dsid: null,
moduleid: null, moduleid: null,
extparams: null,
entityid: null, entityid: null,
metaentity:null, metaentity:null,
}; };
...@@ -755,6 +760,10 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -755,6 +760,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.dsname.required, type: 'string', message: '数据源 值不能为空', trigger: 'change' }, { required: this.detailsModel.dsname.required, type: 'string', message: '数据源 值不能为空', trigger: 'change' },
{ required: this.detailsModel.dsname.required, type: 'string', message: '数据源 值不能为空', trigger: 'blur' }, { required: this.detailsModel.dsname.required, type: 'string', message: '数据源 值不能为空', trigger: 'blur' },
], ],
extparams: [
{ required: this.detailsModel.extparams.required, type: 'string', message: '扩展参数 值不能为空', trigger: 'change' },
{ required: this.detailsModel.extparams.required, type: 'string', message: '扩展参数 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -915,6 +924,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -915,6 +924,8 @@ export default class MainBase extends Vue implements ControlInterface {
dsid: new FormItemModel({ caption: '数据源标识', detailType: 'FORMITEM', name: 'dsid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) dsid: new FormItemModel({ caption: '数据源标识', detailType: 'FORMITEM', name: 'dsid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
moduleid: new FormItemModel({ caption: '模块标识', detailType: 'FORMITEM', name: 'moduleid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) moduleid: new FormItemModel({ caption: '模块标识', detailType: 'FORMITEM', name: 'moduleid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
extparams: new FormItemModel({ caption: '扩展参数', detailType: 'FORMITEM', name: 'extparams', visible: true, isShowCaption: false, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
entityid: new FormItemModel({ caption: '标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) entityid: new FormItemModel({ caption: '标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1136,6 +1147,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1136,6 +1147,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'moduleid', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'moduleid', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 extparams 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.extparams')
onExtparamsChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'extparams', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 entityid 值 * 监控表单属性 entityid 值
* *
...@@ -1229,6 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1229,6 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
......
...@@ -105,6 +105,11 @@ export default class MainModel { ...@@ -105,6 +105,11 @@ export default class MainModel {
prop: 'module_id', prop: 'module_id',
dataType: 'PICKUP', dataType: 'PICKUP',
}, },
{
name: 'extparams',
prop: 'ext_params',
dataType: 'LONGTEXT',
},
{ {
name: 'entityid', name: 'entityid',
prop: 'entity_id', prop: 'entity_id',
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[DA_BUILD]数据结构 --> <!--输出实体[DA_BUILD]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_build-44-1"> <changeSet author="a_A_5d9d78509" id="tab-da_build-45-1">
<createTable tableName="IBZDABUILD"> <createTable tableName="IBZDABUILD">
<column name="BUILDID" remarks="" type="VARCHAR(100)"> <column name="BUILDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_BUILD_BUILDID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_BUILD_BUILDID"/>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<!--输出实体[DA_METRIC]数据结构 --> <!--输出实体[DA_METRIC]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_metric-51-3"> <changeSet author="a_A_5d9d78509" id="tab-da_metric-52-3">
<createTable tableName="IBZDAMETRIC"> <createTable tableName="IBZDAMETRIC">
<column name="DA_METRICID" remarks="" type="VARCHAR(100)"> <column name="DA_METRICID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_METRIC_DA_METRICID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_METRIC_DA_METRICID"/>
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
<!--输出实体[META_ENTITY]数据结构 --> <!--输出实体[META_ENTITY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_entity-9-10"> <changeSet author="a_A_5d9d78509" id="tab-meta_entity-10-10">
<createTable tableName="IBZENTITY"> <createTable tableName="IBZENTITY">
<column name="ENTITYID" remarks="" type="VARCHAR(100)"> <column name="ENTITYID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/> <constraints primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/>
...@@ -398,7 +398,7 @@ ...@@ -398,7 +398,7 @@
<!--输出实体[RU_ENGINE]数据结构 --> <!--输出实体[RU_ENGINE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ru_engine-28-15"> <changeSet author="a_A_5d9d78509" id="tab-ru_engine-29-15">
<createTable tableName="IBZRULEENGINE"> <createTable tableName="IBZRULEENGINE">
<column name="ENGINEID" remarks="" type="VARCHAR(100)"> <column name="ENGINEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RU_ENGINE_ENGINEID"/> <constraints primaryKey="true" primaryKeyName="PK_RU_ENGINE_ENGINEID"/>
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
<!--输出实体[DA_BUILD]外键关系 --> <!--输出实体[DA_BUILD]外键关系 -->
<!--输出实体[DA_CHART]外键关系 --> <!--输出实体[DA_CHART]外键关系 -->
<!--输出实体[DA_METRIC]外键关系 --> <!--输出实体[DA_METRIC]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-da_metric-51-17"> <changeSet author="a_A_5d9d78509" id="fk-da_metric-52-17">
<addForeignKeyConstraint baseColumnNames="BUILDID" baseTableName="IBZDAMETRIC" constraintName="DER1N_DA_METRIC_DA_BUILD_BUILD" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="BUILDID" referencedTableName="IBZDABUILD" validate="true"/> <addForeignKeyConstraint baseColumnNames="BUILDID" baseTableName="IBZDAMETRIC" constraintName="DER1N_DA_METRIC_DA_BUILD_BUILD" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="BUILDID" referencedTableName="IBZDABUILD" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[DA_REPORT]外键关系 --> <!--输出实体[DA_REPORT]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册