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

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 f1a9678d
...@@ -251,6 +251,7 @@ export default { ...@@ -251,6 +251,7 @@ export default {
menuitem128: "表格导航", menuitem128: "表格导航",
menuitem129: "选项操作", menuitem129: "选项操作",
menuitem130: "选项操作视图", menuitem130: "选项操作视图",
menuitem131: "表格选项操作",
menuitem5: "视图", menuitem5: "视图",
menuitem9: "列表视图", menuitem9: "列表视图",
menuitem19: "常规表格视图", menuitem19: "常规表格视图",
......
...@@ -251,6 +251,7 @@ export default { ...@@ -251,6 +251,7 @@ export default {
menuitem128: "表格导航", menuitem128: "表格导航",
menuitem129: "选项操作", menuitem129: "选项操作",
menuitem130: "选项操作视图", menuitem130: "选项操作视图",
menuitem131: "表格选项操作",
menuitem5: "视图", menuitem5: "视图",
menuitem9: "列表视图", menuitem9: "列表视图",
menuitem19: "常规表格视图", menuitem19: "常规表格视图",
......
...@@ -900,6 +900,8 @@ export default { ...@@ -900,6 +900,8 @@ export default {
}, },
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
...@@ -1174,8 +1176,6 @@ export default { ...@@ -1174,8 +1176,6 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -899,6 +899,8 @@ export default { ...@@ -899,6 +899,8 @@ export default {
}, },
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
...@@ -1173,8 +1175,6 @@ export default { ...@@ -1173,8 +1175,6 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -84,6 +84,8 @@ export default { ...@@ -84,6 +84,8 @@ export default {
unitprice: "单价", unitprice: "单价",
ibizorderdetailid: "订单明细标识", ibizorderdetailid: "订单明细标识",
orderuid: "订单编号", orderuid: "订单编号",
ibizorderid: "订单标识",
ibizordername: "订单名称",
ibizuniproductid: "统一产品标识", ibizuniproductid: "统一产品标识",
}, },
uiactions: { uiactions: {
......
...@@ -83,6 +83,8 @@ export default { ...@@ -83,6 +83,8 @@ export default {
unitprice: "单价", unitprice: "单价",
ibizorderdetailid: "订单明细标识", ibizorderdetailid: "订单明细标识",
orderuid: "订单编号", orderuid: "订单编号",
ibizorderid: "订单标识",
ibizordername: "订单名称",
ibizuniproductid: "统一产品标识", ibizuniproductid: "统一产品标识",
}, },
uiactions: { uiactions: {
......
...@@ -391,6 +391,14 @@ export default { ...@@ -391,6 +391,14 @@ export default {
}, },
}, },
sf6editviewtoolbar_toolbar: { sf6editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
}, },
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
......
...@@ -390,6 +390,14 @@ export default { ...@@ -390,6 +390,14 @@ export default {
}, },
}, },
sf6editviewtoolbar_toolbar: { sf6editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
}, },
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
......
...@@ -1625,6 +1625,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -1625,6 +1625,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc47', appfunctag: 'AppFunc47',
resourcetag: '', resourcetag: '',
},
{
id: '2F22C091-0663-4F14-8E63-EFE81E803907',
name: 'menuitem131',
text: '表格选项操作',
type: 'MENUITEM',
counterid: '',
tooltip: '表格选项操作',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc48',
resourcetag: '',
}, },
], ],
}, },
......
.ibizbookusr6-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr6GridViewBase from './ibizbookusr6-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/internal-func-grid/internal-func-grid.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr6GridView extends IBIZBOOKUsr6GridViewBase {
}
</script>
\ No newline at end of file
...@@ -23,4 +23,5 @@ ...@@ -23,4 +23,5 @@
// this is less // this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
...@@ -137,6 +137,7 @@ export const PageComponents = { ...@@ -137,6 +137,7 @@ export const PageComponents = {
Vue.component('ibizsample0017-f20-edit-view', () => import('@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue')); Vue.component('ibizsample0017-f20-edit-view', () => import('@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue'));
Vue.component('ibizorder-odsp-w-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w-wfgrid-view/ibizorder-odsp-w-wfgrid-view.vue')); Vue.component('ibizorder-odsp-w-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w-wfgrid-view/ibizorder-odsp-w-wfgrid-view.vue'));
Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue')); Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'));
Vue.component('ibizbookusr6-grid-view', () => import('@pages/sample/ibizbookusr6-grid-view/ibizbookusr6-grid-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue')); Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
Vue.component('ibizsample0002-mpickup-view', () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue')); Vue.component('ibizsample0002-mpickup-view', () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'));
Vue.component('ibizorder-sf7-edit-view', () => import('@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue')); Vue.component('ibizorder-sf7-edit-view', () => import('@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'));
......
...@@ -2058,6 +2058,20 @@ const router = new Router({ ...@@ -2058,6 +2058,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'), component: () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr6gridview/:usr6gridview?',
meta: {
caption: 'entities.ibizbook.views.usr6gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6gridview', parameterName: 'usr6gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-grid-view/ibizbookusr6-grid-view.vue'),
},
{ {
path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?', path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?',
meta: { meta: {
...@@ -3948,6 +3962,19 @@ const router = new Router({ ...@@ -3948,6 +3962,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-odsp-w-wfgrid-view/ibizorder-odsp-w-wfgrid-view.vue'), component: () => import('@pages/sample/ibizorder-odsp-w-wfgrid-view/ibizorder-odsp-w-wfgrid-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6gridview/:usr6gridview?',
meta: {
caption: 'entities.ibizbook.views.usr6gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6gridview', parameterName: 'usr6gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-grid-view/ibizbookusr6-grid-view.vue'),
},
{ {
path: '/ibizorderdetails/:ibizorderdetail?/editview/:editview?', path: '/ibizorderdetails/:ibizorderdetail?/editview/:editview?',
meta: { meta: {
......
...@@ -245,6 +245,7 @@ export const viewstate: any = { ...@@ -245,6 +245,7 @@ export const viewstate: any = {
'e14e0fa8f3def77ebbcf18f1f39c0225', 'e14e0fa8f3def77ebbcf18f1f39c0225',
'd3255261c8522c660c1000cd0a61c3b0', 'd3255261c8522c660c1000cd0a61c3b0',
'5ccbd78fe47300a160915d6398b59604', '5ccbd78fe47300a160915d6398b59604',
'bdb15578e295954bc2ecd16771c3e200',
'5f21463b9d808170d4023d8402cc6e9e', '5f21463b9d808170d4023d8402cc6e9e',
'51dc78a9ed0e9cd37d46bec7dbc7d172', '51dc78a9ed0e9cd37d46bec7dbc7d172',
'd9f9f0dede285235e3d0ad5101188d1e', 'd9f9f0dede285235e3d0ad5101188d1e',
...@@ -621,6 +622,7 @@ export const viewstate: any = { ...@@ -621,6 +622,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'17770b42972334457baccfe91828bd46',
'ec6cfd868c34a036250a813b24068519', 'ec6cfd868c34a036250a813b24068519',
], ],
}, },
...@@ -1269,6 +1271,17 @@ export const viewstate: any = { ...@@ -1269,6 +1271,17 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'bdb15578e295954bc2ecd16771c3e200',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr6GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
'efbe72fe207c5bb7ada28b278a9ea920',
],
},
{ {
viewtag: 'c153da73d5d5b62475f4213de51a25e0', viewtag: 'c153da73d5d5b62475f4213de51a25e0',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -770,6 +770,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -770,6 +770,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc24': case 'AppFunc24':
this.clickAppFunc24(item); this.clickAppFunc24(item);
return; return;
case 'AppFunc48':
this.clickAppFunc48(item);
return;
case 'AppFunc45': case 'AppFunc45':
this.clickAppFunc45(item); this.clickAppFunc45(item);
return; return;
...@@ -2759,6 +2762,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -2759,6 +2762,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc48(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6gridview', parameterName: 'usr6gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 功能名称 * 功能名称
* *
......
...@@ -1717,6 +1717,25 @@ export default class MainMenuModel { ...@@ -1717,6 +1717,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc47', appfunctag: 'AppFunc47',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem130', authtag:'Web-MainMenu-menuitem130',
},
{
id: '2F22C091-0663-4F14-8E63-EFE81E803907',
name: 'menuitem131',
text: '表格选项操作',
type: 'MENUITEM',
counterid: '',
tooltip: '表格选项操作',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc48',
resourcetag: '',
authtag:'Web-MainMenu-menuitem131',
}, },
], ],
}, },
......
...@@ -114,6 +114,34 @@ ...@@ -114,6 +114,34 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.ibizordername.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item name='ibizordername' :itemRules="this.rules().ibizordername" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.ibizordername')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizordername.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ibizordername.disabled"
name='ibizordername'
deMajorField='ibizordername'
deKeyField='ibizorder'
:service="service"
:acParams="{ serviceName: 'IBIZOrderService', interfaceName: 'FetchDefault'}"
valueitem='ibizorderid'
:value="data.ibizordername"
editortype=""
:pickupView="{ viewname: 'ibizorder-pickup-view', title: $t('entities.ibizorder.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col> </i-col>
</row> </row>
...@@ -523,6 +551,8 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -523,6 +551,8 @@ export default class UI_0007Base extends Vue implements ControlInterface {
unitprice: null, unitprice: null,
ibizorderdetailid: null, ibizorderdetailid: null,
orderuid: null, orderuid: null,
ibizorderid: null,
ibizordername: null,
ibizuniproductid: null, ibizuniproductid: null,
ibizorderdetail:null, ibizorderdetail:null,
}; };
...@@ -603,6 +633,10 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -603,6 +633,10 @@ export default class UI_0007Base extends Vue implements ControlInterface {
{ required: this.detailsModel.orderuid.required, type: 'string', message: '订单编号 值不能为空', trigger: 'change' }, { required: this.detailsModel.orderuid.required, type: 'string', message: '订单编号 值不能为空', trigger: 'change' },
{ required: this.detailsModel.orderuid.required, type: 'string', message: '订单编号 值不能为空', trigger: 'blur' }, { required: this.detailsModel.orderuid.required, type: 'string', message: '订单编号 值不能为空', trigger: 'blur' },
], ],
ibizordername: [
{ required: this.detailsModel.ibizordername.required, type: 'string', message: '订单名称 值不能为空', trigger: 'change' },
{ required: this.detailsModel.ibizordername.required, type: 'string', message: '订单名称 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -743,6 +777,10 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -743,6 +777,10 @@ export default class UI_0007Base extends Vue implements ControlInterface {
ibizorderdetailid: new FormItemModel({ caption: '订单明细标识', detailType: 'FORMITEM', name: 'ibizorderdetailid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizorderdetailid: new FormItemModel({ caption: '订单明细标识', detailType: 'FORMITEM', name: 'ibizorderdetailid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
orderuid: new FormItemModel({ caption: '订单编号', detailType: 'FORMITEM', name: 'orderuid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) orderuid: new FormItemModel({ caption: '订单编号', detailType: 'FORMITEM', name: 'orderuid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizorderid: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizorderid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizordername: new FormItemModel({ caption: '订单名称', detailType: 'FORMITEM', name: 'ibizordername', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizuniproductid: new FormItemModel({ caption: '统一产品标识', detailType: 'FORMITEM', name: 'ibizuniproductid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizuniproductid: new FormItemModel({ caption: '统一产品标识', detailType: 'FORMITEM', name: 'ibizuniproductid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -940,6 +978,30 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -940,6 +978,30 @@ export default class UI_0007Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'orderuid', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'orderuid', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 ibizorderid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@Watch('data.ibizorderid')
onIbizorderidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ibizorderid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizordername 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@Watch('data.ibizordername')
onIbizordernameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ibizordername', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizuniproductid 值 * 监控表单属性 ibizuniproductid 值
* *
...@@ -1026,6 +1088,8 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -1026,6 +1088,8 @@ export default class UI_0007Base extends Vue implements ControlInterface {
} }
......
...@@ -95,6 +95,16 @@ export default class UI_0007Model { ...@@ -95,6 +95,16 @@ export default class UI_0007Model {
prop: 'orderuid', prop: 'orderuid',
dataType: 'PICKUPDATA', dataType: 'PICKUPDATA',
}, },
{
name: 'ibizorderid',
prop: 'ibizorderid',
dataType: 'PICKUP',
},
{
name: 'ibizordername',
prop: 'ibizordername',
dataType: 'PICKUPTEXT',
},
{ {
name: 'ibizuniproductid', name: 'ibizuniproductid',
prop: 'ibizuniproductid', prop: 'ibizuniproductid',
......
...@@ -3,6 +3,7 @@ import ControlService from '@/widgets/control-service'; ...@@ -3,6 +3,7 @@ import ControlService from '@/widgets/control-service';
import IBIZOrderDetailService from '@/service/ibizorder-detail/ibizorder-detail-service'; import IBIZOrderDetailService from '@/service/ibizorder-detail/ibizorder-detail-service';
import UI_0007Model from './ui-0007-form-model'; import UI_0007Model from './ui-0007-form-model';
import IBIZUNIProductService from '@/service/ibizuniproduct/ibizuniproduct-service'; import IBIZUNIProductService from '@/service/ibizuniproduct/ibizuniproduct-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
/** /**
...@@ -50,6 +51,14 @@ export default class UI_0007Service extends ControlService { ...@@ -50,6 +51,14 @@ export default class UI_0007Service extends ControlService {
*/ */
public ibizuniproductService: IBIZUNIProductService = new IBIZUNIProductService(); public ibizuniproductService: IBIZUNIProductService = new IBIZUNIProductService();
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof UI_0007Service
*/
public ibizorderService: IBIZOrderService = new IBIZOrderService();
/** /**
* 远端数据 * 远端数据
* *
...@@ -102,6 +111,9 @@ export default class UI_0007Service extends ControlService { ...@@ -102,6 +111,9 @@ export default class UI_0007Service extends ControlService {
if (Object.is(serviceName, 'IBIZUNIProductService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'IBIZUNIProductService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.ibizuniproductService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'ibizuniproductid', 'ibizuniproduct'); return this.doItems(this.ibizuniproductService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'ibizuniproductid', 'ibizuniproduct');
} }
if (Object.is(serviceName, 'IBIZOrderService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.ibizorderService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'ibizorderid', 'ibizorder');
}
return Promise.reject([]) return Promise.reject([])
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册