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 = [
...
@@ -20,7 +20,8 @@ const disShowLadingRequestUrl = [
'/devServerStart'
,
'/devServerStart'
,
'/JoExecutePlan/getTaskAcceptance'
,
'/JoExecutePlan/getTaskAcceptance'
,
'/ExtSupportingItem/getAllMaterialConfirmation'
,
'/ExtSupportingItem/getAllMaterialConfirmation'
,
'/ExtSupportingItem/findSupportingItemMaterialByAO'
'/ExtSupportingItem/findSupportingItemMaterialByAO'
,
'/ExtProcessSkillUser/getSkillUser'
]
]
axios
.
defaults
.
baseURL
=
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
// eslint-disable-line
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 @@
...
@@ -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"
>
...
@@ -174,8 +174,8 @@
...
@@ -174,8 +174,8 @@
</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-else
>
已全部加载!
</span>
</div>
</div>
</div>
</div>
...
@@ -186,6 +186,7 @@
...
@@ -186,6 +186,7 @@
<
script
>
<
script
>
import
{
post
}
from
'@/utils/http'
import
{
post
}
from
'@/utils/http'
export
default
{
export
default
{
name
:
'DeeMesInstructionsDispatch'
,
data
()
{
data
()
{
return
{
return
{
sortiesList
:
[],
sortiesList
:
[],
...
@@ -339,7 +340,8 @@ export default {
...
@@ -339,7 +340,8 @@ export default {
groupUserTotal
:
0
,
groupUserTotal
:
0
,
groupUserPage
:
1
,
groupUserPage
:
1
,
mainUserId
:
null
,
mainUserId
:
null
,
postionList
:
[]
postionList
:
[],
isLoading
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -367,7 +369,19 @@ export default {
...
@@ -367,7 +369,19 @@ export default {
this
.
getStation
()
this
.
getStation
()
// this.getGroup()
// this.getGroup()
},
},
// mounted() {
// window.addEventListener('scroll', this.handleScroll)
// },
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
()
}
},
getStories
()
{
getStories
()
{
const
params
=
{
const
params
=
{
'searchItems'
:
{
'searchItems'
:
{
...
@@ -620,6 +634,7 @@ export default {
...
@@ -620,6 +634,7 @@ export default {
}
}
},
},
getGroupUser
()
{
getGroupUser
()
{
this
.
isLoading
=
true
const
params
=
{
const
params
=
{
'pageFrom'
:
this
.
groupUserPage
,
'pageFrom'
:
this
.
groupUserPage
,
'pageSize'
:
10
,
'pageSize'
:
10
,
...
@@ -659,13 +674,14 @@ export default {
...
@@ -659,13 +674,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/stationPlanMaintenance/stationPlanList.vue
View file @
8b86ba0b
...
@@ -103,11 +103,11 @@ export default {
...
@@ -103,11 +103,11 @@ export default {
},
},
tabItems
:
[
tabItems
:
[
{
{
name
:
'未
确认
'
,
name
:
'未
下达
'
,
id
:
'0'
id
:
'0'
},
},
{
{
name
:
'已
确认
'
,
name
:
'已
下达
'
,
id
:
'1'
id
:
'1'
}
}
],
],
...
...
applications/dee-mes/src/views/taskExecution/components/TechnicalRequirements/components/Table1.vue
View file @
8b86ba0b
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
downloadFile
}
from
'@/utils/http'
export
default
{
export
default
{
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
// 加载中
// 加载中
...
@@ -28,8 +28,25 @@ export default {
...
@@ -28,8 +28,25 @@ export default {
{
{
title
:
'所需产品设计图号'
,
title
:
'所需产品设计图号'
,
show
:
true
,
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
:
'图样名称'
,
title
:
'图样名称'
,
...
@@ -60,6 +77,15 @@ export default {
...
@@ -60,6 +77,15 @@ export default {
// this.init()
// this.init()
},
},
methods
:
{
methods
:
{
downFile
(
data
)
{
const
params
=
{
number
:
data
.
docNumber
,
version
:
data
.
gaceVersion
}
downloadFile
(
`/TestFightCat/downloadGACEModelData`
,
'get'
,
params
).
then
((
res
)
=>
{
this
.
$utils
.
downLoadFile
(
res
,
''
)
})
},
// 设置默认展示列
// 设置默认展示列
setDefaultColums
()
{
setDefaultColums
()
{
this
.
tableColums
=
this
.
colums
.
filter
((
item
)
=>
item
.
show
)
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 {
...
@@ -107,6 +107,9 @@ export default {
params
)
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
res
.
items
.
content
.
forEach
(
item
=>
{
item
.
show
=
true
})
this
.
tableDesign
=
res
.
items
.
content
||
[]
this
.
tableDesign
=
res
.
items
.
content
||
[]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table1
.
init
()
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