Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
5284a963
Commit
5284a963
authored
Dec 27, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
6a022601
fae138ed
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
84 additions
and
57 deletions
+84
-57
index.vue
...ateComponents/components/workAllocationEditList/index.vue
+8
-9
index.vue
...views/assemblyPlanManagement/inspectionDispatch/index.vue
+18
-6
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+2
-2
missingParts.vue
...Management/instructionsIssued/components/missingParts.vue
+18
-6
index.vue
...iews/taskExecution/components/RecordMaintenance/index.vue
+1
-1
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+37
-33
dist.zip
dist.zip
+0
-0
No files found.
applications/dee-mes/src/privateComponents/components/workAllocationEditList/index.vue
View file @
5284a963
...
@@ -383,16 +383,15 @@ export default {
...
@@ -383,16 +383,15 @@ export default {
'isMasterOperator'
:
false
,
'isMasterOperator'
:
false
,
'taskState'
:
'N'
,
'taskState'
:
'N'
,
'extProcessSkillId'
:
this
.
basicData
.
joExecutePlan
&&
this
.
basicData
.
joExecutePlan
.
extProcessSkillId
||
this
.
basicData
.
extProcessSkillId
,
'extProcessSkillId'
:
this
.
basicData
.
joExecutePlan
&&
this
.
basicData
.
joExecutePlan
.
extProcessSkillId
||
this
.
basicData
.
extProcessSkillId
,
'extProcessSkillIdType'
:
'ExtProcessSkill'
'extProcessSkillIdType'
:
'ExtProcessSkill'
,
'isConfirm'
:
'N'
}]
}]
const
params
=
[
const
params
=
{
{
'id'
:
this
.
basicData
.
joExecutePlanId
||
this
.
basicData
.
id
,
'id'
:
this
.
basicData
.
joExecutePlanId
||
this
.
basicData
.
id
,
'operator'
:
'MODIFY'
,
'operator'
:
'MODIFY'
,
'prodTask'
:
prodTask
'prodTask'
:
prodTask
}
}
post
(
`/JoExecutePlan/recursion`
,
params
).
then
((
res
)
=>
{
]
post
(
`/ProdTask/prodTaskSave?dmirStatus=N`
,
params
).
then
((
res
)
=>
{
this
.
$message
({
this
.
$message
({
message
:
res
.
message
,
message
:
res
.
message
,
type
:
'success'
type
:
'success'
...
...
applications/dee-mes/src/views/assemblyPlanManagement/inspectionDispatch/index.vue
View file @
5284a963
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<div
class=
"sub-title"
style=
"margin:0 10px"
>
<div
class=
"sub-title"
style=
"margin:0 10px"
>
检验派工
检验派工
</div>
</div>
<div
class=
"group-list"
>
<div
class=
"group-list"
@
scroll=
"handleScroll"
>
<div
v-for=
"(item, index) in groupUserList"
:key=
"index"
class=
"group-list-box"
:class=
"
{'active': item.isSelect}" @click="changeGroupUser(item)">
<div
v-for=
"(item, index) in groupUserList"
:key=
"index"
class=
"group-list-box"
:class=
"
{'active': item.isSelect}" @click="changeGroupUser(item)">
<div
class=
"message"
>
<div
class=
"message"
>
<el-tooltip
placement=
"top"
>
<el-tooltip
placement=
"top"
>
...
@@ -118,9 +118,9 @@
...
@@ -118,9 +118,9 @@
</div>
</div>
</div>
</div>
<div
class=
"more-bar"
>
<div
class=
"more-bar"
>
<
span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span
>
<
!--
<span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
--
>
<span
v-
else-
if=
"groupUserList.length===0"
>
暂无数据
</span>
<span
v-if=
"groupUserList.length===0"
>
暂无数据
</span>
<span
v-
else
>
已全部加载!
</span>
<span
v-
if=
"groupUserTotal!==0&&groupUserList.length===groupUserTotal"
>
已全部加载!
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -276,7 +276,8 @@ export default {
...
@@ -276,7 +276,8 @@ export default {
}
}
],
],
groupUserTotal
:
0
,
groupUserTotal
:
0
,
groupUserPage
:
1
groupUserPage
:
1
,
isLoading
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -305,6 +306,15 @@ export default {
...
@@ -305,6 +306,15 @@ export default {
this
.
getStation
()
this
.
getStation
()
},
},
methods
:
{
methods
:
{
handleScroll
(
e
)
{
if
(
this
.
isLoading
)
return
const
scrollTop
=
e
.
target
.
scrollTop
const
scrollHeight
=
e
.
target
.
scrollHeight
const
clientHeight
=
e
.
target
.
clientHeight
if
(
scrollTop
+
clientHeight
-
scrollHeight
<=
40
)
{
this
.
getMoreData
()
}
},
getStories
()
{
getStories
()
{
const
params
=
{
const
params
=
{
'searchItems'
:
{
'searchItems'
:
{
...
@@ -583,6 +593,7 @@ export default {
...
@@ -583,6 +593,7 @@ export default {
val
.
isSelect
=
!
val
.
isSelect
val
.
isSelect
=
!
val
.
isSelect
},
},
getGroupUser
()
{
getGroupUser
()
{
this
.
isLoading
=
true
const
params
=
{
const
params
=
{
'pageFrom'
:
this
.
groupUserPage
,
'pageFrom'
:
this
.
groupUserPage
,
'pageSize'
:
10
,
'pageSize'
:
10
,
...
@@ -622,13 +633,14 @@ export default {
...
@@ -622,13 +633,14 @@ export default {
this
.
groupUserList
.
push
(
item
)
this
.
groupUserList
.
push
(
item
)
})
})
this
.
groupUserTotal
=
res
.
items
.
totalElements
this
.
groupUserTotal
=
res
.
items
.
totalElements
this
.
isLoading
=
false
// this.groupUserList[0].isSelect = true
// this.groupUserList[0].isSelect = true
}
}
})
})
},
},
getMoreData
()
{
getMoreData
()
{
const
num
=
Math
.
ceil
(
this
.
groupUserTotal
/
10
)
const
num
=
Math
.
ceil
(
this
.
groupUserTotal
/
10
)
if
(
this
.
groupUserPage
<
=
num
)
{
if
(
this
.
groupUserPage
<
num
)
{
this
.
groupUserPage
++
this
.
groupUserPage
++
this
.
getGroupUser
()
this
.
getGroupUser
()
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsDispatch/index.vue
View file @
5284a963
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"
search
TableData"
@
click=
"
get
TableData"
>
查询
</el-button>
>
查询
</el-button>
</el-col>
</el-col>
</el-form>
</el-form>
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
<div
class=
"more-bar"
>
<div
class=
"more-bar"
>
<!--
<span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
-->
<!--
<span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
-->
<span
v-if=
"groupUserList.length===0"
>
暂无数据
</span>
<span
v-if=
"groupUserList.length===0"
>
暂无数据
</span>
<span
v-
else
>
已全部加载!
</span>
<span
v-
if=
"groupUserTotal!==0&&groupUserList.length===groupUserTotal"
>
已全部加载!
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/components/missingParts.vue
View file @
5284a963
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"sub-title"
style=
"margin:0 10px"
>
<div
class=
"sub-title"
style=
"margin:0 10px"
>
下发班组
下发班组
</div>
</div>
<div
class=
"group-list"
>
<div
class=
"group-list"
@
scroll=
"handleScroll"
>
<div
v-for=
"(item, index) in groupDropList"
:key=
"index"
class=
"group-list-box"
:class=
"
{'active': group===item.id}" @click="changeGroup(item)">
<div
v-for=
"(item, index) in groupDropList"
:key=
"index"
class=
"group-list-box"
:class=
"
{'active': group===item.id}" @click="changeGroup(item)">
<div
class=
"left"
>
<div
class=
"left"
>
<div
class=
"left-text"
>
{{
item
.
resName
}}
</div>
<div
class=
"left-text"
>
{{
item
.
resName
}}
</div>
...
@@ -31,9 +31,9 @@
...
@@ -31,9 +31,9 @@
</div>
</div>
</div>
</div>
<div
class=
"more-bar"
>
<div
class=
"more-bar"
>
<
span
v-if=
"groupDropList.length
<
groupTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span
>
<
!--
<span
v-if=
"groupDropList.length
<
groupTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
--
>
<span
v-
else-
if=
"groupDropList.length===0"
>
暂无数据
</span>
<span
v-if=
"groupDropList.length===0"
>
暂无数据
</span>
<span
v-
else
>
已全部加载!
</span>
<span
v-
if=
"groupTotal!==0&&groupDropList.length===groupTotal"
>
已全部加载!
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -56,7 +56,8 @@ export default {
...
@@ -56,7 +56,8 @@ export default {
groupTotal
:
0
,
groupTotal
:
0
,
detailInfo
:
null
,
detailInfo
:
null
,
group
:
''
,
group
:
''
,
groupType
:
''
groupType
:
''
,
isLoading
:
''
}
}
},
},
created
()
{
created
()
{
...
@@ -86,10 +87,20 @@ export default {
...
@@ -86,10 +87,20 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
handleScroll
(
e
)
{
if
(
this
.
isLoading
)
return
const
scrollTop
=
e
.
target
.
scrollTop
const
scrollHeight
=
e
.
target
.
scrollHeight
const
clientHeight
=
e
.
target
.
clientHeight
if
(
scrollTop
+
clientHeight
-
scrollHeight
<=
10
)
{
this
.
getMoreData
()
}
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
$emit
(
'getInfo'
,
val
)
this
.
$emit
(
'getInfo'
,
val
)
},
},
getGroupList
()
{
getGroupList
()
{
this
.
isLoading
=
true
const
params
=
{
const
params
=
{
'pageFrom'
:
this
.
groupPage
,
'pageFrom'
:
this
.
groupPage
,
'pageSize'
:
10
,
'pageSize'
:
10
,
...
@@ -150,12 +161,13 @@ export default {
...
@@ -150,12 +161,13 @@ export default {
if
(
res
.
items
&&
res
.
items
.
content
)
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
this
.
groupDropList
=
this
.
groupDropList
.
concat
(
res
.
items
.
content
)
this
.
groupDropList
=
this
.
groupDropList
.
concat
(
res
.
items
.
content
)
this
.
groupTotal
=
res
.
items
.
totalElements
this
.
groupTotal
=
res
.
items
.
totalElements
this
.
isLoading
=
false
}
}
})
})
},
},
getMoreData
()
{
getMoreData
()
{
const
num
=
Math
.
ceil
(
this
.
groupTotal
/
10
)
const
num
=
Math
.
ceil
(
this
.
groupTotal
/
10
)
if
(
this
.
groupPage
<
=
num
)
{
if
(
this
.
groupPage
<
num
)
{
this
.
groupPage
++
this
.
groupPage
++
this
.
getGroupList
()
this
.
getGroupList
()
}
}
...
...
applications/dee-mes/src/views/taskExecution/components/RecordMaintenance/index.vue
View file @
5284a963
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
{
{
title
:
'工序号'
,
title
:
'工序号'
,
show
:
true
,
show
:
true
,
key
:
'extProcessOperation.
serialNumber
'
,
key
:
'extProcessOperation.
code
'
,
sortable
:
true
,
sortable
:
true
,
width
:
120
width
:
120
},
},
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
5284a963
...
@@ -991,44 +991,48 @@ export default {
...
@@ -991,44 +991,48 @@ export default {
formatHTML
(
statusCode
,
html
)
{
formatHTML
(
statusCode
,
html
)
{
if
(
statusCode
===
'Not'
)
{
if
(
statusCode
===
'Not'
)
{
// 扫码录入
// 扫码录入
return
(
if
(
html
)
{
html
return
(
.
replaceAll
(
html
'##'
,
.
replaceAll
(
"<div class='scan-code'><textarea type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
'##'
,
)
"<div class='scan-code'><textarea type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
)
// 手工录入
// 手工录入
.
replaceAll
(
.
replaceAll
(
'@@'
,
'@@'
,
"<textarea type='text' placeholder='请填写内容'></textarea>"
"<textarea type='text' placeholder='请填写内容'></textarea>"
)
)
// 日期框
// 日期框
.
replaceAll
(
.
replaceAll
(
'$$'
,
'$$'
,
"<input type='datetime-local' placeholder='请填写日期'>"
"<input type='datetime-local' placeholder='请填写日期'>"
)
)
)
)
}
}
else
{
}
else
{
return
(
if
(
html
)
{
html
return
(
.
replaceAll
(
html
'##'
,
.
replaceAll
(
"<div class='scan-code'><textarea disabled type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
'##'
,
)
"<div class='scan-code'><textarea disabled type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
)
// 手工录入
// 手工录入
.
replaceAll
(
.
replaceAll
(
'@@'
,
'@@'
,
"<textarea type='text' disabled placeholder='请填写内容'></textarea>"
"<textarea type='text' disabled placeholder='请填写内容'></textarea>"
)
)
// 日期框
// 日期框
.
replaceAll
(
.
replaceAll
(
'$$'
,
'$$'
,
"<input type='datetime-local' disabled placeholder='请填写日期'>"
"<input type='datetime-local' disabled placeholder='请填写日期'>"
)
)
.
replaceAll
(
'saoma'
,
''
)
.
replaceAll
(
'saoma'
,
''
)
.
replaceAll
(
'<input'
,
'<input disabled '
)
.
replaceAll
(
'<input'
,
'<input disabled '
)
.
replaceAll
(
'<textarea'
,
'<textarea disabled '
)
.
replaceAll
(
'<textarea'
,
'<textarea disabled '
)
)
)
}
}
}
},
},
/**
/**
...
...
dist.zip
deleted
100644 → 0
View file @
6a022601
File deleted
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