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
c8420f24
Commit
c8420f24
authored
Sep 25, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加驳回记录
parent
3bee3490
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
106 deletions
+56
-106
index.vue
...-mes/src/views/taskExecution/components/chatBox/index.vue
+10
-5
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+46
-101
No files found.
applications/dee-mes/src/views/taskExecution/components/chatBox/index.vue
View file @
c8420f24
<
template
>
<
template
>
<dee-dialog
<dee-dialog
v-if=
"visible"
v-if=
"visible"
title=
"检验驳回
"
:title=
"title
"
:dialog-visible
.
sync=
"visible"
:dialog-visible
.
sync=
"visible"
custom-class=
"mobile-dialog"
custom-class=
"mobile-dialog"
width=
"90%"
width=
"90%"
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<ul
v-for=
"item in list"
:key=
"item.id"
class=
"atalk"
>
<ul
v-for=
"item in list"
:key=
"item.id"
class=
"atalk"
>
<li
class=
"textLeft"
>
<li
class=
"textLeft"
>
<img
<img
src=
"/icons/photo.jpg"
src=
"
@
/icons/photo.jpg"
alt=
"信息"
alt=
"信息"
class=
"img"
class=
"img"
>
>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</div>
</div>
</div>
</div>
<!-- 发送消息 -->
<!-- 发送消息 -->
<div
class=
"sendbox"
>
<div
v-if=
"row === 1"
class=
"sendbox"
>
<el-input
<el-input
v-model
.
trim=
"wordone"
v-model
.
trim=
"wordone"
class=
"inputword"
class=
"inputword"
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
post
(
`/OBJRejectHistory/search`
,
params
)
post
(
`/OBJRejectHistory/search`
,
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
list
=
[]
this
.
list
=
[]
res
.
items
.
map
((
item
)
=>
{
res
.
items
.
content
.
map
((
item
)
=>
{
if
(
!
item
.
remake
)
return
if
(
!
item
.
remake
)
return
this
.
list
.
push
({
this
.
list
.
push
({
name
:
item
.
creator
.
userName
,
name
:
item
.
creator
.
userName
,
...
@@ -182,6 +182,11 @@ export default {
...
@@ -182,6 +182,11 @@ export default {
this
.
wordone
=
''
this
.
wordone
=
''
this
.
closeTimeNum
=
3
this
.
closeTimeNum
=
3
this
.
row
=
row
this
.
row
=
row
if
(
this
.
row
===
1
)
{
this
.
title
=
'检验驳回'
}
else
{
this
.
title
=
'驳回记录'
}
this
.
infoInit
()
this
.
infoInit
()
},
},
// 关闭弹框
// 关闭弹框
...
@@ -307,7 +312,7 @@ export default {
...
@@ -307,7 +312,7 @@ export default {
}
}
.btnsend
{
.btnsend
{
border
:
1px
solid
#409eff
;
border
:
1px
solid
#409eff
;
background
:
url("/icons/send.jpg")
no-repeat
left
top
;
background
:
url("
../../../..
/icons/send.jpg")
no-repeat
left
top
;
}
}
}
}
</
style
>
</
style
>
applications/dee-mes/src/views/taskExecution/index.vue
View file @
c8420f24
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
:disabled=
"isOK"
:disabled=
"isOK"
content=
"驳回记录"
content=
"驳回记录"
class=
"gooey-menu-item"
class=
"gooey-menu-item"
@
click=
"!isOK && $refs.InspectionRejected.open()"
@
click=
"!isOK && $refs.InspectionRejected.open(
2
)"
>
>
<el-badge
:value=
"editor.countOBJReject"
class=
"item"
>
<el-badge
:value=
"editor.countOBJReject"
class=
"item"
>
<i
class=
"el-icon-chat-line-round"
/>
<i
class=
"el-icon-chat-line-round"
/>
...
@@ -383,7 +383,7 @@
...
@@ -383,7 +383,7 @@
:disabled=
"isOK || !editor.jurisdiction"
:disabled=
"isOK || !editor.jurisdiction"
content=
"检验驳回"
content=
"检验驳回"
@
click=
"
@
click=
"
!isOK && editor.jurisdiction && $refs.InspectionRejected.open()
!isOK && editor.jurisdiction && $refs.InspectionRejected.open(
1
)
"
"
>
>
<el-badge
:value=
"editor.countOBJReject"
class=
"item"
>
<el-badge
:value=
"editor.countOBJReject"
class=
"item"
>
...
@@ -749,9 +749,9 @@ export default {
...
@@ -749,9 +749,9 @@ export default {
{
{
'items'
:
[
'items'
:
[
{
{
'fieldName'
:
'
extProcessOperation.
targetExtProcessUsageLink.sourceId'
,
'fieldName'
:
'targetExtProcessUsageLink.sourceId'
,
'operator'
:
'EQ'
,
'operator'
:
'EQ'
,
'value'
:
209390392023000
'value'
:
that
.
headerData
.
aoId
}
}
],
],
'operator'
:
'AND'
'operator'
:
'AND'
...
@@ -762,26 +762,26 @@ export default {
...
@@ -762,26 +762,26 @@ export default {
},
},
'openProps'
:
[
'openProps'
:
[
{
{
'name'
:
'
extProcessOperation
'
,
'name'
:
'
objFileLinks
'
,
'openProps'
:
[
'openProps'
:
[
{
{
'name'
:
'objFileLinks'
,
'name'
:
'target'
'openProps'
:
[
{
'name'
:
'target'
}
]
}
}
]
]
},
},
{
{
'name'
:
'jrExecuteOpPlans'
'name'
:
'joExecuteOpPlan'
,
'openProps'
:
[
{
'name'
:
'jrExecuteOpPlans'
}
]
}
}
],
],
'sortItem'
:
[
'sortItem'
:
[
{
{
'fieldName'
:
'
modifyTim
e'
,
'fieldName'
:
'
cod
e'
,
'sortOrder'
:
'
de
sc'
'sortOrder'
:
'
a
sc'
}
}
],
],
'toValidateKeys'
:
''
'toValidateKeys'
:
''
...
@@ -791,48 +791,47 @@ export default {
...
@@ -791,48 +791,47 @@ export default {
if
(
res
&&
res
.
items
)
{
if
(
res
&&
res
.
items
)
{
that
.
workingProcedure
=
(
res
.
items
||
[]).
map
((
p
)
=>
{
that
.
workingProcedure
=
(
res
.
items
||
[]).
map
((
p
)
=>
{
return
{
return
{
id
:
p
.
id
,
id
:
p
.
joExecuteOpPlan
[
0
].
id
,
tableId
:
p
.
extProcessOperation
.
id
,
tableId
:
p
.
id
,
serialNumber
:
p
.
extProcessOperation
.
code
,
serialNumber
:
p
.
code
,
title
:
p
.
extProcessOperation
.
name
,
title
:
p
.
name
,
html
:
p
.
longdescription
,
html
:
p
.
joExecuteOpPlan
[
0
].
longdescription
,
keyOperation
:
p
.
extProcessOperation
.
keyOperation
,
keyOperation
:
p
.
keyOperation
,
checkFlag
:
p
.
extProcessOperation
.
checkFlag
===
'true'
,
checkFlag
:
p
.
checkFlag
===
'true'
,
airFlag
:
p
.
extProcessOperation
.
airFlag
===
'AAD'
||
p
.
extProcessOperation
.
airFlag
===
'目击'
,
airFlag
:
p
.
airFlag
===
'AAD'
||
p
.
airFlag
===
'目击'
,
versionKey
:
p
.
extProcessOperation
.
gaceVersion
,
versionKey
:
p
.
gaceVersion
,
statusCode
:
p
.
status
,
statusCode
:
p
.
joExecuteOpPlan
[
0
].
status
,
isQualified
:
p
.
isQualified
,
isQualified
:
p
.
joExecuteOpPlan
[
0
].
isQualified
,
countOBJReject
:
p
.
countOBJReject
,
countOBJReject
:
p
.
joExecuteOpPlan
[
0
].
countOBJReject
,
countRecord
:
p
.
countRecord
,
countRecord
:
p
.
joExecuteOpPlan
[
0
].
countRecord
,
countProblem
:
p
.
countProblem
,
countProblem
:
p
.
joExecuteOpPlan
[
0
].
countProblem
,
countDebugging
:
p
.
countDebugging
,
countDebugging
:
p
.
joExecuteOpPlan
[
0
].
countDebugging
,
countQuality
:
p
.
countQuality
,
countQuality
:
p
.
joExecuteOpPlan
[
0
].
countQuality
,
revoke
:
p
.
revoke
,
revoke
:
p
.
joExecuteOpPlan
[
0
].
revoke
,
// 工装
// 工装
isOKClothesLink
:
p
.
isOKClothesLink
,
isOKClothesLink
:
p
.
joExecuteOpPlan
[
0
].
isOKClothesLink
,
isOKToolLink
:
p
.
isOKToolLink
,
isOKToolLink
:
p
.
joExecuteOpPlan
[
0
].
isOKToolLink
,
deviceLink
:
p
.
deviceLink
,
deviceLink
:
p
.
joExecuteOpPlan
[
0
].
deviceLink
,
operator
:
p
.
j
rExecuteOpPlans
.
length
&&
operator
:
p
.
j
oExecuteOpPlan
.
length
&&
p
.
jrExecuteOpPlans
[
0
].
operatorUser
p
.
j
oExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
j
rExecuteOpPlans
[
0
].
operatorUser
?
p
.
jrExecuteOpPlans
[
0
].
operatorUser
.
userName
+
?
p
.
j
oExecuteOpPlan
[
0
].
j
rExecuteOpPlans
[
0
].
operatorUser
.
userName
+
' '
+
' '
+
p
.
jrExecuteOpPlans
[
0
].
operatorTime
p
.
j
oExecuteOpPlan
[
0
].
j
rExecuteOpPlans
[
0
].
operatorTime
:
''
,
:
''
,
testor
:
testor
:
p
.
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
.
length
&&
p
.
jrExecuteOpPlans
[
0
].
testor
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
.
userName
+
p
.
jrExecuteOpPlans
[
0
].
testor
.
userName
+
' '
+
' '
+
p
.
j
rExecuteOpPlans
[
0
].
testorTime
,
p
.
j
oExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testorTime
:
''
,
dmir
:
{
dmir
:
{
dmriImg
:
dmriImg
:
p
.
jrExecuteOpPlans
.
length
&&
p
.
j
oExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
j
rExecuteOpPlans
.
length
&&
p
.
jrExecuteOpPlans
[
0
].
dmriImg
,
p
.
j
oExecuteOpPlan
[
0
].
j
rExecuteOpPlans
[
0
].
dmriImg
,
dmirTime
:
dmirTime
:
p
.
jrExecuteOpPlans
.
length
&&
p
.
j
oExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
j
rExecuteOpPlans
.
length
&&
p
.
jrExecuteOpPlans
[
0
].
dmirTime
p
.
j
oExecuteOpPlan
[
0
].
j
rExecuteOpPlans
[
0
].
dmirTime
},
},
fileList
:
p
.
extProcessOperation
.
objFileLinks
?
p
.
extProcessOperation
.
objFileLinks
:
[]
fileList
:
p
.
objFileLinks
?
p
.
objFileLinks
:
[]
}
}
})
})
var
status
=
that
.
workingProcedure
.
every
(
var
status
=
that
.
workingProcedure
.
every
(
...
@@ -857,59 +856,6 @@ export default {
...
@@ -857,59 +856,6 @@ export default {
that
.
workingProcedureLoading
=
false
that
.
workingProcedureLoading
=
false
})
})
},
},
/**
* 获取附件文件数据
*/
getEnclosureFeil
()
{
// 发送请求
// const param = {
// indices: ['DxProcessOperation'],
// pageFrom: 1,
// pageSize: 9999,
// openProps: [
// {
// name: 'objFileLinks',
// openProps: [
// {
// name: 'target'
// }
// ]
// }
// ],
// searchItems: {
// items: [
// {
// fieldName: 'id',
// operator: 'EQ',
// value: this.editor.tableId
// }
// ],
// operator: 'AND'
// },
// sortItem: [
// {
// fieldName: 'modifyTime',
// sortOrder: 'desc'
// }
// ]
// }
// assemblyExecutionUpload(param)
// .then((res) => {
// if (res.items.content.length && res.items.content[0].objFileLinks) {
// this.enclosureData = res.items.content[0].objFileLinks.map((p) => {
// return {
// originalFileName: p.target.originalFileName,
// fileSize: p.target.fileSize,
// fileExtension: p.target.fileExtension
// }
// })
// } else {
// this.enclosureData = []
// }
// })
// .catch((err) => console.error(err))
// .finally(() => {})
},
selectOptions
(
id
)
{
selectOptions
(
id
)
{
var
that
=
this
var
that
=
this
this
.
procedureId
=
id
this
.
procedureId
=
id
...
@@ -944,7 +890,6 @@ export default {
...
@@ -944,7 +890,6 @@ export default {
isQualified
:
row
.
isQualified
,
isQualified
:
row
.
isQualified
,
fileList
:
row
.
fileList
fileList
:
row
.
fileList
}
}
this
.
getEnclosureFeil
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
that
.
editShow
=
false
that
.
editShow
=
false
var
inputValue
=
null
var
inputValue
=
null
...
...
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