|
@@ -188,6 +188,8 @@
|
|
|
:projectId="projectId"
|
|
|
:show="showReportModal"
|
|
|
:taskName="reportTaskName"
|
|
|
+ :typeData="reportTypeData"
|
|
|
+ type="wbs"
|
|
|
isDatas
|
|
|
title="批量上报审批"
|
|
|
url="informationWriteQuery/batchTask"
|
|
@@ -535,6 +537,7 @@ const tableRowName = (row) => {
|
|
|
const reportIds = ref('')
|
|
|
const reportTaskName = ref('')
|
|
|
const reportDatas = ref([])
|
|
|
+const reportTypeData = ref([])
|
|
|
const showReportModal = ref(false)
|
|
|
const reportLoading = ref(false)
|
|
|
const reportModalClick = async () => {
|
|
@@ -543,6 +546,12 @@ const reportModalClick = async () => {
|
|
|
const result = rows.every(({status}) => {
|
|
|
return status === 0 || status === 3
|
|
|
})
|
|
|
+ //处理数据
|
|
|
+ let newArr = [];
|
|
|
+ for (let i = 0; i < rows.length; i++) {
|
|
|
+ newArr.push(rows[i]['wbsId'])
|
|
|
+ }
|
|
|
+ reportTypeData.value = newArr
|
|
|
//判断状态
|
|
|
if (result) {
|
|
|
reportLoading.value = true
|