Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d19d180
authored
Apr 03, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 测试问题修改
1 parent
526dd6ca
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
7 deletions
aus-admin/src/main/resources/templates/main/index.html
aus-front/app/src/module/auction/InspectionPreview.vue
aus-front/app/src/pages/LoginPage.vue
aus-admin/src/main/resources/templates/main/index.html
View file @
9d19d18
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<link
rel=
"icon"
href=
"/favicon/favicon.ico"
type=
"image/x-icon"
>
<link
rel=
"icon"
href=
"/favicon/favicon.ico"
type=
"image/x-icon"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<title>
专电优拍
</title>
<title>
专电优拍
</title>
<script
type=
"module"
crossorigin
src=
"https://aus.test.glsx.com.cn/assets/index-
CLCaDTBV
.js"
></script>
<script
type=
"module"
crossorigin
src=
"https://aus.test.glsx.com.cn/assets/index-
DQdzhQEn
.js"
></script>
<link
rel=
"stylesheet"
crossorigin
href=
"https://aus.test.glsx.com.cn/assets/index-WADY07lV.css"
>
<link
rel=
"stylesheet"
crossorigin
href=
"https://aus.test.glsx.com.cn/assets/index-WADY07lV.css"
>
<!-- <script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-pxQEYXWe.js"></script>
<!-- <script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-pxQEYXWe.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css"> -->
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css"> -->
...
...
aus-front/app/src/module/auction/InspectionPreview.vue
View file @
9d19d18
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
import
{
Component
,
Hook
,
Vue
}
from
"vue-facing-decorator"
;
import
{
Component
,
Hook
,
Vue
}
from
"vue-facing-decorator"
;
import
{
onLoad
}
from
"@dcloudio/uni-app"
;
import
{
onLoad
}
from
"@dcloudio/uni-app"
;
import
{
AuctionController
}
from
"@/api/AuctionController"
;
import
{
AuctionController
}
from
"@/api/AuctionController"
;
import
{
AuthService
}
from
"@/common/AuthService"
;
@
Component
({
components
:
{}
})
@
Component
({
components
:
{}
})
...
@@ -20,12 +22,29 @@ export default class InspectionPreview extends Vue {
...
@@ -20,12 +22,29 @@ export default class InspectionPreview extends Vue {
created
():
void
{
created
():
void
{
onLoad
((
option
)
=>
{
onLoad
((
option
)
=>
{
this
.
vehicleId
=
option
.
vehicleId
;
const
that
=
this
;
this
.
aucvehId
=
option
.
aucvehId
;
that
.
vehicleId
=
option
.
vehicleId
;
this
.
getReportVehicleData
(
option
.
vehicleId
);
that
.
aucvehId
=
option
.
aucvehId
;
this
.
getVehicleDetail
(
option
.
aucvehId
);
that
.
getReportVehicleData
(
option
.
vehicleId
);
that
.
getVehicleDetail
(
option
.
aucvehId
);
setTimeout
(()
=>
{
that
.
toLoginPage
();
},
1600
);
});
}
toLoginPage
()
{
const
authService
:
AuthService
=
this
.
$auth
;
if
(
!
authService
.
isLogin
())
{
uni
.
showToast
({
title
:
'请先登录'
,
icon
:
'none'
,
duration
:
2000
,
complete
:
function
()
{
setTimeout
(()
=>
{
uni
.
navigateTo
({
url
:
'/pages/LoginPage?vehicleId='
+
this
.
vehicleId
+
'&aucvehId='
+
this
.
aucvehId
});
},
2200
);
}
});
});
}
}
}
getVehicleDetail
(
aucvehId
:
string
)
{
getVehicleDetail
(
aucvehId
:
string
)
{
AuctionController
.
getAuctionVehicleDetailById
(
this
.
axios
,
aucvehId
).
then
(
res
=>
{
AuctionController
.
getAuctionVehicleDetailById
(
this
.
axios
,
aucvehId
).
then
(
res
=>
{
...
...
aus-front/app/src/pages/LoginPage.vue
View file @
9d19d18
...
@@ -52,9 +52,11 @@ import {AuthService} from "@/common/AuthService";
...
@@ -52,9 +52,11 @@ import {AuthService} from "@/common/AuthService";
export
default
class
LoginPage
extends
Vue
{
export
default
class
LoginPage
extends
Vue
{
isAgreed
=
false
;
isAgreed
=
false
;
optionData
:
any
=
{};
created
():
void
{
created
():
void
{
onLoad
((
query
)
=>
{
onLoad
((
option
)
=>
{
this
.
optionData
=
option
||
{};
const
authService
:
AuthService
=
this
.
$auth
;
const
authService
:
AuthService
=
this
.
$auth
;
console
.
log
(
authService
.
getAuthentication
())
console
.
log
(
authService
.
getAuthentication
())
console
.
log
(
authService
.
isLogin
());
console
.
log
(
authService
.
isLogin
());
...
@@ -106,8 +108,14 @@ export default class LoginPage extends Vue {
...
@@ -106,8 +108,14 @@ export default class LoginPage extends Vue {
const
authService
:
AuthService
=
this
.
$auth
;
const
authService
:
AuthService
=
this
.
$auth
;
authService
.
updateToken
(
accountInfo
.
token
);
authService
.
updateToken
(
accountInfo
.
token
);
authService
.
saveAuthentication
(
accountInfo
);
authService
.
saveAuthentication
(
accountInfo
);
// 登录跳转到首页
if
(
this
.
optionData
?.
vehicleId
&&
this
.
optionData
?.
aucvehId
)
{
uni
.
navigateTo
({
url
:
'/module/auction/InspectionPreview?vehicleId='
+
this
.
optionData
.
vehicleId
+
'&aucvehId='
+
this
.
optionData
.
aucvehId
});
}
else
{
uni
.
switchTab
({
url
:
'/pages/tabbar/HomePage'
});
uni
.
switchTab
({
url
:
'/pages/tabbar/HomePage'
});
}
// 登录跳转到首页
// uni.switchTab({url: '/pages/tabbar/HomePage'});
}
else
{
}
else
{
uni
.
showToast
({
title
:
accountInfo
.
message
,
icon
:
'error'
});
uni
.
showToast
({
title
:
accountInfo
.
message
,
icon
:
'error'
});
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment