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
a70d771e
authored
2026-05-09 11:50:27 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加考官
1 parent
6a9f5df9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
level/chooseExaminer.vue
myCenter/chooseExaminer.vue
level/chooseExaminer.vue
View file @
a70d771
...
...
@@ -5,14 +5,14 @@
<!-- 顶部添加考官按钮 -->
<view
class=
"add-btn-box"
>
<button
class=
"btn-red-kx mini"
@
click=
"openAddExaminer"
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
<button
class=
"btn-red-kx mini"
@
click=
"openAddExaminer"
v-if=
"pageType !=2 "
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
选择考官
</button>
<
!--
<
button
class=
"btn-red-kx mini"
@
click=
"addExaminer"
>
<button
class=
"btn-red-kx mini"
@
click=
"addExaminer"
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
添加考官
</button>
-->
</button>
</view>
<view
class=
"indexboxre"
>
...
...
@@ -111,7 +111,8 @@
const
pageType
=
ref
(
''
)
onLoad
((
option
)
=>
{
if
(
option
.
pageType
){
pageType
.
value
=
option
.
pageType
||
''
pageType
.
value
=
option
.
pageType
||
''
// 2级位考官 1考官库 0是考点申请
console
.
log
(
'pageType:'
,
pageType
.
value
)
}
if
(
option
.
chosen
){
chosen
=
JSON
.
parse
(
decodeURIComponent
(
option
.
chosen
||
'[]'
))
...
...
@@ -175,8 +176,8 @@
})
return
}
if
(
row
.
canChoose
!=
1
)
{
console
.
log
(
'row:'
,
pageType
.
value
)
if
(
row
.
canChoose
!=
1
)
{
uni
.
showToast
({
title
:
'该考官资质已过期!'
,
icon
:
'error'
...
...
@@ -293,7 +294,7 @@ function addExaminer(){
let
pendingAddRow
=
null
function
doAddExaminer
(
row
)
{
if
(
row
.
canChoose
!=
1
&&
pageType
.
value
!=
1
){
if
(
row
.
canChoose
!=
1
&&
pageType
.
value
==
0
){
uni
.
showToast
({
title
:
'该考官资质已过期!'
,
duration
:
3000
,
...
...
myCenter/chooseExaminer.vue
View file @
a70d771
...
...
@@ -5,7 +5,7 @@
<image
class=
"empty-img"
mode=
"aspectFit"
:src=
"config.baseUrl_api + '/fs/static/nodata.png'"
></image>
<text
class=
"empty-text"
>
暂无考官数据
</text>
<button
class=
"go-lib-btn"
@
click=
"goPath('/level/chooseExaminer?pageType=
1
')"
>
去考官库添加考官吧
</button>
<button
class=
"go-lib-btn"
@
click=
"goPath('/level/chooseExaminer?pageType=
0
')"
>
去考官库添加考官吧
</button>
</view>
<!--
<view
class=
"empty-tip"
v-else-if=
"infoList.length === 0"
>
暂无可添加的考官
</view>
-->
...
...
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