Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
3df96996
Commit
3df96996
authored
Sep 26, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改排班计划
parent
7df06556
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
workunit.js
src/api/mes/md/workunit.js
+9
-0
team.vue
src/views/mes/cal/plan/team.vue
+1
-1
multi.vue
src/views/mes/cal/team/calTeamSelect/multi.vue
+2
-3
worker.vue
src/views/system/user/profile/worker.vue
+0
-1
No files found.
src/api/mes/md/workunit.js
View file @
3df96996
...
...
@@ -59,3 +59,12 @@ export function delWorkunit(workunitId) {
method
:
'delete'
})
}
// 排版计划专用查询工作单元
export
function
getWorkunitByPlanId
(
params
)
{
return
request
({
url
:
'/md/cal/workunit/getWorkunitByPlanId'
,
method
:
'get'
,
params
})
}
\ No newline at end of file
src/views/mes/cal/plan/team.vue
View file @
3df96996
...
...
@@ -28,7 +28,7 @@
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getTeamList"
/>
<TeamSelect
ref=
"teamSelect"
@
onSelected=
"onTeamSelected"
></TeamSelect>
<TeamSelect
ref=
"teamSelect"
@
onSelected=
"onTeamSelected"
:planId=
"planId"
></TeamSelect>
</div>
</template>
...
...
src/views/mes/cal/team/calTeamSelect/multi.vue
View file @
3df96996
...
...
@@ -76,8 +76,7 @@
</
template
>
<
script
>
import
{
listTeam
}
from
"@/api/mes/cal/team"
;
import
{
listWorkunit
}
from
"@/api/mes/md/workunit"
;
import
{
getWorkunitByPlanId
}
from
"@/api/mes/md/workunit"
;
export
default
{
name
:
"TeamSelect"
,
props
:
[
'apiName'
],
...
...
@@ -134,7 +133,7 @@ export default {
/** 查询工作单元列表 */
getList
()
{
this
.
loading
=
true
;
const
fn
=
this
.
apiName
?
listWorkunit
:
listTeam
const
fn
=
getWorkunitByPlanId
fn
(
this
.
queryParams
).
then
(
response
=>
{
this
.
workunitList
=
response
.
rows
;
this
.
total
=
response
.
total
;
...
...
src/views/system/user/profile/worker.vue
View file @
3df96996
...
...
@@ -68,7 +68,6 @@
import
{
listWorkunituser
,
getWorkunituser
,
delWorkunituser
,
addWorkunituser
,
updateWorkunituser
}
from
"@/api/system/user"
;
//import workunitSelect from "./workunitSelect.vue"
import
workunitSelects
from
"./workunitSelect1.vue"
// "@/views/mes/cal/team/calTeamSelect/multi.vue"
export
default
{
name
:
"Workunitworker"
,
components
:
{
workunitSelects
},
...
...
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