Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1cc5cbab
authored
Nov 21, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.4.0' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into SAAS+V5.4.0
2 parents
56569395
aa385e21
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
226 additions
and
102 deletions
src/store/modules/d2admin/modules/account.js
src/views/contentManager/activityManagement/activityDetails.vue
src/views/contentManager/activityManagement/index.vue
src/views/residentManage/recruitmentManagement/addRecruitment.vue
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
src/views/residentManage/recruitmentManagement/disposeRecruitment.vue
src/views/residentManage/recruitmentManagement/index.vue
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
src/views/salesManagement/customer/index.vue
src/views/system/login/index.vue
src/store/modules/d2admin/modules/account.js
View file @
1cc5cba
...
@@ -2,6 +2,8 @@ import util from "@/libs/util.js"
...
@@ -2,6 +2,8 @@ import util from "@/libs/util.js"
import
{
AccountLogin
,
getAuths
,
getUserInfo
}
from
"@api/sys.account"
import
{
AccountLogin
,
getAuths
,
getUserInfo
}
from
"@api/sys.account"
// import { SUPPER_ADMIN } from '@/common/constants'
// import { SUPPER_ADMIN } from '@/common/constants'
import
{
localRoutes
}
from
"@/router/routes"
import
{
localRoutes
}
from
"@/router/routes"
import
{
Message
}
from
"element-ui"
import
router
from
"@/router"
import
md5
from
"js-md5"
import
md5
from
"js-md5"
export
default
{
export
default
{
namespaced
:
true
,
namespaced
:
true
,
...
@@ -114,10 +116,21 @@ export default {
...
@@ -114,10 +116,21 @@ export default {
// ? routeAll.map((i) => i.authId)
// ? routeAll.map((i) => i.authId)
// : res.map((i) => i.authId)
// : res.map((i) => i.authId)
// if (targetRoutes.length === 0) {
if
(
targetRoutes
.
length
===
0
)
{
// this.$message.warning("无权限,请联系管理员")
// 显示提示
// return reject("无权限")
// Message({
// }
// message: "暂无权限,请联系管理员",
// type: "error",
// duration: 5 * 1000
// })
// setTimeout(() => {
// window.location.reload()
// }, 5000)
// window.location.reload()
// router.replace("/login")
// this.$message.error("无权限,请联系管理员")
return
reject
(
"暂无权限,请联系管理员"
)
}
// console.log(res, "res")
// console.log(res, "res")
// console.log(userInfo.beSuper, "userInfo.beSuper")
// console.log(userInfo.beSuper, "userInfo.beSuper")
// console.log(targetRoutes, "targetRoutes")
// console.log(targetRoutes, "targetRoutes")
...
...
src/views/contentManager/activityManagement/activityDetails.vue
View file @
1cc5cba
...
@@ -213,6 +213,7 @@ export default {
...
@@ -213,6 +213,7 @@ export default {
this
.
activeName
=
this
.
formData
.
activityCycleResponses
this
.
activeName
=
this
.
formData
.
activityCycleResponses
?
this
.
formData
.
activityCycleResponses
[
0
].
id
?
this
.
formData
.
activityCycleResponses
[
0
].
id
:
""
:
""
this
.
handleTextBoxFocus
()
console
.
log
(
this
.
formData
)
console
.
log
(
this
.
formData
)
},
},
...
...
src/views/contentManager/activityManagement/index.vue
View file @
1cc5cba
...
@@ -114,9 +114,9 @@
...
@@ -114,9 +114,9 @@
<div
class=
"time"
>
<div
class=
"time"
>
{{
{{
currentRow.startTime
currentRow.startTime
? dayjs(currentRow.startTime).format("YYYY-MM-DD HH:mm
:ss
") +
? dayjs(currentRow.startTime).format("YYYY-MM-DD HH:mm") +
" 至 " +
" 至 " +
dayjs(currentRow.endTime).format("YYYY-MM-DD HH:mm
:ss
")
dayjs(currentRow.endTime).format("YYYY-MM-DD HH:mm")
: "-"
: "-"
}}
}}
</div>
</div>
...
@@ -530,6 +530,12 @@ export default {
...
@@ -530,6 +530,12 @@ export default {
this
.
$message
.
warning
(
"请输入评选周期名称"
)
this
.
$message
.
warning
(
"请输入评选周期名称"
)
return
return
}
}
const
reg
=
/^
[
a-zA-Z0-9
\u
4e00-
\u
9fa5_()()
]
*$/
console
.
log
(
reg
.
test
(
this
.
cycleName
))
if
(
!
reg
.
test
(
this
.
cycleName
))
{
this
.
$message
.
error
(
"活动名称只能包含中文、英文、数字、下划线、括号"
)
return
}
addActivityCycle
({
addActivityCycle
({
activityId
:
this
.
currentRow
.
id
,
activityId
:
this
.
currentRow
.
id
,
cycleName
:
this
.
cycleName
cycleName
:
this
.
cycleName
...
...
src/views/residentManage/recruitmentManagement/addRecruitment.vue
View file @
1cc5cba
...
@@ -86,6 +86,7 @@ export default {
...
@@ -86,6 +86,7 @@ export default {
name
:
"regionOperationId"
,
name
:
"regionOperationId"
,
type
:
"select"
,
type
:
"select"
,
isClear
:
true
,
isClear
:
true
,
noDataText
:
"加载中..."
,
optionList
:
[],
optionList
:
[],
optionId
:
"uuid"
,
optionId
:
"uuid"
,
optionLabel
:
"staffName"
,
optionLabel
:
"staffName"
,
...
@@ -104,6 +105,7 @@ export default {
...
@@ -104,6 +105,7 @@ export default {
name
:
"businessType"
,
name
:
"businessType"
,
type
:
"select"
,
type
:
"select"
,
isClear
:
true
,
isClear
:
true
,
noDataText
:
"加载中..."
,
optionList
:
[],
optionList
:
[],
optionId
:
"itemValue"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionLabel
:
"itemName"
,
...
@@ -129,6 +131,7 @@ export default {
...
@@ -129,6 +131,7 @@ export default {
name
:
"recruitmentType"
,
name
:
"recruitmentType"
,
type
:
"select"
,
type
:
"select"
,
isClear
:
true
,
isClear
:
true
,
noDataText
:
"加载中..."
,
optionList
:
[],
optionList
:
[],
optionId
:
"itemValue"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionLabel
:
"itemName"
,
...
@@ -146,8 +149,7 @@ export default {
...
@@ -146,8 +149,7 @@ export default {
label
:
"需求描述"
,
label
:
"需求描述"
,
name
:
"requirementDescription"
,
name
:
"requirementDescription"
,
placeholder
:
"请简单描述用人要求等信息"
,
placeholder
:
"请简单描述用人要求等信息"
,
type
:
"input"
,
type
:
"textarea"
,
inputType
:
"textarea"
,
showLimit
:
true
,
showLimit
:
true
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
200
,
maxlength
:
200
,
...
...
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
View file @
1cc5cba
...
@@ -295,44 +295,65 @@ export default {
...
@@ -295,44 +295,65 @@ export default {
await
this
.
fetchOnboardingPlans
()
await
this
.
fetchOnboardingPlans
()
this
.
isEntryVisible
=
!
this
.
isEntryVisible
this
.
isEntryVisible
=
!
this
.
isEntryVisible
this
.
isEntryForm
=
deepClone
(
data
)
this
.
isEntryForm
=
deepClone
(
data
)
this
.
checkParams
(
this
.
isEntryForm
)
this
.
updateParams
(
this
.
isEntryForm
)
this
.
updateParams
(
this
.
isEntryForm
)
},
},
updateParams
(
data
)
{
checkParams
(
data
)
{
data
.
appearanceName
=
if
(
!
data
)
return
this
.
filterAttribute
(
"appearanceData"
,
const
fields
=
[
"itemValue"
,
{
typeKey
:
"appearanceType"
,
dataKey
:
"appearanceData"
},
"itemName"
,
{
typeKey
:
"positionMatchDegreeType"
,
dataKey
:
"matchdegreeData"
},
data
.
appearanceType
{
typeKey
:
"educationLevelType"
,
dataKey
:
"educationData"
},
)
||
data
.
appearanceName
{
typeKey
:
"abilityPerformanceType"
,
dataKey
:
"abilityData"
},
data
.
positionMatchDegreeName
=
{
typeKey
:
"personalityType"
,
dataKey
:
"characterData"
}
this
.
filterAttribute
(
]
"matchdegreeData"
,
"itemValue"
,
fields
.
forEach
((
field
)
=>
{
"itemName"
,
const
{
typeKey
,
dataKey
}
=
field
data
.
positionMatchDegreeType
const
value
=
data
[
typeKey
]
)
||
data
.
positionMatchDegreeName
const
isValid
=
this
.
filterAttribute
(
data
.
educationLevelName
=
dataKey
,
this
.
filterAttribute
(
"educationData"
,
"itemValue"
,
"itemName"
,
data
.
educationLevelType
)
||
data
.
educationLevelName
data
.
abilityPerformanceName
=
this
.
filterAttribute
(
"abilityData"
,
"itemValue"
,
"itemValue"
,
"itemName"
,
"itemName"
,
data
.
abilityPerformanceType
value
)
||
data
.
abilityPerformanceName
)
data
.
personalityName
=
data
[
typeKey
]
=
isValid
?
value
:
""
this
.
filterAttribute
(
})
"characterData"
,
},
updateParams
(
data
)
{
if
(
!
data
)
return
const
fieldMap
=
{
appearanceType
:
"appearanceName"
,
positionMatchDegreeType
:
"positionMatchDegreeName"
,
educationLevelType
:
"educationLevelName"
,
abilityPerformanceType
:
"abilityPerformanceName"
,
personalityType
:
"personalityName"
}
Object
.
keys
(
fieldMap
).
forEach
((
typeKey
)
=>
{
const
nameKey
=
fieldMap
[
typeKey
]
if
(
data
[
typeKey
])
{
const
result
=
this
.
filterAttribute
(
this
.
getDataKeyByType
(
typeKey
),
"itemValue"
,
"itemValue"
,
"itemName"
,
"itemName"
,
data
.
personalityType
data
[
typeKey
]
)
||
data
.
personalityName
)
data
[
nameKey
]
=
result
||
data
[
nameKey
]
}
})
},
getDataKeyByType
(
typeKey
)
{
const
mapping
=
{
appearanceType
:
"appearanceData"
,
positionMatchDegreeType
:
"matchdegreeData"
,
educationLevelType
:
"educationData"
,
abilityPerformanceType
:
"abilityData"
,
personalityType
:
"characterData"
}
return
mapping
[
typeKey
]
||
""
},
},
//删除简历
//删除简历
handleDelete
(
index
)
{
handleDelete
(
index
)
{
...
...
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
View file @
1cc5cba
...
@@ -275,8 +275,7 @@ export default {
...
@@ -275,8 +275,7 @@ export default {
{
{
label
:
"说明"
,
label
:
"说明"
,
name
:
"description"
,
name
:
"description"
,
type
:
"input"
,
type
:
"textarea"
,
inputType
:
"textarea"
,
showLimit
:
true
,
showLimit
:
true
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
200
,
maxlength
:
200
,
...
...
src/views/residentManage/recruitmentManagement/disposeRecruitment.vue
View file @
1cc5cba
...
@@ -52,13 +52,16 @@ export default {
...
@@ -52,13 +52,16 @@ export default {
resumes
:
this
.
detailInfo
.
resumes
,
resumes
:
this
.
detailInfo
.
resumes
,
onboardingPlans
:
this
.
detailInfo
.
onboardingPlans
onboardingPlans
:
this
.
detailInfo
.
onboardingPlans
}
}
handleRecruitment
(
params
).
then
((
res
)
=>
{
handleRecruitment
(
params
)
.
then
((
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
btnLoding
=
false
this
.
$router
.
push
(
"/recruitmentManagement"
)
this
.
$router
.
push
(
"/recruitmentManagement"
)
this
.
$message
.
success
(
"提交成功"
)
this
.
$message
.
success
(
"提交成功"
)
}
}
})
})
.
finally
(()
=>
{
this
.
btnLoding
=
false
})
},
},
//转入职
//转入职
handleWorking
(
data
)
{
handleWorking
(
data
)
{
...
@@ -112,13 +115,12 @@ export default {
...
@@ -112,13 +115,12 @@ export default {
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
min-width
:
1240px
;
min-width
:
1240px
;
height
:
800px
;
overflow
:
scroll
;
overflow
:
scroll
;
.footer
{
.footer
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
20px
0
;
padding
-top
:
20px
;
.save-btn
{
.save-btn
{
//
width
:
60px
;
//
width
:
60px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
...
@@ -146,6 +148,49 @@ export default {
...
@@ -146,6 +148,49 @@ export default {
.layout
{
.layout
{
height
:
calc
(
100%
-
58px
);
height
:
calc
(
100%
-
58px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
//
也为.layout内的滚动条设置透明样式
&::-webkit-scrollbar
{
width
:
1px
;
height
:
1px
;
}
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
border-radius
:
4px
;
}
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
}
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
}
}
}
//
修改滚动条样式为透明
&
::-webkit-scrollbar
{
width
:
1px
;
height
:
1px
;
}
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
border-radius
:
1px
;
}
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
}
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
}
}
//
为了兼容性,也可以添加标准的
CSS
滚动条样式
.look-recruitment
,
.layout
{
scrollbar-color
:
transparent
transparent
;
scrollbar-width
:
thin
;
}
}
</
style
>
</
style
>
src/views/residentManage/recruitmentManagement/index.vue
View file @
1cc5cba
...
@@ -315,8 +315,7 @@ export default {
...
@@ -315,8 +315,7 @@ export default {
{
{
label
:
"驳回原因"
,
label
:
"驳回原因"
,
name
:
"recallReason"
,
name
:
"recallReason"
,
type
:
"input"
,
type
:
"textarea"
,
inputType
:
"textarea"
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
200
,
maxlength
:
200
,
showLimit
:
true
,
showLimit
:
true
,
...
...
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
View file @
1cc5cba
...
@@ -49,13 +49,12 @@ export default {
...
@@ -49,13 +49,12 @@ export default {
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
min-width
:
1240px
;
min-width
:
1240px
;
height
:
800px
;
overflow
:
scroll
;
overflow
:
scroll
;
.footer
{
.footer
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
20px
0
;
padding
-top
:
20px
;
.save-btn
{
.save-btn
{
//
width
:
60px
;
//
width
:
60px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
...
@@ -83,6 +82,48 @@ export default {
...
@@ -83,6 +82,48 @@ export default {
.layout
{
.layout
{
height
:
calc
(
100%
-
65px
);
height
:
calc
(
100%
-
65px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
//
也为.layout内的滚动条设置透明样式
&::-webkit-scrollbar
{
width
:
1px
;
height
:
1px
;
}
}
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
border-radius
:
1px
;
}
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
}
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
}
}
//
修改滚动条样式为透明
&
::-webkit-scrollbar
{
width
:
1px
;
height
:
1px
;
}
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
border-radius
:
1px
;
}
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
}
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
}
}
//
为了兼容性,也可以添加标准的
CSS
滚动条样式
.look-recruitment
,
.layout
{
scrollbar-color
:
transparent
transparent
;
scrollbar-width
:
thin
;
}
}
</
style
>
</
style
>
src/views/salesManagement/customer/index.vue
View file @
1cc5cba
...
@@ -215,6 +215,18 @@ export default {
...
@@ -215,6 +215,18 @@ export default {
type
:
'datePicker'
,
type
:
'datePicker'
,
// pickerOptions: 'rangePickerOptions',
// pickerOptions: 'rangePickerOptions',
isClear
:
true
isClear
:
true
},
{
label
:
'门店名称'
,
name
:
'storeName'
,
type
:
'input'
,
maxlength
:
'50'
,
isClear
:
true
},
{
label
:
'关联商户'
,
name
:
'merchantName'
,
type
:
'input'
,
maxlength
:
'50'
,
isClear
:
true
}],
}],
getListApi
:
potentialCustomersPage
,
getListApi
:
potentialCustomersPage
,
noLoading
:
true
,
noLoading
:
true
,
...
...
src/views/system/login/index.vue
View file @
1cc5cba
...
@@ -8,29 +8,18 @@
...
@@ -8,29 +8,18 @@
</ul>
</ul>
</div>
</div>
<div
class=
"page-login--layer"
>
<div
class=
"page-login--layer"
>
<div
<div
class=
"page-login--content"
flex=
"dir:top main:justify cross:stretch box:justify"
>
class=
"page-login--content"
flex=
"dir:top main:justify cross:stretch box:justify"
>
<div
class=
"page-login--content-header"
>
<div
class=
"page-login--content-header"
>
<p
class=
"page-login--content-header-motto"
/>
<p
class=
"page-login--content-header-motto"
/>
</div>
</div>
<div
<div
class=
"page-login--content-main"
>
class=
"page-login--content-main"
>
<!-- form -->
<!-- form -->
<div
class=
"page-login--form-box"
@
click=
"handleReturnLogin"
>
<div
class=
"page-login--form-box"
@
click=
"handleReturnLogin"
>
<div
class=
"page-login--form"
v-show=
"!isMutiAccount"
>
<div
class=
"page-login--form"
v-show=
"!isMutiAccount"
>
<div
class=
"form-left"
>
<div
class=
"form-left"
>
<el-form
<el-form
ref=
"loginForm"
label-position=
"top"
:rules=
"rules"
:model=
"formLogin"
size=
"default"
>
ref=
"loginForm"
label-position=
"top"
:rules=
"rules"
:model=
"formLogin"
size=
"default"
>
<div
class=
"title-wrap"
>
<div
class=
"title-wrap"
>
<span
class=
"form-title"
>
{{
systemName
}}
</span>
<span
class=
"form-title"
>
{{
systemName
}}
</span>
<!--
<span
class=
"form-title"
>
<!--
<span
class=
"form-title"
>
<img
src=
"./image/title.png"
alt=
"D+智享车生活"
/>
<img
src=
"./image/title.png"
alt=
"D+智享车生活"
/>
</span>
-->
</span>
-->
...
@@ -39,13 +28,8 @@
...
@@ -39,13 +28,8 @@
<div
class=
"form-login-title"
>
账户密码登录
</div>
<div
class=
"form-login-title"
>
账户密码登录
</div>
<div
class=
"input-wrap"
>
<div
class=
"input-wrap"
>
<el-form-item
prop=
"userName"
>
<el-form-item
prop=
"userName"
>
<el-input
<el-input
type=
"text"
@
keyup
.
native
.
13=
"submit"
v-model=
"formLogin.userName"
placeholder=
"账户"
type=
"text"
clearable
v-focus
>
@
keyup
.
native
.
13=
"submit"
v-model=
"formLogin.userName"
placeholder=
"账户"
clearable
v-focus
>
<i
slot=
"prefix"
class=
"icon el-icon-user"
></i>
<i
slot=
"prefix"
class=
"icon el-icon-user"
></i>
<!--
<img
slot=
"prefix"
class=
"icon"
src=
"./image/account.png"
alt=
"账户"
/>
-->
<!--
<img
slot=
"prefix"
class=
"icon"
src=
"./image/account.png"
alt=
"账户"
/>
-->
<!--
<d2-el-icon
<!--
<d2-el-icon
...
@@ -55,13 +39,8 @@
...
@@ -55,13 +39,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-form-item
prop=
"password"
>
<el-input
<el-input
type=
"password"
v-model=
"formLogin.password"
@
keyup
.
native
.
13=
"submit"
clearable
type=
"password"
placeholder=
"密码"
>
v-model=
"formLogin.password"
@
keyup
.
native
.
13=
"submit"
clearable
placeholder=
"密码"
>
<i
slot=
"prefix"
class=
"icon el-icon-key"
></i>
<i
slot=
"prefix"
class=
"icon el-icon-key"
></i>
<!--
<img
slot=
"prefix"
class=
"icon"
src=
"./image/password.png"
alt=
"密码"
/>
-->
<!--
<img
slot=
"prefix"
class=
"icon"
src=
"./image/password.png"
alt=
"密码"
/>
-->
<!--
<d2-el-icon
<!--
<d2-el-icon
...
@@ -72,22 +51,11 @@
...
@@ -72,22 +51,11 @@
</el-form-item>
</el-form-item>
<el-form-item
class=
"form-action"
>
<el-form-item
class=
"form-action"
>
<!-- $store.state.d2admin.loading.value -->
<!-- $store.state.d2admin.loading.value -->
<el-button
<el-button
@
click=
"submit"
type=
"primary"
:loading=
"$store.state.d2admin.loading.value"
@
click=
"submit"
class=
"button-login"
style=
"height: 48px;"
:style=
"
{ width: hasReg ? '' : '100%' }">
type=
"primary"
:loading=
"$store.state.d2admin.loading.value"
class=
"button-login"
style=
"height: 48px;"
:style=
"
{ width: hasReg ? '' : '100%' }"
>
登录
登录
</el-button>
</el-button>
<el-button
<el-button
v-if=
"hasReg"
@
click
.
prevent=
"registerDialogVisible = true"
plain
class=
"button-reg"
>
v-if=
"hasReg"
@
click
.
prevent=
"registerDialogVisible = true"
plain
class=
"button-reg"
>
注册
注册
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -98,12 +66,8 @@
...
@@ -98,12 +66,8 @@
<div
class=
"page-login--muti-form"
v-show=
"isMutiAccount"
>
<div
class=
"page-login--muti-form"
v-show=
"isMutiAccount"
>
<div
class=
"muti-title"
>
请选择登录商户号
</div>
<div
class=
"muti-title"
>
请选择登录商户号
</div>
<div
class=
"muti-form-box"
>
<div
class=
"muti-form-box"
>
<div
<div
class=
"muti-merchant-item"
v-for=
"(item, index) in accountInfo.accountList"
:key=
"index"
class=
"muti-merchant-item"
@
click
.
stop
.
prevent=
"handleSelectAccount(index)"
>
v-for=
"(item, index) in accountInfo.accountList"
:key=
"index"
@
click
.
stop
.
prevent=
"handleSelectAccount(index)"
>
<!--
<i
class=
"muti-dot"
/>
-->
<!--
<i
class=
"muti-dot"
/>
-->
<div
class=
"muti-merchant-info"
>
<div
class=
"muti-merchant-info"
>
<div
class=
"muti-merchant-box"
>
<div
class=
"muti-merchant-box"
>
...
@@ -272,18 +236,31 @@ export default {
...
@@ -272,18 +236,31 @@ export default {
this
.
getAuth
({
this
.
getAuth
({
userInfo
:
userInfo
,
userInfo
:
userInfo
,
accountInfo
:
this
.
accountInfo
accountInfo
:
this
.
accountInfo
}).
then
(
async
()
=>
{
})
.
then
(
async
(
res
)
=>
{
console
.
log
(
res
,
'merchantAccountLevel'
)
const
_current
=
const
_current
=
userInfo
.
detail
.
accountType
!==
7
userInfo
.
detail
.
accountType
!==
7
?
await
this
.
current
()
?
await
this
.
current
()
:
"/onlineAccountList"
:
"/onlineAccountList"
await
this
.
initBaseData
()
await
this
.
initBaseData
()
// console.log(this.$route.query.redirect)
// console.log(this.$route.query.redirect)
// console.log(_current)
// console.log(_current)
// return
// return
this
.
$router
.
replace
(
this
.
$route
.
query
.
redirect
||
_current
)
this
.
$router
.
replace
(
this
.
$route
.
query
.
redirect
||
_current
)
})
})
.
catch
((
err
)
=>
{
// 接收 getAuth 的 reject 并做对应处理
console
.
error
(
'getAuth failed:'
,
err
)
const
msg
=
typeof
err
===
'string'
?
err
:
(
err
&&
err
.
message
)
||
'获取权限失败,请联系管理员'
this
.
$message
&&
this
.
$message
.
error
(
msg
)
this
.
isMutiAccount
=
false
// 可选:重置登录按钮 loading / 回到登录页 / 清理态
// if (this.loading) this.loading = false
// this.$router.replace('/login')
})
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
logining
=
false
this
.
logining
=
false
...
@@ -332,6 +309,7 @@ export default {
...
@@ -332,6 +309,7 @@ export default {
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
}
}
.page-login
{
.page-login
{
@extend
%unable-select;
@extend
%unable-select;
//
$
backgroundColor
:
#2a343d
;
//
$
backgroundColor
:
#2a343d
;
...
@@ -496,9 +474,10 @@ export default {
...
@@ -496,9 +474,10 @@ export default {
.muti-merchant-info
{
.muti-merchant-info
{
text-align
:
left
;
text-align
:
left
;
.muti-merchant-box
{
.muti-merchant-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.muti-merchant-name
{
.muti-merchant-name
{
...
@@ -599,6 +578,7 @@ export default {
...
@@ -599,6 +578,7 @@ export default {
//
letter-spacing
:
18px
;
//
letter-spacing
:
18px
;
}
}
}
}
.form-login-title
{
.form-login-title
{
color
:
#000000
;
color
:
#000000
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -610,6 +590,7 @@ export default {
...
@@ -610,6 +590,7 @@ export default {
.el-form-item
{
.el-form-item
{
margin-bottom
:
28px
;
margin-bottom
:
28px
;
}
}
.el-input
{
.el-input
{
width
:
368px
;
width
:
368px
;
height
:
48px
;
height
:
48px
;
...
@@ -617,6 +598,7 @@ export default {
...
@@ -617,6 +598,7 @@ export default {
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
8px
;
border-radius
:
8px
;
}
}
/* 覆盖实际输入框内层,确保高度/行高一致 */
/* 覆盖实际输入框内层,确保高度/行高一致 */
.el-input
.el-input__inner
{
.el-input
.el-input__inner
{
height
:
48px
!important
;
height
:
48px
!important
;
...
@@ -626,6 +608,7 @@ export default {
...
@@ -626,6 +608,7 @@ export default {
border-radius
:
8px
;
border-radius
:
8px
;
font-size
:
16px
;
font-size
:
16px
;
}
}
/* 覆盖前后缀区域,保证垂直居中 */
/* 覆盖前后缀区域,保证垂直居中 */
.el-input__prefix
{
.el-input__prefix
{
height
:
48px
;
height
:
48px
;
...
@@ -633,12 +616,14 @@ export default {
...
@@ -633,12 +616,14 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
/* 覆盖表单项内容容器,保证整体高度和行高 */
/* 覆盖表单项内容容器,保证整体高度和行高 */
.el-form-item__content
{
.el-form-item__content
{
height
:
48px
;
height
:
48px
;
line-height
:
48px
!important
;
line-height
:
48px
!important
;
font-size
:
16px
;
font-size
:
16px
;
}
}
.icon
{
.icon
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
...
...
Write
Preview
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