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
5e0cb1c5
Commit
5e0cb1c5
authored
Mar 07, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配套出库审核批量流程界面修改
parent
3693dffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
104 additions
and
135 deletions
+104
-135
right.vue
...er/myPlanTask/outStorageMatchExamine/components/right.vue
+104
-135
No files found.
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/outStorageMatchExamine/components/right.vue
View file @
5e0cb1c5
<
template
>
<
template
>
<div
class=
"outStorageMatchExamineRight"
>
<div
class=
"outStorageMatchExamineRight"
>
<split-pane
<dee-as-com
ref=
"splitPane"
ref=
"outStorageMatch"
:min-percent=
"30"
table-height=
"auto"
:default-percent=
"60"
:basic-data=
"
{ selectData,selectionRows }"
split=
"horizontal"
:lay-config="{ typeName: 'OutStorageMatch', layKey: 'batchSign_0utStorageMatchExamine'}"
:class=
"['detail-pane','collapse']"
@selectionChange="selectionChange"
>
/>
<template
slot=
"paneL"
>
<dee-as-com
<div
class=
"table-box"
>
ref=
"outStorageMatchItem"
<dee-as-com
:lay-config=
"
{ typeName: 'OutStorageMatchItem', layKey: 'batchSign_outStorageMatchExamine_top'}"
:basic-data=
"
{...(currentAo
&&
currentAo.joExecutePlan
&&
currentAo.joExecutePlan[0]||{})}"
table-height="auto"
:lay-config="{ typeName: 'JoExecutePlan', layKey: 'batchSign_proPreConfirm_aoInfo'}"
@selectionChange="selectionChange_item"
/>
/>
<dee-as-com
<dee-as-com
ref=
"outStorageMatch"
ref=
"jobResponseOutStorageMatch"
:basic-data=
"
{ selectData: selectData }"
table-height=
"auto"
:lay-config="{ typeName: 'ExtSupportingItem', layKey: 'batchSign_proPreConfirm_rightTop'}"
:lay-config=
"
{ typeName: 'JobResponseOutStorageMatch', layKey: 'batchSign_JobResOutStorageMatch_Examine'}"
:table-height="autoTopHeight"
@selectionChange="selectionChange_jobRes"
/>
/>
</div>
</div>
</
template
>
</
template
>
<
template
slot=
"paneR"
>
<div
class=
"detail"
>
<
script
>
<dee-as-com
export
default
{
ref=
"outStorageMatchItem"
name
:
'OutStorageMatchExamineRight'
,
:lay-config=
"
{ typeName: 'OutStorageMatchItem', layKey: 'batchSign_outStorageMatchExamine_rightBottom'}"
components
:
{},
:table-height="autoBottomHeight"
props
:
{
:basic-data=" { selectData,selectionRows }"
selectData
:
{
@selectionChange="selectionChange"
type
:
Object
,
/>
default
:
()
=>
{}
</div>
},
</
template
>
currentAo
:
{
</split-pane>
type
:
Object
,
</div>
default
:
()
=>
{}
</template>
}
},
<
script
>
data
()
{
export
default
{
return
{
name
:
'OutStorageMatchExamineRight'
,
selectionRows
:
[],
components
:
{},
selectionItemRows
:
[],
props
:
{
selectionJobResRows
:
[]
selectData
:
{
}
type
:
Object
,
},
default
:
()
=>
{}
computed
:
{},
},
watch
:
{},
currentAo
:
{
created
()
{},
type
:
Object
,
mounted
()
{
default
:
()
=>
{}
this
.
$bus
.
$on
(
'reloadModuleList'
,
(
hasFlag
)
=>
{
}
this
.
$nextTick
(()
=>
{
},
this
.
init
()
data
()
{
})
return
{
})
selectionRows
:
[],
},
autoBottomHeight
:
'100%'
,
// 组件方法
autoTopHeight
:
'480px'
methods
:
{
}
selectionChange
(
val
)
{
},
this
.
selectionRows
=
val
computed
:
{},
const
requestIds
=
val
&&
val
.
map
(
item
=>
item
.
id
)
watch
:
{},
this
.
$refs
.
outStorageMatchItem
.
$refs
.
asCom
.
getData
(
requestIds
)
created
()
{},
},
mounted
()
{
selectionChange_item
(
val
)
{
this
.
$bus
.
$on
(
'reloadModuleList'
,
(
hasFlag
)
=>
{
this
.
selectionItemRows
=
val
this
.
$nextTick
(()
=>
{
const
itemIds
=
val
&&
val
.
map
(
item
=>
item
.
id
)
this
.
init
()
this
.
$refs
.
jobResponseOutStorageMatch
.
$refs
.
asCom
.
getData
(
itemIds
)
})
},
})
selectionChange_jobRes
(
val
)
{
this
.
$nextTick
(
function
()
{
this
.
selectionJobResRows
=
val
const
splitPane
=
this
.
$refs
.
splitPane
},
const
height
=
document
.
getElementById
(
'app'
).
offsetHeight
-
120
init
(
currentAo
)
{
if
(
splitPane
)
{
setTimeout
(()
=>
{
this
.
$watch
(
this
.
$refs
.
outStorageMatch
&&
this
.
$refs
.
outStorageMatch
.
$refs
.
asCom
.
getData
(
currentAo
&&
currentAo
.
id
||
0
)
function
()
{
},
100
)
return
splitPane
.
percent
}
},
}
(
val
,
oval
)
=>
{
}
this
.
autoTopHeight
=
val
/
100
*
height
-
80
+
'px'
</
script
>
// this.autoBottomHeight = (100 - val) / 100 * height - 270 + 'px'
}
<
style
lang=
'scss'
>
)
.outStorageMatchExamineRight
{
}
overflow
:
auto
;
})
width
:
100%
;
},
height
:
100%
;
// 组件方法
box-sizing
:
border-box
;
methods
:
{
padding-left
:
8px
;
selectionChange
(
val
)
{
.sub-title
{
this
.
selectionRows
=
val
padding-top
:
0px
!
important
;
},
}
init
(
currentAo
)
{
.dee-table
{
setTimeout
(()
=>
{
.dee-tools
{
this
.
$refs
.
outStorageMatch
&&
this
.
$refs
.
outStorageMatch
.
$refs
.
asCom
.
getData
(
currentAo
&&
currentAo
.
id
||
0
)
margin
:
2px
0
!
important
;
this
.
$refs
.
outStorageMatchItem
&&
this
.
$refs
.
outStorageMatchItem
.
$refs
.
asCom
.
getData
(
currentAo
&&
currentAo
.
id
||
0
)
}
},
100
)
.dee-table-config-bar
{
}
margin
:
2px
0
!
important
;
}
}
}
.dee-table-pagination
{
</
script
>
margin-top
:
12px
!
important
;
}
<
style
lang=
'scss'
>
}
.outStorageMatchExamineRight
{
overflow
:
auto
;
}
width
:
100%
;
</
style
>
height
:
100%
;
box-sizing
:
border-box
;
padding-left
:
8px
;
// .sub-title{
// padding-top: 10px!important;
// }
.splitter-pane-resizer.horizontal
{
opacity
:
1
;
background-color
:
#F1F4F5
;
height
:
8px
;
border-bottom
:
1px
solid
#e0e0e0
;
border-top
:
1px
solid
#e0e0e0
;
}
.detail
{
height
:
100%
;
background-color
:
#fff
;
}
.dee-table
{
.dee-tools
{
margin
:
2px
0
!
important
;
}
.dee-table-config-bar
{
margin
:
2px
0
!
important
;
}
.dee-table-pagination
{
margin-top
:
12px
!
important
;
}
}
}
</
style
>
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