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
e6c6de8d
authored
2026-05-09 10:01:56 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
级位考试
1 parent
a7c5fca8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
27 deletions
common/login.js
level/addApply.vue
level/chooseExaminer.vue
myCenter/chooseExaminer.vue
common/login.js
View file @
e6c6de8
...
...
@@ -179,11 +179,11 @@ function pcLoginOpenId() {
}
},
fail
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'获取用户信息失败'
,
icon
:
'none'
,
duration
:
2000
})
//
uni.showToast({
//
title: '获取用户信息失败',
//
icon: 'none',
//
duration: 2000
//
})
}
})
}
...
...
level/addApply.vue
View file @
e6c6de8
...
...
@@ -199,6 +199,25 @@
</view>
</uni-popup>
<!-- 调动确认弹框 -->
<uni-popup
ref=
"transferPopup"
type=
"center"
:mask-click=
"false"
style=
"z-index: 999999"
>
<view
class=
"add-popup"
>
<view
class=
"popup-title"
>
系统提示
</view>
<view
class=
"popup-content"
>
<view
class=
"transfer-tip"
>
该人员已在其他机构登记,是否申请调入?
</view>
<view
class=
"transfer-tip sub-tip"
>
如仅办理业务,请前往业务页面,点击【添加】直接办理。
</view>
</view>
<view
class=
"popup-btns"
>
<view
class=
"popup-btn cancel"
@
click=
"handleTransfer"
>
调动
</view>
<view
class=
"popup-btn confirm"
@
click=
"handleAddFromTransfer"
>
添加
</view>
</view>
</view>
</uni-popup>
</view>
</
template
>
...
...
@@ -266,6 +285,7 @@ const range = ref([{
// 添加考生弹框相关
const
addPopup
=
ref
(
null
)
const
transferPopup
=
ref
(
null
)
const
addForm
=
ref
({
name
:
''
,
idcType
:
'0'
,
...
...
@@ -480,6 +500,26 @@ function closeAddPopup() {
addPopup
.
value
?.
close
()
}
// 关闭调动确认弹框
function
closeTransferPopup
()
{
transferPopup
.
value
?.
close
()
}
// 跳转调动页面
function
handleTransfer
()
{
closeTransferPopup
()
addPopup
.
value
?.
close
()
uni
.
navigateTo
({
url
:
`/personalVip/mobilize`
})
}
// 从调动弹框点击添加
async
function
handleAddFromTransfer
()
{
closeTransferPopup
()
await
handelAddPerson
()
}
// 证件类型选择
function
onIdcTypeChange
(
e
)
{
idcTypeIndex
.
value
=
e
.
detail
.
value
...
...
@@ -503,23 +543,8 @@ async function confirmAdd() {
// 人员已存在,直接添加
await
handelAddPerson
()
}
else
{
// 人员不在本机构,弹出确认框
uni
.
showModal
({
title
:
'系统提示'
,
content
:
'该人员已在其他机构登记,是否申请调入?如仅办理业务,请前往业务页面,点击【添加】直接办理。'
,
confirmText
:
'添加'
,
cancelText
:
'调动'
,
success
:
async
function
(
res
)
{
if
(
res
.
confirm
)
{
await
handelAddPerson
()
}
else
if
(
res
.
cancel
)
{
// 跳转调动页面
uni
.
navigateTo
({
url
:
'/personal/memberTransfer'
})
}
}
})
// 人员不在本机构,显示自定义确认弹框(不关闭添加弹框,保留表单数据)
transferPopup
.
value
?.
open
()
}
}
catch
(
err
)
{
uni
.
hideLoading
()
...
...
@@ -1240,4 +1265,17 @@ function handleDelete(row) {
color
:
#C4121B
;
font-weight
:
500
;
}
.transfer-tip
{
font-size
:
28
rpx
;
color
:
#333
;
line-height
:
1.6
;
text-align
:
center
;
}
.sub-tip
{
color
:
#999
;
font-size
:
28
rpx
;
margin-top
:
16
rpx
;
}
</
style
>
...
...
level/chooseExaminer.vue
View file @
e6c6de8
...
...
@@ -5,14 +5,14 @@
<!-- 顶部添加考官按钮 -->
<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"
>
</button>
<
!--
<
button
class=
"btn-red-kx mini"
@
click=
"addExaminer"
>
<uni-icons
type=
"personadd"
size=
"14"
color=
"#AD181F"
></uni-icons>
添加考官
</button>
</button>
-->
</view>
<view
class=
"indexboxre"
>
...
...
myCenter/chooseExaminer.vue
View file @
e6c6de8
...
...
@@ -58,7 +58,7 @@ console.log('222',chosen.value)
async
function
getList
()
{
loading
.
value
=
true
try
{
const
res
=
await
api
.
listApi
({
memId
:
app
.
globalData
.
memberInfo
.
memId
})
const
res
=
await
api
.
listApi
({
chooseFlag
:
1
})
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