Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-PERPOSITION
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
JINRUN-PERPOSITION
Commits
3be6da31
Commit
3be6da31
authored
Nov 26, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:人员 page
parent
7368999b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
renyuan.vue
src/views/person/renyuan.vue
+0
-26
No files found.
src/views/person/renyuan.vue
View file @
3be6da31
...
...
@@ -86,7 +86,6 @@
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</
template
>
...
...
@@ -219,31 +218,6 @@ export default {
},
methods
:
{
// 图片路径拼接方法
getImageUrl
(
relativePath
)
{
// 如果没有图片路径或路径为空,返回默认图片
if
(
!
relativePath
)
{
return
"
/default-avatar.png
"
;
// 可以替换为您项目中的默认图片路径
}
// 检查是否已经是完整URL
if
(
relativePath
.
startsWith
(
"
http://
"
)
||
relativePath
.
startsWith
(
"
https://
"
)
)
{
return
relativePath
;
}
// 拼接基础URL和相对路径
// 这里需要根据您的项目实际情况修改基础URL
const
baseUrl
=
process
.
env
.
VUE_APP_BASE_API
||
""
;
// 可以从环境变量获取或直接使用固定地址
// 确保路径拼接正确,避免重复的斜杠
return
relativePath
.
startsWith
(
"
/
"
)
?
`
${
baseUrl
}${
relativePath
}
`
:
`
${
baseUrl
}
/
${
relativePath
}
`
;
},
/** 获取人员类型下拉列表数据 */
getPersonTypeOptions
()
{
// 调用数据字典接口
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment