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
d420d43b
Commit
d420d43b
authored
Nov 07, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
试验申请页面修改
parent
f73a2d63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
33 deletions
+32
-33
index.vue
...iews/taskExecution/components/RecordMaintenance/index.vue
+32
-33
No files found.
applications/dee-mes/src/views/taskExecution/components/RecordMaintenance/index.vue
View file @
d420d43b
...
...
@@ -25,9 +25,8 @@
width=
"660"
trigger=
"hover"
popper-class=
"record-maintenance-popper"
@
show=
"getList(scope.row.id)"
>
<
upload-files
v-model=
"objFileLinks"
/
>
<
!--
<upload-files
v-model=
"objFileLinks"
/>
--
>
<span
slot=
"reference"
style=
"cursor: pointer;olor: #409eff;"
>
附件浏览
</span>
...
...
@@ -233,34 +232,34 @@ export default {
this
.
loading
=
false
})
},
getList
(
sourceId
)
{
const
params
=
{
indices
:
[
'ObjFileLink'
],
searchItems
:
{
items
:
[
{
fieldName
:
'sourceId'
,
operator
:
'EQ'
,
value
:
sourceId
}
],
operator
:
'AND'
},
openProps
:
[
{
pageFrom
:
1
,
pageSize
:
1
,
name
:
'target'
}
]
}
post
(
'/FileUtil/checkFile'
,
params
)
.
then
((
res
)
=>
{
this
.
objFileLinks
=
res
.
items
.
content
[
0
].
objFileLinks
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{})
},
//
getList(sourceId) {
//
const params = {
//
indices: ['ObjFileLink'],
//
searchItems: {
//
items: [
//
{
//
fieldName: 'sourceId',
//
operator: 'EQ',
//
value: sourceId
//
}
//
],
//
operator: 'AND'
//
},
//
openProps: [
//
{
//
pageFrom: 1,
//
pageSize: 1,
//
name: 'target'
//
}
//
]
//
}
//
post('/FileUtil/checkFile', params)
//
.then((res) => {
//
this.objFileLinks = res.items.content[0].objFileLinks
//
})
//
.catch((err) => console.error(err))
//
.finally(() => {})
//
},
deleteRow
(
id
)
{
this
.
$confirm
(
'确定要删除吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
@@ -270,10 +269,9 @@ export default {
.
then
(()
=>
{
const
params
=
{
operator
:
'REMOVE'
,
dxClassname
:
'com.tf.mes.vo.prod.ExperimentRecordVo'
,
id
:
id
}
this
.
HttpRequest
(
'/ExperimentRecord/recursion'
,
params
,
'post'
)
post
(
'/ExperimentRecord/recursion'
,
params
)
.
then
((
res
)
=>
{
if
(
res
&&
!
res
.
message
.
includes
(
'成功'
))
{
this
.
$message
({
...
...
@@ -288,7 +286,8 @@ export default {
this
.
init
()
})
})
.
catch
(()
=>
{
.
catch
((
error
)
=>
{
console
.
log
(
error
)
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
...
...
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