Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
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
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
3d11dfbd
Commit
3d11dfbd
authored
Dec 30, 2020
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1087、1114、对公支付审核
parent
09f7ddfc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
180 additions
and
7 deletions
+180
-7
index.js
src/api/website/order/index.js
+21
-0
dateUtils.js
src/utils/dateUtils.js
+4
-0
index.vue
src/views/orderManagement/orderList/index.vue
+153
-5
index.vue
src/views/userManagement/index.vue
+2
-2
No files found.
src/api/website/order/index.js
View file @
3d11dfbd
...
...
@@ -68,3 +68,24 @@ export function getItemByType(obj) {
});
}
/**
* 对公支付审核
*/
export
function
updatePayStatus
(
obj
)
{
return
fetch
({
url
:
'/api/website/orderInfo/updatePayStatus'
,
method
:
'post'
,
data
:
obj
});
}
/**
* 对公支付信息
*/
export
function
getCompanyInfoByType
(
query
)
{
return
fetch
({
url
:
'api/website/commonInfo/web/app/unauth/getByType'
,
method
:
'get'
,
params
:
query
});
}
src/utils/dateUtils.js
View file @
3d11dfbd
...
...
@@ -38,6 +38,10 @@ export function convertDate2Str(object) {
export
function
timestamp2Date
(
timestamp
)
{
let
str
=
timestamp
+
''
if
(
str
.
length
==
10
){
timestamp
=
timestamp
*
1000
}
const
date
=
new
Date
(
timestamp
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
return
formatDate
(
date
,
'yyyy-MM-dd hh:mm:ss'
);
}
...
...
src/views/orderManagement/orderList/index.vue
View file @
3d11dfbd
This diff is collapsed.
Click to expand it.
src/views/userManagement/index.vue
View file @
3d11dfbd
...
...
@@ -19,7 +19,7 @@
<el-form-item
label=
"用户ID"
>
<el-input
v-model=
"listQuery.userId"
placeholder=
"请输入用户ID"
></el-input>
</el-form-item>
<el-form-item
label=
"
创建
时间"
>
<el-form-item
label=
"
注册
时间"
>
<el-date-picker
v-model=
"times"
type=
"datetimerange"
...
...
@@ -58,7 +58,7 @@
<!--
<img
style=
"width: 40px;height: 40px;border-radius: 50%;"
:src=
"scope.row.headimgurl"
@
click
.
stop=
"showPreview(scope.row.headimgurl)"
/>
-->
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"
创建
时间"
>
<el-table-column
align=
"center"
label=
"
注册
时间"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
crtTimeStr
}}
</
template
>
...
...
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