|
@@ -312,7 +312,7 @@
|
|
|
</HcDialog>
|
|
|
|
|
|
<!--批量上报审批-->
|
|
|
- <HcReportModal title="批量上报审批" url="informationWriteQuery/taskOne" :show="showReportModal" :projectId="projectId" :contractId="contractId"
|
|
|
+ <HcReportModal title="批量上报审批" url="informationWriteQuery/taskOne" :show="showReportModal" :projectId="projectId" :contractId="contractId" type="wbs" :typeData="reportTypeData"
|
|
|
:taskName="reportTaskName" :ids="reportIds" :addition="reportAddition" @hide="showReportModal = false" @finish="showReportFinish"/>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1069,6 +1069,7 @@ const reportTaskName = ref('')
|
|
|
const reportAddition = ref({})
|
|
|
const showReportModal = ref(false)
|
|
|
const reportLoading = ref(false)
|
|
|
+const reportTypeData = ref([])
|
|
|
const reportModalClick = async () => {
|
|
|
const info = nodeDataInfo.value;
|
|
|
const rows = ListItemDatas.value;
|
|
@@ -1078,6 +1079,12 @@ const reportModalClick = async () => {
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value
|
|
|
})
|
|
|
+ //处理数据
|
|
|
+ let newArr = [];
|
|
|
+ for (let i = 0; i < rows.length; i++) {
|
|
|
+ newArr.push(rows[i]['isTypePrivatePid'])
|
|
|
+ }
|
|
|
+ reportTypeData.value = newArr
|
|
|
reportLoading.value = false
|
|
|
if (taskCheck) {
|
|
|
//初始弹出弹窗,防呆
|