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

xignzi006 发布系统代码,系统代码表处理

上级 e0f46b3f
...@@ -222,8 +222,9 @@ export default { ...@@ -222,8 +222,9 @@ export default {
main_grid: { main_grid: {
columns: { columns: {
quotename: "报价名称", quotename: "报价名称",
updateman: "更新人", totalamount: "总金额",
updatedate: "更新时间", customerid: "潜在客户",
statecode: "状态",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -221,8 +221,9 @@ export default { ...@@ -221,8 +221,9 @@ export default {
main_grid: { main_grid: {
columns: { columns: {
quotename: '报价名称', quotename: '报价名称',
updateman: '更新人', totalamount: '总金额',
updatedate: '更新时间', customerid: '潜在客户',
statecode: '状态',
}, },
uiactions: { uiactions: {
}, },
......
...@@ -543,28 +543,16 @@ export default class AccountGridViewBase extends GridViewBase { ...@@ -543,28 +543,16 @@ export default class AccountGridViewBase extends GridViewBase {
const deResParameters: any[] = []; const deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'editview', parameterName: 'editview' },
]; ];
const _this: any = this; const _this: any = this;
const openDrawer = (view: any, data: any) => { const openIndexViewTab = (data: any) => {
let container: Subject<any> = this.$appdrawer.openDrawer(view, tempContext, data); const _data: any = { w: (new Date().getTime()) };
container.subscribe((result: any) => { Object.assign(_data, data);
if (!result || !Object.is(result.ret, 'OK')) { const routePath = this.$viewTool.buildUpRoutePath(this.$route, tempContext, deResParameters, parameters, args, _data);
return; this.$router.push(routePath);
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
} }
const view: any = { openIndexViewTab(data);
viewname: 'account-edit-view',
height: 0,
width: 0,
title: this.$t('entities.account.views.editview.title'),
placement: 'DRAWER_TOP',
};
openDrawer(view, data);
} }
......
...@@ -273,32 +273,17 @@ export default class AccountUIServiceBase extends UIService { ...@@ -273,32 +273,17 @@ export default class AccountUIServiceBase extends UIService {
let deResParameters: any[] = []; let deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'editview', parameterName: 'editview' },
]; ];
const openDrawer = (view: any, data: any) => { const openIndexViewTab = (data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data); const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
container.subscribe((result: any) => { actionContext.$router.push(routePath);
if (!result || !Object.is(result.ret, 'OK')) { if (xData && xData.refresh && xData.refresh instanceof Function) {
return; xData.refresh(args);
}
const _this: any = actionContext;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
if(window.opener){
window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress);
window.close();
}
return result.datas;
});
} }
const view: any = { return null;
viewname: 'account-edit-view', }
height: 0, openIndexViewTab(data);
width: 0,
title: actionContext.$t('entities.account.views.editview.title'),
placement: 'DRAWER_TOP',
};
openDrawer(view, data);
} }
/** /**
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.n_statecode_eq.disabled" :disabled="detailsModel.n_statecode_eq.disabled"
tag='State' tag='Account__StateCode'
codelistType='STATIC' codelistType='STATIC'
placeholder='请选择...' style=""> placeholder='请选择...' style="">
</dropdown-list> </dropdown-list>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statecode" tag='State' codelistType='STATIC' ></codelist> <codelist :value="row.statecode" tag='Activitypointer__StateCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -1036,7 +1036,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1036,7 +1036,7 @@ export default class MainBase extends Vue implements ControlInterface {
}, },
{ {
name: 'statecode', name: 'statecode',
srfkey: 'State', srfkey: 'Activitypointer__StateCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.statuscode.disabled" :disabled="detailsModel.statuscode.disabled"
tag='Status' tag='Campaign__StatusCode'
codelistType='STATIC' codelistType='STATIC'
placeholder='请选择...' style=""> placeholder='请选择...' style="">
</dropdown-list> </dropdown-list>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div v-show="detailsModel.statuscode.visible" :style="{}"> <div v-show="detailsModel.statuscode.visible" :style="{}">
<app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='' :caption="$t('entities.campaign.info_head_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="BOTTOM"> <app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='' :caption="$t('entities.campaign.info_head_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="BOTTOM">
<app-span name='statuscode' :value="data.statuscode" tag='Status' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <app-span name='statuscode' :value="data.statuscode" tag='Campaign__StatusCode' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</div> </div>
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statuscode" tag='Status' codelistType='STATIC' ></codelist> <codelist :value="row.statuscode" tag='Campaign__StatusCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -1082,7 +1082,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1082,7 +1082,7 @@ export default class MainBase extends Vue implements ControlInterface {
}, },
{ {
name: 'statuscode', name: 'statuscode',
srfkey: 'Status', srfkey: 'Campaign__StatusCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.n_statecode_eq.disabled" :disabled="detailsModel.n_statecode_eq.disabled"
tag='State' tag='Contact__StateCode'
codelistType='STATIC' codelistType='STATIC'
placeholder='请选择...' style=""> placeholder='请选择...' style="">
</dropdown-list> </dropdown-list>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.n_statecode_eq.disabled" :disabled="detailsModel.n_statecode_eq.disabled"
tag='State' tag='Lead__StateCode'
codelistType='STATIC' codelistType='STATIC'
placeholder='请选择...' style=""> placeholder='请选择...' style="">
</dropdown-list> </dropdown-list>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statuscode" tag='Status' codelistType='STATIC' ></codelist> <codelist :value="row.statuscode" tag='Lead__StatusCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -934,7 +934,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -934,7 +934,7 @@ export default class MainBase extends Vue implements ControlInterface {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'statuscode', name: 'statuscode',
srfkey: 'Status', srfkey: 'Lead__StatusCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statecode" tag='State' codelistType='STATIC' ></codelist> <codelist :value="row.statecode" tag='Account__StateCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -967,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -967,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'statecode', name: 'statecode',
srfkey: 'State', srfkey: 'Account__StateCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statecode" tag='State' codelistType='STATIC' ></codelist> <codelist :value="row.statecode" tag='Contact__StateCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -951,7 +951,7 @@ export default class InnerBase extends Vue implements ControlInterface { ...@@ -951,7 +951,7 @@ export default class InnerBase extends Vue implements ControlInterface {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'statecode', name: 'statecode',
srfkey: 'State', srfkey: 'Contact__StateCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statecode" tag='State' codelistType='STATIC' ></codelist> <codelist :value="row.statecode" tag='Contact__StateCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -986,7 +986,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -986,7 +986,7 @@ export default class MainBase extends Vue implements ControlInterface {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'statecode', name: 'statecode',
srfkey: 'State', srfkey: 'Contact__StateCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.statuscode" tag='Status' codelistType='STATIC' ></codelist> <codelist :value="row.statuscode" tag='Lead__StatusCode' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -967,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -967,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'statuscode', name: 'statuscode',
srfkey: 'Status', srfkey: 'Lead__StatusCode',
codelistType : 'STATIC', codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ }' :localParam ='{ }'
:disabled="detailsModel.statecode.disabled" :disabled="detailsModel.statecode.disabled"
tag='State' tag='Quote__StateCode'
codelistType='STATIC' codelistType='STATIC'
placeholder='请选择...' style=""> placeholder='请选择...' style="">
</dropdown-list> </dropdown-list>
......
...@@ -27,8 +27,13 @@ export default class MainModel { ...@@ -27,8 +27,13 @@ export default class MainModel {
}else{ }else{
return [ return [
{ {
name: 'updateman', name: 'statecode',
prop: 'updateman', prop: 'statecode',
dataType: 'NSCODELIST',
},
{
name: 'customerid',
prop: 'customerid',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
...@@ -56,11 +61,6 @@ export default class MainModel { ...@@ -56,11 +61,6 @@ export default class MainModel {
prop: 'slaid', prop: 'slaid',
dataType: 'PICKUP', dataType: 'PICKUP',
}, },
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'pricelevelid', name: 'pricelevelid',
prop: 'pricelevelid', prop: 'pricelevelid',
...@@ -81,6 +81,11 @@ export default class MainModel { ...@@ -81,6 +81,11 @@ export default class MainModel {
prop: 'quoteid', prop: 'quoteid',
dataType: 'GUID', dataType: 'GUID',
}, },
{
name: 'totalamount',
prop: 'totalamount',
dataType: 'BIGDECIMAL',
},
{ {
name: 'quote', name: 'quote',
prop: 'quoteid', prop: 'quoteid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册