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
c0408107
Commit
c0408107
authored
Aug 03, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量签审验收入库申请
parent
60e670a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
taskList.vue
...er/src/views/workflow/task-center/myPlanTask/taskList.vue
+1
-1
index.vue
.../workflow/task-center/myPlanTask/warehouseApply/index.vue
+14
-14
No files found.
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/taskList.vue
View file @
c0408107
<
template
>
<
template
>
<div
class=
"MyPlanTaskPage"
>
<div
class=
"MyPlanTaskPage"
>
<div
class=
"TaskComponentView"
:class=
"
{'height_class':heightClass}">
<div
class=
"TaskComponentView"
:class=
"
{'height_class':heightClass}">
<compnent
is=
"WarehouseApply
"
:select-data=
"selectData"
:sub-type=
"subType"
:def-state=
"state"
/>
<compnent
:is=
"selectData.router
"
:select-data=
"selectData"
:sub-type=
"subType"
:def-state=
"state"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseApply/index.vue
View file @
c0408107
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
class=
"list-table"
class=
"list-table"
:basic-data=
"
{ selectData: selectData }"
:basic-data=
"
{ selectData: selectData }"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'material_table'}"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'material_table'}"
@freshData="freshData"
/>
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
...
@@ -85,33 +86,32 @@ export default {
...
@@ -85,33 +86,32 @@ export default {
}
}
},
},
created
()
{
created
()
{
// this.getDict()
},
},
mounted
()
{
mounted
()
{
// 获取total在界面渲染 临时渲染数据, 待修改
setTimeout
(()
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
this
.
$set
(
this
.
totals
,
item
+
'Total'
,
el
.
$refs
.
asCom
.
pagination
.
total
)
})
},
2000
)
},
},
// 组件方法
// 组件方法
methods
:
{
methods
:
{
getTableData
()
{
freshData
()
{
setTimeout
(()
=>
{
this
.
changeTotal
()
},
1000
)
},
changeTotal
(
init
)
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
const
el
=
this
.
$refs
[
item
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
if
(
el
&&
el
.
$refs
.
asCom
)
{
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
this
.
$set
(
this
.
totals
,
item
+
'Total'
,
el
.
$refs
.
asCom
.
pagination
.
total
)
setTimeout
(()
=>
{
this
.
$set
(
this
.
totals
,
item
+
'Total'
,
el
.
$refs
.
asCom
.
pagination
.
total
)
},
1000
)
// 临时渲染数据, 待修改
}
}
})
})
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
this
.
searchItems
=
val
.
items
this
.
searchItems
=
val
.
items
this
.
getTableData
()
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
}
})
}
}
}
}
}
}
...
...
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