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
cd0fcb26
Commit
cd0fcb26
authored
Sep 21, 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
2b729934
d4d9bd7f
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
252 additions
and
237 deletions
+252
-237
cangchu.png
applications/architecture-dee/public/icons/cangchu.png
+0
-0
danjiaci.png
applications/architecture-dee/public/icons/danjiaci.png
+0
-0
jichushuju.png
applications/architecture-dee/public/icons/jichushuju.png
+0
-0
jihua.png
applications/architecture-dee/public/icons/jihua.png
+0
-0
Navbar.vue
...cations/architecture-dee/src/layout/components/Navbar.vue
+2
-0
index.vue
applications/architecture-dee/src/layout/index.vue
+4
-2
config.js
...c/privateComponents/components/getSortiesSelect/config.js
+32
-0
index.vue
...c/privateComponents/components/getSortiesSelect/index.vue
+33
-19
index.vue
.../views/taskReception/components/taskReceiveCard/index.vue
+55
-32
index.vue
...views/taskReception/components/taskReceiveTable/index.vue
+40
-71
table.vue
...views/taskReception/components/taskReceiveTable/table.vue
+83
-107
index.vue
applications/dee-mes/src/views/taskReception/index.vue
+0
-3
index.vue
...cations/dee-task-center/src/views/myTaskReceive/index.vue
+3
-3
No files found.
applications/architecture-dee/public/icons/cangchu.png
0 → 100644
View file @
cd0fcb26
518 Bytes
applications/architecture-dee/public/icons/danjiaci.png
0 → 100644
View file @
cd0fcb26
454 Bytes
applications/architecture-dee/public/icons/jichushuju.png
0 → 100644
View file @
cd0fcb26
557 Bytes
applications/architecture-dee/public/icons/jihua.png
0 → 100644
View file @
cd0fcb26
522 Bytes
applications/architecture-dee/src/layout/components/Navbar.vue
View file @
cd0fcb26
...
...
@@ -102,6 +102,8 @@ export default {
return
'待办任务'
}
else
if
(
obj
.
id
===
'myMessage'
)
{
return
'我的消息'
}
else
if
(
obj
.
id
===
'myTaskReceive'
||
obj
.
id
===
'myCheckTaskReceive'
||
obj
.
id
===
'myAirTaskReceive'
)
{
return
obj
.
path
.
title
}
}
},
...
...
applications/architecture-dee/src/layout/index.vue
View file @
cd0fcb26
...
...
@@ -4,7 +4,7 @@
<sidebar
class=
"sidebar-container"
/>
<div
v-if=
"showNav"
:class=
"
{'fixed-header':fixedHeader}">
<navbar
/>
<div
class=
"tag-box"
>
<div
v-if=
"showTag"
class=
"tag-box"
>
<tags-view
/>
</div>
</div>
...
...
@@ -37,7 +37,8 @@ export default {
},
data
:
function
()
{
return
{
noSidePage
:
[]
noSidePage
:
[],
showTag
:
false
}
},
computed
:
{
...
...
@@ -61,6 +62,7 @@ export default {
},
watch
:
{
'$route'
(
route
)
{
this
.
showTag
=
this
.
$route
.
query
.
showTag
!==
'false'
// if (this.noSidePage.length && this.noSidePage.includes(route.name)) {
// this.handleClickOutside()
// } else {
...
...
applications/dee-mes/src/privateComponents/components/getSortiesSelect/config.js
0 → 100644
View file @
cd0fcb26
export
default
{
props
:
{},
layoutConfigData
:
[
{
title
:
'高级组件配置'
,
data
:
[
{
key
:
'linkageAttr'
,
title
:
'架次联动属性'
,
component
:
{
defaultValue
:
'aircraftType'
,
name
:
'el-input'
,
placeholder
:
'机型Key'
}
}
]
}
],
data
()
{
return
{
}
},
created
()
{
},
computed
:
{
},
methods
:
{
}
}
applications/dee-mes/src/privateComponents/components/getSortiesSelect/index.vue
View file @
cd0fcb26
...
...
@@ -17,10 +17,14 @@
</div>
</
template
>
<
script
>
import
config
from
'./config'
import
_get
from
'lodash.get'
export
default
{
componentName
:
'供外出库架次'
,
name
:
'GetSortiesSelect'
,
// name写在组件的最前方,自定义组件为必填
name
:
'Get
Offrt
SortiesSelect'
,
// name写在组件的最前方,自定义组件为必填
components
:
{},
mixins
:
[
config
],
props
:
{
itemObj
:
{
type
:
Object
,
...
...
@@ -43,31 +47,25 @@ export default {
return
{
options
:
[],
selVal
:
''
,
disabledVal
:
false
disabledVal
:
false
,
linkageValue
:
null
}
},
computed
:
{},
watch
:
{
'form.aircraftType'
:
{
form
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldVal
)
{
if
(
val
!==
oldVal
)
{
const
params
=
{
searchItems
:
{
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
split
(
'+'
)[
0
]
}],
operator
:
'AND'
}
handler
(
val
)
{
if
(
val
)
{
if
(
!
this
.
itemObj
.
linkageAttr
)
{
return
}
const
_val
=
_get
(
this
.
form
,
this
.
itemObj
.
linkageAttr
)
if
(
_val
!==
this
.
linkageValue
)
{
this
.
linkageValue
=
_val
this
.
getData
(
_val
)
}
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
value
:
row
.
id
+
'+'
+
row
.
defName
,
label
:
row
.
defName
}
})
})
}
}
},
...
...
@@ -94,6 +92,22 @@ export default {
// 初始化数据
},
methods
:
{
getData
(
val
)
{
const
params
=
{
searchItems
:
{
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
split
(
'+'
)[
0
]
}],
operator
:
'AND'
}
}
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
value
:
row
.
id
+
'+'
+
row
.
defName
,
label
:
row
.
defName
}
})
})
},
changeVal
()
{
this
.
$emit
(
'input'
,
this
.
selVal
)
}
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveCard/index.vue
View file @
cd0fcb26
...
...
@@ -76,6 +76,34 @@
</el-col>
</el-row>
<div
v-else
class=
"process-page-not"
>
暂无数据
</div>
<dl
class=
"right-side"
>
<el-popover
v-model=
"visible"
placement=
"right"
width=
"230"
trigger=
"click"
popper-class=
"fuzzy-search-popper"
>
<div
class=
"body"
>
<el-input
v-model=
"aoName"
size=
"mini"
placeholder=
"AO号/名称"
/>
<footer>
<el-button
size=
"mini"
type=
"text"
class=
"last-anchor"
name=
""
@
click=
"getTaskAcceptance()"
>
查询
</el-button>
</footer>
</div>
<dd
slot=
"reference"
>
<i
class=
"el-icon-search"
/>
<p>
模糊搜索
</p>
</dd>
</el-popover>
<dd
@
click=
"$parent.isShow = false"
>
<i
class=
"icon iconfont el-icon-collection"
/>
<p>
视图切换
</p>
</dd>
<!--
<dd
@
click=
"$refs.TimeToSee.open()"
>
<span
class=
"iconfont icon-view-mode"
/>
<p>
工时查看
</p>
</dd>
-->
</dl>
</div>
</div>
</
template
>
...
...
@@ -83,7 +111,6 @@
<
script
>
// import Dialog from './dialog'
// import TimeToSee from '@/views/mes/programExecutionManagement/assemblyPerform/components/TimeToSee/index'
// import $ from 'jquery'
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'TaskReceiveCard'
,
...
...
@@ -139,6 +166,7 @@ export default {
},
data
()
{
return
{
visible
:
false
,
joExecutePlanStateData
:
[],
colorObj
:
{
1
:
'#6BA8E6'
,
...
...
@@ -174,10 +202,6 @@ export default {
created
()
{
this
.
getJoExecutePlanState
()
},
// mounted() {
// this.getTaskAcceptance()
// },
methods
:
{
routerAssemblyExecution
(
item
)
{
// if (!item.isOK) {
...
...
@@ -227,12 +251,12 @@ export default {
{
'fieldName'
:
'extProcessPlan.serialNumber'
,
'operator'
:
'LIKE'
,
'value'
:
''
'value'
:
this
.
aoName
||
''
},
{
'fieldName'
:
'extProcessPlan.name'
,
'operator'
:
'LIKE'
,
'value'
:
''
'value'
:
this
.
aoName
||
''
}
],
'operator'
:
'OR'
...
...
@@ -264,63 +288,59 @@ export default {
},
'searchItem'
:
{
'fieldName'
:
'joExecuteOpPlan.status'
,
'operator'
:
'IN'
,
'value'
:
[
'Yes'
,
'UnderTest'
]
'operator'
:
this
.
$route
.
query
.
title
===
'装配任务'
?
'IN'
:
'EQ'
,
'value'
:
this
.
$route
.
query
.
title
===
'装配任务'
?
[
'Yes'
,
'UnderTest'
]
:
this
.
$route
.
query
.
title
===
'检验任务'
?
'Yes'
:
'UnderTest'
},
'operator'
:
'N
EQ'
'operator'
:
this
.
$route
.
query
.
title
===
'装配任务'
?
'NEQ'
:
'
EQ'
}
that
.
processLoading
=
true
post
(
'/JoExecutePlan/getTaskAcceptance'
,
param
)
.
then
((
res
)
=>
{
if
(
res
&&
res
.
items
)
{
const
operator
=
[]
const
inspector
=
[]
console
.
log
(
res
.
items
)
if
(
res
.
items
)
{
res
.
items
.
forEach
(
item
=>
{
if
(
item
.
prodTask
)
{
item
.
operatPerson
=
[]
item
.
inspectPerson
=
[]
item
.
prodTask
.
forEach
(
element
=>
{
if
(
element
.
subTypeName
===
'CheckOut'
)
{
i
nspector
.
push
(
element
.
extProcessSkillUser
.
dxUserInfo
.
name
)
i
tem
.
inspectPerson
.
push
(
element
.
extProcessSkillUser
.
dxUserInfo
.
name
)
}
else
if
(
element
.
subTypeName
===
'FitOut'
)
{
operator
.
push
(
element
.
extProcessSkillUser
.
dxUserInfo
.
name
)
item
.
operatPerson
.
push
(
element
.
extProcessSkillUser
.
dxUserInfo
.
name
)
}
})
}
})
}
console
.
log
(
operator
,
inspector
)
that
.
processData
=
res
.
items
.
map
((
p
)
=>
{
return
{
id
:
p
.
id
,
status
:
p
.
planState
,
code
:
p
.
extProcessPlan
.
serialNumber
,
sortie
:
p
.
extProcessPlan
.
sorties
,
//
percent:
//
p.isOkOpPlan && p.allOpPlan ? p.isOkOpPlan / p.allOpPlan : 0,
operator
:
operator
.
join
(
' '
),
percent
:
p
.
isOkOpPlan
&&
p
.
allOpPlan
?
p
.
isOkOpPlan
/
p
.
allOpPlan
:
0
,
operator
:
p
.
operatPerson
.
join
(
' '
),
priorCompletion
:
p
.
preIsAccomplish
,
start
:
p
.
scheduledStart
,
end
:
p
.
scheduledEnd
,
inspector
:
inspector
.
join
(
' '
),
task
:
p
.
extProcessPlan
.
materN
ame
,
inspector
:
p
.
inspectPerson
.
join
(
' '
),
task
:
p
.
extProcessPlan
.
n
ame
,
gaceVersion
:
p
.
extProcessPlan
.
gaceVersion
,
ready
:
p
.
extProcessPlan
.
fitRates
,
//
outStatus: p.outStatus,
//
step: p.isOkOpPlan,
//
countStep: p.allOpPlan,
outStatus
:
p
.
outStatus
,
step
:
p
.
isOkOpPlan
,
countStep
:
p
.
allOpPlan
,
firstCheckFlag
:
p
.
extProcessPlan
.
firstCheckFlag
,
// // 不合格产品
//
isQualified: p.isQualified,
isExit
:
p
.
isExit
// isOK: p.isOK
,
isQualified
:
p
.
isQualified
,
isExit
:
p
.
isExit
,
isOK
:
p
.
planVer
===
p
.
extProcessPlan
.
gaceVersion
,
// // 例外放行
//
isException: p.isException
isException
:
p
.
isException
}
})
this
.
visible
=
false
}
else
{
this
.
$message
({
showClose
:
true
,
...
...
@@ -627,7 +647,7 @@ export default {
.right-side
{
position
:
fixed
;
right
:
0px
;
bottom
:
0px
;
bottom
:
2
0px
;
background-color
:
#fff
;
text-align
:
center
;
line-height
:
29px
;
...
...
@@ -637,6 +657,9 @@ export default {
// overflow: auto;
// right: 6px;
// }
dd
{
margin-inline-start
:
0
;
}
dd
.el-popover__reference
{
padding
:
10px
;
font-size
:
14px
;
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveTable/index.vue
View file @
cd0fcb26
<!--
* @Author: ljm
* @Date: 2021-04-15
* @LastEditTime:
* @Description: 任务接收
* @FilePath: applications/dee-mes/src/viewsapplications/dee-mes/src/views/mes/programExecutionManagement/taskReceive/components/taskReceiveTable/index
-->
<
template
>
<section
class=
"taskReceiveTable"
>
<div
class=
"header"
>
...
...
@@ -17,12 +10,12 @@
placeholder=
"请选择"
:loading=
"modelLoading"
clearable
@
change=
"
getAddRecursion
"
@
change=
"
changeModel
"
>
<el-option
v-for=
"item in modelData"
:key=
"item.id"
:label=
"item.
res
Name"
:label=
"item.
def
Name"
:value=
"item.id"
/>
</el-select>
...
...
@@ -35,11 +28,12 @@
clearable
placeholder=
"请选择"
:loading=
"sortiesLoading"
@
change=
"changeSorties"
>
<el-option
v-for=
"item in sortiesData"
:key=
"item.id"
:label=
"item.
serialNo
"
:label=
"item.
defName
"
:value=
"item.id"
/>
</el-select>
...
...
@@ -79,9 +73,11 @@ export default {
data
()
{
return
{
model
:
null
,
modelName
:
null
,
modelLoading
:
false
,
modelData
:
[],
sorties
:
null
,
sortiesName
:
null
,
sortiesLoading
:
false
,
sortiesData
:
[],
aoName
:
null
...
...
@@ -92,20 +88,21 @@ export default {
this
.
getAddModel
(
true
)
},
methods
:
{
changeModel
()
{
const
model
=
this
.
modelData
.
find
(
r
=>
r
.
id
===
this
.
model
)
this
.
$set
(
this
,
'modelName'
,
model
&&
model
.
defName
||
''
)
this
.
getAddRecursion
()
},
changeSorties
()
{
const
sorties
=
this
.
sortiesData
.
find
(
r
=>
r
.
id
===
this
.
sorties
)
this
.
$set
(
this
,
'sortiesName'
,
sorties
&&
sorties
.
defName
||
''
)
this
.
getTableData
()
},
/**
* 获取新增机型
*/
getAddModel
(
status
)
{
const
param
=
{
indices
:
[
'DxProcessProduct'
],
sortItem
:
[
{
fieldName
:
'modifyTime'
,
sortOrder
:
'desc'
}
]
}
this
.
HttpRequest
(
'/DxProcessProduct/find/recursion'
,
param
,
'post'
)
this
.
$api
.
searchApi
(
'AircraftType'
,
{})
.
then
((
res
)
=>
{
this
.
modelData
=
[]
if
(
res
.
items
&&
res
.
items
.
content
)
{
...
...
@@ -113,6 +110,7 @@ export default {
this
.
$nextTick
(()
=>
{
if
(
this
.
modelData
.
length
)
{
this
.
model
=
this
.
modelData
[
0
].
id
this
.
modelName
=
this
.
modelData
[
0
].
defName
this
.
getAddRecursion
(
status
)
}
})
...
...
@@ -141,61 +139,32 @@ export default {
this
.
sorties
=
null
}
const
param
=
{
indices
:
[
'DxProcessMaterialLot'
],
openProps
:
[
{
name
:
'dxProcessMaterial'
,
searchItems
:
{
items
:
[
{
fieldName
:
'id'
,
operator
:
'EQ'
,
value
:
this
.
model
}
],
operator
:
'AND'
},
parentFilter
:
true
}
],
searchItems
:
{
items
:
[
{
fieldName
:
'dxProcessPlanIdType'
,
operator
:
'EQ'
,
value
:
'DxProcessPlan'
}
],
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
model
}],
operator
:
'AND'
},
sortItem
:
[
{
fieldName
:
'modifyTime'
,
sortOrder
:
'desc'
}
]
}
}
this
.
HttpRequest
(
'/DxProcessMaterialLot/find/recursion'
,
param
,
'post'
)
.
then
((
res
)
=>
{
this
.
sortiesData
=
[]
if
(
res
)
{
this
.
sortiesData
=
res
&&
res
.
items
&&
res
.
items
.
content
this
.
$nextTick
(()
=>
{
if
(
this
.
sortiesData
.
length
)
{
this
.
sorties
=
this
.
sortiesData
[
0
].
id
if
(
status
)
{
this
.
getTableData
()
}
this
.
$api
.
searchApi
(
'AircraftSorties'
,
param
).
then
((
res
)
=>
{
this
.
sortiesData
=
[]
if
(
res
)
{
this
.
sortiesData
=
res
&&
res
.
items
&&
res
.
items
.
content
this
.
$nextTick
(()
=>
{
if
(
this
.
sortiesData
.
length
)
{
this
.
sorties
=
this
.
sortiesData
[
0
].
id
this
.
sortiesName
=
this
.
sortiesData
[
0
].
defName
if
(
status
)
{
this
.
getTableData
()
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
'error'
})
}
})
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
'error'
})
}
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveTable/table.vue
View file @
cd0fcb26
...
...
@@ -5,17 +5,10 @@
v-loading=
"loading"
:data=
"tableData"
border
height=
"
100
%"
height=
"
95
%"
size=
"mini"
>
<el-table-column
type=
"index"
width=
"60"
align=
"center"
label=
"序号"
/>
<el-table-column
prop=
"dxProcessPlanAssemblyUnitNo"
label=
"装配单元"
min-width=
"120"
align=
"center"
show-overflow-tooltip
/>
<el-table-column
prop=
"serialNumber"
label=
"AO号"
...
...
@@ -48,7 +41,6 @@
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
style=
"color:red"
>
{{
scope
.
row
.
operating
.
main
}}
</span>
<span>
{{
scope
.
row
.
operating
.
vice
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -63,7 +55,7 @@
show-overflow-tooltip
/>
</el-table>
<
!-- <
el-pagination
<el-pagination
:current-page=
"tablePagination.currentPage"
:page-sizes=
"tablePagination.pageSizes"
:page-size=
"tablePagination.pageSize"
...
...
@@ -71,10 +63,11 @@
:total=
"tablePagination.total"
@
size-change=
"setPage"
@
current-change=
"setPage($event, true)"
/>
-->
/>
</section>
</template>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
components
:
{},
data
()
{
...
...
@@ -90,13 +83,6 @@ export default {
},
// 所有可动态配置的表格列
tableColums1
:
[
// {
// title: 'AO号',
// show: true,
// key: 'serialNumber',
// sortable: true,
// width: '120'
// },
{
title
:
'AO名称'
,
show
:
true
,
...
...
@@ -161,51 +147,16 @@ export default {
}
},
created
()
{
Promise
.
all
([
this
.
getJoExecutePlanState
(),
this
.
getTableData
()])
// this.getJoExecutePlanState()
},
mounted
()
{
// this.getTableData()
this
.
getJoExecutePlanState
()
},
methods
:
{
/**
* 获取作业计划状态
*/
getJoExecutePlanState
()
{
const
that
=
this
var
param
=
{
pageFrom
:
1
,
pageSize
:
100000
,
searchItems
:
{
items
:
[
{
fieldName
:
'dictState'
,
operator
:
'EQ'
,
value
:
'ENABLE'
},
{
fieldName
:
'dictCode'
,
operator
:
'EQ'
,
value
:
'JoExecutePlanState'
}
]
},
sortItem
:
[{
fieldName
:
'dictSeq'
,
sortOrder
:
'asc'
}]
}
this
.
HttpRequest
(
'DictData/search'
,
param
,
'post'
)
.
then
((
res
)
=>
{
if
(
res
)
{
if
(
res
.
items
&&
res
.
items
.
content
.
length
)
{
that
.
joExecutePlanStateData
=
res
.
items
.
content
}
else
{
that
.
joExecutePlanStateData
=
[]
}
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
'error'
})
}
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{})
this
.
$utils
.
getDicListByCode
(
'PlanState'
).
then
(
res
=>
{
this
.
joExecutePlanStateData
=
res
})
},
/**
* 页码触发
...
...
@@ -222,87 +173,112 @@ export default {
getTableData
()
{
const
that
=
this
var
param
=
{
indices
:
[
'DxProcessPlan'
],
pageFrom
:
that
.
tablePagination
.
currentPage
,
pageSize
:
that
.
tablePagination
.
pageSize
,
searchItems
:
{
items
:
[
{
fieldName
:
'id'
,
operator
:
'EQ'
,
value
:
localStorage
.
getItem
(
'userId'
)
},
'searchItems'
:
{
'children'
:
[
{
fieldName
:
'serialId'
,
operator
:
'LIKE'
,
value
:
this
.
$parent
.
sorties
},
{
fieldName
:
'aoName'
,
operator
:
'LIKE'
,
value
:
this
.
$parent
.
aoName
'items'
:
[
{
'fieldName'
:
'prodTask.extProcessSkillUser.dxUserInfoId'
,
'operator'
:
'EQ'
,
'value'
:
1626781927440
},
{
'fieldName'
:
'extProcessPlan.sorties'
,
'operator'
:
'EQ'
,
'value'
:
this
.
$parent
.
sortiesName
},
{
'fieldName'
:
'extProcessPlan.planeType'
,
'operator'
:
'EQ'
,
'value'
:
this
.
$parent
.
modelName
}
],
'operator'
:
'AND'
},
{
fieldName
:
'isView'
,
operator
:
'LIKE'
,
value
:
'Y'
'items'
:
[
{
'fieldName'
:
'extProcessPlan.serialNumber'
,
'operator'
:
'LIKE'
,
'value'
:
this
.
$parent
.
aoName
||
''
},
{
'fieldName'
:
'extProcessPlan.name'
,
'operator'
:
'LIKE'
,
'value'
:
this
.
$parent
.
aoName
||
''
}
],
'operator'
:
'OR'
}
],
operator
:
'AND'
'items'
:
[],
'operator'
:
'AND'
},
sortItem
:
[
'openProps'
:
[
{
fieldName
:
'modifyTime'
,
sortOrder
:
'desc'
'name'
:
'extProcessPlan'
},
{
'name'
:
'prodTask'
,
'openProps'
:
[
{
'name'
:
'extProcessSkillUser'
}
]
}
]
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
],
'toValidateKeys'
:
''
}
that
.
processLoading
=
true
this
.
HttpRequest
(
'/JoExecutePlan/getTaskAcceptance'
,
param
,
'post'
)
post
(
'/JoExecutePlan/getTaskAcceptanceToDo'
,
param
)
.
then
((
res
)
=>
{
if
(
res
&&
res
.
items
)
{
that
.
tableData
=
res
.
items
.
map
((
p
)
=>
{
var
vice
=
(
p
.
operating
&&
p
.
operating
.
filter
(
t
=>
t
.
userName
!==
p
.
masterOprName
)
.
map
((
q
)
=>
{
return
q
.
userName
})
.
join
(
','
))
||
''
if
(
res
&&
res
.
items
&&
res
.
items
.
content
)
{
that
.
tableData
=
res
.
items
.
content
.
map
((
p
)
=>
{
return
{
id
:
p
.
id
,
dxProcessPlanAssemblyUnitNo
:
p
.
dxProcessPlanAssemblyUnitNo
,
serialNumber
:
p
.
ao
.
serialNumber
,
materName
:
p
.
ao
.
materN
ame
,
// dxProcessPlanAssemblyUnitNo: p.wrProduction
,
serialNumber
:
p
.
extProcessPlan
.
serialNumber
,
materName
:
p
.
extProcessPlan
.
n
ame
,
isOK
:
p
.
isOK
,
gaceVersion
:
p
.
ao
.
gaceVersion
,
gaceVersion
:
p
.
extProcessPlan
.
gaceVersion
,
scheduledStart
:
p
.
scheduledStart
,
scheduledEnd
:
p
.
scheduledEnd
,
allWorkHour
:
p
.
ao
.
countW
orkHour
,
allWorkHour
:
p
.
extProcessPlan
.
w
orkHour
,
operating
:
{
main
:
p
.
masterOprName
||
''
,
vice
:
p
.
masterOprName
&&
vice
?
', '
+
vice
:
vice
vice
:
(
p
.
prodTask
&&
p
.
prodTask
.
filter
(
t
=>
t
.
subTypeName
===
'FitOut'
)
.
map
((
q
)
=>
{
return
q
.
extProcessSkillUser
.
dxUserInfo
.
name
})
.
join
(
' '
))
},
operatorUser
:
(
p
.
examines
&&
p
.
examines
(
p
.
prodTask
&&
p
.
prodTask
.
filter
(
t
=>
t
.
subTypeName
===
'CheckOut'
)
.
map
((
q
)
=>
{
return
q
.
userN
ame
return
q
.
extProcessSkillUser
.
dxUserInfo
.
n
ame
})
.
join
(
','
))
||
''
,
.
join
(
' '
)),
planStateCode
:
(
p
.
planState
Code
&&
(
p
.
planState
&&
that
.
joExecutePlanStateData
.
filter
(
(
q
)
=>
q
.
dictKey
===
p
.
planStateCod
e
)[
0
].
dictValue
)
||
(
q
)
=>
q
.
value
===
p
.
planStat
e
)[
0
].
label
)
||
''
,
percentage
:
(
p
.
isOkOpPlan
&&
p
.
allOpPlan
?
Math
.
round
((
p
.
isOkOpPlan
/
p
.
allOpPlan
)
*
1000
)
/
10
:
0
)
+
'%'
}
})
that
.
tablePagination
.
total
=
res
.
items
.
total
that
.
tablePagination
.
total
=
res
.
items
.
total
Elements
}
else
{
this
.
$message
({
showClose
:
true
,
...
...
applications/dee-mes/src/views/taskReception/index.vue
View file @
cd0fcb26
<
template
>
<section
class=
"taskReceive"
>
<!--
<IpadHeader
/>
-->
<TaskReceiveCard
v-if=
"isShow"
/>
<TaskReceiveTable
v-else
/>
</section>
</
template
>
<
script
>
// import IpadHeader from '../ipadHeader'
import
TaskReceiveCard
from
'./components/taskReceiveCard/index'
import
TaskReceiveTable
from
'./components/taskReceiveTable/index'
export
default
{
name
:
'TaskReceive'
,
components
:
{
// IpadHeader,
TaskReceiveCard
,
TaskReceiveTable
},
...
...
applications/dee-task-center/src/views/myTaskReceive/index.vue
View file @
cd0fcb26
<
template
>
<div
v-if=
"show
&&module.total>0
"
class=
"my-custom-module"
@
click=
"goModule(module)"
>
<div
v-if=
"show"
class=
"my-custom-module"
@
click=
"goModule(module)"
>
<div
class=
"custom-module-title"
>
{{
module
.
name
}}
</div>
<div
class=
"custom-module-content"
>
<div
class=
"custom-module-content-item"
>
...
...
@@ -78,10 +78,10 @@ export default {
async
goModule
(
module
)
{
this
.
$router
.
push
({
path
:
module
.
originRoute
,
// meta: { disnav: false },
query
:
{
title
:
module
.
name
,
showMenu
:
module
.
showMenu
showMenu
:
module
.
showMenu
,
showTag
:
'false'
}
})
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
...
...
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