Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
高滢
psa-web
Commits
7e672aec
Commit
7e672aec
authored
Apr 20, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了日常报销的下拉框数据问题
parent
a412f3a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
index.vue
src/views/costManage/dailyReimburse/index.vue
+12
-13
index.vue
src/views/costManage/tripApplication/index.vue
+1
-1
index.vue
src/views/costManage/tripReimburse/index.vue
+1
-1
No files found.
src/views/costManage/dailyReimburse/index.vue
View file @
7e672aec
...
...
@@ -178,7 +178,7 @@
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"227"
>
<
template
#
default=
"scope"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
:disabled=
"
!printDis(scope.row)
"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
:disabled=
"
scope.row.status == 2
"
>
<img
src=
"@/assets/icons/common/edit.png"
height=
"32"
width=
"32"
/>
</el-button>
</el-tooltip>
...
...
@@ -234,7 +234,7 @@ import { listUser } from "@/api/system/user.js";
import
{
getProjectManagerName
}
from
"@/api/examineAndApprove/examineAndApprove.js"
import
{
useRouter
}
from
"vue-router"
;
import
{
ArrowDown
}
from
"@element-plus/icons-vue"
;
import
{
listAllUser
}
from
"../../../api/system/user.js"
;
const
router
=
useRouter
();
const
{
proxy
}
=
getCurrentInstance
();
const
{
cost_daily_status
,
cost_daily_type
}
=
proxy
.
useDict
(
'cost_daily_status'
,
'cost_daily_type'
);
...
...
@@ -338,20 +338,18 @@ const getProjectList = () => {
}
})
})
//项目经理
getProjectManagerName
().
then
(
res
=>
{
// console.log("我是项目经理测试",res.data)
managerOptions
.
value
=
res
.
data
.
map
(
item
=>
{
}
// 获取项目经理和事业部负责人下拉框数据
function
getUserSelectList
(){
listAllUser
().
then
(
response
=>
{
headOptions
.
value
=
response
.
data
.
headerList
.
map
(
item
=>
{
return
{
value
:
item
.
projectManag
erId
,
label
:
item
.
projectManager
Name
value
:
item
.
us
erId
,
label
:
item
.
nick
Name
}
})
// console.log("我是项目经理",headOptions.value)
})
//事业部负责人
listUser
().
then
(
response
=>
{
headOptions
.
value
=
response
.
rows
.
map
(
item
=>
{
managerOptions
.
value
=
response
.
data
.
managerList
.
map
(
item
=>
{
return
{
value
:
item
.
userId
,
label
:
item
.
nickName
...
...
@@ -473,6 +471,7 @@ onMounted(() => {
getList
();
getAllshenpiList
();
getProjectList
();
getUserSelectList
();
})
</
script
>
...
...
src/views/costManage/tripApplication/index.vue
View file @
7e672aec
...
...
@@ -139,7 +139,7 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
width=
"170"
>
<
template
#
default=
"scope"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
v-if=
"printDis(scope.row)
"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
:disabled=
"scope.row.status == 2
"
>
<img
src=
"@/assets/icons/common/edit.png"
height=
"32"
width=
"32"
/>
</el-button>
</el-tooltip>
...
...
src/views/costManage/tripReimburse/index.vue
View file @
7e672aec
...
...
@@ -123,7 +123,7 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
width=
"227"
>
<
template
#
default=
"scope"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
>
<el-button
link
type=
"text"
@
click=
"handleUpdate(scope.row)"
:disabled=
"scope.row.status == 2"
>
<img
src=
"@/assets/icons/common/edit.png"
height=
"32"
width=
"32"
/>
</el-button>
</el-tooltip>
...
...
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