Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
caa8e5f5
authored
Dec 02, 2021
by
杨铁龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
设置备注
parent
483d728f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
model/order.ts
service/order.ts
model/order.ts
View file @
caa8e5f5
...
@@ -28,7 +28,7 @@ export const statusMapping = new Map<OrderStatus, string>([
...
@@ -28,7 +28,7 @@ export const statusMapping = new Map<OrderStatus, string>([
export
interface
OrderTableListItem
{
export
interface
OrderTableListItem
{
id
:
string
;
id
:
string
;
v
:
string
;
v
:
number
;
no
:
string
;
no
:
string
;
title
:
string
;
title
:
string
;
time
:
string
;
time
:
string
;
...
@@ -50,6 +50,8 @@ export interface OrderTableListItem {
...
@@ -50,6 +50,8 @@ export interface OrderTableListItem {
* 已退款金额
* 已退款金额
*/
*/
RefundedAmount
:
number
;
RefundedAmount
:
number
;
remarkTitle
:
string
;
remarkContent
:
string
;
}
}
export
const
orderPredict
=
{
export
const
orderPredict
=
{
...
@@ -65,6 +67,8 @@ export const orderPredict = {
...
@@ -65,6 +67,8 @@ export const orderPredict = {
RefundAmount
:
"RefundAmount"
,
RefundAmount
:
"RefundAmount"
,
RefundedAmount
:
"RefundedAmount"
,
RefundedAmount
:
"RefundedAmount"
,
chat
:
"UniplatImChatId"
,
chat
:
"UniplatImChatId"
,
remarkTitle
:
"Title"
,
remarkContent
:
"Remark"
};
};
export
const
enum
PayStatus
{
export
const
enum
PayStatus
{
...
@@ -114,6 +118,9 @@ export interface OrderPayItem {
...
@@ -114,6 +118,9 @@ export interface OrderPayItem {
agent
:
string
;
agent
:
string
;
createdTime
:
string
;
createdTime
:
string
;
actions
?:
any
[];
actions
?:
any
[];
bankAccountName
?:
string
;
OpenningBankNam
?:
string
;
bankAccountNo
?:
string
;
}
}
export
const
orderPayItemPredict
=
{
export
const
orderPayItemPredict
=
{
...
@@ -128,7 +135,10 @@ export const orderPayItemPredict = {
...
@@ -128,7 +135,10 @@ export const orderPayItemPredict = {
v
:
"uniplat_version"
,
v
:
"uniplat_version"
,
title
:
"ItemName"
,
title
:
"ItemName"
,
value
:
"Amount"
,
value
:
"Amount"
,
createdTime
:
"CreatedDate"
createdTime
:
"CreatedDate"
,
bankAccountName
:
"ProviderHandleId#ServiceProviderBank.AccountName"
,
OpenningBankNam
:
"ProviderHandleId#ServiceProviderBank.OpenningBankNam"
,
bankAccountNo
:
"ProviderHandleId#ServiceProviderBank.AccountNo"
,
}
}
export
const
enum
ChatOpenDirection
{
export
const
enum
ChatOpenDirection
{
...
...
service/order.ts
View file @
caa8e5f5
...
@@ -142,6 +142,16 @@ class OrderService {
...
@@ -142,6 +142,16 @@ class OrderService {
public
buildOrder
(
o
:
metaRow
)
{
public
buildOrder
(
o
:
metaRow
)
{
return
this
.
handler
.
buildRow
<
OrderTableListItem
>
(
o
,
orderPredict
);
return
this
.
handler
.
buildRow
<
OrderTableListItem
>
(
o
,
orderPredict
);
}
}
/** 设置备注 */
public
setRemark
(
id
:
string
,
v
:
number
,
data
:
{
Title
:
string
,
Remark
:
string
})
{
return
Chat
.
getSdk
()
.
model
(
this
.
generalOrder
)
.
action
(
'editTitle'
)
.
updateInitialParams
({
selected_list
:
[{
v
,
id
:
+
id
}]
})
.
addInputs_parameter
(
data
)
.
execute
()
}
}
}
export
const
orderService
=
new
OrderService
();
export
const
orderService
=
new
OrderService
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment