记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
e4fb3a94
Commit
e4fb3a94
authored
Apr 01, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view
parent
1575714a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
377 additions
and
0 deletions
+377
-0
orderRefundView.html
...s/templates/zhengzai/goblin/nftOrder/orderRefundView.html
+205
-0
orderView.html
...sources/templates/zhengzai/goblin/nftOrder/orderView.html
+172
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/nftOrder/orderRefundView.html
0 → 100644
View file @
e4fb3a94
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
xmlns:shiro=
"http://www.pollix.at/thymeleaf/shiro"
>
<head>
<th:block
th:include=
"include :: header('NFT订单退款列表')"
/>
</head>
<body
class=
"gray-bg"
>
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 search-collapse"
>
<form
id=
"formId"
>
<div
class=
"select-list"
>
<ul>
<li>
<label>
藏品名称:
</label>
<input
type=
"text"
name=
"name"
/>
</li>
<li>
<label>
订单编号:
</label>
<input
type=
"text"
name=
"orderCode"
/>
</li>
<li>
<label>
发放HASH:
</label>
<input
type=
"text"
name=
"tradingTxhash"
/>
</li>
<li>
<label>
购买方式:
</label>
<select
name=
"orderType"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
购买
</option>
<option
value=
"2"
>
兑换
</option>
<option
value=
"3"
>
演出赠送
</option>
</select>
</li>
<li>
<label>
支付方式:
</label>
<select
name=
"payType"
th:with=
"type=${@dict.getType('zhengzai_pay_type')}"
>
<option
value=
""
>
全部
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
</li>
<li>
<label>
订单状态:
</label>
<select
name=
"orderType"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
申请退款
</option>
<option
value=
"2"
>
退款成功
</option>
<option
value=
"3"
>
退款失败
</option>
</select>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"$.table.search()"
><i
class=
"fa fa-search"
></i>
搜索
</a>
<a
class=
"btn btn-warning btn-rounded btn-sm"
onclick=
"$.form.reset()"
><i
class=
"fa fa-refresh"
></i>
重置
</a>
</li>
</ul>
</div>
</form>
</div>
<div
class=
"col-sm-12 search-collapse"
>
<form
id=
"formId2"
>
<div
class=
"select-list"
>
<ul>
<li>
<label>
短订单号:
</label>
<input
type=
"text"
name=
"findCode"
/>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"findCode()"
><i
class=
"fa fa-search"
></i>
查询
</a>
</li>
<li>
<label>
长订单号:
</label>
<input
type=
"text"
name=
"allCode"
readonly
/>
</li>
</ul>
</div>
</form>
</div>
<div
class=
"col-sm-12 select-table table-bordered"
>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
var
prefix
=
ctx
+
"goblin/nftOrder"
;
var
payTypeDic
=
[[
$
{@
dict
.
getType
(
'zhengzai_pay_type'
)}]];
function
findCode
()
{
var
shortCode
=
document
.
getElementsByName
(
"findCode"
)[
0
].
value
;
var
allCode
=
document
.
getElementsByName
(
"allCode"
)[
0
];
$
.
operate
.
get
(
prefix
+
"/search/code?code="
+
shortCode
+
"&type=2"
,
function
(
res
)
{
allCode
.
value
=
res
.
msg
;
});
}
$
(
function
()
{
var
options
=
{
url
:
prefix
+
"/refundList"
,
columns
:
[
{
field
:
'refundCode'
,
title
:
'退款编号'
},
{
field
:
'price'
,
title
:
'退款金额'
},
{
field
:
'status'
,
title
:
'退款状态'
,
formatter
:
function
(
value
)
{
switch
(
value
)
{
case
1
:
return
"申请退款"
;
break
;
case
2
:
return
"退款成功"
;
break
;
case
3
:
return
"退款失败"
;
break
;
}
},
},
{
field
:
'refundAt'
,
title
:
'退款时间'
},
{
field
:
'errorReason'
,
title
:
'失败原因'
,
formatter
:
function
(
value
)
{
if
(
row
.
status
==
3
)
{
return
value
;
}
else
{
return
''
;
}
},
},
{
field
:
'createdAt'
,
title
:
'用户ID'
},
{
field
:
'userId'
,
title
:
'用户ID'
},
{
field
:
'orderCode'
,
title
:
'订单编号'
},
{
field
:
'orderType'
,
title
:
'购买方式'
,
formatter
:
function
(
value
)
{
switch
(
value
)
{
case
1
:
return
"购买"
;
break
;
case
2
:
return
"兑换"
;
break
;
case
3
:
return
"演出赠送"
;
break
;
}
},
},
{
field
:
'payType'
,
title
:
'支付方式'
,
formatter
:
function
(
value
)
{
return
$
.
table
.
selectDictLabel
(
payTypeDic
,
value
);
},
},
{
field
:
'payTime'
,
title
:
'支付时间'
},
{
field
:
'name'
,
title
:
'藏品名称'
},
{
field
:
'releaseAt'
,
title
:
'发行时间'
},
{
field
:
'tradingTxhash'
,
title
:
'发放HASH'
}]
};
$
.
table
.
init
(
options
);
});
</script>
</body>
</html>
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/nftOrder/orderView.html
0 → 100644
View file @
e4fb3a94
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
xmlns:shiro=
"http://www.pollix.at/thymeleaf/shiro"
>
<head>
<th:block
th:include=
"include :: header('NFT订单列表')"
/>
</head>
<body
class=
"gray-bg"
>
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 search-collapse"
>
<form
id=
"formId"
>
<div
class=
"select-list"
>
<ul>
<li>
<label>
藏品名称:
</label>
<input
type=
"text"
name=
"name"
/>
</li>
<li>
<label>
订单编号:
</label>
<input
type=
"text"
name=
"orderCode"
/>
</li>
<li>
<label>
发放HASH:
</label>
<input
type=
"text"
name=
"tradingTxhash"
/>
</li>
<li>
<label>
购买方式:
</label>
<select
name=
"orderType"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
购买
</option>
<option
value=
"2"
>
兑换
</option>
<option
value=
"3"
>
演出赠送
</option>
</select>
</li>
<li>
<label>
支付方式:
</label>
<select
name=
"payType"
th:with=
"type=${@dict.getType('zhengzai_pay_type')}"
>
<option
value=
""
>
全部
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
</li>
<li>
<label>
订单状态:
</label>
<select
name=
"status"
th:with=
"type=${@dict.getType('zhengzai_goblin_nft_order_status')}"
>
<option
value=
""
>
全部
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"$.table.search()"
><i
class=
"fa fa-search"
></i>
搜索
</a>
<a
class=
"btn btn-warning btn-rounded btn-sm"
onclick=
"$.form.reset()"
><i
class=
"fa fa-refresh"
></i>
重置
</a>
</li>
</ul>
</div>
</form>
</div>
<div
class=
"col-sm-12 search-collapse"
>
<form
id=
"formId2"
>
<div
class=
"select-list"
>
<ul>
<li>
<label>
短订单号:
</label>
<input
type=
"text"
name=
"findCode"
/>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"findCode()"
><i
class=
"fa fa-search"
></i>
查询
</a>
</li>
<li>
<label>
长订单号:
</label>
<input
type=
"text"
name=
"allCode"
readonly
/>
</li>
</ul>
</div>
</form>
</div>
<div
class=
"col-sm-12 select-table table-bordered"
>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
var
prefix
=
ctx
+
"goblin/nftOrder"
;
var
payTypeDic
=
[[
$
{@
dict
.
getType
(
'zhengzai_pay_type'
)}]];
var
statusDic
=
[[
$
{@
dict
.
getType
(
'zhengzai_goblin_nft_order_status'
)}]];
function
findCode
()
{
var
shortCode
=
document
.
getElementsByName
(
"findCode"
)[
0
].
value
;
var
allCode
=
document
.
getElementsByName
(
"allCode"
)[
0
];
$
.
operate
.
get
(
prefix
+
"/search/code?code="
+
shortCode
+
"&type=2"
,
function
(
res
)
{
allCode
.
value
=
res
.
msg
;
});
}
$
(
function
()
{
var
options
=
{
url
:
prefix
+
"/orderList"
,
columns
:
[
{
field
:
'userId'
,
title
:
'用户ID'
},
{
field
:
'orderCode'
,
title
:
'订单编号'
},
{
field
:
'orderType'
,
title
:
'购买方式'
,
formatter
:
function
(
value
)
{
switch
(
value
)
{
case
1
:
return
"购买"
;
break
;
case
2
:
return
"兑换"
;
break
;
case
3
:
return
"演出赠送"
;
break
;
}
},
},
{
field
:
'payType'
,
title
:
'支付方式'
,
formatter
:
function
(
value
)
{
return
$
.
table
.
selectDictLabel
(
payTypeDic
,
value
);
},
},
{
field
:
'priceActual'
,
title
:
'支付金额'
},
{
field
:
'status'
,
title
:
'订单状态'
,
formatter
:
function
(
value
)
{
return
$
.
table
.
selectDictLabel
(
statusDic
,
value
);
},
},
{
field
:
'payTime'
,
title
:
'支付时间'
},
{
field
:
'name'
,
title
:
'藏品名称'
},
{
field
:
'releaseAt'
,
title
:
'发行时间'
},
{
field
:
'tradingTxhash'
,
title
:
'发放HASH'
}]
};
$
.
table
.
init
(
options
);
});
</script>
</body>
</html>
\ No newline at end of file
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