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

chitanda 发布系统代码

上级 11362d8d
......@@ -316,6 +316,7 @@ export default {
},
info_all_form: {
details: {
grouppanel5: "简介",
group1: "账户信息",
grouppanel3: "简介",
grouppanel1: "地址信息",
......@@ -339,6 +340,10 @@ export default {
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
industrycode1: "行业",
sic1: "行业编码",
ownershipcode1: "所有权",
description1: "说明",
industrycode: "行业",
sic: "行业编码",
ownershipcode: "所有权",
......
......@@ -315,6 +315,7 @@ export default {
},
info_all_form: {
details: {
grouppanel5: '简介',
group1: '账户信息',
grouppanel3: '简介',
grouppanel1: '地址信息',
......@@ -338,6 +339,10 @@ export default {
tickersymbol: '股票代号',
customertypecode: '关系类型',
defaultpricelevelname: '价目表',
industrycode1: '行业',
sic1: '行业编码',
ownershipcode1: '所有权',
description1: '说明',
industrycode: '行业',
sic: '行业编码',
ownershipcode: '所有权',
......
......@@ -61,6 +61,62 @@
<app-span name='defaultpricelevelname' :value="data.defaultpricelevelname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.grouppanel5.visible" :style="{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel5.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel5')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="true" >
<row>
<i-col v-show="detailsModel.industrycode1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='industrycode1' :itemRules="this.rules.industrycode1" class='' :caption="$t('entities.account.info_all_form.details.industrycode1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.industrycode1.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.industrycode1"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.industrycode1.disabled"
tag='Account__IndustryCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.sic1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='sic1' :itemRules="this.rules.sic1" class='' :caption="$t('entities.account.info_all_form.details.sic1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sic1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.sic1" @enter="onEnter($event)" unit="" :disabled="detailsModel.sic1.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.ownershipcode1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='ownershipcode1' :itemRules="this.rules.ownershipcode1" class='' :caption="$t('entities.account.info_all_form.details.ownershipcode1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownershipcode1.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.ownershipcode1"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ownershipcode1.disabled"
tag='Account__OwnershipCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.description1.visible" :style="{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='description1' :itemRules="this.rules.description1" class='' :caption="$t('entities.account.info_all_form.details.description1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.description1" @enter="onEnter($event)" unit="" :disabled="detailsModel.description1.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
......@@ -702,6 +758,10 @@ export default class Info_AllBase extends Vue implements ControlInterface {
tickersymbol: null,
customertypecode: null,
defaultpricelevelname: null,
industrycode1: null,
sic1: null,
ownershipcode1: null,
description1: null,
industrycode: null,
sic: null,
ownershipcode: null,
......@@ -863,6 +923,30 @@ export default class Info_AllBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'blur' },
],
industrycode1: [
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '行业 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '行业 值不能为空', trigger: 'blur' },
],
sic1: [
{ type: 'string', message: '行业编码 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '行业编码 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '行业编码 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '行业编码 值不能为空', trigger: 'blur' },
],
ownershipcode1: [
{ type: 'string', message: '所有权 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '所有权 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '所有权 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '所有权 值不能为空', trigger: 'blur' },
],
description1: [
{ type: 'string', message: '说明 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '说明 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '说明 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '说明 值不能为空', trigger: 'blur' },
],
industrycode: [
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'blur' },
......@@ -1010,6 +1094,8 @@ export default class Info_AllBase extends Vue implements ControlInterface {
* @memberof Info_All
*/
public detailsModel: any = {
grouppanel5: new FormGroupPanelModel({ caption: '简介', detailType: 'GROUPPANEL', name: 'grouppanel5', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [] } })
,
group1: new FormGroupPanelModel({ caption: '账户信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '编辑_账户信息', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [{ name: 'group1_uc040f39', caption: '编辑', uiactiontag: 'edit_accountinfo', icon: 'fa fa-pencil',isShowCaption:false,isShowIcon:true }] } })
,
grouppanel3: new FormGroupPanelModel({ caption: '简介', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '编辑_简介信息', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [{ name: 'grouppanel3_uc061117', caption: '编辑', uiactiontag: 'edit_introduction', icon: 'fa fa-pencil',isShowCaption:false,isShowIcon:true }] } })
......@@ -1055,6 +1141,14 @@ export default class Info_AllBase extends Vue implements ControlInterface {
customertypecode: new FormItemModel({ caption: '关系类型', detailType: 'FORMITEM', name: 'customertypecode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
defaultpricelevelname: new FormItemModel({ caption: '价目表', detailType: 'FORMITEM', name: 'defaultpricelevelname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
industrycode1: new FormItemModel({ caption: '行业', detailType: 'FORMITEM', name: 'industrycode1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
sic1: new FormItemModel({ caption: '行业编码', detailType: 'FORMITEM', name: 'sic1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
ownershipcode1: new FormItemModel({ caption: '所有权', detailType: 'FORMITEM', name: 'ownershipcode1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
description1: new FormItemModel({ caption: '说明', detailType: 'FORMITEM', name: 'description1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
industrycode: new FormItemModel({ caption: '行业', detailType: 'FORMITEM', name: 'industrycode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
......@@ -1296,6 +1390,54 @@ export default class Info_AllBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'defaultpricelevelname', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 industrycode1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.industrycode1')
onIndustrycode1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'industrycode1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 sic1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.sic1')
onSic1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'sic1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ownershipcode1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.ownershipcode1')
onOwnershipcode1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ownershipcode1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 description1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.description1')
onDescription1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'description1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 industrycode 值
*
......@@ -1648,6 +1790,11 @@ export default class Info_AllBase extends Vue implements ControlInterface {
......
......@@ -95,6 +95,26 @@ export default class Info_AllModel {
prop: 'defaultpricelevelname',
dataType: 'PICKUPTEXT',
},
{
name: 'industrycode1',
prop: 'industrycode',
dataType: 'SSCODELIST',
},
{
name: 'sic1',
prop: 'sic',
dataType: 'TEXT',
},
{
name: 'ownershipcode1',
prop: 'ownershipcode',
dataType: 'SSCODELIST',
},
{
name: 'description1',
prop: 'description',
dataType: 'TEXT',
},
{
name: 'industrycode',
prop: 'industrycode',
......
......@@ -4514,7 +4514,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-account-292-54">
<changeSet author="a_LAB01_e85d8801c" id="tab-account-295-54">
<createTable tableName="ACCOUNT">
<column name="ADDRESS1_PRIMARYCONTACTNAME" remarks="" type="VARCHAR(100)">
</column>
......@@ -11135,31 +11135,31 @@
<addForeignKeyConstraint baseColumnNames="METRICID" baseTableName="GOAL" constraintName="DER1N_GOAL__METRIC__METRICID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="METRICID" referencedTableName="METRIC" validate="true"/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-255">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-255">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__ACCOUNT__PARENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-256">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-256">
<addForeignKeyConstraint baseColumnNames="PRIMARYCONTACTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__CONTACT__PRIMAR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-257">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-257">
<addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__EQUIPMENT__PREF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EQUIPMENTID" referencedTableName="EQUIPMENT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-258">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-258">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__LEAD__ORIGINATI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-259">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-259">
<addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__PRICELEVEL__DEF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-260">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-260">
<addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SERVICE__PREFER" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SERVICEID" referencedTableName="SERVICE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-261">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-261">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-262">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-262">
<addForeignKeyConstraint baseColumnNames="TERRITORYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TERRITORY__TERR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TERRITORYID" referencedTableName="TERRITORY" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-292-263">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-295-263">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册