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
ad219a5d
Commit
ad219a5d
authored
Mar 12, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量签审界面包含tab页签的界面loading处理
parent
221ff6cf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
5 deletions
+54
-5
http.js
applications/architecture-dee/src/utils/http.js
+9
-0
index.vue
...ask-center/myPlanTask/inStorageUseOutBackInTest/index.vue
+9
-1
index.vue
.../task-center/myPlanTask/jobResponseInExperiment/index.vue
+9
-1
index.vue
.../workflow/task-center/myPlanTask/warehouseApply/index.vue
+9
-1
index.vue
...orkflow/task-center/myPlanTask/warehouseExamine/index.vue
+9
-1
index.vue
...workflow/task-center/myPlanTask/warehouseInTest/index.vue
+9
-1
No files found.
applications/architecture-dee/src/utils/http.js
View file @
ad219a5d
...
@@ -23,6 +23,13 @@ const disShowLadingRequestUrl = [
...
@@ -23,6 +23,13 @@ const disShowLadingRequestUrl = [
'/ExtProcessSkillUser/getSkillUser'
'/ExtProcessSkillUser/getSkillUser'
]
]
const
disShowLadingRequestRoute
=
[
'/dee-task-center/workflow/task-center/home/Activity_1gsdy96'
,
// 批量_验收入库申请
'/dee-task-center/workflow/task-center/home/Activity_1oc19vh'
,
// 批量_验收入库审核
'/dee-task-center/workflow/task-center/home/Activity_1f9m8pv'
,
// 批量_验收入库理化
'/dee-task-center/workflow/task-center/home/Activity_1sj6bja'
,
// 批量_验收入库检验
'/dee-task-center/workflow/task-center/home/Activity_1rlj2pq'
// 批量_退库入库检验
]
axios
.
defaults
.
baseURL
=
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
// eslint-disable-line
axios
.
defaults
.
baseURL
=
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
// eslint-disable-line
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'application/json;charset=UTF-8'
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'application/json;charset=UTF-8'
axios
.
defaults
.
headers
.
post
[
'Cache-Control'
]
=
'no-cache'
axios
.
defaults
.
headers
.
post
[
'Cache-Control'
]
=
'no-cache'
...
@@ -37,6 +44,8 @@ axios.interceptors.request.use(
...
@@ -37,6 +44,8 @@ axios.interceptors.request.use(
}
}
const
disLoading
=
disShowLadingRequestUrl
.
find
((
el
)
=>
{
const
disLoading
=
disShowLadingRequestUrl
.
find
((
el
)
=>
{
return
config
.
url
.
includes
(
el
)
return
config
.
url
.
includes
(
el
)
})
||
disShowLadingRequestRoute
.
find
((
r
)
=>
{
return
router
.
app
.
$route
.
path
.
includes
(
r
)
&&
router
.
app
.
$route
.
query
&&
router
.
app
.
$route
.
query
.
DAO
===
'批量签审'
})
})
if
(
!
disLoading
)
{
if
(
!
disLoading
)
{
loadingInstance
=
Loading
.
service
({
loadingInstance
=
Loading
.
service
({
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/inStorageUseOutBackInTest/index.vue
View file @
ad219a5d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
<dee-as-com
ref=
"MaterialTable"
ref=
"MaterialTable"
v-dee-loading=
"loadingMaterial"
class=
"list-table"
class=
"list-table"
:basic-data=
"
{...basicData,tableType:'Material'}"
:basic-data=
"
{...basicData,tableType:'Material'}"
:lay-config="{ typeName: 'InStorageBackItem', layKey: 'Material_batchSign_InStorageBackInTest'}"
:lay-config="{ typeName: 'InStorageBackItem', layKey: 'Material_batchSign_InStorageBackInTest'}"
...
@@ -26,6 +27,7 @@
...
@@ -26,6 +27,7 @@
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
<dee-as-com
ref=
"AirEquipmentTable"
ref=
"AirEquipmentTable"
v-dee-loading=
"loadingAirEquipment"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageBackItem', layKey: 'AirEquipment_batchSign_InStorageBackItem'}"
:lay-config=
"
{ typeName: 'InStorageBackItem', layKey: 'AirEquipment_batchSign_InStorageBackItem'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
...
@@ -36,6 +38,7 @@
...
@@ -36,6 +38,7 @@
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
<dee-as-com
ref=
"OutSourceTable"
ref=
"OutSourceTable"
v-dee-loading=
"loadingOutSource"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageBackItem', layKey: 'OutSource_batchSign_InStorageBackItem'}"
:lay-config=
"
{ typeName: 'InStorageBackItem', layKey: 'OutSource_batchSign_InStorageBackItem'}"
:basic-data="{...basicData,tableType:'OutSource'}"
:basic-data="{...basicData,tableType:'OutSource'}"
...
@@ -75,7 +78,10 @@ export default {
...
@@ -75,7 +78,10 @@ export default {
'OutSource'
'OutSource'
],
],
selectionRows
:
{},
selectionRows
:
{},
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
}
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
},
loadingMaterial
:
false
,
loadingAirEquipment
:
false
,
loadingOutSource
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -108,6 +114,7 @@ export default {
...
@@ -108,6 +114,7 @@ export default {
// 组件方法
// 组件方法
methods
:
{
methods
:
{
onRequestSuccess
(
res
,
tabName
)
{
onRequestSuccess
(
res
,
tabName
)
{
this
[
'loading'
+
tabName
]
=
false
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
...
@@ -116,6 +123,7 @@ export default {
...
@@ -116,6 +123,7 @@ export default {
},
},
getTableData
()
{
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
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
)
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/jobResponseInExperiment/index.vue
View file @
ad219a5d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
<dee-as-com
ref=
"MaterialTable"
ref=
"MaterialTable"
v-dee-loading=
"loadingMaterial"
class=
"list-table"
class=
"list-table"
:basic-data=
"
{...basicData,tableType:'Material'}"
:basic-data=
"
{...basicData,tableType:'Material'}"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'material_batchSign_jobResponseInExperiment'}"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'material_batchSign_jobResponseInExperiment'}"
...
@@ -26,6 +27,7 @@
...
@@ -26,6 +27,7 @@
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
<dee-as-com
ref=
"AirEquipmentTable"
ref=
"AirEquipmentTable"
v-dee-loading=
"loadingAirEquipment"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'airborne_batchSign_jobResponseInExperiment'}"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'airborne_batchSign_jobResponseInExperiment'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
...
@@ -36,6 +38,7 @@
...
@@ -36,6 +38,7 @@
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
<dee-as-com
ref=
"OutSourceTable"
ref=
"OutSourceTable"
v-dee-loading=
"loadingOutSource"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'outsource_batchSign_jobResponseInExperiment'}"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'outsource_batchSign_jobResponseInExperiment'}"
:basic-data="{...basicData,tableType:'OutSource'}"
:basic-data="{...basicData,tableType:'OutSource'}"
...
@@ -75,7 +78,10 @@ export default {
...
@@ -75,7 +78,10 @@ export default {
'OutSource'
'OutSource'
],
],
selectionRows
:
{},
selectionRows
:
{},
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
}
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
},
loadingMaterial
:
false
,
loadingAirEquipment
:
false
,
loadingOutSource
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -108,6 +114,7 @@ export default {
...
@@ -108,6 +114,7 @@ export default {
// 组件方法
// 组件方法
methods
:
{
methods
:
{
onRequestSuccess
(
res
,
tabName
)
{
onRequestSuccess
(
res
,
tabName
)
{
this
[
'loading'
+
tabName
]
=
false
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
...
@@ -116,6 +123,7 @@ export default {
...
@@ -116,6 +123,7 @@ export default {
},
},
getTableData
()
{
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
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
)
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseApply/index.vue
View file @
ad219a5d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
<dee-as-com
ref=
"MaterialTable"
ref=
"MaterialTable"
v-dee-loading=
"loadingMaterial"
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'}"
...
@@ -25,6 +26,7 @@
...
@@ -25,6 +26,7 @@
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
<dee-as-com
ref=
"AirEquipmentTable"
ref=
"AirEquipmentTable"
v-dee-loading=
"loadingAirEquipment"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'airEquipment_table'}"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'airEquipment_table'}"
:basic-data=" { selectData: selectData }"
:basic-data=" { selectData: selectData }"
...
@@ -34,6 +36,7 @@
...
@@ -34,6 +36,7 @@
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
<dee-as-com
ref=
"OutSourceTable"
ref=
"OutSourceTable"
v-dee-loading=
"loadingOutSource"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'outSource_table'}"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'outSource_table'}"
:basic-data=" { selectData: selectData }"
:basic-data=" { selectData: selectData }"
...
@@ -69,7 +72,10 @@ export default {
...
@@ -69,7 +72,10 @@ export default {
'Material'
,
'Material'
,
'AirEquipment'
,
'AirEquipment'
,
'OutSource'
'OutSource'
]
],
loadingMaterial
:
false
,
loadingAirEquipment
:
false
,
loadingOutSource
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -101,6 +107,7 @@ export default {
...
@@ -101,6 +107,7 @@ export default {
// 组件方法
// 组件方法
methods
:
{
methods
:
{
onRequestSuccess
(
res
,
tabName
)
{
onRequestSuccess
(
res
,
tabName
)
{
this
[
'loading'
+
tabName
]
=
false
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
...
@@ -109,6 +116,7 @@ export default {
...
@@ -109,6 +116,7 @@ export default {
},
},
getTableData
()
{
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
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
)
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseExamine/index.vue
View file @
ad219a5d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
<dee-as-com
ref=
"MaterialTable"
ref=
"MaterialTable"
v-dee-loading=
"loadingMaterial"
class=
"list-table"
class=
"list-table"
:basic-data=
" basicData"
:basic-data=
" basicData"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}"
...
@@ -26,6 +27,7 @@
...
@@ -26,6 +27,7 @@
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
<dee-as-com
ref=
"AirEquipmentTable"
ref=
"AirEquipmentTable"
v-dee-loading=
"loadingAirEquipment"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}"
:basic-data=" basicData"
:basic-data=" basicData"
...
@@ -36,6 +38,7 @@
...
@@ -36,6 +38,7 @@
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
<dee-as-com
ref=
"OutSourceTable"
ref=
"OutSourceTable"
v-dee-loading=
"loadingOutSource"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}"
:basic-data=" basicData"
:basic-data=" basicData"
...
@@ -75,7 +78,10 @@ export default {
...
@@ -75,7 +78,10 @@ export default {
'OutSource'
'OutSource'
],
],
selectionRows
:
{},
selectionRows
:
{},
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
}
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
},
loadingMaterial
:
false
,
loadingAirEquipment
:
false
,
loadingOutSource
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -100,6 +106,7 @@ export default {
...
@@ -100,6 +106,7 @@ export default {
// 组件方法
// 组件方法
methods
:
{
methods
:
{
onRequestSuccess
(
res
,
tabName
)
{
onRequestSuccess
(
res
,
tabName
)
{
this
[
'loading'
+
tabName
]
=
false
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
...
@@ -108,6 +115,7 @@ export default {
...
@@ -108,6 +115,7 @@ export default {
},
},
getTableData
()
{
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
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
)
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseInTest/index.vue
View file @
ad219a5d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
<dee-as-com
ref=
"MaterialTable"
ref=
"MaterialTable"
v-dee-loading=
"loadingMaterial"
class=
"list-table"
class=
"list-table"
:basic-data=
"
{...basicData,tableType:'Material'}"
:basic-data=
"
{...basicData,tableType:'Material'}"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
...
@@ -26,6 +27,7 @@
...
@@ -26,6 +27,7 @@
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
<dee-as-com
ref=
"AirEquipmentTable"
ref=
"AirEquipmentTable"
v-dee-loading=
"loadingAirEquipment"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'airborne_batchSign_jobResponseInTest'}"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'airborne_batchSign_jobResponseInTest'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
...
@@ -36,6 +38,7 @@
...
@@ -36,6 +38,7 @@
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
<dee-as-com
ref=
"OutSourceTable"
ref=
"OutSourceTable"
v-dee-loading=
"loadingOutSource"
class=
"list-table"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'outsource_batchSign_jobResponseInTest'}"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'outsource_batchSign_jobResponseInTest'}"
:basic-data="{...basicData,tableType:'OutSource'}"
:basic-data="{...basicData,tableType:'OutSource'}"
...
@@ -75,7 +78,10 @@ export default {
...
@@ -75,7 +78,10 @@ export default {
'OutSource'
'OutSource'
],
],
selectionRows
:
{},
selectionRows
:
{},
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
}
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
},
loadingMaterial
:
false
,
loadingAirEquipment
:
false
,
loadingOutSource
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -108,6 +114,7 @@ export default {
...
@@ -108,6 +114,7 @@ export default {
// 组件方法
// 组件方法
methods
:
{
methods
:
{
onRequestSuccess
(
res
,
tabName
)
{
onRequestSuccess
(
res
,
tabName
)
{
this
[
'loading'
+
tabName
]
=
false
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
},
searchEvent
(
val
)
{
searchEvent
(
val
)
{
...
@@ -116,6 +123,7 @@ export default {
...
@@ -116,6 +123,7 @@ export default {
},
},
getTableData
()
{
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
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
)
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