unknown
2024-06-06 37e5dc2b41fe3f79a4f45e82eba4c3b05bedd293
src/books/lifeCare/view/chapter003.vue
@@ -292,10 +292,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 || index == chapter003.groupData.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -311,6 +308,19 @@
                  >
                    <td v-for="(cell, cellIndex) in row" :key="cellIndex">
                      <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.groupData[rowIndex][cellIndex]"
                          @blur="
                            updateCellGroup(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.groupData[rowIndex][cellIndex]"
@@ -928,11 +938,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter003.scoreData1.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -960,9 +966,38 @@
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.scoreData1[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore1(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template>
                      <!-- <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData1[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore1(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template> -->
                    </td>
                  </tr>
                </tbody>
@@ -1254,11 +1289,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter003.scoreData2.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -1273,7 +1304,36 @@
                    :key="rowIndex"
                  >
                    <td v-for="(cell, cellIndex) in row" :key="cellIndex">
                      <!-- <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData2[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore2(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template> -->
                      <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData2[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore2(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.scoreData2[rowIndex][cellIndex]"
@@ -1585,11 +1645,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter003.scoreData3.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -1617,9 +1673,38 @@
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.scoreData3[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore3(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template>
                      <!-- <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData3[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore3(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template> -->
                    </td>
                  </tr>
                </tbody>
@@ -1800,11 +1885,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter003.scoreData4.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -1832,9 +1913,38 @@
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.scoreData4[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore4(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template>
                      <!-- <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData4[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore4(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template> -->
                    </td>
                  </tr>
                </tbody>
@@ -2082,11 +2192,11 @@
          <p>婴幼儿练习刷牙的注意事项是什么?</p>
          <div class="bk-tx">
            <textarea
              v-model="chapter003.textAreaItem.text33"
              v-model="chapter003.textAreaItem.text331"
              style="border: 0"
              placeholder="请输入内容"
              rows="5"
              @blur="onBlurChange('text33')"
              @blur="onBlurChange('text331')"
            ></textarea>
          </div>
        </div>
@@ -2147,11 +2257,7 @@
                  <tr>
                    <th
                      :style="{
                        width:
                          index == 1 ||
                          index == chapter003.scoreData5.length - 1
                            ? '100px'
                            : '',
                        width: index == 3 ? '300px' : '50px',
                      }"
                      v-for="(header, index) in chapter003.publicHeader"
                      :key="index"
@@ -2166,6 +2272,22 @@
                    :key="rowIndex"
                  >
                    <td v-for="(cell, cellIndex) in row" :key="cellIndex">
                      <!-- <template v-if="cell === ''">
                        <input
                          type="text"
                          v-model="chapter003.scoreData5[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore5(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template> -->
                      <template v-if="cell === ''">
                        <input
                          type="text"
@@ -2179,6 +2301,19 @@
                          "
                        />
                      </template>
                      <template v-else-if="cellIndex == 4">
                        <input
                          type="text"
                          v-model="chapter003.scoreData5[rowIndex][cellIndex]"
                          @blur="
                            updateCellScore5(
                              rowIndex,
                              cellIndex,
                              $event.target.value
                            )
                          "
                        />
                      </template>
                      <template v-else>
                        {{ cell }}
                      </template>