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

chitanda 发布系统代码

上级 10de07d8
...@@ -33,6 +33,7 @@ export class ExpViewBase extends ViewBase { ...@@ -33,6 +33,7 @@ export class ExpViewBase extends ViewBase {
} }
const { data } = response; const { data } = response;
if (data && data[this.appDeMajor]) { if (data && data[this.appDeMajor]) {
data[this.appDeName] = data[this.appDeKey];
this.$appService.contextStore.setContextData(this.context, this.appDeName, { data }); this.$appService.contextStore.setContextData(this.context, this.appDeName, { data });
Object.assign(this.model, { dataInfo: data[this.appDeMajor] }); Object.assign(this.model, { dataInfo: data[this.appDeMajor] });
if (this.$route) { if (this.$route) {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.edit_datapanel_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.edit_datapanel_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row> <row>
<i-col v-show="detailsModel.industrycode.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.industrycode.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='industrycode' :itemRules="this.rules.industrycode" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.industrycode')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.industrycode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='industrycode' :itemRules="this.rules.industrycode" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.industrycode')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.industrycode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <dropdown-list
v-model="data.industrycode" v-model="data.industrycode"
...@@ -24,25 +24,25 @@ ...@@ -24,25 +24,25 @@
</i-col> </i-col>
<i-col v-show="detailsModel.telephone1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.telephone1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box> <input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.revenue.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.revenue.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='revenue' :itemRules="this.rules.revenue" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.revenue')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.revenue.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='revenue' :itemRules="this.rules.revenue" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.revenue')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.revenue.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.revenue" @enter="onEnter($event)" unit="" :disabled="detailsModel.revenue.disabled" type='number' style=""></input-box> <input-box v-model="data.revenue" @enter="onEnter($event)" unit="" :disabled="detailsModel.revenue.disabled" type='number' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.numberofemployees.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.numberofemployees.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='numberofemployees' :itemRules="this.rules.numberofemployees" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.numberofemployees')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.numberofemployees.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='numberofemployees' :itemRules="this.rules.numberofemployees" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.numberofemployees')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.numberofemployees.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.numberofemployees" @enter="onEnter($event)" unit="" :disabled="detailsModel.numberofemployees.disabled" type='number' style=""></input-box> <input-box v-model="data.numberofemployees" @enter="onEnter($event)" unit="" :disabled="detailsModel.numberofemployees.disabled" type='number' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.statuscode.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.statuscode.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <dropdown-list
v-model="data.statuscode" v-model="data.statuscode"
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</i-col> </i-col>
<i-col v-show="detailsModel.owneridyominame.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.owneridyominame.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='owneridyominame' :itemRules="this.rules.owneridyominame" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.owneridyominame')" uiStyle="DEFAULT" :labelWidth="100" :isShowCaption="true" :error="detailsModel.owneridyominame.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='owneridyominame' :itemRules="this.rules.owneridyominame" class='datapanel-style' labelStyle="datapanel-label-style" :caption="$t('entities.account.edit_datapanel_form.details.owneridyominame')" uiStyle="DEFAULT" :labelWidth="70" :isShowCaption="true" :error="detailsModel.owneridyominame.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.owneridyominame" @enter="onEnter($event)" unit="" :disabled="detailsModel.owneridyominame.disabled" type='text' style=""></input-box> <input-box v-model="data.owneridyominame" @enter="onEnter($event)" unit="" :disabled="detailsModel.owneridyominame.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册