|
@@ -136,7 +136,6 @@
|
|
|
<script setup lang="ts">
|
|
|
import * as XLSX from 'xlsx';
|
|
|
import { fillingAdd, fillingChange, fillingList, fillingRelease } from '@/api/dataFilling/fillingManage';
|
|
|
-import { useRouter } from 'vue-router';
|
|
|
import { HotTable } from '@handsontable/vue3';
|
|
|
import { getPhoneList } from '@/api/informationissue/informationissue';
|
|
|
import informantSelect from './informantSelect.vue';
|
|
@@ -206,6 +205,9 @@ const fetchReportDetails = (reportId) => {
|
|
|
return fillingList(reportId).then((res: any) => {
|
|
|
reportInfo.value = res.report_info;
|
|
|
hotSettings.readOnly = reportInfo.value.issued_status === 2;
|
|
|
+ if (reportInfo.value.issued_status === 2) {
|
|
|
+ hotSettings.contextMenu = false;
|
|
|
+ }
|
|
|
reportInfo.value.user_filling_status = res.report_info.user_filling_status;
|
|
|
personNum.value = reportInfo.value.user_ids.length; //统计需要填报的总人数
|
|
|
let headers = [];
|
|
@@ -217,7 +219,6 @@ const fetchReportDetails = (reportId) => {
|
|
|
const result = res.table_data.map(row =>
|
|
|
headers.map(header => row[header])
|
|
|
);
|
|
|
- debugger
|
|
|
hotData.value = result;
|
|
|
nextTick(() => {
|
|
|
showTable.value = true;
|
|
@@ -496,6 +497,13 @@ const handleDialogClose = () => {
|
|
|
color: #67c23a;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
+.app-container {
|
|
|
+ :deep(.custom-disabled) {
|
|
|
+ .el-input__wrapper {
|
|
|
+ background-color: #ffffff !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
.custom-disabled {
|
|
|
:deep(.el-input.is-disabled) {
|
|
|
.el-input__wrapper {
|