Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
b217ac39
提交
b217ac39
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
6c69388b
变更
24
显示空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
1452 行增加
和
190 行删除
+1452
-190
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+0
-54
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+0
-54
ibizsample0001_en_US.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
+2
-0
ibizsample0001_zh_CN.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
+2
-0
ibizorder-details.ts
...eb/src/mock/entity/ibizorder-details/ibizorder-details.ts
+773
-31
ibizorder-detail-f6-grid-view-base.vue
...etail-f6-grid-view/ibizorder-detail-f6-grid-view-base.vue
+12
-2
ibizorder-detail-grid-view-base.vue
...rder-detail-grid-view/ibizorder-detail-grid-view-base.vue
+12
-2
ibizorder-detail-sgrid-view-base.vue
...er-detail-sgrid-view/ibizorder-detail-sgrid-view-base.vue
+12
-2
ibizorder-detail-sgrid-view9-base.vue
...-detail-sgrid-view9/ibizorder-detail-sgrid-view9-base.vue
+12
-2
router.ts
app_Web/src/pages/sample/index/router.ts
+377
-0
ibizorder-detail-service-base.ts
...service/ibizorder-detail/ibizorder-detail-service-base.ts
+165
-0
ibizorder-service-base.ts
app_Web/src/service/ibizorder/ibizorder-service-base.ts
+1
-0
main-multieditviewpanel-base.vue
.../main-multieditviewpanel/main-multieditviewpanel-base.vue
+1
-0
data-0024-form-base.vue
.../widgets/ibizorder/data-0024-form/data-0024-form-base.vue
+1
-0
logic-0007-form-base.vue
...idgets/ibizorder/logic-0007-form/logic-0007-form-base.vue
+1
-0
main-form-base.vue
app_Web/src/widgets/ibizorder/main-form/main-form-base.vue
+1
-0
ui-0007-form-base.vue
.../src/widgets/ibizorder/ui-0007-form/ui-0007-form-base.vue
+1
-0
usr-dashboard-base.vue
...rc/widgets/ibizorder/usr-dashboard/usr-dashboard-base.vue
+1
-19
usr-dashboard.vue
...Web/src/widgets/ibizorder/usr-dashboard/usr-dashboard.vue
+0
-2
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+66
-0
main5-form-model.ts
...src/widgets/ibizsample0001/main5-form/main5-form-model.ts
+10
-0
config.xml
config.xml
+0
-5
Dockerfile
...provider/demo-provider-demoapi/src/main/docker/Dockerfile
+1
-1
demo-provider-demoapi.yaml
...ovider-demoapi/src/main/docker/demo-provider-demoapi.yaml
+1
-16
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
b217ac39
...
...
@@ -1631,60 +1631,6 @@ export default {
tip
:
"Print"
,
},
},
dashboardviewdashboard_sysportlet4_toolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
deuiaction2
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
deuiaction1
:
{
caption
:
"导入"
,
tip
:
"导入"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"Export Data Model"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
odsp_d20_wfgridviewtoolbar_toolbar
:
{
tbitem26
:
{
caption
:
"New"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
b217ac39
...
...
@@ -1630,60 +1630,6 @@ export default {
tip
:
"打印"
,
},
},
dashboardviewdashboard_sysportlet4_toolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction2
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
deuiaction1
:
{
caption
:
"导入"
,
tip
:
"导入"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"导出数据模型"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
odsp_d20_wfgridviewtoolbar_toolbar
:
{
tbitem26
:
{
caption
:
"新建"
,
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
浏览文件 @
b217ac39
...
...
@@ -278,6 +278,8 @@ export default {
address
:
"地图定位address"
,
longitude
:
"地图定位longitude"
,
latitude
:
"地图定位latitude"
,
formitem14
:
"树分组选"
,
formitem16
:
"树选择"
,
formitem1
:
"颜色选择"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识"
,
},
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
浏览文件 @
b217ac39
...
...
@@ -277,6 +277,8 @@ export default {
address
:
"地图定位address"
,
longitude
:
"地图定位longitude"
,
latitude
:
"地图定位latitude"
,
formitem14
:
"树分组选"
,
formitem16
:
"树选择"
,
formitem1
:
"颜色选择"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识"
,
},
...
...
app_Web/src/mock/entity/ibizorder-details/ibizorder-details.ts
浏览文件 @
b217ac39
...
...
@@ -93,6 +93,35 @@ mock.onDelete(new RegExp(/^\/ibizorderdetails\/batch$/)).reply((config: any) =>
});
// Select
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
select$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Select"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
select$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
];
});
// Select
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
select$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Select"
);
...
...
@@ -120,8 +149,37 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/select$/)).
console
.
groupEnd
();
return
[
status
,
_items
];
});
// URI参数传递情况未实现
// URI参数传递情况未实现
// Create
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Create"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// Create
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Create"
);
...
...
@@ -148,6 +206,33 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})$/)).reply(
return
[
status
,
mockDatas
[
0
]];
});
// CreateTemp
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
createtemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CreateTemp"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
createtemp$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// CreateTemp
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
createtemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CreateTemp"
);
...
...
@@ -186,6 +271,33 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/createtem
return
[
status
,
data
];
});
// CreateTempMajor
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
createtempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CreateTempMajor"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
createtempmajor$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// CreateTempMajor
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
createtempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CreateTempMajor"
);
...
...
@@ -224,6 +336,33 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/createtem
return
[
status
,
data
];
});
// Update
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Update"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// Update
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Update"
);
...
...
@@ -262,6 +401,33 @@ mock.onPut(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})$/)).reply((
return
[
status
,
data
];
});
// UpdateTemp
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
updatetemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: UpdateTemp"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
updatetemp$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// UpdateTemp
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
updatetemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: UpdateTemp"
);
...
...
@@ -300,6 +466,33 @@ mock.onPut(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/updatetemp
return
[
status
,
data
];
});
// UpdateTempMajor
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
updatetempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: UpdateTempMajor"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
updatetempmajor$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// UpdateTempMajor
mock
.
onPut
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
updatetempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: UpdateTempMajor"
);
...
...
@@ -338,6 +531,29 @@ mock.onPut(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/updatetemp
return
[
status
,
data
];
});
// GetDraft
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
getdraft$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraft"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
// GetDraft
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// GetDraft
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
getdraft$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraft"
);
...
...
@@ -354,6 +570,23 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/getdraft$/)).reply((config: any) =>
return
[
status
,
{}];
});
// GetDraftTemp
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
getdrafttemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraftTemp"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
// GetDraftTemp
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// GetDraftTemp
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
getdrafttemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraftTemp"
);
...
...
@@ -370,16 +603,18 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/getdrafttemp$/)).reply((config: any)
return
[
status
,
{}];
});
// CheckKey
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorder
details
\/?([
a-zA-Z0-9
\-\;]{0
,35})\/
checkkey$/
)).
reply
((
config
:
any
)
=>
{
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorder
s
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1
,35})\/
checkkey$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CheckKey"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
checkkey$/
).
exec
(
config
.
url
);
const
paramArray
:
Array
<
any
>
=
[
'ibizorder
id'
,
'ibizorder
detailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorder
s
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorder
details
\/([
a-zA-Z0-9
\-\;]{1,35})\/
checkkey$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
...
...
@@ -389,35 +624,23 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/checkkey$
});
});
}
//let items = mockDatas ? mockDatas : [];
//let _items = items.find((item: any) => Object.is(item.ibizorderdetailid, tempValue.ibizorderdetailid));
let
data
=
JSON
.
parse
(
config
.
data
);
mockDatas
.
forEach
((
item
)
=>
{
if
(
item
[
'ibizorderdetailid'
]
==
tempValue
[
'ibizorderdetailid'
]
){
for
(
let
value
in
data
){
if
(
item
.
hasOwnProperty
(
value
)){
item
[
value
]
=
data
[
value
];
}
}
}
})
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
data
);
console
.
table
(
{}
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
data
];
return
[
status
,
{}
];
});
// C
ountMon
ey
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
c
ountmon
ey$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: C
ountMon
ey"
);
// C
heckK
ey
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
c
heckk
ey$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: C
heckK
ey"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
c
ountmon
ey$/
).
exec
(
config
.
url
);
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
c
heckk
ey$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
...
...
@@ -446,16 +669,17 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/countmone
return
[
status
,
data
];
});
// Save
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
save$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Save"
);
// CountMoney
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
countmoney$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CountMoney"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorder
details
\/([
a-zA-Z0-9
\-\;]{1,35})\/
save
$/
).
exec
(
config
.
url
);
const
paramArray
:
Array
<
any
>
=
[
'ibizorder
id'
,
'ibizorder
detailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorder
s
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
countmoney
$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
...
...
@@ -465,15 +689,107 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).
});
});
}
//let items = mockDatas ? mockDatas : [];
//let _items = items.find((item: any) => Object.is(item.ibizorderdetailid, tempValue.ibizorderdetailid));
let
data
=
JSON
.
parse
(
config
.
data
);
mockDatas
.
forEach
((
item
)
=>
{
if
(
item
[
'ibizorderdetailid'
]
==
tempValue
[
'ibizorderdetailid'
]
){
for
(
let
value
in
data
){
if
(
item
.
hasOwnProperty
(
value
)){
item
[
value
]
=
data
[
value
];
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// CountMoney
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
countmoney$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: CountMoney"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
countmoney$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
//let items = mockDatas ? mockDatas : [];
//let _items = items.find((item: any) => Object.is(item.ibizorderdetailid, tempValue.ibizorderdetailid));
let
data
=
JSON
.
parse
(
config
.
data
);
mockDatas
.
forEach
((
item
)
=>
{
if
(
item
[
'ibizorderdetailid'
]
==
tempValue
[
'ibizorderdetailid'
]
){
for
(
let
value
in
data
){
if
(
item
.
hasOwnProperty
(
value
)){
item
[
value
]
=
data
[
value
];
}
}
}
})
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
data
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
data
];
});
// Save
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
save$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Save"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
save$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
({});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
{}];
});
// Save
mock
.
onPost
(
new
RegExp
(
/^
\/
ibizorderdetails
\/?([
a-zA-Z0-9
\-\;]{0,35})\/
save$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Save"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
save$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
//let items = mockDatas ? mockDatas : [];
//let _items = items.find((item: any) => Object.is(item.ibizorderdetailid, tempValue.ibizorderdetailid));
let
data
=
JSON
.
parse
(
config
.
data
);
mockDatas
.
forEach
((
item
)
=>
{
if
(
item
[
'ibizorderdetailid'
]
==
tempValue
[
'ibizorderdetailid'
]
){
for
(
let
value
in
data
){
if
(
item
.
hasOwnProperty
(
value
)){
item
[
value
]
=
data
[
value
];
}
}
}
})
...
...
@@ -484,6 +800,51 @@ mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).
return
[
status
,
data
];
});
// FetchCSMXDY
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchcsmxdy$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchCSMXDY"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
];
let
tempValue
:
any
=
{};
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchcsmxdy$/
).
exec
(
config
.
url
);
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
if
(
items
.
length
>
0
&&
paramArray
.
length
>
0
)
{
paramArray
.
forEach
((
paramkey
:
any
)
=>
{
if
(
tempValue
[
paramkey
]
&&
tempValue
[
paramkey
].
indexOf
(
";"
)
>
0
)
{
let
keysGrounp
:
Array
<
any
>
=
tempValue
[
paramkey
].
split
(
new
RegExp
(
/
[\;]
/
));
let
tempArray
:
Array
<
any
>
=
[];
keysGrounp
.
forEach
((
singlekey
:
any
)
=>
{
let
_items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
singlekey
});
if
(
_items
.
length
>
0
){
tempArray
.
push
(...
_items
);
}
})
items
=
tempArray
;
}
else
{
items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
tempValue
[
paramkey
]
});
}
})
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
items
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
items
];
});
// FetchCSMXDY
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
fetchcsmxdy$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchCSMXDY"
);
...
...
@@ -527,8 +888,55 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/fetchcsmxdy(\?[\w-./?%&=,]*)*$/)).re
console
.
groupEnd
();
return
[
status
,
records
?
records
:
[]];
});
// URI参数传递情况未实现
// URI参数传递情况未实现
// FetchDefault
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchdefault$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchDefault"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
];
let
tempValue
:
any
=
{};
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchdefault$/
).
exec
(
config
.
url
);
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
if
(
items
.
length
>
0
&&
paramArray
.
length
>
0
)
{
paramArray
.
forEach
((
paramkey
:
any
)
=>
{
if
(
tempValue
[
paramkey
]
&&
tempValue
[
paramkey
].
indexOf
(
";"
)
>
0
)
{
let
keysGrounp
:
Array
<
any
>
=
tempValue
[
paramkey
].
split
(
new
RegExp
(
/
[\;]
/
));
let
tempArray
:
Array
<
any
>
=
[];
keysGrounp
.
forEach
((
singlekey
:
any
)
=>
{
let
_items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
singlekey
});
if
(
_items
.
length
>
0
){
tempArray
.
push
(...
_items
);
}
})
items
=
tempArray
;
}
else
{
items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
tempValue
[
paramkey
]
});
}
})
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
items
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
items
];
});
// FetchDefault
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
fetchdefault$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchDefault"
);
...
...
@@ -572,8 +980,55 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/fetchdefault(\?[\w-./?%&=,]*)*$/)).r
console
.
groupEnd
();
return
[
status
,
records
?
records
:
[]];
});
// URI参数传递情况未实现
// URI参数传递情况未实现
// FetchLOGIC_0007
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchlogic_0007$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchLOGIC_0007"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
];
let
tempValue
:
any
=
{};
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchlogic_0007$/
).
exec
(
config
.
url
);
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
if
(
items
.
length
>
0
&&
paramArray
.
length
>
0
)
{
paramArray
.
forEach
((
paramkey
:
any
)
=>
{
if
(
tempValue
[
paramkey
]
&&
tempValue
[
paramkey
].
indexOf
(
";"
)
>
0
)
{
let
keysGrounp
:
Array
<
any
>
=
tempValue
[
paramkey
].
split
(
new
RegExp
(
/
[\;]
/
));
let
tempArray
:
Array
<
any
>
=
[];
keysGrounp
.
forEach
((
singlekey
:
any
)
=>
{
let
_items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
singlekey
});
if
(
_items
.
length
>
0
){
tempArray
.
push
(...
_items
);
}
})
items
=
tempArray
;
}
else
{
items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
tempValue
[
paramkey
]
});
}
})
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
items
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
items
];
});
// FetchLOGIC_0007
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
fetchlogic_0007$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchLOGIC_0007"
);
...
...
@@ -617,8 +1072,55 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/fetchlogic_0007(\?[\w-./?%&=,]*)*$/)
console
.
groupEnd
();
return
[
status
,
records
?
records
:
[]];
});
// URI参数传递情况未实现
// URI参数传递情况未实现
// FetchX
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchx$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchX"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
];
let
tempValue
:
any
=
{};
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/
fetchx$/
).
exec
(
config
.
url
);
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
if
(
items
.
length
>
0
&&
paramArray
.
length
>
0
)
{
paramArray
.
forEach
((
paramkey
:
any
)
=>
{
if
(
tempValue
[
paramkey
]
&&
tempValue
[
paramkey
].
indexOf
(
";"
)
>
0
)
{
let
keysGrounp
:
Array
<
any
>
=
tempValue
[
paramkey
].
split
(
new
RegExp
(
/
[\;]
/
));
let
tempArray
:
Array
<
any
>
=
[];
keysGrounp
.
forEach
((
singlekey
:
any
)
=>
{
let
_items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
singlekey
});
if
(
_items
.
length
>
0
){
tempArray
.
push
(...
_items
);
}
})
items
=
tempArray
;
}
else
{
items
=
items
.
filter
((
item
:
any
)
=>
{
return
item
[
paramkey
]
==
tempValue
[
paramkey
]
});
}
})
}
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
items
);
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
items
];
});
// FetchX
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/
fetchx$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: FetchX"
);
...
...
@@ -662,15 +1164,59 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/fetchx(\?[\w-./?%&=,]*)*$/)).reply((
console
.
groupEnd
();
return
[
status
,
records
?
records
:
[]];
});
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// URI参数传递情况未实现
// Remove
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Remove"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// Remove
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
...
...
@@ -700,6 +1246,34 @@ mock.onDelete(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})$/)).reply
return
[
status
,
_items
?
_items
:{}];
});
// RemoveTemp
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: RemoveTemp"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetemp$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// RemoveTemp
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: RemoveTemp"
);
...
...
@@ -728,6 +1302,34 @@ mock.onDelete(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/removete
return
[
status
,
_items
?
_items
:{}];
});
// RemoveTempMajor
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: RemoveTempMajor"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetempmajor$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// RemoveTempMajor
mock
.
onDelete
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
removetempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: RemoveTempMajor"
);
...
...
@@ -756,6 +1358,34 @@ mock.onDelete(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/removete
return
[
status
,
_items
?
_items
:{}];
});
// Get
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Get"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// Get
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})
$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: Get"
);
...
...
@@ -784,6 +1414,34 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})$/)).reply((c
return
[
status
,
_items
?
_items
:{}];
});
// GetTemp
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetTemp"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettemp$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// GetTemp
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettemp$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetTemp"
);
...
...
@@ -812,6 +1470,34 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/gettemp$/))
return
[
status
,
_items
?
_items
:{}];
});
// GetTempMajor
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetTempMajor"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettempmajor$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// GetTempMajor
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
gettempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetTempMajor"
);
...
...
@@ -840,6 +1526,34 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/gettempmajo
return
[
status
,
_items
?
_items
:{}];
});
// GetDraftTempMajor
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getdrafttempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraftTempMajor"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getdrafttempmajor$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// GetDraftTempMajor
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getdrafttempmajor$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetDraftTempMajor"
);
...
...
@@ -868,6 +1582,34 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/getdrafttem
return
[
status
,
_items
?
_items
:{}];
});
// GetUnitAndPrice
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getunitandprice$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetUnitAndPrice"
);
console
.
table
({
url
:
config
.
url
,
method
:
config
.
method
,
data
:
config
.
data
});
let
status
=
MockAdapter
.
mockStatus
(
config
);
if
(
status
!==
200
)
{
return
[
status
,
null
];
}
const
paramArray
:
Array
<
any
>
=
[
'ibizorderid'
,
'ibizorderdetailid'
];
const
matchArray
:
any
=
new
RegExp
(
/^
\/
ibizorders
\/([
a-zA-Z0-9
\-\;]{1,35})\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getunitandprice$/
).
exec
(
config
.
url
);
let
tempValue
:
any
=
{};
if
(
matchArray
&&
matchArray
.
length
>
1
&&
paramArray
&&
paramArray
.
length
>
0
){
paramArray
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
}
let
items
=
mockDatas
?
mockDatas
:
[];
let
_items
=
items
.
find
((
item
:
any
)
=>
Object
.
is
(
item
.
ibizorderdetailid
,
tempValue
.
ibizorderdetailid
));
console
.
groupCollapsed
(
"response数据 status: "
+
status
+
" data: "
);
console
.
table
(
_items
?
_items
:{});
console
.
groupEnd
();
console
.
groupEnd
();
return
[
status
,
_items
?
_items
:{}];
});
// GetUnitAndPrice
mock
.
onGet
(
new
RegExp
(
/^
\/
ibizorderdetails
\/([
a-zA-Z0-9
\-\;]{1,35})\/
getunitandprice$/
)).
reply
((
config
:
any
)
=>
{
console
.
groupCollapsed
(
"实体:ibizorderdetail 方法: GetUnitAndPrice"
);
...
...
app_Web/src/pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view-base.vue
浏览文件 @
b217ac39
...
...
@@ -1276,7 +1276,12 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6editview'
,
parameterName
:
'f6editview'
},
...
...
@@ -1317,7 +1322,12 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6editview'
,
parameterName
:
'f6editview'
},
...
...
app_Web/src/pages/sample/ibizorder-detail-grid-view/ibizorder-detail-grid-view-base.vue
浏览文件 @
b217ac39
...
...
@@ -1276,7 +1276,12 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
...
...
@@ -1317,7 +1322,12 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
...
...
app_Web/src/pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view-base.vue
浏览文件 @
b217ac39
...
...
@@ -1276,7 +1276,12 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
...
...
@@ -1317,7 +1322,12 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
...
...
app_Web/src/pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9-base.vue
浏览文件 @
b217ac39
...
...
@@ -946,7 +946,12 @@ export default class IBIZOrderDetailSGridView9Base extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'seditview9'
,
parameterName
:
'seditview9'
},
...
...
@@ -987,7 +992,12 @@ export default class IBIZOrderDetailSGridView9Base extends Vue {
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
ibizorder
&&
true
){
deResParameters
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'seditview9'
,
parameterName
:
'seditview9'
},
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
b217ac39
...
...
@@ -107,6 +107,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.seditview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'seditview9'
,
parameterName
:
'seditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
meta
:
{
...
...
@@ -121,6 +136,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/smeditview9/:smeditview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.smeditview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'smeditview9'
,
parameterName
:
'smeditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/smeditview9/:smeditview9?'
,
meta
:
{
...
...
@@ -347,6 +377,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sf2editview/:sf2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sf2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sf2editview'
,
parameterName
:
'sf2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/sf2editview/:sf2editview?'
,
meta
:
{
...
...
@@ -459,6 +504,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sgridview'
,
parameterName
:
'sgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?'
,
meta
:
{
...
...
@@ -754,6 +814,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.gridview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'gridview9'
,
parameterName
:
'gridview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
...
...
@@ -978,6 +1053,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-odsp-d-wfgrid-view/ibizorder-odsp-d-wfgrid-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view/ibizorder-detail-grid-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -1315,6 +1405,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-pie-chart-view/ibizorder-pie-chart-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sgridview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sgridview9'
,
parameterName
:
'sgridview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?'
,
meta
:
{
...
...
@@ -1357,6 +1462,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-f3-tree-exp-view/ibizsample0003-f3-tree-exp-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sf1editview/:sf1editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sf1editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sf1editview'
,
parameterName
:
'sf1editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/sf1editview/:sf1editview?'
,
meta
:
{
...
...
@@ -1511,6 +1631,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.f6gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6gridview'
,
parameterName
:
'f6gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
meta
:
{
...
...
@@ -1624,6 +1759,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-dashboard-view/ibizorder-dashboard-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/chartview/:chartview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.chartview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'chartview'
,
parameterName
:
'chartview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-chart-view/ibizorder-detail-chart-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/chartview/:chartview?'
,
meta
:
{
...
...
@@ -1694,6 +1844,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/editview/:editview?'
,
meta
:
{
...
...
@@ -1876,6 +2041,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-f13-edit-view/ibizorder-f13-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f6editview/:f6editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.f6editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6editview'
,
parameterName
:
'f6editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-edit-view/ibizorder-detail-f6-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/f6editview/:f6editview?'
,
meta
:
{
...
...
@@ -2184,6 +2364,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.listview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'listview'
,
parameterName
:
'listview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/listview/:listview?'
,
meta
:
{
...
...
@@ -2411,6 +2606,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/smeditview9/:smeditview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.smeditview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'smeditview9'
,
parameterName
:
'smeditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/smeditview9/:smeditview9?'
,
meta
:
{
...
...
@@ -2530,6 +2739,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-odsp-d-wfgrid-view/ibizorder-odsp-d-wfgrid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sf1editview/:sf1editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sf1editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sf1editview'
,
parameterName
:
'sf1editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/sf1editview/:sf1editview?'
,
meta
:
{
...
...
@@ -2714,6 +2937,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.gridview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'gridview9'
,
parameterName
:
'gridview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
...
...
@@ -2753,6 +2990,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.listview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'listview'
,
parameterName
:
'listview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/listview/:listview?'
,
meta
:
{
...
...
@@ -2883,6 +3134,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-odsp-d20-wfgrid-view/ibizorder-odsp-d20-wfgrid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f6editview/:f6editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.f6editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6editview'
,
parameterName
:
'f6editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-edit-view/ibizorder-detail-f6-edit-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/f6editview/:f6editview?'
,
meta
:
{
...
...
@@ -3052,6 +3317,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view/ibizorder-detail-grid-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -3130,6 +3409,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.seditview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'seditview9'
,
parameterName
:
'seditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
meta
:
{
...
...
@@ -3548,6 +3841,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sf2editview/:sf2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sf2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sf2editview'
,
parameterName
:
'sf2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/sf2editview/:sf2editview?'
,
meta
:
{
...
...
@@ -3966,6 +4273,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sgridview9.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sgridview9'
,
parameterName
:
'sgridview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?'
,
meta
:
{
...
...
@@ -4070,6 +4391,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr6-grid-view/ibizbookusr6-grid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/editview/:editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/editview/:editview?'
,
meta
:
{
...
...
@@ -4096,6 +4431,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/chartview/:chartview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.chartview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'chartview'
,
parameterName
:
'chartview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-chart-view/ibizorder-detail-chart-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/chartview/:chartview?'
,
meta
:
{
...
...
@@ -4109,6 +4458,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-chart-view/ibizorder-detail-chart-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.f6gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'f6gridview'
,
parameterName
:
'f6gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
meta
:
{
...
...
@@ -4564,6 +4927,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.sgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'sgridview'
,
parameterName
:
'sgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?'
,
meta
:
{
...
...
app_Web/src/service/ibizorder-detail/ibizorder-detail-service-base.ts
浏览文件 @
b217ac39
...
...
@@ -50,6 +50,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
return
res
;
...
...
@@ -66,6 +71,7 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
*/
public
async
SelectTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// URI参数传递情况未实现
// URI参数传递情况未实现
}
/**
...
...
@@ -78,6 +84,20 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
}
if
(
data
.
srffrontuf
){
delete
data
.
srffrontuf
;
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails`
,
data
,
isloading
);
return
res
;
}
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -102,6 +122,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
CreateTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/createtemp`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/createtemp`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -116,6 +143,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
CreateTempMajor
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/createtempmajor`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/createtempmajor`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -130,6 +164,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
return
res
;
}
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
...
...
@@ -147,6 +188,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
UpdateTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/updatetemp`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
put
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/updatetemp`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -161,6 +209,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
UpdateTempMajor
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/updatetempmajor`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
put
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/updatetempmajor`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -175,6 +230,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
}
...
...
@@ -189,6 +248,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
RemoveTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/removetemp`
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/removetemp`
,
isloading
);
return
res
;
}
...
...
@@ -203,6 +266,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
RemoveTempMajor
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/removetempmajor`
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/removetempmajor`
,
isloading
);
return
res
;
}
...
...
@@ -217,6 +284,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
...
...
@@ -232,6 +304,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
GetTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/gettemp`
,
isloading
);
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/gettemp`
,
isloading
);
return
res
;
...
...
@@ -247,6 +324,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
GetTempMajor
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/gettempmajor`
,
isloading
);
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/gettempmajor`
,
isloading
);
return
res
;
...
...
@@ -262,6 +344,12 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/getdraft`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/getdraft`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
...
...
@@ -278,6 +366,12 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
GetDraftTemp
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/getdrafttemp`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/getdrafttemp`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
...
...
@@ -294,6 +388,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
GetDraftTempMajor
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/getdrafttempmajor`
,
isloading
);
return
res
;
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/getdrafttempmajor`
,
isloading
);
return
res
;
...
...
@@ -309,6 +408,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -355,6 +461,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
return
res
;
}
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
...
...
@@ -372,6 +485,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
return
res
;
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
return
res
;
...
...
@@ -387,6 +505,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
}
...
...
@@ -401,6 +523,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchTempCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchtempcsmxdy`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchtempcsmxdy`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -415,6 +541,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
return
res
;
...
...
@@ -430,6 +561,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
}
...
...
@@ -444,6 +579,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchTempDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchtempdefault`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchtempdefault`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -458,6 +597,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
return
res
;
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
return
res
;
...
...
@@ -473,6 +617,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
}
...
...
@@ -487,6 +635,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchTempLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchtemplogic_0007`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchtemplogic_0007`
,
data
,
isloading
);
return
res
;
}
...
...
@@ -501,6 +653,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
return
res
;
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
return
res
;
...
...
@@ -516,6 +673,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
searchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchx`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchx`
,
tempData
,
isloading
);
}
...
...
@@ -530,6 +691,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
* @memberof IBIZOrderDetailServiceBase
*/
public
async
FetchTempX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchtempx`
,
data
,
isloading
);
return
res
;
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchtempx`
,
data
,
isloading
);
return
res
;
}
...
...
app_Web/src/service/ibizorder/ibizorder-service-base.ts
浏览文件 @
b217ac39
...
...
@@ -86,6 +86,7 @@ export default class IBIZOrderServiceBase extends EntityService {
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibizorderdetails'
,
JSON
.
stringify
(
res
.
data
.
ibizorderdetails
?
res
.
data
.
ibizorderdetails
:[]));
return
res
;
}
...
...
app_Web/src/widgets/ibizorder-detail/main-multieditviewpanel/main-multieditviewpanel-base.vue
浏览文件 @
b217ac39
...
...
@@ -313,6 +313,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public
deResParameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
];
/**
...
...
app_Web/src/widgets/ibizorder/data-0024-form/data-0024-form-base.vue
浏览文件 @
b217ac39
...
...
@@ -143,6 +143,7 @@
paramItem=
'ibizorder'
:parentdata=
'
{"srfparentdefname":"IBIZORDERID","srfparentdename":"IBIZORDER","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID","SRFDER1NID":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID"}'
:parameters="[
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
]"
:context="context"
:viewparams="viewparams"
...
...
app_Web/src/widgets/ibizorder/logic-0007-form/logic-0007-form-base.vue
浏览文件 @
b217ac39
...
...
@@ -133,6 +133,7 @@
paramItem=
'ibizorder'
:parentdata=
'
{"srfparentdefname":"IBIZORDERID","srfparentdename":"IBIZORDER","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID","SRFDER1NID":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID"}'
:parameters="[
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
]"
:context="context"
:viewparams="viewparams"
...
...
app_Web/src/widgets/ibizorder/main-form/main-form-base.vue
浏览文件 @
b217ac39
...
...
@@ -158,6 +158,7 @@
paramItem=
'ibizorder'
:parentdata=
'
{"srfparentdefname":"IBIZORDERID","srfparentdename":"IBIZORDER","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID","SRFDER1NID":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID"}'
:parameters="[
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
]"
:context="context"
:viewparams="viewparams"
...
...
app_Web/src/widgets/ibizorder/ui-0007-form/ui-0007-form-base.vue
浏览文件 @
b217ac39
...
...
@@ -133,6 +133,7 @@
paramItem=
'ibizorder'
:parentdata=
'
{"srfparentdefname":"IBIZORDERID","srfparentdename":"IBIZORDER","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID","SRFDER1NID":"DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID"}'
:parameters="[
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
]"
:context="context"
:viewparams="viewparams"
...
...
app_Web/src/widgets/ibizorder/usr-dashboard/usr-dashboard-base.vue
浏览文件 @
b217ac39
...
...
@@ -9,7 +9,7 @@
<span>
<div
class=
'portlet-container dashboard-viewdashboard-container1 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span:
12
, offset: 0 }">
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span:
24
, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
<span>
...
...
@@ -27,24 +27,6 @@
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 12, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
<span>
<view
_dashboard_sysportlet4
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"200"
:width=
"0"
name=
"dashboard_sysportlet4"
ref=
'dashboard_sysportlet4'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet4
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 12, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
...
...
app_Web/src/widgets/ibizorder/usr-dashboard/usr-dashboard.vue
浏览文件 @
b217ac39
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
UsrBase
from
'./usr-dashboard-base.vue'
;
import
view_dashboard_sysportlet4
from
'@widgets/ibizorder/portal-components-tool-portlet/portal-components-tool-portlet.vue'
;
import
view_dashboard_sysportlet5
from
'@widgets/ibizorder/portal-components-web-portlet/portal-components-web-portlet.vue'
;
import
view_dashboard_sysportlet2
from
'@widgets/ibizorder-detail/portal-components-list3-portlet/portal-components-list3-portlet.vue'
;
import
view_dashboard_sysportlet3
from
'@widgets/ibizorder/portal-components-operation-portlet/portal-components-operation-portlet.vue'
;
...
...
@@ -10,7 +9,6 @@ import view_dashboard_sysportlet1 from '@widgets/ibizorder-detail/portal-compone
@
Component
({
components
:
{
view_dashboard_sysportlet4
,
view_dashboard_sysportlet5
,
view_dashboard_sysportlet2
,
view_dashboard_sysportlet3
,
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
b217ac39
...
...
@@ -248,6 +248,32 @@ dataType="LONGTEXT" :precision="0"
/>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem14.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'formitem14'
:itemRules=
"this.rules().formitem14"
class=
''
:caption=
"$t('entities.ibizsample0001.main5_form.details.formitem14')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem14.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-group-select
name=
"formitem14"
:value=
'data.formitem14'
valueitem=
""
:disabled=
"detailsModel.formitem14.disabled"
:data=
"data"
:context=
"context"
@
formitemvaluechange=
"onFormItemValueChange"
>
</app-group-select>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem16.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'formitem16'
:itemRules=
"this.rules().formitem16"
class=
''
:caption=
"$t('entities.ibizsample0001.main5_form.details.formitem16')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem16.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</app-form-item>
</i-col>
</row>
...
...
@@ -692,6 +718,8 @@ export default class Main5Base extends Vue implements ControlInterface {
address
:
null
,
longitude
:
null
,
latitude
:
null
,
formitem14
:
null
,
formitem16
:
null
,
formitem1
:
null
,
ibizsample0001id
:
null
,
ibizsample0001
:
null
,
...
...
@@ -817,6 +845,14 @@ export default class Main5Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
latitude
.
required
,
type
:
'string'
,
message
:
'地图定位latitude 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
latitude
.
required
,
type
:
'string'
,
message
:
'地图定位latitude 值不能为空'
,
trigger
:
'blur'
},
],
formitem14
:
[
{
required
:
this
.
detailsModel
.
formitem14
.
required
,
type
:
'string'
,
message
:
'树分组选 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem14
.
required
,
type
:
'string'
,
message
:
'树分组选 值不能为空'
,
trigger
:
'blur'
},
],
formitem16
:
[
{
required
:
this
.
detailsModel
.
formitem16
.
required
,
type
:
'string'
,
message
:
'树选择 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem16
.
required
,
type
:
'string'
,
message
:
'树选择 值不能为空'
,
trigger
:
'blur'
},
],
formitem1
:
[
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'number'
,
message
:
'颜色选择 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'number'
,
message
:
'颜色选择 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -997,6 +1033,10 @@ export default class Main5Base extends Vue implements ControlInterface {
longitude
:
new
FormItemModel
({
caption
:
'地图定位longitude'
,
detailType
:
'FORMITEM'
,
name
:
'longitude'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
latitude
:
new
FormItemModel
({
caption
:
'地图定位latitude'
,
detailType
:
'FORMITEM'
,
name
:
'latitude'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem14
:
new
FormItemModel
({
caption
:
'树分组选'
,
detailType
:
'FORMITEM'
,
name
:
'formitem14'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem16
:
new
FormItemModel
({
caption
:
'树选择'
,
detailType
:
'FORMITEM'
,
name
:
'formitem16'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem1
:
new
FormItemModel
({
caption
:
'颜色选择'
,
detailType
:
'FORMITEM'
,
name
:
'formitem1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1328,6 +1368,30 @@ export default class Main5Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'latitude'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem14 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@
Watch
(
'data.formitem14'
)
onFormitem14Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem14'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem16 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@
Watch
(
'data.formitem16'
)
onFormitem16Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem16'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem1 值
*
...
...
@@ -1441,6 +1505,8 @@ export default class Main5Base extends Vue implements ControlInterface {
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-model.ts
浏览文件 @
b217ac39
...
...
@@ -147,6 +147,16 @@ export default class Main5Model {
prop
:
'latitude'
,
dataType
:
'TEXT'
,
},
{
name
:
'formitem14'
,
prop
:
'field14'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'formitem16'
,
prop
:
'field14'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'formitem1'
,
prop
:
'field12'
,
...
...
config.xml
浏览文件 @
b217ac39
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pdemoapi
cd demo-provider/demo-provider-demoapi
mvn -Pdemoapi docker:build
mvn -Pdemoapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-provider-demoapi.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
demo-provider/demo-provider-demoapi/src/main/docker/Dockerfile
浏览文件 @
b217ac39
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-provider-demoapi.jar
EXPOSE
51000
EXPOSE
8081
ADD
demo-provider-demoapi.jar /demo-provider-demoapi.jar
demo-provider/demo-provider-demoapi/src/main/docker/demo-provider-demoapi.yaml
浏览文件 @
b217ac39
...
...
@@ -3,24 +3,9 @@ services:
demo-provider-demoapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/demo-provider-demoapi:latest
ports
:
-
"
51000:51000
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=51000
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
-
SPRING_DATASOURCE_PASSWORD=3d6@460A
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录