feat(login): 重构登录页面并优化认证流程

- 重新设计登录界面UI,增加装饰元素和动画效果
- 更新登录表单布局,添加图标和标签
- 修改存储的token名称为inspur-admin-Token和fourLevelLinkage-token
- 在帮助筛选页面添加Bearer前缀到授权头
- 从帮助筛选页面传递goal_person_id参数到跟进页面
- 禁用智能推荐按钮并注释相关代码
- 移除首页招聘会服务项的权限检查条件
- 在跟进页面保存成功后刷新列表数据
- 从路由参数获取goal_person_id并设置到人员信息中
This commit is contained in:
hanguangpu01
2026-04-24 14:35:05 +08:00
parent d817ce2524
commit 4e57363b4a
4 changed files with 264 additions and 123 deletions

View File

@@ -162,7 +162,7 @@ const onDateChange = ( e) => {
}
function getFollowList(){
let header={
'Authorization':uni.getStorageSync('fourLevelLinkage-token'),
'Authorization':'Bearer ' + uni.getStorageSync('fourLevelLinkage-token'),
'Content-Type': "application/x-www-form-urlencoded"
}
let params={
@@ -211,13 +211,14 @@ const handleSubmit = () => {
formRef.value?.validate()
.then(() => {
let header={
'Authorization':uni.getStorageSync('fourLevelLinkage-token')
'Authorization':'Bearer ' + uni.getStorageSync('fourLevelLinkage-token')
}
formData.goalPersonId=personInfo.value.goalPersonId
$api.myRequest('/dispatch/assist/records/addRecords', formData,'post',9100,header).then((resData) => {
console.log("resData",resData)
if(resData && resData.code == 200){
handleReset()
getFollowList()
uni.showToast({
title: '保存成功',
icon: 'success',
@@ -247,6 +248,8 @@ const handleReset = () => {
formData.nextContactDate = '';
}
onLoad((options) => {
console.log(options)
personInfo.value.goalPersonId=options.goal_person_id
personInfo.value.person_id=options.person_id
personInfo.value.name=options.name
personInfo.value.taskType=options.taskType