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
adf77b88
Commit
adf77b88
authored
Jul 01, 2024
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
00140346
c2f63aa7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
720 additions
and
55 deletions
+720
-55
index.vue
...-mes/src/privateComponents/components/ZGSMApply/index.vue
+201
-0
index.vue
...views/workflow/task-center/myPlanTask/ZGSMApply/index.vue
+207
-0
index.vue
...views/workflow/task-center/myPlanTask/ZGSMAudit/index.vue
+206
-0
index.vue
...workflow/task-center/myPlanTask/ZGSMCountersign/index.vue
+46
-0
index.vue
...kflow/task-center/myPlanTask/outStorageUseApply/index.vue
+56
-54
taskList.vue
...er/src/views/workflow/task-center/myPlanTask/taskList.vue
+4
-1
No files found.
applications/dee-mes/src/privateComponents/components/ZGSMApply/index.vue
0 → 100644
View file @
adf77b88
<
template
>
<div>
<dee-as-com
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'QualityRecord', layKey: 'QualityRecordList' }"
@tableToolHandler="tableToolHandler"
@selectionChange="selectionChange"
/>
<dee-dialog
title=
"发起整改说明申请"
:dialog-visible=
"dialogVisible"
>
<div
style=
"margin-bottom: 20px;font-size: 14px;font-weight: bolder;"
>
确认提交吗?
</div>
<div
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"confirm"
>
确 定
</el-button>
<el-button
@
click=
"cancle"
>
取 消
</el-button>
</div>
</dee-dialog>
<dee-dialog
title=
"选择负责人"
:dialog-visible=
"setPersonVisible"
>
<dee-form
ref=
"form"
label-width=
"100"
:form=
"form"
:form-data=
"formData"
:rules=
"rules"
>
<el-button
type=
"primary"
@
click=
"setPersonConfirm"
>
确 定
</el-button>
<el-button
@
click=
"setPersonCancle"
>
取 消
</el-button>
</dee-form>
</dee-dialog>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'ZGSMList'
,
componentName
:
'整改说明'
,
components
:
{
},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
dialogVisible
:
false
,
setPersonVisible
:
false
,
selectionRows
:
[],
form
:
{},
formData
:
[{
split
:
1
,
data
:
[
{
title
:
'设置负责人'
,
key
:
'userIds'
,
component
:
{
clearable
:
true
,
name
:
'el-select'
,
placeholder
:
'请选择'
,
multiple
:
true
,
options
:
[]
}
}]
}],
rules
:
{
userIds
:
[
{
required
:
true
,
message
:
'请填写负责人'
,
trigger
:
[
'blur'
,
'change'
]
}
]
}
}
},
created
()
{
},
methods
:
{
getPersonList
()
{
const
httpParams
=
{
'pageFrom'
:
1
,
'pageSize'
:
9999
,
'searchItems'
:
{
'children'
:
[],
'items'
:
[
{
'fieldName'
:
'source.name'
,
'operator'
:
'IN'
,
'value'
:
[
'整改说明技术负责人'
]
}
],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'source'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
},
{
'name'
:
'target'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'/DxGroupMemberLink/search'
,
httpParams
).
then
(
res
=>
{
const
arr
=
[]
const
ids
=
[]
res
.
items
.
content
.
forEach
(
item
=>
{
if
(
ids
.
indexOf
(
item
.
target
.
id
)
===
-
1
)
{
ids
.
push
(
item
.
target
.
id
)
arr
.
push
({
value
:
item
.
target
.
id
,
label
:
item
.
target
.
name
+
'/'
+
item
.
target
.
number
})
}
})
this
.
formData
[
0
].
data
.
forEach
(
item
=>
{
if
(
item
.
key
===
'userIds'
)
{
item
.
component
.
options
=
arr
}
/**
item.key === 'userIds' && (item.component.options = arr.map(row => {
return {
value: row.value,
label: row.label
}
}
))
*/
})
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
},
tableToolHandler
(
e
)
{
console
.
log
(
e
.
key
.
btnValue
)
if
(
e
.
key
.
btnValue
===
'ZGSMApply'
)
{
this
.
ZGSMApply
()
}
},
ZGSMApply
()
{
this
.
dialogVisible
=
true
},
confirm
()
{
this
.
getPersonList
()
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
true
},
cancle
()
{
this
.
dialogVisible
=
false
},
setPersonConfirm
()
{
const
ids
=
[]
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
this
.
selectionRows
.
forEach
(
item
=>
ids
.
push
(
item
.
id
))
}
if
(
this
.
form
.
userIds
&&
this
.
form
.
userIds
.
length
!==
0
)
{
post
(
'/QualityRecord/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
setTimeout
(()
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
},
1500
)
}).
catch
(
err
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
finally
(()
=>
{
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
})
}
else
{
this
.
$utils
.
showMessageWarning
(
'请选择审批负责人'
)
}
},
setPersonCancle
()
{
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
},
selectionChange
(
val
)
{
this
.
selectionRows
=
val
}
}
}
</
script
>
<
style
></
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/ZGSMApply/index.vue
0 → 100644
View file @
adf77b88
<
template
>
<div
class=
"ZGSMApply"
>
<dee-as-com
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'QualityRecord', layKey: 'batchSign_QualityRecordApply' }"
@tableToolHandler="tableToolHandler"
@selectionChange="selectionChange"
/>
<dee-dialog
title=
"发起整改说明申请"
:dialog-visible=
"dialogVisible"
>
<div
style=
"margin-bottom: 20px;font-size: 14px;font-weight: bolder;"
>
确认提交吗?
</div>
<div
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"confirm"
>
确 定
</el-button>
<el-button
@
click=
"cancle"
>
取 消
</el-button>
</div>
</dee-dialog>
<dee-dialog
title=
"选择负责人"
:dialog-visible=
"setPersonVisible"
>
<dee-form
ref=
"form"
label-width=
"100"
:form=
"form"
:form-data=
"formData"
:rules=
"rules"
>
<el-button
type=
"primary"
@
click=
"setPersonConfirm"
>
确 定
</el-button>
<el-button
@
click=
"setPersonCancle"
>
取 消
</el-button>
</dee-form>
</dee-dialog>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'ZGSMApply'
,
components
:
{},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
dialogVisible
:
false
,
setPersonVisible
:
false
,
selectionRows
:
[],
form
:
{},
formData
:
[{
split
:
1
,
data
:
[
{
title
:
'设置负责人'
,
key
:
'userIds'
,
component
:
{
clearable
:
true
,
name
:
'el-select'
,
placeholder
:
'请选择'
,
multiple
:
true
,
options
:
[]
}
}]
}],
rules
:
{
userIds
:
[
{
required
:
true
,
message
:
'请填写负责人'
,
trigger
:
[
'blur'
,
'change'
]
}
]
}
}
},
created
()
{
},
methods
:
{
getPersonList
()
{
const
httpParams
=
{
'pageFrom'
:
1
,
'pageSize'
:
9999
,
'searchItems'
:
{
'children'
:
[],
'items'
:
[
{
'fieldName'
:
'source.name'
,
'operator'
:
'IN'
,
'value'
:
[
'整改说明技术负责人'
]
}
],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'source'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
},
{
'name'
:
'target'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'/DxGroupMemberLink/search'
,
httpParams
).
then
(
res
=>
{
const
arr
=
[]
const
ids
=
[]
res
.
items
.
content
.
forEach
(
item
=>
{
if
(
ids
.
indexOf
(
item
.
target
.
id
)
===
-
1
)
{
ids
.
push
(
item
.
target
.
id
)
arr
.
push
({
value
:
item
.
target
.
id
,
label
:
item
.
target
.
name
+
'/'
+
item
.
target
.
number
})
}
})
this
.
formData
[
0
].
data
.
forEach
(
item
=>
{
if
(
item
.
key
===
'userIds'
)
{
item
.
component
.
options
=
arr
}
/**
item.key === 'userIds' && (item.component.options = arr.map(row => {
return {
value: row.value,
label: row.label
}
}
))
*/
})
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
},
tableToolHandler
(
e
)
{
console
.
log
(
e
.
key
.
btnValue
)
if
(
e
.
key
.
btnValue
===
'ZGSMApply'
)
{
this
.
ZGSMApply
()
}
},
ZGSMApply
()
{
this
.
dialogVisible
=
true
},
confirm
()
{
this
.
getPersonList
()
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
true
},
cancle
()
{
this
.
dialogVisible
=
false
},
setPersonConfirm
()
{
const
ids
=
[]
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
this
.
selectionRows
.
forEach
(
item
=>
ids
.
push
(
item
.
id
))
}
if
(
this
.
form
.
userIds
&&
this
.
form
.
userIds
.
length
!==
0
)
{
post
(
'/QualityRecord/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
setTimeout
(()
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
},
1500
)
}).
catch
(()
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
finally
(()
=>
{
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
})
}
else
{
this
.
$utils
.
showMessageWarning
(
'请选择审批负责人'
)
}
},
setPersonCancle
()
{
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
},
selectionChange
(
val
)
{
this
.
selectionRows
=
val
}
}
}
</
script
>
<
style
lang=
"scss"
>
.ZGSMApply
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/ZGSMAudit/index.vue
0 → 100644
View file @
adf77b88
<
template
>
<div
class=
"ZGSMAudit"
>
<dee-as-com
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'QualityRecord', layKey: 'batchSign_QualityRecordAudit' }"
@tableToolHandler="tableToolHandler"
@selectionChange="selectionChange"
/>
<dee-dialog
title=
"发起整改说明申请"
:dialog-visible=
"dialogVisible"
>
<div
style=
"margin-bottom: 20px;font-size: 14px;font-weight: bolder;"
>
确认提交吗?
</div>
<div
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"confirm"
>
确 定
</el-button>
<el-button
@
click=
"cancle"
>
取 消
</el-button>
</div>
</dee-dialog>
<dee-dialog
title=
"选择检验员"
:dialog-visible=
"setPersonVisible"
>
<dee-form
ref=
"form"
label-width=
"100"
:form=
"form"
:form-data=
"formData"
:rules=
"rules"
>
<el-button
type=
"primary"
@
click=
"setPersonConfirm"
>
确 定
</el-button>
<el-button
@
click=
"setPersonCancle"
>
取 消
</el-button>
</dee-form>
</dee-dialog>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'ZGSMAudit'
,
components
:
{},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
dialogVisible
:
false
,
setPersonVisible
:
false
,
selectionRows
:
[],
form
:
{},
formData
:
[{
split
:
1
,
data
:
[
{
title
:
'设置检验员'
,
key
:
'userIds'
,
component
:
{
clearable
:
true
,
name
:
'el-select'
,
placeholder
:
'请选择'
,
multiple
:
true
,
options
:
[]
}
}]
}],
rules
:
{
userIds
:
[
{
required
:
true
,
message
:
'请填写检验员'
,
trigger
:
[
'blur'
,
'change'
]
}
]
}
}
},
created
()
{
},
methods
:
{
getPersonList
()
{
const
httpParams
=
{
'pageFrom'
:
1
,
'pageSize'
:
9999
,
'searchItems'
:
{
'children'
:
[],
'items'
:
[
{
'fieldName'
:
'source.name'
,
'operator'
:
'IN'
,
'value'
:
[
'检验技术员'
]
}
],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'source'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
},
{
'name'
:
'target'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'/DxGroupMemberLink/search'
,
httpParams
).
then
(
res
=>
{
const
arr
=
[]
const
ids
=
[]
res
.
items
.
content
.
forEach
(
item
=>
{
if
(
ids
.
indexOf
(
item
.
target
.
id
)
===
-
1
)
{
ids
.
push
(
item
.
target
.
id
)
arr
.
push
({
value
:
item
.
target
.
id
,
label
:
item
.
target
.
name
+
'/'
+
item
.
target
.
number
})
}
})
this
.
formData
[
0
].
data
.
forEach
(
item
=>
{
if
(
item
.
key
===
'userIds'
)
{
item
.
component
.
options
=
arr
}
/**
item.key === 'userIds' && (item.component.options = arr.map(row => {
return {
value: row.value,
label: row.label
}
}
))
*/
})
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
},
tableToolHandler
(
e
)
{
if
(
e
.
key
.
btnValue
===
'ZGSMAudit'
)
{
this
.
ZGSMApply
()
}
},
ZGSMApply
()
{
this
.
dialogVisible
=
true
},
confirm
()
{
this
.
getPersonList
()
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
true
},
cancle
()
{
this
.
dialogVisible
=
false
},
setPersonConfirm
()
{
const
ids
=
[]
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
this
.
selectionRows
.
forEach
(
item
=>
ids
.
push
(
item
.
id
))
}
if
(
this
.
form
.
userIds
&&
this
.
form
.
userIds
.
length
!==
0
)
{
post
(
'/QualityRecord/technical/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
setTimeout
(()
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
},
1500
)
}).
catch
(()
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
finally
(()
=>
{
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
})
}
else
{
this
.
$utils
.
showMessageWarning
(
'请选择检验技术员'
)
}
},
setPersonCancle
()
{
this
.
setPersonVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
},
selectionChange
(
val
)
{
this
.
selectionRows
=
val
}
}
}
</
script
>
<
style
lang=
"scss"
>
.ZGSMAudit
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/ZGSMCountersign/index.vue
0 → 100644
View file @
adf77b88
<
template
>
<div
class=
"ZGSMCountersign"
>
<dee-as-com
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'QualityRecord', layKey: 'batchSign_QualityRecordCountersign' }"
@selectionChange="selectionChange"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'ZGSMCountersign'
,
components
:
{},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
selectionRows
:
[]
}
},
created
()
{
},
methods
:
{
selectionChange
(
val
)
{
this
.
selectionRows
=
val
}
}
}
</
script
>
<
style
lang=
"scss"
>
.ZGSMCountersign
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/outStorageUseApply/index.vue
View file @
adf77b88
...
...
@@ -88,6 +88,15 @@ export default {
computed
:
{},
watch
:
{},
created
()
{
},
mounted
()
{
this
.
$bus
.
$on
(
'cancelAndRefresh'
,
(
data
)
=>
{
this
.
$refs
.
applyTable
&&
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
})
},
// 组件方法
methods
:
{
getPersonList
(){
const
httpParams
=
{
'pageFrom'
:
1
,
'pageSize'
:
9999
,
...
...
@@ -142,13 +151,6 @@ export default {
console
.
log
(
err
)
})
},
mounted
()
{
this
.
$bus
.
$on
(
'cancelAndRefresh'
,
(
data
)
=>
{
this
.
$refs
.
applyTable
&&
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
})
},
// 组件方法
methods
:
{
tableToolHandler
(
e
)
{
console
.
log
(
e
.
key
.
btnValue
)
if
(
e
.
key
.
btnValue
===
'useApply'
)
{
...
...
@@ -167,6 +169,7 @@ export default {
})
if
(
isUrgentUse
===
0
)
{
// 紧急领用选人
this
.
getPersonList
()
this
.
dialogVisible
=
false
this
.
setPersonVisible
=
true
}
else
if
(
isUrgentUse
===
this
.
selectionRows
.
length
)
{
...
...
@@ -226,6 +229,5 @@ export default {
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/taskList.vue
View file @
adf77b88
...
...
@@ -50,7 +50,10 @@ export default {
InStorageTkdBackCraftsmenExamin
:
()
=>
import
(
'./inStorageTkdBackCraftsmenExamin'
),
// 退库单退库工艺审核
InStorageTkdBackDesignerExamin
:
()
=>
import
(
'./inStorageTkdBackDesignerExamin'
),
// 退库单退库设计审核
ExperimentRecordExamine
:
()
=>
import
(
'./experimentRecordExamine'
),
// 试验记录审核
GeneralExperimentRecordExamine
:
()
=>
import
(
'./experimentRecordExamine'
)
// 通用试验记录审核
GeneralExperimentRecordExamine
:
()
=>
import
(
'./experimentRecordExamine'
),
// 通用试验记录审核
ZGSMApply
:
()
=>
import
(
'./ZGSMApply'
),
// 整改说明申请
ZGSMAudit
:
()
=>
import
(
'./ZGSMAudit'
),
// 整改说明审核
ZGSMCountersign
:
()
=>
import
(
'./ZGSMCountersign'
)
// 整改说明会签
},
props
:
{
selectData
:
{
...
...
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