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
a463bd31
authored
2026-05-07 14:47:44 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
考点申请
1 parent
1ed26d6f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
21 deletions
level/chooseExaminer.vue
level/ztx/examinationAudit.vue
level/ztx/examinationVerification.vue
myCenter/chooseExaminer.vue
myCenter/examPointApply.vue
pages/index/home.vue
level/chooseExaminer.vue
View file @
a463bd3
...
...
@@ -85,7 +85,7 @@
import
*
as
api
from
'@/common/api.js'
import
config
from
'@/config.js'
import
{
ref
}
from
'vue'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
onLoad
,
onShow
}
from
'@dcloudio/uni-app'
import
customModal
from
'@/components/custom-modal.vue'
const
app
=
getApp
();
...
...
@@ -116,6 +116,9 @@
console
.
log
(
'pageType.value'
,
pageType
.
value
)
getList
()
})
onShow
(()
=>
{
getList
()
})
function
getList
()
{
loading
.
value
=
true
...
...
@@ -235,11 +238,15 @@
// 打开添加考官弹窗
function
openAddExaminer
()
{
addForm
.
value
.
name
=
''
addForm
.
value
.
certCode
=
''
searchResult
.
value
=
null
searchNoData
.
value
=
false
addPopup
.
value
.
open
()
// 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
}
`
})
}
// 搜索并添加考官
...
...
@@ -281,7 +288,7 @@
modalAction
=
'add'
modalConfig
.
value
=
{
title
:
'提示'
,
content
:
`确定添加 "
${
row
.
perName
}
" 为考官吗?`
,
content
:
`确定添加 "
${
row
.
perName
||
row
.
name
}
" 为考官吗?`
,
showCancel
:
true
,
cancelText
:
'取消'
,
confirmText
:
'确定'
...
...
level/ztx/examinationAudit.vue
View file @
a463bd3
<
template
>
<view
class=
"audit-page"
>
<!-- 提示信息 -->
<view
class=
"tips-box"
>
<uni-icons
color=
"#
13B5B1
"
size=
"18"
type=
"info"
></uni-icons>
<
!--
<
view
class=
"tips-box"
>
<uni-icons
color=
"#
AD181F
"
size=
"18"
type=
"info"
></uni-icons>
<text
v-if=
"type === 'batch'"
class=
"tips-text"
>
批量审核
{{
ids
.
split
(
','
).
length
}}
条记录
</text>
<text
v-else
class=
"tips-text"
>
单个审核
</text>
</view>
</view>
-->
<!-- 审核表单 -->
<view
class=
"form-section"
>
...
...
@@ -254,7 +254,7 @@ async function confirmDel() {
min-height
:
100vh
;
background-color
:
#f5f5f5
;
padding
:
20
rpx
;
padding-bottom
:
120
rpx
;
//
padding-bottom
:
120
rpx
;
}
.tips-box
{
...
...
@@ -268,7 +268,7 @@ async function confirmDel() {
.tips-text
{
font-size
:
26
rpx
;
color
:
#
13B5B1
;
color
:
#
AD181F
;
}
}
...
...
@@ -332,8 +332,8 @@ async function confirmDel() {
&
.selected
{
.radio-circle
{
background-color
:
#
13B5B1
;
border-color
:
#
13B5B1
;
background-color
:
#
AD181F
;
border-color
:
#
AD181F
;
}
}
}
...
...
@@ -381,7 +381,7 @@ async function confirmDel() {
}
.btn-submit
{
background
:
linear-gradient
(
135deg
,
#13B5B1
,
#15c5c1
)
;
background
:
#C4121B
;
color
:
#fff
;
&[disabled]
{
...
...
level/ztx/examinationVerification.vue
View file @
a463bd3
...
...
@@ -476,7 +476,7 @@ function formatDate(dateStr) {
margin-bottom
:
20
rpx
;
box-shadow
:
0
4
rpx
12
rpx
rgba
(
0
,
0
,
0
,
0.05
);
position
:
relative
;
border-top
:
4
rpx
solid
#C4121B
;
//
border-top
:
4
rpx
solid
#C4121B
;
display
:
flex
;
flex-direction
:
column
;
gap
:
24
rpx
;
...
...
myCenter/chooseExaminer.vue
View file @
a463bd3
...
...
@@ -4,6 +4,8 @@
<view
class=
"empty"
v-else-if=
"infoList.length === 0"
>
<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>
</view>
<!--
<view
class=
"empty-tip"
v-else-if=
"infoList.length === 0"
>
暂无可添加的考官
</view>
-->
...
...
@@ -32,7 +34,7 @@
<
script
setup
>
import
{
ref
}
from
'vue'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
onLoad
,
onShow
}
from
'@dcloudio/uni-app'
import
*
as
api
from
'@/common/api.js'
import
config
from
'@/config.js'
...
...
@@ -46,8 +48,13 @@ onLoad((option) => {
memId
.
value
=
option
.
memId
||
''
chosen
.
value
=
option
.
chosen
?
JSON
.
parse
(
option
.
chosen
)
:
[]
getList
()
console
.
log
(
'onLoad'
,
memId
.
value
,
chosen
.
value
)
})
onShow
(()
=>
{
console
.
log
(
'onShow'
,
memId
.
value
)
console
.
log
(
'222'
,
chosen
.
value
)
getList
()
})
async
function
getList
()
{
loading
.
value
=
true
try
{
...
...
@@ -69,6 +76,11 @@ function onCheckboxChange(e) {
selectedIds
.
value
=
e
.
detail
.
value
}
function
goPath
(
url
)
{
if
(
!
url
)
return
uni
.
navigateTo
({
url
})
}
function
handleAdd
()
{
if
(
selectedIds
.
value
.
length
===
0
)
{
uni
.
showToast
({
title
:
'请先选择考官'
,
icon
:
'none'
})
...
...
@@ -106,6 +118,30 @@ function handleAdd() {
color
:
#666
;
}
/* .empty {
min-height: calc(100vh - 220rpx);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
} */
.go-lib-btn
{
margin-top
:
32
rpx
;
padding
:
0
36
rpx
;
height
:
72
rpx
;
line-height
:
72
rpx
;
background
:
#C4121B
;
color
:
#fff
;
font-size
:
26
rpx
;
border-radius
:
36
rpx
;
border
:
none
;
}
.go-lib-btn
::after
{
border
:
none
;
}
.examiner-list
{
background
:
#fff
;
}
...
...
myCenter/examPointApply.vue
View file @
a463bd3
...
...
@@ -159,7 +159,7 @@ async function handelSubmit() {
modalAction
=
'success'
modalConfig
.
value
=
{
title
:
'提示'
,
content
:
'
友情提示:非考点无法申请级位考试,
是否确认提交申请?'
,
content
:
'是否确认提交申请?'
,
showCancel
:
true
,
cancelText
:
'暂不申请'
,
confirmText
:
'确认提交'
...
...
pages/index/home.vue
View file @
a463bd3
...
...
@@ -97,7 +97,7 @@
<view
class=
"arrow"
></view>
</view>
<view
class=
"level-item"
@
click=
"goPath('/level/chooseExaminer?pageType=1')"
>
<image
:src=
"config.loginImage_api + '/fs/static/dg/icon1
0@3
x.png'"
class=
"level-icon"
></image>
<image
:src=
"config.loginImage_api + '/fs/static/dg/icon1
1@2
x.png'"
class=
"level-icon"
></image>
<text>
考官库
</text>
<view
class=
"arrow"
></view>
</view>
...
...
@@ -678,7 +678,7 @@ onLoad(option => {
});
}
if
(
app
.
globalData
.
changePassFlag
==
=
'1'
&&
memberInfo
.
value
.
activeStatus
==
'1'
&&
app
.
globalData
if
(
app
.
globalData
.
changePassFlag
==
'1'
&&
memberInfo
.
value
.
activeStatus
==
'1'
&&
app
.
globalData
.
authenticationStatus
==
2
)
{
uni
.
showModal
({
content
:
"密码长期未更新,请及时更新"
,
...
...
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