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
3f2a35f6
Commit
3f2a35f6
authored
Jun 06, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产相关
parent
ae1e3387
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
user.js
src/api/system/user.js
+8
-1
index.vue
src/views/mes/pro/scheduleList/index.vue
+2
-2
workunitSelectSche.vue
src/views/mes/pro/scheduleList/workunitSelectSche.vue
+2
-2
No files found.
src/api/system/user.js
View file @
3f2a35f6
...
...
@@ -187,7 +187,14 @@ export function listByUser(query) {
params
:
query
})
}
// 查询工作单元,排除已绑定的
export
function
listByUserNoAssist
(
query
)
{
return
request
({
url
:
'/mes/md/workunitWorker/listByUserNoAssist'
,
method
:
'get'
,
params
:
query
})
}
// 修改人工作单元
export
function
updateWorkunituserList
(
query
)
{
return
request
({
...
...
src/views/mes/pro/scheduleList/index.vue
View file @
3f2a35f6
...
...
@@ -182,7 +182,7 @@
@
click=
"handleVirtualReporting"
>
虚拟报工
</el-button>
</el-col>
<
!--
<
el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
...
...
@@ -190,7 +190,7 @@
:disabled=
'single'
@
click=
"handleUnschedule"
>
取消排产
</el-button>
</el-col>
-->
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
...
...
src/views/mes/pro/scheduleList/workunitSelectSche.vue
View file @
3f2a35f6
...
...
@@ -96,7 +96,7 @@
<
script
>
import
{
getworkstationList
}
from
'@/api/mes/pro/scheduleList'
import
{
listByUser
}
from
"@/api/system/user"
;
import
{
listByUser
NoAssist
}
from
"@/api/system/user"
;
export
default
{
name
:
"WorkunitSelectSingle"
,
components
:
{},
...
...
@@ -178,7 +178,7 @@
/** 查询生产工单列表 */
getList
()
{
this
.
loading
=
true
;
listByUser
(
this
.
queryParams
).
then
((
response
)
=>
{
listByUser
NoAssist
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
workunitList
=
response
.
rows
;
this
.
loading
=
false
;
this
.
total
=
response
.
total
...
...
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