Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
komatsu-lease-app
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
komatsu
komatsu-lease-app
Commits
1573bda4
Commit
1573bda4
authored
Feb 02, 2023
by
WangRui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feature]自助服务问题调整
parent
426c5a41
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
main.js
src/main.js
+2
-1
ChangeListItem.vue
src/modules/infoChange/components/ChangeListItem.vue
+1
-1
authorize.vue
src/modules/selfService/views/authorize.vue
+9
-4
No files found.
src/main.js
View file @
1573bda4
...
...
@@ -3,7 +3,7 @@ import { createPinia } from 'pinia'
import
App
from
'./App.vue'
import
router
from
'./router'
import
moment
from
'moment'
import
{
Notify
,
Toast
}
from
'vant'
;
import
{
Notify
,
Toast
,
Dialog
}
from
'vant'
;
// import VConsole from 'vconsole'
moment
.
locale
(
'zh-cn'
)
...
...
@@ -17,6 +17,7 @@ app.use(createPinia())
app
.
use
(
router
)
app
.
use
(
Notify
)
app
.
use
(
Toast
)
app
.
use
(
Dialog
)
// app.use(vConsole)
app
.
mount
(
'#app'
)
src/modules/infoChange/components/ChangeListItem.vue
View file @
1573bda4
...
...
@@ -74,4 +74,4 @@ hr {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
</
style
>
\ No newline at end of file
</
style
>
src/modules/selfService/views/authorize.vue
View file @
1573bda4
...
...
@@ -17,7 +17,7 @@
</section>
<section
class=
"sub"
>
<Button
type=
"primary"
block
@
click=
"confirm"
>
确认
</Button>
<Button
type=
"primary"
block
@
click=
"confirm"
>
授权
</Button>
</section>
<Popup
v-model:show=
"showProjectNumber"
position=
"bottom"
>
...
...
@@ -42,7 +42,7 @@
<
script
setup
>
import
{
goBack
}
from
"@/utils/globalFun"
import
Notice
from
"@/components/Notice.vue"
import
{
NavBar
,
Field
,
CellGroup
,
Popup
,
Picker
,
Button
,
Icon
,
Search
,
Toast
}
from
"vant"
;
import
{
NavBar
,
Field
,
CellGroup
,
Popup
,
Picker
,
Button
,
Icon
,
Search
,
Toast
,
Dialog
}
from
"vant"
;
import
api
from
'../api'
import
{
useRouter
}
from
"vue-router"
;
...
...
@@ -121,8 +121,13 @@ const confirm = async () => {
}
const
res
=
await
api
.
confrimAgent
(
param
);
if
(
res
.
success
){
Toast
.
success
(
'授权成功'
)
// router.push({ name: 'selfService-views-index' })
// Toast.success('授权成功')
Dialog
.
confirm
({
title
:
'授权成功'
,
message
:
''
}).
then
(()
=>
{
goBack
()
});
}
else
{
Toast
.
fail
(
'授权失败'
)
}
...
...
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