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
8b86ba0b
Commit
8b86ba0b
authored
Dec 25, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
技术要求文件下载
parent
800d25df
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
11 deletions
+57
-11
http.js
applications/architecture-dee/src/utils/http.js
+2
-1
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+21
-5
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+2
-2
Table1.vue
...on/components/TechnicalRequirements/components/Table1.vue
+29
-3
index.vue
.../taskExecution/components/TechnicalRequirements/index.vue
+3
-0
No files found.
applications/architecture-dee/src/utils/http.js
View file @
8b86ba0b
...
...
@@ -20,7 +20,8 @@ const disShowLadingRequestUrl = [
'/devServerStart'
,
'/JoExecutePlan/getTaskAcceptance'
,
'/ExtSupportingItem/getAllMaterialConfirmation'
,
'/ExtSupportingItem/findSupportingItemMaterialByAO'
'/ExtSupportingItem/findSupportingItemMaterialByAO'
,
'/ExtProcessSkillUser/getSkillUser'
]
axios
.
defaults
.
baseURL
=
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
// eslint-disable-line
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsDispatch/index.vue
View file @
8b86ba0b
...
...
@@ -87,7 +87,7 @@
<div
class=
"sub-title"
style=
"margin:0 10px"
>
执行派工
</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
class=
"message"
>
<el-tooltip
placement=
"top"
>
...
...
@@ -174,8 +174,8 @@
</div>
</div>
<div
class=
"more-bar"
>
<
span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span
>
<span
v-
else-
if=
"groupUserList.length===0"
>
暂无数据
</span>
<
!--
<span
v-if=
"groupUserList.length
<
groupUserTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
--
>
<span
v-if=
"groupUserList.length===0"
>
暂无数据
</span>
<span
v-else
>
已全部加载!
</span>
</div>
</div>
...
...
@@ -186,6 +186,7 @@
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'DeeMesInstructionsDispatch'
,
data
()
{
return
{
sortiesList
:
[],
...
...
@@ -339,7 +340,8 @@ export default {
groupUserTotal
:
0
,
groupUserPage
:
1
,
mainUserId
:
null
,
postionList
:
[]
postionList
:
[],
isLoading
:
false
}
},
computed
:
{
...
...
@@ -367,7 +369,19 @@ export default {
this
.
getStation
()
// this.getGroup()
},
// mounted() {
// window.addEventListener('scroll', this.handleScroll)
// },
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
()
}
},
getStories
()
{
const
params
=
{
'searchItems'
:
{
...
...
@@ -620,6 +634,7 @@ export default {
}
},
getGroupUser
()
{
this
.
isLoading
=
true
const
params
=
{
'pageFrom'
:
this
.
groupUserPage
,
'pageSize'
:
10
,
...
...
@@ -659,13 +674,14 @@ export default {
this
.
groupUserList
.
push
(
item
)
})
this
.
groupUserTotal
=
res
.
items
.
totalElements
this
.
isLoading
=
false
// this.groupUserList[0].isSelect = true
}
})
},
getMoreData
()
{
const
num
=
Math
.
ceil
(
this
.
groupUserTotal
/
10
)
if
(
this
.
groupUserPage
<
=
num
)
{
if
(
this
.
groupUserPage
<
num
)
{
this
.
groupUserPage
++
this
.
getGroupUser
()
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
8b86ba0b
...
...
@@ -103,11 +103,11 @@ export default {
},
tabItems
:
[
{
name
:
'未
确认
'
,
name
:
'未
下达
'
,
id
:
'0'
},
{
name
:
'已
确认
'
,
name
:
'已
下达
'
,
id
:
'1'
}
],
...
...
applications/dee-mes/src/views/taskExecution/components/TechnicalRequirements/components/Table1.vue
View file @
8b86ba0b
...
...
@@ -12,9 +12,9 @@
</
template
>
<
script
>
import
{
downloadFile
}
from
'@/utils/http'
export
default
{
components
:
{},
data
()
{
return
{
// 加载中
...
...
@@ -28,8 +28,25 @@ export default {
{
title
:
'所需产品设计图号'
,
show
:
true
,
key
:
'docNumber'
key
:
'docNumber'
,
component
:
{
render
:
(
h
,
params
)
=>
{
return
h
(
'div'
,
[
h
(
'span'
,
{
class
:
'link-style'
,
on
:
{
click
:
()
=>
{
this
.
downFile
(
params
)
}
}
},
params
.
docNumber
)
])
}
}
},
{
title
:
'图样名称'
,
...
...
@@ -60,6 +77,15 @@ export default {
// this.init()
},
methods
:
{
downFile
(
data
)
{
const
params
=
{
number
:
data
.
docNumber
,
version
:
data
.
gaceVersion
}
downloadFile
(
`/TestFightCat/downloadGACEModelData`
,
'get'
,
params
).
then
((
res
)
=>
{
this
.
$utils
.
downLoadFile
(
res
,
''
)
})
},
// 设置默认展示列
setDefaultColums
()
{
this
.
tableColums
=
this
.
colums
.
filter
((
item
)
=>
item
.
show
)
...
...
applications/dee-mes/src/views/taskExecution/components/TechnicalRequirements/index.vue
View file @
8b86ba0b
...
...
@@ -107,6 +107,9 @@ export default {
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
res
.
items
.
content
.
forEach
(
item
=>
{
item
.
show
=
true
})
this
.
tableDesign
=
res
.
items
.
content
||
[]
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table1
.
init
()
...
...
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