Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
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
许珑标
薪瑞通-前端
Commits
c5656330
Commit
c5656330
authored
Apr 17, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同列表增加查询用工单位列表接口
parent
e27e0243
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
src/api/business/outContract.js
src/api/business/outContract.js
+9
-0
src/views/business/outContract/index.vue
src/views/business/outContract/index.vue
+15
-2
No files found.
src/api/business/outContract.js
View file @
c5656330
...
@@ -18,6 +18,15 @@ export function listAllOutContract(query) {
...
@@ -18,6 +18,15 @@ export function listAllOutContract(query) {
})
})
}
}
// 查询所有发薪合同的用工单位名称
export
function
allGroupNames
(
query
)
{
return
request
({
url
:
'
/business/outContract/groupName/listAll
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询发薪合同详细
// 查询发薪合同详细
export
function
getOutContract
(
id
)
{
export
function
getOutContract
(
id
)
{
return
request
({
return
request
({
...
...
src/views/business/outContract/index.vue
View file @
c5656330
...
@@ -148,7 +148,13 @@
...
@@ -148,7 +148,13 @@
<
script
>
<
script
>
import
{
listCompanyInfo
}
from
"
@/api/business/companyInfo
"
;
import
{
listCompanyInfo
}
from
"
@/api/business/companyInfo
"
;
import
{
listOutContract
,
delOutContract
,
addOutContract
,
updateOutContract
}
from
"
@/api/business/outContract
"
;
import
{
listOutContract
,
delOutContract
,
addOutContract
,
updateOutContract
,
allGroupNames
}
from
'
@/api/business/outContract
'
import
{
buildPayOutRecord
}
from
'
@/api/business/payOutRecord
'
import
{
buildPayOutRecord
}
from
'
@/api/business/payOutRecord
'
export
default
{
export
default
{
...
@@ -245,6 +251,7 @@ export default {
...
@@ -245,6 +251,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getThemeList
()
this
.
getThemeList
()
this
.
getAllGroupNames
();
this
.
getList
();
this
.
getList
();
},
},
watch
:
{
watch
:
{
...
@@ -254,9 +261,15 @@ export default {
...
@@ -254,9 +261,15 @@ export default {
},
},
methods
:
{
methods
:
{
getAllGroupNames
(
payerCompanyId
)
{
allGroupNames
({
payerCompanyId
:
payerCompanyId
}).
then
(
resp
=>
{
})
},
// 节点单击事件
// 节点单击事件
handleNodeClick
(
data
)
{
handleNodeClick
(
data
)
{
this
.
queryParams
.
payerCompanyId
=
data
.
id
;
this
.
queryParams
.
payerCompanyId
=
data
.
id
;
this
.
getAllGroupNames
(
data
.
id
);
this
.
getList
();
this
.
getList
();
},
},
// 筛选节点
// 筛选节点
...
@@ -446,4 +459,4 @@ export default {
...
@@ -446,4 +459,4 @@ export default {
width
:
calc
(
100%
-
300px
);
width
:
calc
(
100%
-
300px
);
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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