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
44a40f78
Commit
44a40f78
authored
Apr 03, 2025
by
yanzhengyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
10e8e882
cf75cd53
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
projectCostReimbursement.js
src/api/projectCostReimbursement/projectCostReimbursement.js
+1
-1
projectCostRequest.js
src/api/projectCostRequest/projectCostRequest.js
+1
-1
index.vue
src/views/costManage/projectCostReimbursement/index.vue
+3
-3
index.vue
src/views/costManage/projectCostRequest/index.vue
+4
-3
No files found.
src/api/projectCostReimbursement/projectCostReimbursement.js
View file @
44a40f78
...
@@ -12,7 +12,7 @@ export function getReimbursementList(query) {
...
@@ -12,7 +12,7 @@ export function getReimbursementList(query) {
// 获取所有项目名称(查询下拉框)
// 获取所有项目名称(查询下拉框)
export
function
getProjectName
()
{
export
function
getProjectName
()
{
return
request
({
return
request
({
url
:
'/
projectCostRequest/projectAll
List'
,
url
:
'/
dailyReimbursement/dailyReimbursement/project
List'
,
method
:
'get'
method
:
'get'
})
})
}
}
...
...
src/api/projectCostRequest/projectCostRequest.js
View file @
44a40f78
...
@@ -26,7 +26,7 @@ export function getProjectList() {
...
@@ -26,7 +26,7 @@ export function getProjectList() {
//获取所有项目名称(查询下拉框)
//获取所有项目名称(查询下拉框)
export
function
getProjectName
()
{
export
function
getProjectName
()
{
return
request
({
return
request
({
url
:
'/
projectCostRequest/projectAll
List'
,
url
:
'/
dailyReimbursement/dailyReimbursement/project
List'
,
method
:
'get'
method
:
'get'
})
})
}
}
...
...
src/views/costManage/projectCostReimbursement/index.vue
View file @
44a40f78
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<el-select
style=
"width: 220px"
v-model=
"queryParams.projectName"
placeholder=
"请选择项目名称"
clearable
>
<el-select
style=
"width: 220px"
v-model=
"queryParams.projectName"
placeholder=
"请选择项目名称"
clearable
>
<el-option
<el-option
v-for=
"item in projectNameList"
v-for=
"item in projectNameList"
:key=
"item"
:key=
"item
.projectName
"
:label=
"item"
:label=
"item
.projectName
"
:value=
"item"
/>
:value=
"item
.projectName
"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目类型"
>
<el-form-item
label=
"项目类型"
>
...
...
src/views/costManage/projectCostRequest/index.vue
View file @
44a40f78
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<el-select
style=
"width: 220px"
v-model=
"queryParams.projectName"
placeholder=
"请选择项目名称"
clearable
>
<el-select
style=
"width: 220px"
v-model=
"queryParams.projectName"
placeholder=
"请选择项目名称"
clearable
>
<el-option
<el-option
v-for=
"item in projectNameList"
v-for=
"item in projectNameList"
:key=
"item"
:key=
"item
.projectName
"
:label=
"item"
:label=
"item
.projectName
"
:value=
"item"
/>
:value=
"item
.projectName
"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目类型"
>
<el-form-item
label=
"项目类型"
>
...
@@ -261,6 +261,7 @@ const projectNameList = ref([]);
...
@@ -261,6 +261,7 @@ const projectNameList = ref([]);
const
getAllProjectName
=
()
=>
{
const
getAllProjectName
=
()
=>
{
getProjectName
(
queryParams
).
then
(
response
=>
{
getProjectName
(
queryParams
).
then
(
response
=>
{
projectNameList
.
value
=
response
.
data
;
projectNameList
.
value
=
response
.
data
;
// console.log("所有项目",projectNameList.value)
});
});
}
}
getAllProjectName
()
getAllProjectName
()
...
...
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