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
685385a7
authored
2026-05-08 00:07:36 +0800
by
张猛
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
67042ffd
6d21bc62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
11 deletions
level/addApply.vue
level/chooseExaminer.vue
myCenter/chooseExaminer.vue
level/addApply.vue
View file @
685385a
...
...
@@ -299,7 +299,7 @@ function selectFN(ec) {
}
})
const
arr
=
encodeURIComponent
(
JSON
.
stringify
(
chosen
))
let
path
=
`/level/chooseExaminer?type=
${
form
.
value
.
type
}
&chosen=
${
arr
}
&ec=
${
ec
}
`
let
path
=
`/level/chooseExaminer?
pageType=2&
type=
${
form
.
value
.
type
}
&chosen=
${
arr
}
&ec=
${
ec
}
`
uni
.
navigateTo
({
url
:
path
});
...
...
level/chooseExaminer.vue
View file @
685385a
...
...
@@ -5,7 +5,11 @@
<!-- 顶部添加考官按钮 -->
<view
class=
"add-btn-box"
>
<button
class=
"btn-red-kx mini"
@
click=
"openAddExaminer"
>
<!--
<button
class=
"btn-red-kx mini"
@
click=
"openAddExaminer"
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
选择考官
</button>
-->
<button
class=
"btn-red-kx mini"
@
click=
"addExaminer"
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
添加考官
</button>
...
...
@@ -113,7 +117,6 @@
ec
=
option
.
ec
}
console
.
log
(
'pageType.value'
,
pageType
.
value
)
getList
()
})
onShow
(()
=>
{
...
...
@@ -235,14 +238,16 @@
modalAction
=
''
}
}
function
addExaminer
(){
addForm
.
value
.
name
=
''
addForm
.
value
.
certCode
=
''
searchResult
.
value
=
null
searchNoData
.
value
=
false
addPopup
.
value
.
open
()
}
// 打开添加考官弹窗
function
openAddExaminer
()
{
// addForm.value.name = ''
// addForm.value.certCode = ''
// searchResult.value = null
// searchNoData.value = false
// addPopup.value.open()
const
chosenStr
=
JSON
.
stringify
(
list
.
value
)
uni
.
navigateTo
({
url
:
`/myCenter/chooseExaminer?memId=
${
app
.
globalData
.
memberInfo
.
memId
}
&chosen=
${
chosenStr
}
`
...
...
@@ -284,6 +289,15 @@
// 执行添加考官
let
pendingAddRow
=
null
function
doAddExaminer
(
row
)
{
if
(
row
.
canChoose
!=
1
&&
pageType
.
value
!=
1
){
uni
.
showToast
({
title
:
'该考官资质已过期!'
,
duration
:
3000
,
icon
:
'none'
})
return
}
pendingAddRow
=
row
modalAction
=
'add'
modalConfig
.
value
=
{
...
...
@@ -304,6 +318,8 @@
.add-btn-box
{
padding
:
20
rpx
30
rpx
;
display
:
flex
;
justify-content
:
space-between
;
.btn-red-kx
{
width
:
100%
;
...
...
myCenter/chooseExaminer.vue
View file @
685385a
...
...
@@ -37,7 +37,7 @@ import {ref} from 'vue'
import
{
onLoad
,
onShow
}
from
'@dcloudio/uni-app'
import
*
as
api
from
'@/common/api.js'
import
config
from
'@/config.js'
const
app
=
getApp
();
const
loading
=
ref
(
true
)
const
infoList
=
ref
([])
const
chosen
=
ref
([])
...
...
@@ -58,7 +58,7 @@ console.log('222',chosen.value)
async
function
getList
()
{
loading
.
value
=
true
try
{
const
res
=
await
api
.
listApi
({
chooseFlag
:
1
})
const
res
=
await
api
.
listApi
({
memId
:
app
.
globalData
.
memberInfo
.
memId
})
infoList
.
value
=
res
.
rows
||
[]
}
catch
(
err
)
{
console
.
error
(
'获取考官列表失败:'
,
err
)
...
...
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