Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a9508795
authored
2026-06-01 13:13:04 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
级位申请优化
1 parent
f120f0ea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
6 deletions
config.js
level/addApply.vue
level/chooseStudent.vue
myCenter/chooseExaminer.vue
myCenter/examPointApply.vue
config.js
View file @
a950879
// dev
const
baseUrl_api
=
'http://192.168.1.222:8787'
//
const baseUrl_api = 'http://192.168.1.222:8787'
// const baseUrl_api = 'http://47.98.186.233:8787'
//
const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/'
const
baseUrl_api
=
'https://tk001.wxjylt.com/stage-api/'
const
loginImage_api
=
'https://tk001.wxjylt.com/stage-api'
const
payUrl
=
'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do'
...
...
level/addApply.vue
View file @
a950879
This diff is collapsed.
Click to expand it.
level/chooseStudent.vue
View file @
a950879
...
...
@@ -124,7 +124,9 @@
memId
:
memId
,
examId
:
examId
,
examType
:
examType
,
name
:
searchName
.
value
name
:
searchName
.
value
,
pageNum
:
pageNum
.
value
,
pageSize
:
pageSize
}).
then
(
res
=>
{
const
rows
=
res
.
rows
||
[]
rows
.
forEach
(
item
=>
{
...
...
@@ -203,6 +205,7 @@
}).
then
(()
=>
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'添加成功'
,
icon
:
'success'
})
emitStudentSelected
()
setTimeout
(()
=>
{
uni
.
navigateBack
()
},
1500
)
...
...
@@ -211,6 +214,13 @@
})
}
function
emitStudentSelected
()
{
const
pages
=
getCurrentPages
()
const
currentPage
=
pages
[
pages
.
length
-
1
]
const
eventChannel
=
currentPage
?.
getOpenerEventChannel
?.()
eventChannel
?.
emit
(
'studentSelected'
)
}
function
goBack
()
{
uni
.
navigateBack
()
}
...
...
myCenter/chooseExaminer.vue
View file @
a950879
...
...
@@ -26,7 +26,9 @@
<view
class=
"bottom-area"
>
<view
class=
"selected-tip"
v-if=
"selectedIds.length > 0"
>
已选择
{{
selectedIds
.
length
}}
位考官
</view>
<view>
<button
class=
"add-btn"
:disabled=
"selectedIds.length === 0"
@
click=
"handleAdd"
>
添加
</button></view>
<view
class=
"add-btn-wrap"
>
<button
class=
"add-btn"
:disabled=
"selectedIds.length === 0"
@
click=
"handleAdd"
>
添加
</button>
</view>
</view>
</view>
...
...
@@ -194,12 +196,17 @@ function handleAdd() {
border-top
:
1
rpx
solid
#eee
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
flex-end
;
}
.selected-tip
{
font-size
:
26
rpx
;
color
:
#666
;
margin-right
:
auto
;
}
.add-btn-wrap
{
margin-left
:
auto
;
}
.add-btn
{
...
...
myCenter/examPointApply.vue
View file @
a950879
...
...
@@ -304,7 +304,9 @@ async function onModalConfirm() {
uni
.
showToast
({
title
:
err
.
data
?.
msg
||
'提交失败'
,
icon
:
'none'
})
}
}
else
if
(
modalAction
===
'submitSuccess'
)
{
uni
.
navigateBack
()
uni
.
redirectTo
({
url
:
'/myCenter/examPointApplyList'
})
}
// modalAction = ''
}
...
...
Write
Preview
Styling with
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