unknown
2024-06-06 37e5dc2b41fe3f79a4f45e82eba4c3b05bedd293
src/books/lifeCare/view/chapter002.vue
@@ -288,10 +288,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 || index == chapter002.groupData.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter002.groupHeader"
                      :key="index"
@@ -427,7 +424,8 @@
                    :style="{
                      width:
                        index == 0 ||
                        index == chapter002.tableData121.length - 1
                        index == chapter002.headersData.length - 2 ||
                        index == chapter002.headersData.length - 1
                          ? '100px'
                          : '',
                    }"
@@ -707,11 +705,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter002.inspectData.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter002.inspectHeader"
                      :key="index"
@@ -991,11 +985,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter002.designData.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter002.designHeader"
                      :key="index"
@@ -1456,7 +1446,6 @@
          "自查人签名",
        ], // 表头
        tableData121: [
          // 二维数组作为表格数据
          ["空调", "", "", "", "", "", "", ""],
          ["电视机", "", "", "", "", "", "", ""],
          ["电风扇", "", "", "", "", "", "", ""],
@@ -1464,6 +1453,8 @@
          ["电灯", "", "", "", "", "", "", ""],
          ["电脑", "", "", "", "", "", "", ""],
          ["门窗", "", "", "", "", "", "", ""],
          ["水管", "", "", "", "", "", "", ""],
          ["其他设备", "", "", "", "", "", "", ""],
        ],
        tableData122: [
          ["", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
@@ -1707,6 +1698,11 @@
      this.$set(this.chapter002.tableData121[rowIndex], cellIndex, value);
      localStorage.setItem("chapter002", JSON.stringify(this.chapter002));
    },
    updateCell122(rowIndex, cellIndex, value) {
      // 更新单元格数据
      this.$set(this.chapter002.tableData122[rowIndex], cellIndex, value);
      localStorage.setItem("chapter002", JSON.stringify(this.chapter002));
    },
    updateCell123(rowIndex, cellIndex, value) {
      // 更新单元格数据
      this.$set(this.chapter002.tableData123[rowIndex], cellIndex, value);