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

xignzi006 发布系统代码

上级 ff5589dd
<studio-view-style2 viewName="competitorproductcompprogridview" viewTitle="竞争对手产品信息" class='degridview competitor-product-comp-pro-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
......
......@@ -19,6 +19,19 @@ export class ExpViewBase extends ViewBase {
*/
protected appEntityService: any;
/**
* 视图挂载完毕
*
* @protected
* @memberof ExpViewBase
*/
protected viewMounted(): void {
super.viewMounted();
this.accLocalTags.push(this.$acc.commandLocal(() => {
this.loadModel();
}, 'update', this.appDeName.toUpperCase()));
}
/**
* 加载模型
*
......@@ -39,7 +52,7 @@ export class ExpViewBase extends ViewBase {
if (this.$route) {
this.$route.meta.info = this.model.dataInfo;
}
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfCaption)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
this.$emit(events.view.MODEL_LOADED, data);
}
......
......@@ -54,6 +54,15 @@ export class ViewBase extends Vue {
*/
protected model: any = {};
/**
* 在消息中心订阅的本地消息实例标识
*
* @protected
* @type {string[]}
* @memberof ViewBase
*/
protected accLocalTags: string[] = [];
/**
* 数据变化
*
......@@ -395,6 +404,9 @@ export class ViewBase extends Vue {
}
}
}
this.accLocalTags.forEach(((str: string) => {
this.$acc.unsubscribeLocal(str);
}));
}
/**
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.form-btn-noborder-transparent {
background-color:rgba(255, 0, 0, 0);border-style:none;margin:0px 10px 0px 0px
}
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
......
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;text-align:left
}
.sss{
height:25px;
}
.form-btn-noborder-transparent {
background-color:rgba(255, 0, 0, 0);border-style:none;margin:0px 10px 0px 0px
}
......
......@@ -6465,7 +6465,7 @@
<!--输出实体[MULTIPICKDATA]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-multipickdata-61-78">
<changeSet author="a_LAB01_e85d8801c" id="tab-multipickdata-68-78">
<createTable tableName="MULTIPICKDATA">
<column name="PICKDATAID" remarks="" type="VARCHAR(60)">
<constraints primaryKey="true" primaryKeyName="PK_MULTIPICKDATA_PICKDATAID"/>
......@@ -11193,10 +11193,10 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="COMPETITOR" constraintName="DER1N_COMPETITOR__TRANSACTIONC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[COMPETITORPRODUCT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorproduct-26-190">
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorproduct-27-190">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="RELATIONSHIPS" constraintName="DER1N_COMPETITORPRODUCT_COMPET" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="COMPETITORID" referencedTableName="COMPETITOR" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorproduct-26-191">
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorproduct-27-191">
<addForeignKeyConstraint baseColumnNames="ENTITY2ID" baseTableName="RELATIONSHIPS" constraintName="DER1N_COMPETITORPRODUCT_PRODUC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRODUCTID" referencedTableName="PRODUCT" validate="true"/>
</changeSet>
<!--输出实体[COMPETITORSALESLITERATURE]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册