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
6c78cb49
Commit
6c78cb49
authored
Oct 27, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工时查看
parent
0f55b6f8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
700 additions
and
4 deletions
+700
-4
Search.vue
.../taskExecution/components/TimeToSee/components/Search.vue
+107
-0
productionTable.vue
...ution/components/TimeToSee/components/productionTable.vue
+263
-0
temporaryTable.vue
...cution/components/TimeToSee/components/temporaryTable.vue
+239
-0
index.vue
...es/src/views/taskExecution/components/TimeToSee/index.vue
+86
-0
index.vue
.../views/taskReception/components/taskReceiveCard/index.vue
+5
-4
No files found.
applications/dee-mes/src/views/taskExecution/components/TimeToSee/components/Search.vue
0 → 100644
View file @
6c78cb49
<
template
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
class=
"demo-form-inline working-hours-summary"
label-width=
"90px"
>
<el-form-item
v-if=
"activeName==='product'"
label=
"关键字: "
>
<el-input
v-model=
"form.aoName"
placeholder=
"AO号/AO名称模糊检索"
class=
"el-input--small"
clearable=
"clearable"
/>
</el-form-item>
<el-form-item
v-if=
"activeName==='temp'"
label=
"关键字: "
>
<el-input
v-model=
"form.keyWord"
placeholder=
"任务编号/内容模糊查询"
class=
"el-input--small"
clearable=
"clearable"
/>
</el-form-item>
<el-form-item
label=
"完成时间: "
>
<el-date-picker
v-model=
"form.actualEnd"
type=
"daterange"
size=
"small"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd 00:00:00"
/>
</el-form-item>
<el-form-item
label=
"工时状态: "
>
<el-select
v-model=
"form.state"
clearable
placeholder=
"请选择工时状态"
class=
"input-with-select el-input--small"
>
<el-option
v-for=
"item in workStatusOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"是否确认: "
>
<el-select
v-model=
"form.isConfirmCode"
clearable
placeholder=
"请选择确认状态"
class=
"input-with-select el-input--small"
>
<el-option
label=
"全部"
value=
""
/>
<el-option
label=
"已确认"
value=
"Y"
/>
<el-option
label=
"未确认"
value=
"N"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
class=
"el-button--small"
@
click=
"onSubmit"
>
查询
</el-button>
<el-button
type=
"default "
class=
"el-button--small"
@
click=
"resetForm"
>
重置
</el-button>
</el-form-item>
</el-form>
</
template
>
<
script
>
export
default
{
props
:
{
activeName
:
{
type
:
String
,
default
:
'product'
}
},
data
()
{
return
{
workStatusOptions
:
[
{
label
:
'己审核'
,
value
:
'Audited'
},
{
label
:
'待审核'
,
value
:
'Pending_Review'
},
{
label
:
'审核中'
,
value
:
'TF_Reviewing'
}
],
form
:
{
keyWord
:
''
,
state
:
'Audited'
,
// 工时状态
aoName
:
''
,
// 关键字
actualEnd
:
''
,
// 结束时间,
isConfirmCode
:
'N'
}
}
},
mounted
()
{
this
.
$emit
(
'init'
,
this
.
form
)
},
methods
:
{
// 重置
resetForm
()
{
this
.
form
=
{
keyWord
:
''
,
state
:
''
,
// 工时状态
aoName
:
''
,
// 关键字
actualEnd
:
''
,
// 结束时间
isConfirmCode
:
''
}
this
.
$emit
(
'init'
)
},
// 查询
onSubmit
()
{
this
.
$emit
(
'init'
,
this
.
form
)
}
}
}
</
script
>
<
style
lang=
'scss'
>
.working-hours-summary
{
.el-form-item
{
margin-bottom
:
10px
!
important
;
}
}
</
style
>
applications/dee-mes/src/views/taskExecution/components/TimeToSee/components/productionTable.vue
0 → 100644
View file @
6c78cb49
<
template
>
<section
class=
"pro-table"
>
<!-- 表格 -->
<dee-table
v-if=
"sumRowShow"
ref=
"table"
:loading=
"loading"
:index-row=
"indexRow"
:columns=
"tableColums"
:data=
"tableData"
:highlight-current-row=
"true"
:options=
"tableOptions"
:pagination=
"tablePagination"
:selection-row=
"selectionRow"
@
selection-change=
"selectionChange"
@
pagination-size-change=
"paginationSizeChange"
@
pagination-current-change=
"paginationCurrentChange"
/>
</section>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
components
:
{
},
data
()
{
return
{
// 加载中
loading
:
false
,
// 搜索条件
form
:
[],
// 分页
tablePagination
:
{
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
pageSizes
:
[
5
,
10
,
20
,
50
]
},
// 序号
indexRow
:
{
title
:
'序号'
,
align
:
'center'
,
width
:
'70'
},
// 选中表格列
selectionRow
:
[],
// 所有可动态配置的表格列
colums
:
[
{
minWidth
:
'80'
,
title
:
'机型'
,
show
:
true
,
key
:
'joExecutePlan.extProcessPlan.planeType'
,
sortable
:
true
},
{
minWidth
:
'80'
,
title
:
'架次'
,
show
:
true
,
key
:
'joExecutePlan.extProcessPlan.sorties'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'AO号'
,
show
:
true
,
key
:
'joExecutePlan.extProcessPlan.serialNumber'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'AO名称'
,
show
:
true
,
key
:
'joExecutePlan.extProcessPlan.materName'
,
sortable
:
true
},
{
minWidth
:
'140'
,
title
:
'总工时(min)'
,
show
:
true
,
key
:
'allWorkHour'
,
sortable
:
true
},
{
minWidth
:
'140'
,
title
:
'分配工时(min)'
,
show
:
true
,
key
:
'workHour'
,
sortable
:
true
},
{
minWidth
:
'130'
,
title
:
'完成时间'
,
show
:
true
,
key
:
'joExecutePlan.jrExecutePlans[0].actualEnd'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'工时状态'
,
show
:
true
,
key
:
'joExecutePlan.state'
,
sortable
:
true
,
formatter
(
row
,
column
)
{
if
(
row
.
joExecutePlan
.
state
===
'Audited'
)
{
return
'己审核'
}
else
if
(
row
.
joExecutePlan
.
state
===
'Pending_Review'
)
{
return
'待审核'
}
else
if
(
row
.
joExecutePlan
.
state
===
'TF_Reviewing'
)
{
return
'审核中'
}
}
},
{
minWidth
:
'100'
,
title
:
'是否确认'
,
show
:
true
,
key
:
'isConfirm'
,
sortable
:
true
,
formatter
(
row
,
column
)
{
if
(
row
.
isConfirm
===
'Y'
)
{
return
'已确认'
}
else
if
(
row
.
isConfirm
===
'N'
)
{
return
'未确认'
}
}
}
],
// 默认展示的表格列
tableColums
:
[],
// 表格数据
tableData
:
[],
// 表格样式配置
tableOptions
:
{
stripe
:
true
,
border
:
true
,
height
:
'400'
,
showSummary
:
true
,
summaryMethod
:
this
.
getSummaries
},
// 表格选中行
selection
:
[],
sumRowShow
:
false
}
},
created
()
{
this
.
setDefaultColums
()
},
mounted
()
{
// this.init()
},
methods
:
{
// 合计
getSummaries
(
param
)
{
const
{
columns
,
data
}
=
param
const
sums
=
[]
columns
.
forEach
((
column
,
index
)
=>
{
if
(
index
===
1
)
{
sums
[
index
]
=
'合计'
return
}
const
values
=
data
.
map
(
item
=>
Number
(
item
[
column
.
property
]))
if
(
!
values
.
every
(
value
=>
isNaN
(
value
)))
{
sums
[
index
]
=
values
.
reduce
((
prev
,
curr
)
=>
{
const
value
=
Number
(
curr
)
if
(
!
isNaN
(
value
))
{
return
prev
+
curr
}
else
{
return
prev
}
},
0
)
sums
[
index
]
}
})
return
sums
},
// 设置默认展示列
setDefaultColums
()
{
this
.
tableColums
=
this
.
colums
.
filter
(
item
=>
item
.
show
)
},
// 初始化数据
init
(
form
)
{
this
.
tableData
=
[]
// 设置数据
this
.
form
=
form
console
.
log
(
111
,
form
)
this
.
loading
=
true
const
params
=
{
'pageFrom'
:
this
.
tablePagination
.
currentPage
,
'pageSize'
:
this
.
tablePagination
.
pageSize
,
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'extProcessSkillUser.dxUserInfoId'
,
'operator'
:
'EQ'
,
'value'
:
localStorage
.
getItem
(
'userId'
)
// 'value': 1626781929107
},
{
'fieldName'
:
'joExecutePlan.extProcessPlan.serialNumber'
,
'operator'
:
'LIKE'
,
'value'
:
form
.
aoName
// 'value': 'AOR-CAS-CA-53-D2701001-0500-001'
},
// {
// 'fieldName': 'joExecutePlan.jrExecutePlans.actualEnd',
// 'operator': 'BTWN',
// 'value': form.actualEnd[0],
// 'value1': form.actualEnd[1]
// },
{
'fieldName'
:
'joExecutePlan.state'
,
'operator'
:
'EQ'
,
'value'
:
form
.
state
},
{
'fieldName'
:
'isConfirm'
,
'operator'
:
'EQ'
,
'value'
:
form
.
isConfirmCode
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'joExecutePlan'
,
'openProps'
:
[
{
'name'
:
'extProcessPlan'
},
{
'name'
:
'jrExecutePlans'
}
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
],
'toValidateKeys'
:
''
}
// 发送请求
post
(
`/ProdTask/listCustomQuery`
,
params
).
then
(
res
=>
{
this
.
tableData
=
[]
res
.
items
.
content
.
map
(
item
=>
{
this
.
tableData
.
push
({
...
item
,
allWorkHour
:
item
.
joExecutePlan
.
allWorkHour
,
workHour
:
item
.
workHour
})
})
this
.
tablePagination
.
total
=
res
.
items
.
totalElements
}).
catch
(
err
=>
console
.
log
(
err
)).
finally
(()
=>
{
this
.
loading
=
false
this
.
$nextTick
(()
=>
{
this
.
sumRowShow
=
true
})
})
},
// 确认
confirmHandle
()
{
if
(
!
this
.
selectionRow
.
length
)
return
this
.
$utils
.
showMessageWarning
(
'请选择需要操作的数据'
)
const
confirmFlag
=
this
.
selectionRow
.
find
(
row
=>
(
row
.
isConfirm
===
'Y'
||
row
.
isConfirm
===
'已确认'
))
if
(
confirmFlag
)
return
this
.
$utils
.
showMessageWarning
(
'已确认的数据无法再次进行确认,请重新选择'
)
this
.
$confirm
(
'是否对选中的数据进行确认?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
loading
=
true
const
params
=
[]
this
.
selectionRow
.
map
(
row
=>
{
params
.
push
({
id
:
row
.
id
,
operator
:
'MODIFY'
,
isConfirm
:
'Y'
})
})
post
(
`/ProdTask/recursions`
,
params
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'确认成功'
)
this
.
tablePagination
.
currentPage
=
1
this
.
init
(
this
.
form
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
}).
finally
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消确认'
})
})
},
// 选择项发生改变
selectionChange
(
val
)
{
this
.
selectionRow
=
val
},
// 分页每页条数切换
paginationSizeChange
(
size
)
{
this
.
tablePagination
.
pageSize
=
size
this
.
init
(
this
.
form
)
},
// 分页当前页切换
paginationCurrentChange
(
page
)
{
this
.
tablePagination
.
currentPage
=
page
this
.
init
(
this
.
form
)
}
}
}
</
script
>
applications/dee-mes/src/views/taskExecution/components/TimeToSee/components/temporaryTable.vue
0 → 100644
View file @
6c78cb49
<
template
>
<section
class=
"pro-table"
>
<!-- 表格 -->
<dee-table
v-if=
"sumRowShow"
ref=
"table"
:loading=
"loading"
:index-row=
"indexRow"
:columns=
"tableColums"
:data=
"tableData"
:highlight-current-row=
"true"
:options=
"tableOptions"
:pagination=
"tablePagination"
:summary-method=
"getSummaries"
:selection-row=
"selectionRow"
@
selection-change=
"selectionChange"
@
row-click=
"rowClick"
@
pagination-size-change=
"paginationSizeChange"
@
pagination-current-change=
"paginationCurrentChange"
>
<!-- 操作按钮 -->
<section
slot=
"header"
style=
"display: flex; align-items: center;"
>
<dee-tools
style=
"justify-content: flex-end;"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/>
</section>
</dee-table>
</section>
</
template
>
<
script
>
// import { post } from '@/utils/http'
// import { getTemp, confirmTempWorkHour } from '@/api/programExecutionManagement.js'
export
default
{
components
:
{
},
data
()
{
return
{
// 加载中
loading
:
false
,
// 搜索条件
form
:
[],
// 分页
tablePagination
:
{
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
pageSizes
:
[
5
,
10
,
20
,
50
]
},
// 序号
indexRow
:
{
title
:
'序号'
,
align
:
'center'
,
width
:
'70'
},
// 选中表格列
selectionRow
:
[],
// 所有可动态配置的表格列
colums
:
[
{
minWidth
:
'100'
,
title
:
'任务编号'
,
show
:
true
,
key
:
'tempWorkHour.billNo'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'工时类型'
,
show
:
true
,
key
:
'tempWorkHour.workType'
,
sortable
:
true
},
{
minWidth
:
'70'
,
title
:
'站位'
,
show
:
true
,
key
:
'tempWorkHour.name'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'工作内容'
,
show
:
true
,
key
:
'tempWorkHour.workContent'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'开始时间'
,
show
:
true
,
key
:
'tempWorkHour.startTime'
,
sortable
:
true
},
{
minWidth
:
'100'
,
title
:
'结束时间'
,
show
:
true
,
key
:
'tempWorkHour.endTime'
,
sortable
:
true
},
{
minWidth
:
'110'
,
title
:
'本人工时(min)'
,
show
:
true
,
key
:
'workHour'
,
sortable
:
true
},
{
minWidth
:
'110'
,
title
:
'完成工时(min)'
,
show
:
true
,
key
:
'workHours'
,
sortable
:
true
},
{
minWidth
:
'120'
,
title
:
'工时状态'
,
show
:
true
,
key
:
'tempWorkHour.stateName'
,
sortable
:
true
},
{
minWidth
:
'120'
,
title
:
'是否确认'
,
show
:
true
,
key
:
'tempWorkHour.isConfirmName'
,
sortable
:
true
}
],
// 默认展示的表格列
tableColums
:
[],
// 表格数据
tableData
:
[],
// 表格样式配置
tableOptions
:
{
stripe
:
true
,
border
:
true
,
height
:
'400'
,
showSummary
:
true
,
summaryMethod
:
this
.
getSummaries
},
// 表格选中行
selection
:
[],
// 工具栏
tools
:
[
// {
// name: '新增',
// icon: '/icons/c-add.png',
// handler: {
// click: () => this.$emit('open')
// }
// }
],
sumRowShow
:
false
}
},
created
()
{
this
.
setDefaultColums
()
},
mounted
()
{
this
.
init
()
},
methods
:
{
getSummaries
(
param
)
{
// this.$nextTick(() => {
// this.$refs.table.$refs.deeTable.doLayout()
// })
this
.
showSummary
=
true
const
{
columns
,
data
}
=
param
const
sums
=
[]
columns
.
forEach
((
column
,
index
)
=>
{
if
(
index
===
1
)
{
sums
[
index
]
=
'合计'
return
}
const
values
=
data
.
map
(
item
=>
Number
(
item
[
column
.
property
]))
if
(
!
values
.
every
(
value
=>
isNaN
(
value
)))
{
sums
[
index
]
=
values
.
reduce
((
prev
,
curr
)
=>
{
const
value
=
Number
(
curr
)
if
(
!
isNaN
(
value
))
{
return
prev
+
curr
}
else
{
return
prev
}
},
0
)
sums
[
index
]
}
})
return
sums
},
// 设置默认展示列
setDefaultColums
()
{
this
.
tableColums
=
this
.
colums
.
filter
(
item
=>
item
.
show
)
},
// 初始化数据
init
(
form
,
page
)
{
page
&&
(
this
.
tablePagination
.
currentPage
=
1
)
// 设置数据
this
.
loading
=
true
this
.
tableData
=
[]
form
&&
form
.
length
?
this
.
form
=
form
:
this
.
form
=
[{
fieldName
:
'state'
,
operator
:
'LIKE'
,
value
:
'Audited'
},
{
fieldName
:
'isConfirmCode'
,
operator
:
'LIKE'
,
value
:
'N'
}]
// const params = {
// 'indices': [
// 'TempWorkHourAssign'
// ],
// 'pageFrom': page || this.tablePagination.currentPage,
// 'pageSize': this.tablePagination.pageSize,
// 'searchItems': {
// 'items': [
// ...this.form,
// {
// fieldName: 'dxUserId',
// operator: 'EQ',
// value: localStorage.getItem('userId')
// }
// ],
// 'operator': 'AND'
// },
// 'sortItem': [
// {
// 'fieldName': 'modifyTime',
// 'sortOrder': 'desc'
// }
// ]
// }
// // 发送请求
// getTemp(params).then(res => {
// this.tableData = []
// res.items.content.map(item => {
// item.tempWorkHour.isConfirmName = item.isConfirmName
// this.tableData.push({
// ...item,
// workHours: item.tempWorkHour.workHours
// })
// })
// this.tablePagination.total = res.items.totalElements
// // 清空子表数据
// // this.$emit('clear')
// }).catch(err => console.log(err)).finally(() => {
// this.loading = false
// this.$nextTick(() => {
// this.sumRowShow = true
// })
// })
},
// 确认
confirmHandle
()
{
if
(
!
this
.
selectionRow
.
length
)
return
this
.
$utils
.
showMessageWarning
(
'请选择需要操作的数据'
)
const
confirmFlag
=
this
.
selectionRow
.
find
(
row
=>
(
row
.
isConfirmName
===
'Y'
||
row
.
isConfirmName
===
'已确认'
))
if
(
confirmFlag
)
return
this
.
$utils
.
showMessageWarning
(
'已确认的数据无法再次进行确认,请重新选择'
)
this
.
$confirm
(
'是否对选中的数据进行确认?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
loading
=
true
// const ids = this.selectionRow.map(row => row.id)
// confirmTempWorkHour(ids).then(res => {
// this.$utils.showMessageSuccess('确认成功')
// this.init('', 1)
// }).catch(err => {
// console.log(err)
// }).finally(() => {
// this.loading = false
// })
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消确认'
})
})
},
// 选择项发生改变
selectionChange
(
val
)
{
this
.
selectionRow
=
val
},
// 分页每页条数切换
paginationSizeChange
(
size
)
{
this
.
tablePagination
.
pageSize
=
size
this
.
init
(
this
.
form
)
},
// 分页当前页切换
paginationCurrentChange
(
page
)
{
this
.
tablePagination
.
currentPage
=
page
this
.
init
(
this
.
form
)
},
// 行点击
rowClick
(
row
)
{
this
.
$emit
(
'rowClick'
,
row
)
}
}
}
</
script
>
applications/dee-mes/src/views/taskExecution/components/TimeToSee/index.vue
0 → 100644
View file @
6c78cb49
<
template
>
<dee-dialog
v-if=
"visible"
title=
"工时查看"
:dialog-visible
.
sync=
"visible"
width=
"90%"
custom-class=
"mobile-dialog"
>
<section
class=
"statistical-summary-working-hours-com"
>
<Search
:active-name=
"activeName"
@
init=
"(form)=>tableInit(form) "
/>
<dee-tools
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"tableInit(false)"
>
<el-tab-pane
label=
"生产工时"
name=
"product"
>
<ProductionTable
ref=
"productTable"
/>
</el-tab-pane>
<el-tab-pane
label=
"临时工时"
name=
"temp"
>
<TemporaryTable
ref=
"tempTable"
/>
</el-tab-pane>
</el-tabs>
</section>
</dee-dialog>
</
template
>
<
script
>
import
ProductionTable
from
'./components/productionTable'
import
TemporaryTable
from
'./components/temporaryTable'
import
Search
from
'./components/Search'
export
default
{
name
:
'StatisticalSummaryWorkingHours'
,
components
:
{
ProductionTable
,
TemporaryTable
,
Search
},
data
()
{
return
{
activeName
:
'product'
,
visible
:
false
,
// 工具栏
tools
:
[{
name
:
'确认'
,
icon
:
'/icons/check.png '
,
handler
:
{
click
:
()
=>
this
.
confirmHandle
()
}
}]
}
},
methods
:
{
// 打开弹出框
open
()
{
this
.
visible
=
true
},
handleClose
()
{
this
.
visible
=
false
},
tableInit
(
form
)
{
console
.
log
(
1212
,
form
)
if
(
this
.
activeName
===
'product'
)
{
this
.
$refs
.
productTable
.
init
(
form
,
1
)
}
else
{
this
.
$refs
.
tempTable
.
init
(
form
,
1
)
}
},
confirmHandle
(
section
)
{
if
(
this
.
activeName
===
'product'
)
{
this
.
$refs
.
productTable
.
confirmHandle
()
}
else
{
this
.
$refs
.
tempTable
.
confirmHandle
()
}
}
}
}
</
script
>
<
style
lang=
"scss"
>
.statistical-summary-working-hours-com
{
.dee-tools
{
float
:
right
;
position
:
relative
;
top
:
10px
;
z-index
:
99999
;
}
}
</
style
>
applications/dee-mes/src/views/taskReception/components/taskReceiveCard/index.vue
View file @
6c78cb49
...
...
@@ -102,23 +102,24 @@
<i
class=
"icon iconfont el-icon-collection"
/>
<p>
视图切换
</p>
</dd>
<
!--
<
dd
@
click=
"$refs.TimeToSee.open()"
>
<dd
@
click=
"$refs.TimeToSee.open()"
>
<span
class=
"iconfont icon-view-mode"
/>
<p>
工时查看
</p>
</dd>
-->
</dd>
</dl>
</div>
<TimeToSee
ref=
"TimeToSee"
/>
</div>
</
template
>
<
script
>
// import Dialog from './dialog'
// import TimeToSee from '@/views/mes/programExecutionManagement/assemblyPerform
/components/TimeToSee/index'
import
TimeToSee
from
'@/views/taskExecution
/components/TimeToSee/index'
import
{
mapGetters
}
from
'vuex'
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'TaskReceiveCard'
,
// components: { Dialog
},
components
:
{
TimeToSee
},
filters
:
{
gaceVersionFilters
(
version
)
{
if
(
version
)
{
...
...
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