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
3ebb0b7c
Commit
3ebb0b7c
authored
Apr 11, 2025
by
yanzhengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用审批-日常、出差列表修改
parent
46978617
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
examineAndApprove.js
src/api/examineAndApprove/examineAndApprove.js
+8
-0
tripApplicationApprove.vue
...e/examineAndApprove/components/tripApplicationApprove.vue
+6
-6
index.vue
src/views/costManage/tripApplication/index.vue
+2
-2
No files found.
src/api/examineAndApprove/examineAndApprove.js
View file @
3ebb0b7c
...
@@ -100,6 +100,14 @@ export function dailyCostNotPass(query) {
...
@@ -100,6 +100,14 @@ export function dailyCostNotPass(query) {
}
}
// 3.出差申请审批
// 3.出差申请审批
//出差申请-列表
export
function
tripApplicationList
(
query
)
{
return
request
({
url
:
'/expenseApproval/tripExpenseList'
,
method
:
'get'
,
params
:
query
})
}
//出差申请-通过
//出差申请-通过
export
function
tripApplicationApproval
(
query
)
{
export
function
tripApplicationApproval
(
query
)
{
return
request
({
return
request
({
...
...
src/views/costManage/examineAndApprove/components/tripApplicationApprove.vue
View file @
3ebb0b7c
...
@@ -127,8 +127,8 @@
...
@@ -127,8 +127,8 @@
<dict-tag
:options=
"project_type"
:value=
"scope.row.projectType"
/>
<dict-tag
:options=
"project_type"
:value=
"scope.row.projectType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"出差地点"
align=
"center"
prop=
"tripAddress"
min-width=
"120"
/>
<el-table-column
label=
"出差地点"
align=
"center"
prop=
"tripAddress"
min-width=
"120"
show-overflow-tooltip
/>
<el-table-column
label=
"出差事由"
align=
"center"
prop=
"tripReason"
min-width=
"150"
/>
<el-table-column
label=
"出差事由"
align=
"center"
prop=
"tripReason"
min-width=
"150"
show-overflow-tooltip
/>
<el-table-column
label=
"预计开始时间"
align=
"center"
prop=
"tripStartDate"
min-width=
"150"
></el-table-column>
<el-table-column
label=
"预计开始时间"
align=
"center"
prop=
"tripStartDate"
min-width=
"150"
></el-table-column>
<el-table-column
label=
"预计结束时间"
align=
"center"
prop=
"tripEndDate"
min-width=
"150"
></el-table-column>
<el-table-column
label=
"预计结束时间"
align=
"center"
prop=
"tripEndDate"
min-width=
"150"
></el-table-column>
<el-table-column
label=
"项目经理"
align=
"center"
prop=
"projectUserName"
min-width=
"120"
/>
<el-table-column
label=
"项目经理"
align=
"center"
prop=
"projectUserName"
min-width=
"120"
/>
...
@@ -196,19 +196,19 @@
...
@@ -196,19 +196,19 @@
import
{
onMounted
,
reactive
,
ref
}
from
"vue"
;
import
{
onMounted
,
reactive
,
ref
}
from
"vue"
;
const
{
proxy
}
=
getCurrentInstance
();
const
{
proxy
}
=
getCurrentInstance
();
import
FlowChart
from
'@/components/FlowChart/index.vue'
import
FlowChart
from
'@/components/FlowChart/index.vue'
import
{
listTripApplication
,
projectList
}
from
"../../../../api/costManage/cost.js"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
import
{
getApproveNodeList
,
getProjectManagerName
,
getApproveNodeList
,
getProjectManagerName
,
getProjectName
,
getProjectName
,
getRoleId
,
getRoleId
,
tripApplicationList
,
tripApplicationApproval
,
tripApplicationApproval
,
tripApplicationPassNotPass
tripApplicationPassNotPass
}
from
"
../../../..
/api/examineAndApprove/examineAndApprove.js"
;
}
from
"
@
/api/examineAndApprove/examineAndApprove.js"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
ArrowDown
}
from
"@element-plus/icons-vue"
;
import
{
ArrowDown
}
from
"@element-plus/icons-vue"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
{
project_status
,
cost_daily_status
,
project_type
}
=
proxy
.
useDict
(
'project_status'
,
'cost_daily_status'
,
'project_type'
);
const
{
cost_daily_status
,
project_type
}
=
proxy
.
useDict
(
'cost_daily_status'
,
'project_type'
);
const
list
=
ref
([])
// 流程图内容,只有值
const
list
=
ref
([])
// 流程图内容,只有值
const
allList
=
ref
([])
// 流程图内容,值和角色id
const
allList
=
ref
([])
// 流程图内容,值和角色id
...
@@ -313,7 +313,7 @@ const getRoleInfo = ()=>{
...
@@ -313,7 +313,7 @@ const getRoleInfo = ()=>{
// 列表
// 列表
const
ReimbursementRequestList
=
ref
([]);
const
ReimbursementRequestList
=
ref
([]);
const
getList
=
()
=>
{
const
getList
=
()
=>
{
listTripApplication
(
queryParams
).
then
(
response
=>
{
tripApplicationList
(
queryParams
).
then
(
response
=>
{
// console.log("出差申请-列表",response.rows)
// console.log("出差申请-列表",response.rows)
total
.
value
=
response
.
total
total
.
value
=
response
.
total
ReimbursementRequestList
.
value
=
response
.
rows
ReimbursementRequestList
.
value
=
response
.
rows
...
...
src/views/costManage/tripApplication/index.vue
View file @
3ebb0b7c
...
@@ -133,8 +133,8 @@
...
@@ -133,8 +133,8 @@
<dict-tag
:options=
"project_type"
:value=
"scope.row.projectType"
/>
<dict-tag
:options=
"project_type"
:value=
"scope.row.projectType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"出差地点"
align=
"center"
prop=
"tripAddress"
min-width=
"120"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"出差地点"
align=
"center"
prop=
"tripAddress"
min-width=
"120"
show-overflow-tooltip
/>
<el-table-column
label=
"出差事由"
align=
"center"
prop=
"tripReason"
min-width=
"100"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"出差事由"
align=
"center"
prop=
"tripReason"
min-width=
"100"
show-overflow-tooltip
/>
<el-table-column
label=
"预计开始时间"
align=
"center"
prop=
"tripStartDate"
min-width=
"130"
/>
<el-table-column
label=
"预计开始时间"
align=
"center"
prop=
"tripStartDate"
min-width=
"130"
/>
<el-table-column
label=
"预计结束时间"
align=
"center"
prop=
"tripEndDate"
min-width=
"130"
/>
<el-table-column
label=
"预计结束时间"
align=
"center"
prop=
"tripEndDate"
min-width=
"130"
/>
<el-table-column
label=
"项目经理"
align=
"center"
prop=
"projectUserName"
min-width=
"120"
/>
<el-table-column
label=
"项目经理"
align=
"center"
prop=
"projectUserName"
min-width=
"120"
/>
...
...
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