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
cad76f82
Commit
cad76f82
authored
Apr 02, 2025
by
yanzhengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用审批-日常报销详情页完善
parent
d446e96a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
detail.vue
src/views/costManage/dailyReimburse/detail.vue
+9
-3
dailyReimburseApprove.vue
...ge/examineAndApprove/components/dailyReimburseApprove.vue
+14
-7
No files found.
src/views/costManage/dailyReimburse/detail.vue
View file @
cad76f82
...
...
@@ -144,19 +144,25 @@ const ruleForm = ref({
}],
})
let
type
=
proxy
.
$route
.
query
.
type
function
getDetail
()
{
let
id
=
proxy
.
$route
.
query
.
id
console
.
log
(
"路由"
,
id
)
//
console.log("路由",id)
detailCostManage
(
id
).
then
(
res
=>
{
ruleForm
.
value
=
res
.
data
console
.
log
(
"我是数据"
,
ruleForm
.
value
)
//
console.log("我是数据",ruleForm.value)
})
// console.log("坤坤",Id.value)
// console.log("test",ruleForm.value.childList)
}
function
back
(){
router
.
push
(
'/costManage/dailyReimburse'
)
if
(
type
===
'审批'
){
router
.
push
({
path
:
'/costManage/costManage/examineAndApprove'
})
}
else
{
router
.
push
(
'/costManage/dailyReimburse'
)
}
}
getDetail
()
</
script
>
...
...
src/views/costManage/examineAndApprove/components/dailyReimburseApprove.vue
View file @
cad76f82
...
...
@@ -157,11 +157,13 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"detail"
label=
"详情"
align=
"center"
width=
"100px"
>
<el-tooltip
content=
"详情"
placement=
"top"
>
<el-button
link
type=
"text"
@
click=
"handleView(scope.row)"
>
<img
src=
"@/assets/icons/common/check.png"
height=
"32"
width=
"32"
/>
</el-button>
</el-tooltip>
<
template
#
default=
"scope"
>
<el-tooltip
content=
"详情"
placement=
"top"
>
<el-button
link
type=
"text"
@
click=
"handleView(scope.row)"
>
<img
src=
"@/assets/icons/common/check.png"
height=
"32"
width=
"32"
/>
</el-button>
</el-tooltip>
</
template
>
</el-table-column>
<!-- 操作按钮-->
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"120px"
>
...
...
@@ -483,13 +485,13 @@ const getNodeList = ()=>{
const
costManageList
=
ref
([]);
const
getList
=
()
=>
{
loading
.
value
=
true
;
console
.
log
(
"参数"
,
queryParams
);
//
console.log("参数",queryParams);
listDailyApprove
(
queryParams
).
then
(
res
=>
{
loading
.
value
=
false
;
total
.
value
=
res
.
total
;
// Object.assign(costManageList,res.rows);
costManageList
.
value
=
res
.
rows
console
.
log
(
"审批页数据"
,
res
.
rows
);
//
console.log("审批页数据",res.rows);
for
(
let
i
in
costManageList
.
value
){
costManageList
.
value
[
i
].
currentStatus
=
approvalStatusChange
(
costManageList
.
value
[
i
].
approvalStatus
,
costManageList
.
value
[
i
].
currentAudiRoleId
)
}
...
...
@@ -511,6 +513,11 @@ function handleQuery() {
getList
();
}
/** 出差申请详情页 */
function
handleView
(
row
)
{
router
.
push
({
path
:
'/costManage/dailyReimburse/detail'
,
query
:
{
id
:
row
.
id
,
type
:
"审批"
}
});
}
// 切换展开/折叠状态
const
toggleSearch
=
()
=>
{
isExpanded
.
value
=
!
isExpanded
.
value
;
...
...
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