• 纯前端导出word手写复杂表格,并还原成word。百分百还原表格。一文搞定前端表格导出为word


    本次的需求是手写一个养老院老人生活能力评定表,并且要能够录入信息,最终导出

    表格因为有七页所以代码很多,可以不用看表格模板的详细代码。

    先贴上最终效果图

     填写完导出之后

     

     基本上实现了样式的百分百还原导出

    web端的表格主要实现思路就是用原生table画表格,嵌入饿了么ui和vue的条件渲染来实现编辑。

    这里要记住两个属性:

    rowspan:代表行跨度也就是一个单元格能够合并几行
    colspan:代表列跨度,也就是一个单元格能够跨几列
     
    贴上web表格的代码
                      tr>
                      <tr>
                        <td colspan="20">0分,完全失控td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">小便控制td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorFEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorFEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorFEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorF === "" || dailyBehaviorF == null
                                ? ""
                                : dailyBehaviorF + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorFEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorF"
                              placeholder="请选择"
                              @change="dailyBehaviorFEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorFOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">10分,可控制小便td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "5分,偶尔失控(每天<1次,但每周>1次),或需要他人提示"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分,完全失控,或留置导尿管td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">
                          包括去厕所、解开衣裤、擦净、 整理衣裤、冲水
                        td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorGEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorGEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorGEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorG === "" || dailyBehaviorG == null
                                ? ""
                                : dailyBehaviorG + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorGEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorG"
                              placeholder="请选择"
                              @change="dailyBehaviorGEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorGOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">10分,可独立完成td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "5分,需部分帮助(需他人搀扶去厕所、需他人帮忙冲水或整理衣裤等)"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分, 需极大帮助或完全依赖他人td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">床椅转移td>
                        <td
                          colspan="3"
                          rowspan="4"
                          @click="dailyBehaviorHEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorHEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorHEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorH === "" || dailyBehaviorH == null
                                ? ""
                                : dailyBehaviorH + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorHEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorH"
                              placeholder="请选择"
                              @change="dailyBehaviorHEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorHOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">15分,可独立完成td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "10分,需部分帮助(需他人搀扶或使用拐杖))" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          5分,需极大帮助(较大程度上依赖他人搀扶和帮助)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分,完全依赖他人td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">平地行走td>
                        <td
                          colspan="3"
                          rowspan="4"
                          @click="dailyBehaviorIEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorIEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorIEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorI === "" || dailyBehaviorI == null
                                ? ""
                                : dailyBehaviorI + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorIEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorI"
                              placeholder="请选择"
                              @change="dailyBehaviorIEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorIOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">15分,可独立在平地上行走45mtd>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "10分,需部分帮助(因肢体残疾、平衡能力差、过度虚弱、视力等问题, 在一定度上需他人地搀扶或使用拐杖、助行器等辅助用具)"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          5分,需极大帮助(因肢体残疾、平衡能力差、过度虚弱、视力等问题,
                          在较大程度上依赖他人搀扶,或坐在轮椅上自行移动)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分,完全依赖他人td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">上下楼梯td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorJEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorJEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorJEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorJ === "" || dailyBehaviorJ == null
                                ? ""
                                : dailyBehaviorJ + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorJEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorJ"
                              placeholder="请选择"
                              @change="dailyBehaviorJEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorJOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          10分,可独立上下楼梯(连续上下10-15个台阶)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "5分,需部分帮助(需扶着楼梯、他人搀扶,或使用拐杖等)"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分,需极大帮助或完全依赖他人td>
                      tr>
                      <tr>
                        <td colspan="12" class="title">日常生活活动总分td>
                        <td colspan="3" class="title">
                          {{ dailyBehaviorK + "分" }}
                        td>
                        <td colspan="20">上述10个项目得分之和td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">
                          日常生活活动分级
                        td>
                        <td colspan="3" rowspan="4" class="title">
                          <div class="item">
                            {{ dailyBehaviorL + "级" }}
                          div>
                        td>
                        <td colspan="20">0能力完好:总分100分td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "1轻度受损:总分65-95分)" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">2中度受损:总分45-60分td>
                      tr>
                      <tr>
                        <td colspan="20">3重度受损:总分≤40分td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tbB2" id="tbB2">
                <div class="tit2" style="margin: 20px">B.2精神状态评估div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="12" rowspan="6" class="title">
                          B.2. 1 认知功能
                        td>
                        <td colspan="3" rowspan="3">
                          <div class="item">测验div>
                        td>
     
                        <td colspan="20">
                          “我说三样东西,请重复一遍,并记住,一会儿会问您”:苹果、手表、国旗
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "(1)画钟测验:“请在这儿画一个圆形时钟,在时钟上标出10点45分”"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          (2)回忆词语:“现在请您告诉我,刚才我要您记住的三样东西是什么?”
                        td>
                      tr>
                      <tr>
                        <td colspan="3" rowspan="3" @click="mentalityAEdit = false">
                          <div
                            class="item"
                            v-if="!mentalityAEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                mentalityAEdit = true;
                              }
                            "
                          >
                            {{
                              mentalityA === "" || mentalityA == null
                                ? ""
                                : mentalityA + "分"
                            }}
                          div>
                          <div class="input_con" v-if="mentalityAEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="mentalityA"
                              placeholder="请选择"
                              @change="mentalityAEdit = false"
                            >
                              <el-option
                                v-for="item in mentalityAOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,画钟正确(画出一个闭锁圆,指针位置准确),且能回忆出2-3个词
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          1分,画钟错误(画的圆不闭锁,或指针位置不准确),或只回忆出0-1个词
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,已确诊为认知障碍,如老年痴呆-1个词
                        td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">攻击行为td>
                        <td colspan="3" rowspan="3" @click="mentalityBEdit = false">
                          <div
                            class="item"
                            v-if="!mentalityBEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                mentalityBEdit = true;
                              }
                            "
                          >
                            {{
                              mentalityB === "" || mentalityB == null
                                ? ""
                                : mentalityB + "分"
                            }}
                          div>
                          <div class="input_con" v-if="mentalityBEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="mentalityB"
                              placeholder="请选择"
                              @change="mentalityBEdit = false"
                            >
                              <el-option
                                v-for="item in mentalityBOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,无身体攻击行为(如打/踢/推/饺/抓/摔东西)和语言攻击行为(如骂人、语
                          言威胁、,尖叫)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,每月有几次身体攻击行为,或每周有几次语言攻击行为"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,每周有几次身体攻击行为,或每日有语言攻击行为
                        td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">抑郁症状td>
                        <td colspan="3" rowspan="3" @click="mentalityCEdit = false">
                          <div
                            class="item"
                            v-if="!mentalityCEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                mentalityCEdit = true;
                              }
                            "
                          >
                            {{
                              mentalityC === "" || mentalityC == null
                                ? ""
                                : mentalityC + "分"
                            }}
                          div>
                          <div class="input_con" v-if="mentalityCEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="mentalityC"
                              placeholder="请选择"
                              @change="mentalityCEdit = false"
                            >
                              <el-option
                                v-for="item in mentalityCOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">0分,无td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "1分,情绪低落、不爱说话、不爱梳洗、不爱活动" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">2分,有自杀念头或自杀行为td>
                      tr>
                      <tr>
                        <td colspan="12" class="title">精神状态总分td>
                        <td colspan="3" class="title">{{ mentalityD + "分" }}td>
                        <td colspan="20">上述3个项目得分之和td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">精神状态分级td>
                        <td colspan="3" rowspan="4" class="title">
                          <div class="item">
                            {{ mentalityE + "级" }}
                          div>
                        td>
                        <td colspan="20">0能力完好:总分为0分td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "1轻度受损:总分为1分)" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">2中度受损:总分2-3分td>
                      tr>
                      <tr>
                        <td colspan="20">3重度受损:总分4-6分td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tbB2" id="tbB3">
                <div class="tit2" style="margin: 20px">B.3 感知觉与沟通评估div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">意识水平td>
                        <td
                          colspan="3"
                          rowspan="4"
                          @click="perceptionCommunicationAEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!perceptionCommunicationAEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                perceptionCommunicationAEdit = true;
                              }
                            "
                          >
                            {{
                              perceptionCommunicationA === "" ||
                              perceptionCommunicationA == null
                                ? ""
                                : perceptionCommunicationA + "分"
                            }}
                          div>
                          <div
                            class="input_con"
                            v-if="perceptionCommunicationAEdit"
                          >
                            <el-select
                              :popper-append-to-body="false"
                              v-model="perceptionCommunicationA"
                              placeholder="请选择"
                              @change="perceptionCommunicationAEdit = false"
                            >
                              <el-option
                                v-for="item in perceptionCommunicationAOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">0分,神志清醒,对周围环境警觉td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,嗜睡,表现为睡眠状态过度延长。当呼唤或推动患者的肢体时可唤醒,并能进行正确的交谈或执行指令,停止刺激后又继续入睡"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,昏睡,一般的外界刺激不能使其觉醒,给予较强烈的刺激时可有短时的意识清醒,醒后可简短回答提问,当刺激减弱后又很快进入睡眠状态
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,昏迷,处于浅昏迷时对疼痛刺激有回避和痛苦表情:处于深昏迷时对刺激无反应《若评定为昏迷,直接评定为重度失能,可不进行以下项目的评估)
                        td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">
                          视力: 若平日带老花镜或近视镜,应在佩戴眼镜的情况下评估
                        td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="perceptionCommunicationBEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!perceptionCommunicationBEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                perceptionCommunicationBEdit = true;
                              }
                            "
                          >
                            {{
                              perceptionCommunicationB === "" ||
                              perceptionCommunicationB == null
                                ? ""
                                : perceptionCommunicationB + "分"
                            }}
                          div>
                          <div
                            class="input_con"
                            v-if="perceptionCommunicationBEdit"
                          >
                            <el-select
                              :popper-append-to-body="false"
                              v-model="perceptionCommunicationB"
                              placeholder="请选择"
                              @change="perceptionCommunicationBEdit = false"
                            >
                              <el-option
                                v-for="item in perceptionCommunicationBOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">0分,能看清书报上的标准字体td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "1分,能看清楚大字体,但看不清书报上的标准字体" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,视力有限,看不清报纸大标题,但能辨认物体
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,辨认物体有困难,但眼睛能跟随物体移动,只能看到光、颜色和形状
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4分,没有视力,眼睛不能跟随物体移动td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">
                          听力: 若平时佩戴助听器,应在佩戴助听器的情况下评估
                        td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="perceptionCommunicationCEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!perceptionCommunicationCEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                perceptionCommunicationCEdit = true;
                              }
                            "
                          >
                            {{
                              perceptionCommunicationC === "" ||
                              perceptionCommunicationC == null
                                ? ""
                                : perceptionCommunicationC + "分"
                            }}
                          div>
                          <div
                            class="input_con"
                            v-if="perceptionCommunicationCEdit"
                          >
                            <el-select
                              :popper-append-to-body="false"
                              v-model="perceptionCommunicationC"
                              placeholder="请选择"
                              @change="perceptionCommunicationCEdit = false"
                            >
                              <el-option
                                v-for="item in perceptionCommunicationCOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,可正常交谈,能听到电视、电话、门铃的声音
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "1分,在轻声说话或说话距离超过2米时听不清" }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,正常交流有些困难,需在安静的环静或大声说话才能听到
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,讲话者大声说话或说话很慢,才能部分听见
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4分,完全听不见td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">
                          沟通交流: 包括非语言沟通
                        td>
                        <td
                          colspan="3"
                          rowspan="4"
                          @click="perceptionCommunicationDEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!perceptionCommunicationDEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                perceptionCommunicationDEdit = true;
                              }
                            "
                          >
                            {{
                              perceptionCommunicationD === "" ||
                              perceptionCommunicationD == null
                                ? ""
                                : perceptionCommunicationD + "分"
                            }}
                          div>
                          <div
                            class="input_con"
                            v-if="perceptionCommunicationDEdit"
                          >
                            <el-select
                              :popper-append-to-body="false"
                              v-model="perceptionCommunicationD"
                              placeholder="请选择"
                              @change="perceptionCommunicationDEdit = false"
                            >
                              <el-option
                                v-for="item in perceptionCommunicationDOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">0分,无困难,能与他人正常沟通和交流td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,能够表达自己的需要及理解别人的话,但需要增加时间或给予帮助"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,表达需要或理解有困难,需频繁重复或简化□头表达
                        td>
                      tr>
                      <tr>
                        <td colspan="20">3分,不能表达需要或理解他人的话td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">
                          感知觉与沟通分级
                        td>
                        <td colspan="3" rowspan="4" class="title">
                          <div class="item">
                            {{ perceptionCommunicationE + "级" }}
                          div>
                        td>
                        <td colspan="20">
                          0 能力完好:意识清醒,且视力和听力评为0或1,沟通评为0
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          1
                          轻度受损:意识清醒,但视力或听力中至少一项评为2,或沟通评为1
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2
                          中度受损:意识清醒,但视力或听力中至少一项评为3,或沟通评为2,或嗜睡,视力或听力评定为3及以下,沟通评定为2及以下
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3
                          重度受损:意识清醒或嗜睡,但视力或听力中至少一项评为4,或沟通评为3;或昏睡/昏迷
                        td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tbB2" id="tbB4">
                <div class="tit2" style="margin: 20px">B.4 社会参与与评估div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">生活能力td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="socialParticipationAEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!socialParticipationAEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                socialParticipationAEdit = true;
                              }
                            "
                          >
                            {{
                              socialParticipationA === "" ||
                              socialParticipationA == null
                                ? ""
                                : socialParticipationA + "分"
                            }}
                          div>
                          <div class="input_con" v-if="socialParticipationAEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="socialParticipationA"
                              placeholder="请选择"
                              @change="socialParticipationAEdit = false"
                            >
                              <el-option
                                v-for="item in socialParticipationAOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,除个人生活自理外(如饮食、洗漱、穿戴、二便),能料理家务(如做饭、洗衣)或当家管理事务
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,除个人生活自理外,能做家务,但欠好,家庭事务安排欠条理"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,个人生活能自理,只有在他人帮助下才能做些家务,但质量不好
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,个人基本生活事务能自理(如饮食、二便),在督促下可洗漱
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          4分,个人基本生活事务能自理(如饮食、二便),在督促下可洗漱
                        td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">工作能力td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="socialParticipationBEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!socialParticipationBEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                socialParticipationBEdit = true;
                              }
                            "
                          >
                            {{
                              socialParticipationB === "" ||
                              socialParticipationB == null
                                ? ""
                                : socialParticipationB + "分"
                            }}
                          div>
                          <div class="input_con" v-if="socialParticipationBEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="socialParticipationB"
                              placeholder="请选择"
                              @change="socialParticipationBEdit = false"
                            >
                              <el-option
                                v-for="item in socialParticipationBOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,原来熟练的脑力工作或体力技巧性工作可照常进行
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,原来熟练的脑力工作或体力技巧性工作能力有所下降"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,原来熟练的脑力工作或体力技巧性工作明显不如以往,部分遗忘
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分:对熟练工作只有一些片段保留,技能全部遗忘
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4分,对以往的知识或技能全部磨灭td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">
                          时间/空间定向
                        td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="socialParticipationCEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!socialParticipationCEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                socialParticipationCEdit = true;
                              }
                            "
                          >
                            {{
                              socialParticipationC === "" ||
                              socialParticipationC == null
                                ? ""
                                : socialParticipationC + "分"
                            }}
                          div>
                          <div class="input_con" v-if="socialParticipationCEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="socialParticipationC"
                              placeholder="请选择"
                              @change="socialParticipationCEdit = false"
                            >
                              <el-option
                                v-for="item in socialParticipationCOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分、时间观念(年、月、日、时)清楚;可单独出远门,能很快掌握新环境的方位
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,时间观念有些下降,年、月、日清楚,但有时相差几天;可单独来往于近街,知道现住地的名称和方位,但不知回家路线"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,时间观念较差,年、月、日不清楚,可知上半年或下半年;只能单独在家附近行动,对现住地只知名称,不知道方位
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,时间观念很差,年、月、日不清楚,可知上午或下午;只能在左邻右舍间串门,对现住地不知名称和方位
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4分,无时间观念;不能单独外出td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">人物定向td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="socialParticipationDEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!socialParticipationDEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                socialParticipationDEdit = true;
                              }
                            "
                          >
                            {{
                              socialParticipationD === "" ||
                              socialParticipationD == null
                                ? ""
                                : socialParticipationD + "分"
                            }}
                          div>
                          <div class="input_con" v-if="socialParticipationDEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="socialParticipationD"
                              placeholder="请选择"
                              @change="socialParticipationDEdit = false"
                            >
                              <el-option
                                v-for="item in socialParticipationDOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,知道周围人们的关系,知道祖孙、叔俯、姑姨、侄子侄女等称谓的意义;可分辨陌生人的
                          大致年龄和身份,可用适当称呼
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,只知家中亲密近亲的关系,不会分辨陌生人的大致年龄,不能称呼陌生人"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,只能称呼家中人,或只能照样称呼,不知其关系,不辨辈分
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,只认识常同住的亲人,可称呼子女或孙子女,可辨熟人和生人
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4分,只认识保护人,不辨熟人和生人td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="5" class="title">社会交往能力td>
                        <td
                          colspan="3"
                          rowspan="5"
                          @click="socialParticipationEEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!socialParticipationEEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                socialParticipationEEdit = true;
                              }
                            "
                          >
                            {{
                              socialParticipationE === "" ||
                              socialParticipationE == null
                                ? ""
                                : socialParticipationE + "分"
                            }}
                          div>
                          <div class="input_con" v-if="socialParticipationEEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="socialParticipationE"
                              placeholder="请选择"
                              @change="socialParticipationEEdit = false"
                            >
                              <el-option
                                v-for="item in socialParticipationEOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          0分,参与社会,在社会环境有一定的适应能力,待人接物恰当
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{
                            "1分,能适应单纯环境,主动接触人,初见面时难让人发现智力问题,不能理解隐喻语"
                          }}
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          2分,脱离社会,可被动接触,不会主动待人,谈话中很多不适词句,容易上当受骗
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          3分,勉强可与人交往,谈吐内容不清楚,表情不恰当
                        td>
                      tr>
                      <tr>
                        <td colspan="20">4 分,难以与人接触td>
                      tr>
                      <tr>
                        <td colspan="12" class="title">社会参与总分td>
                        <td colspan="3" class="title">
                          {{ socialParticipationF + "分" }}
                        td>
                        <td colspan="20">上述5个项目得分之和td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="4" class="title">社会参与分级td>
                        <td colspan="3" rowspan="4" class="title">
                          <div class="item">
                            {{ socialParticipationG + "级" }}
                          div>
                        td>
                        <td colspan="20">0能力完好:总分0-2分td>
                      tr>
                      <tr>
                        <td colspan="20">1 轻度受损:总分3-7分td>
                      tr>
                      <tr>
                        <td colspan="20">2 中度受损:总分8-13分td>
                      tr>
                      <tr>
                        <td colspan="20">3 重度受损:总分14-20分td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tit1" style="margin: 10px">C:老年人能力评估报告div>
              <div class="tbB2" id="tbC">
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="7" rowspan="2" class="title">生活能力td>
                        <td colspan="14">
                          <div>C.1.1 日常生活活动:{{ dailyBehaviorL + "级" }}div>
                        td>
                        <td colspan="14">
                          <div>C.1.2 精神状态:{{ mentalityE + "级" }}div>
                        td>
                      tr>
                      <tr>
                        <td colspan="14">
                          <div>
                            C.1.3 感知觉与沟通:{{ perceptionCommunicationE + "级" }}
                          div>
                        td>
                        <td colspan="14">
                          <div>
                            C.1.4 社会参与:{{ socialParticipationG + "级" }}
                          div>
                        td>
                      tr>
     
                      <tr>
                        <td colspan="7" rowspan="4" class="title">
                          老年人能力等级标准
                        td>
                        <td colspan="28">
                          0 能力完好:
                          日常生活活动、精神状态、感知觉与沟通分级均为0,社会参与的分级为0或1。
                        td>
                      tr>
                      <tr>
                        <td colspan="28">
                          1 轻度失能:
                          日常生活活动分级为0,但精神状态、感知觉与沟通中至少一项分级为1及以上,或社会参与的分级为2;或日常生活活动分级为1,精神状态、感知觉与沟通、社会参与中至少有一项的分级为0或1。
                        td>
                      tr>
                      <tr>
                        <td colspan="28">
                          2 中度失能:
                          日常生活活动分级为1,但精神状态、感知觉与沟通、社会参与均为
                          2,或有一项为
                          3;或日常生活活动分级为2,且精神状态、感知觉与沟通、社会参与中有1-2项的分级为1或2。
                        td>
                      tr>
                      <tr>
                        <td colspan="28">
                          3 重度失能:
                          日常生活活动的分级为3;或日常生活活动、精神状态、感知觉与沟通、社会参与分级均为2;或日常生活活
                          动分级为2,且精神状态、感知觉与沟通、社会参与中至少有一项分级为3。
                        td>
                      tr>
                      <tr>
                        <td colspan="7" rowspan="4" class="title">等级变更条款td>
                        <td colspan="28">
                          0有认知障碍/痴呆、精神疾病者,在原有能力级别上提高一个等级
                        td>
                      tr>
                      <tr>
                        <td colspan="28">
                          1近30天内发生过
                          2次及以上跌倒、噎食、自杀、走失者,在原有级别上提高一个等级
                        td>
                      tr>
                      <tr>
                        <td colspan="28">2处以昏迷状态者,直接评定为重度失能:td>
                      tr>
                      <tr>
                        <td colspan="28">
                          3若初步等级确定为“3重度失能”,则不考虑上述1-3中各情况对最终等级的影响,等级不再提高
                        td>
                      tr>
                      <tr>
                        <td colspan="7" class="title">老年人能力初步等级td>
                        <td colspan="28">
                          <div>
                            {{ preliminaryLevel }}
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="7" class="title">老年人能力最终等级td>
                        <td colspan="28" @click="finalLevelEdit = false">
                          <div
                            class="item"
                            v-if="!finalLevelEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                finalLevelEdit = true;
                              }
                            "
                          >
                            {{ finalLevel }}
                          div>
                          <div class="input_con" v-if="finalLevelEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="finalLevel"
                              placeholder="请选择"
                              @change="finalLevelEdit = false"
                            >
                              <el-option
                                v-for="item in finalLevelOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="7" class="title">评估员签名td>
                        <td colspan="28">
                          <div
                            class="item"
                            @click="assessorSignatureEdit = !assessorSignatureEdit"
                          >
                            <div v-if="!assessorSignatureEdit">
                              {{ assessorSignature }}
                            div>
                            <div class="input_con" v-if="assessorSignatureEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="assessorSignature"
                                placeholder="请输入内容"
                                @change="assessorSignatureEdit = false"
                                @blur="assessorSignatureEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                        
                        
                      tr>
                      <tr>
                        <td colspan="7" class="title">信息提供者签名td>
                        <td colspan="28">
                          <div
                            class="item"
                            @click="providerSignatureEdit = !providerSignatureEdit"
                          >
                            <div v-if="!providerSignatureEdit">
                              {{ providerSignature }}
                            div>
                            <div class="input_con" v-if="providerSignatureEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="providerSignature"
                                placeholder="请输入内容"
                                @change="providerSignatureEdit = false"
                                @blur="providerSignatureEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                        
                      tr>
                    table>
                  div>
                div>
              div>
            div>
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    925
    926
    927
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    1025
    1026
    1027
    1028
    1029
    1030
    1031
    1032
    1033
    1034
    1035
    1036
    1037
    1038
    1039
    1040
    1041
    1042
    1043
    1044
    1045
    1046
    1047
    1048
    1049
    1050
    1051
    1052
    1053
    1054
    1055
    1056
    1057
    1058
    1059
    1060
    1061
    1062
    1063
    1064
    1065
    1066
    1067
    1068
    1069
    1070
    1071
    1072
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
    1082
    1083
    1084
    1085
    1086
    1087
    1088
    1089
    1090
    1091
    1092
    1093
    1094
    1095
    1096
    1097
    1098
    1099
    1100
    1101
    1102
    1103
    1104
    1105
    1106
    1107
    1108
    1109
    1110
    1111
    1112
    1113
    1114
    1115
    1116
    1117
    1118
    1119
    1120
    1121
    1122
    1123
    1124
    1125
    1126
    1127
    1128
    1129
    1130
    1131
    1132
    1133
    1134
    1135
    1136
    1137
    1138
    1139
    1140
    1141
    1142
    1143
    1144
    1145
    1146
    1147
    1148
    1149
    1150
    1151
    1152
    1153
    1154
    1155
    1156
    1157
    1158
    1159
    1160
    1161
    1162
    1163
    1164
    1165
    1166
    1167
    1168
    1169
    1170
    1171
    1172
    1173
    1174
    1175
    1176
    1177
    1178
    1179
    1180
    1181
    1182
    1183
    1184
    1185
    1186
    1187
    1188
    1189
    1190
    1191
    1192
    1193
    1194
    1195
    1196
    1197
    1198
    1199
    1200
    1201
    1202
    1203
    1204
    1205
    1206
    1207
    1208
    1209
    1210
    1211
    1212
    1213
    1214
    1215
    1216
    1217
    1218
    1219
    1220
    1221
    1222
    1223
    1224
    1225
    1226
    1227
    1228
    1229
    1230
    1231
    1232
    1233
    1234
    1235
    1236
    1237
    1238
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
    1249
    1250
    1251
    1252
    1253
    1254
    1255
    1256
    1257
    1258
    1259
    1260
    1261
    1262
    1263
    1264
    1265
    1266
    1267
    1268
    1269
    1270
    1271
    1272
    1273
    1274
    1275
    1276
    1277
    1278
    1279
    1280
    1281
    1282
    1283
    1284
    1285
    1286
    1287
    1288
    1289
    1290
    1291
    1292
    1293
    1294
    1295
    1296
    1297
    1298
    1299
    1300
    1301
    1302
    1303
    1304
    1305
    1306
    1307
    1308
    1309
    1310
    1311
    1312
    1313
    1314
    1315
    1316
    1317
    1318
    1319
    1320
    1321
    1322
    1323
    1324
    1325
    1326
    1327
    1328
    1329
    1330
    1331
    1332
    1333
    1334
    1335
    1336
    1337
    1338
    1339
    1340
    1341
    1342
    1343
    1344
    1345
    1346
    1347
    1348
    1349
    1350
    1351
    1352
    1353
    1354
    1355
    1356
    1357
    1358
    1359
    1360
    1361
    1362
    1363
    1364
    1365
    1366
    1367
    1368
    1369
    1370
    1371
    1372
    1373
    1374
    1375
    1376
    1377
    1378
    1379
    1380
    1381
    1382
    1383
    1384
    1385
    1386
    1387
    1388
    1389
    1390
    1391
    1392
    1393
    1394
    1395
    1396
    1397
    1398
    1399
    1400
    1401
    1402
    1403
    1404
    1405
    1406
    1407
    1408
    1409
    1410
    1411
    1412
    1413
    1414
    1415
    1416
    1417
    1418
    1419
    1420
    1421
    1422
    1423
    1424
    1425
    1426
    1427
    1428
    1429
    1430
    1431
    1432
    1433
    1434
    1435
    1436
    1437
    1438
    1439
    1440
    1441
    1442
    1443
    1444
    1445
    1446
    1447
    1448
    1449
    1450
    1451
    1452
    1453
    1454
    1455
    1456
    1457
    1458
    1459
    1460
    1461
    1462
    1463
    1464
    1465
    1466
    1467
    1468
    1469
    1470
    1471
    1472
    1473
    1474
    1475
    1476
    1477
    1478
    1479
    1480
    1481
    1482
    1483
    1484
    1485
    1486
    1487
    1488
    1489
    1490
    1491
    1492
    1493
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    1501
    1502
    1503
    1504
    1505
    1506
    1507
    1508
    1509
    1510
    1511
    1512
    1513
    1514
    1515
    1516
    1517
    1518
    1519
    1520
    1521
    1522
    1523
    1524
    1525
    1526
    1527
    1528
    1529
    1530
    1531
    1532
    1533
    1534
    1535
    1536
    1537
    1538
    1539
    1540
    1541
    1542
    1543
    1544
    1545
    1546
    1547
    1548
    1549
    1550
    1551
    1552
    1553
    1554
    1555
    1556
    1557
    1558
    1559
    1560
    1561
    1562
    1563
    1564
    1565
    1566
    1567
    1568
    1569
    1570
    1571
    1572
    1573
    1574
    1575
    1576
    1577
    1578
    1579
    1580
    1581
    1582
    1583
    1584
    1585
    1586
    1587
    1588
    1589
    1590
    1591
    1592
    1593
    1594
    1595
    1596
    1597
    1598
    1599
    1600
    1601
    1602
    1603
    1604
    1605
    1606
    1607
    1608
    1609
    1610
    1611
    1612
    1613
    1614
    1615
    1616
    1617
    1618
    1619
    1620
    1621
    1622
    1623
    1624
    1625
    1626
    1627
    1628
    1629
    1630
    1631
    1632
    1633
    1634
    1635
    1636
    1637
    1638
    1639
    1640
    1641
    1642
    1643
    1644
    1645
    1646
    1647
    1648
    1649
    1650
    1651
    1652
    1653
    1654
    1655
    1656
    1657
    1658
    1659
    1660
    1661
    1662
    1663
    1664
    1665
    1666
    1667
    1668
    1669
    1670
    1671
    1672
    1673
    1674
    1675
    1676
    1677
    1678
    1679
    1680
    1681
    1682
    1683
    1684
    1685
    1686
    1687
    1688
    1689
    1690
    1691
    1692
    1693
    1694
    1695
    1696
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    1704
    1705
    1706
    1707
    1708
    1709
    1710
    1711
    1712
    1713
    1714
    1715
    1716
    1717
    1718
    1719
    1720
    1721
    1722
    1723
    1724
    1725
    1726
    1727
    1728
    1729
    1730
    1731
    1732
    1733
    1734
    1735
    1736
    1737
    1738
    1739
    1740
    1741
    1742
    1743
    1744
    1745
    1746
    1747
    1748
    1749
    1750
    1751
    1752
    1753
    1754
    1755
    1756
    1757
    1758
    1759
    1760
    1761
    1762
    1763
    1764
    1765
    1766
    1767
    1768
    1769
    1770
    1771
    1772
    1773
    1774
    1775
    1776
    1777
    1778
    1779
    1780
    1781
    1782
    1783
    1784
    1785
    1786
    1787
    1788
    1789
    1790
    1791
    1792
    1793
    1794
    1795
    1796
    1797
    1798
    1799
    1800
    1801
    1802
    1803
    1804
    1805
    1806
    1807
    1808
    1809
    1810
    1811
    1812
    1813
    1814
    1815
    1816
    1817
    1818
    1819
    1820
    1821
    1822
    1823
    1824
    1825
    1826
    1827
    1828
    1829
    1830
    1831
    1832
    1833
    1834
    1835
    1836
    1837
    1838
    1839
    1840
    1841
    1842
    1843
    1844
    1845
    1846
    1847
    1848
    1849
    1850
    1851
    1852
    1853
    1854
    1855
    1856
    1857
    1858
    1859
    1860
    1861
    1862
    1863
    1864
    1865
    1866
    1867
    1868
    1869
    1870
    1871
    1872
    1873
    1874
    1875
    1876
    1877
    1878
    1879
    1880
    1881
    1882
    1883
    1884
    1885
    1886
    1887
    1888
    1889
    1890
    1891
    1892
    1893
    1894
    1895
    1896
    1897
    1898
    1899
    1900
    1901
    1902
    1903
    1904
    1905
    1906
    1907
    1908
    1909
    1910
    1911
    1912
    1913
    1914
    1915
    1916
    1917
    1918
    1919
    1920
    1921
    1922
    1923
    1924
    1925
    1926
    1927
    1928
    1929
    1930
    1931
    1932
    1933
    1934
    1935
    1936
    1937
    1938
    1939
    1940
    1941
    1942
    1943
    1944
    1945
    1946
    1947
    1948
    1949
    1950
    1951
    1952
    1953
    1954
    1955
    1956
    1957
    1958
    1959
    1960
    1961
    1962
    1963
    1964
    1965
    1966
    1967
    1968
    1969
    1970
    1971
    1972
    1973
    1974
    1975
    1976
    1977
    1978
    1979
    1980
    1981
    1982
    1983
    1984
    1985
    1986
    1987
    1988
    1989
    1990
    1991
    1992
    1993
    1994
    1995
    1996
    1997
    1998
    1999
    2000
    2001
    2002
    2003
    2004
    2005
    2006
    2007
    2008
    2009
    2010
    2011
    2012
    2013
    2014
    2015
    2016
    2017
    2018
    2019
    2020
    2021
    2022
    2023
    2024
    2025
    2026
    2027
    2028
    2029
    2030
    2031
    2032
    2033
    2034
    2035
    2036
    2037
    2038
    2039
    2040
    2041
    2042
    2043
    2044
    2045
    2046
    2047
    2048
    2049
    2050
    2051
    2052
    2053
    2054
    2055
    2056
    2057
    2058
    2059
    2060
    2061
    2062
    2063
    2064
    2065
    2066
    2067
    2068
    2069
    2070
    2071
    2072
    2073
    2074
    2075
    2076
    2077
    2078
    2079
    2080
    2081
    2082
    2083
    2084
    2085
    2086
    2087
    2088
    2089
    2090
    2091
    2092
    2093
    2094
    2095
    2096
    2097
    2098
    2099
    2100
    2101
    2102
    2103
    2104
    2105
    2106
    2107
    2108
    2109
    2110
    2111
    2112
    2113
    2114
    2115
    2116
    2117
    2118
    2119
    2120
    2121
    2122
    2123
    2124
    2125
    2126
    2127
    2128
    2129
    2130
    2131
    2132
    2133
    2134
    2135
    2136
    2137
    2138
    2139
    2140
    2141
    2142
    2143
    2144
    2145
    2146
    2147
    2148
    2149
    2150
    2151
    2152
    2153
    2154
    2155
    2156
    2157
    2158
    2159
    2160
    2161
    2162
    2163
    2164
    2165
    2166
    2167
    2168
    2169
    2170
    2171
    2172
    2173
    2174
    2175
    2176
    2177
    2178
    2179
    2180
    2181
    2182
    2183
    2184
    2185
    2186
    2187
    <div id="htmltable" :class="[isEdit ? '' : 'disable']">
              <div class="tit1" style="margin: 10px">
                A:老年人能力评估基本信息表
              div>
              <div class="tbA1">
                <div class="tit2" style="margin: 20px">A.1 评估基本信息表div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="6" class="title">评估编号td>
                        <td colspan="24">
                          <div
                            class="item"
                            @click="assessmentIdEdit = !assessmentIdEdit"
                          >
                            <div v-if="!assessmentIdEdit">
                              {{ assessmentId }}
                            div>
                            <div class="input_con" v-if="assessmentIdEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="assessmentId"
                                placeholder="请输入内容"
                                @change="assessmentIdEdit = false"
                                @blur="assessmentIdEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">评估基准日期td>
                        <td colspan="24">
                          <div v-if="formData">
                            {{ formData.createdOn.slice(0, 10) }}
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" rowspan="4" class="title">评估原因td>
                        <td colspan="4" rowspan="4">
                          <div
                            class="item"
                            @click="assessmentReasonEdit = !assessmentReasonEdit"
                          >
                            <div v-if="!assessmentReasonEdit">
                              {{ assessmentReason }}
                            div>
                            <div class="input_con" v-if="assessmentReasonEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="assessmentReason"
                                placeholder="请输入内容"
                                @change="assessmentReasonEdit = false"
                                @blur="assessmentReasonEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                        <td colspan="20">1 接受服务前初评td>
                      tr>
                      <tr>
                        <td colspan="20">2 接受服务后的常规评估td>
                      tr>
                      <tr>
                        <td colspan="20">3 状况发生变化后的即时评估td>
                      tr>
                      <tr>
                        <td colspan="20">4 因评估结果有疑问进行的复评td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tbA2">
                <div class="tit2" style="margin: 20px">A.2 入住老人基本信息div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="6" class="title">姓名td>
                        <td colspan="24">
                          <div class="item" @click="nameEdit = !nameEdit">
                            <div v-if="!nameEdit">
                              {{ name }}
                            div>
                            <div class="input_con" v-if="nameEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="name"
                                placeholder="请输入内容"
                                @change="nameEdit = false"
                                @blur="nameEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">性别td>
                        <td colspan="24">
                          <div class="item" @click="sexEdit = !sexEdit">
                            <div v-if="!sexEdit">
                              {{ sex }}
                            div>
                            <div class="input_con" v-if="sexEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="sex"
                                placeholder="请输入内容"
                                @change="sexEdit = false"
                                @blur="sexEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">出生日期td>
                        <td colspan="24">
                          <div class="item" @click="birthdayEdit = !birthdayEdit">
                            <div v-if="!birthdayEdit">
                              {{ birthday }}
                            div>
                            <div class="input_con" v-if="birthdayEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="birthday"
                                placeholder="请输入内容"
                                @change="birthdayEdit = false"
                                @blur="birthdayEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">身份证号td>
                        <td colspan="24">
                          <div class="item" @click="idCardEdit = !idCardEdit">
                            <div v-if="!idCardEdit">
                              {{ idCard }}
                            div>
                            <div class="input_con" v-if="idCardEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="idCard"
                                placeholder="请输入内容"
                                @change="idCardEdit = false"
                                @blur="idCardEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">社保卡号td>
                        <td colspan="24">
                          <div
                            class="item"
                            @click="socialSecurityEdit = !socialSecurityEdit"
                          >
                            <div v-if="!socialSecurityEdit">
                              {{ socialSecurity }}
                            div>
                            <div class="input_con" v-if="socialSecurityEdit">
                              <el-input
                                @click.native="
                                  (e) => {
                                    e.stopPropagation();
                                  }
                                "
                                v-model="socialSecurity"
                                placeholder="请输入内容"
                                @change="socialSecurityEdit = false"
                                @blur="socialSecurityEdit = false"
                              >el-input>
                            div>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">民族td>
                        <td colspan="24" @click="nationEdit = false">
                          <div
                            class="item"
                            v-if="!nationEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                nationEdit = true;
                              }
                            "
                          >
                            {{ nation }}
                          div>
                          <div class="input_con" v-if="nationEdit">
                            <el-select
                              v-model="nation"
                              placeholder="请选择"
                              @change="nationEdit = false"
                            >
                              <el-option
                                v-for="item in nationOptions"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">文化程度td>
                        <td colspan="24" @click="educationLevelEdit = false">
                          <div
                            class="item"
                            v-if="!educationLevelEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                educationLevelEdit = true;
                              }
                            "
                          >
                            {{ educationLevel }}
                          div>
                          <div class="input_con" v-if="educationLevelEdit">
                            <el-select
                              v-model="educationLevel"
                              placeholder="请选择"
                              @change="educationLevelEdit = false"
                            >
                              <el-option
                                v-for="item in educationLevelOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">宗教信仰td>
                        <td colspan="24" @click="religiousBeliefEdit = false">
                          <div
                            class="item"
                            v-if="!religiousBeliefEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                religiousBeliefEdit = true;
                              }
                            "
                          >
                            {{ religiousBelief }}
                          div>
                          <div class="input_con" v-if="religiousBeliefEdit">
                            <el-select
                              v-model="religiousBelief"
                              placeholder="请选择"
                              @change="religiousBeliefEdit = false"
                            >
                              <el-option
                                v-for="item in religiousBeliefOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">婚姻状况td>
                        <td colspan="24" @click="maritalStatusEdit = false">
                          <div
                            class="item"
                            v-if="!maritalStatusEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                maritalStatusEdit = true;
                              }
                            "
                          >
                            {{ maritalStatus }}
                          div>
                          <div class="input_con" v-if="maritalStatusEdit">
                            <el-select
                              v-model="maritalStatus"
                              placeholder="请选择"
                              @change="maritalStatusEdit = false"
                            >
                              <el-option
                                v-for="item in maritalStatusOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">居住情况td>
                        <td colspan="24" @click="residentialSituationEdit = false">
                          <div
                            class="item"
                            v-if="!residentialSituationEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                residentialSituationEdit = true;
                              }
                            "
                          >
                            {{ residentialSituation }}
                          div>
                          <div class="input_con" v-if="residentialSituationEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="residentialSituation"
                              placeholder="请选择"
                              @change="residentialSituationEdit = false"
                            >
                              <el-option
                                v-for="item in residentialSituationOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">医疗费用支付方式td>
                        <td colspan="24" @click="medicalPaymentMethodEdit = false">
                          <div
                            class="item"
                            v-if="!medicalPaymentMethodEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                medicalPaymentMethodEdit = true;
                              }
                            "
                          >
                            {{ medicalPaymentMethod }}
                          div>
                          <div class="input_con" v-if="medicalPaymentMethodEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="medicalPaymentMethod"
                              placeholder="请选择"
                              @change="medicalPaymentMethodEdit = false"
                            >
                              <el-option
                                v-for="item in medicalPaymentMethodOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">经济来源td>
                        <td colspan="24" @click="financialEdit = false">
                          <div
                            class="item"
                            v-if="!financialEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                financialEdit = true;
                              }
                            "
                          >
                            {{ financial }}
                          div>
                          <div class="input_con" v-if="financialEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="financial"
                              placeholder="请选择"
                              @change="financialEdit = false"
                            >
                              <el-option
                                v-for="item in financialOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">疾病诊断td>
                        <td colspan="24" @click="diseaseDiagnosisEdit = false">
                          <div
                            class="item"
                            v-if="!diseaseDiagnosisEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                diseaseDiagnosisEdit = true;
                              }
                            "
                          >
                            {{ diseaseDiagnosis.join(",") }}
                          div>
                          <div class="input_con" v-if="diseaseDiagnosisEdit">
                            <el-select
                              class="cascader"
                              multiple
                              :popper-append-to-body="false"
                              v-model="diseaseDiagnosis"
                              placeholder="请选择"
                              @change="diseaseDiagnosisEdit = false"
                            >
                              <el-option
                                v-for="item in diseaseDiagnosisOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                      <tr>
                        <td colspan="6" class="title">近30天内意外事件td>
                        <td colspan="24" @click="accidentEdit = false">
                          <div
                            class="item"
                            v-if="!accidentEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                accidentEdit = true;
                              }
                            "
                          >
                            {{ accident.join(",") }}
                          div>
                          <div class="input_con" v-if="accidentEdit">
                            <el-select
                              class="cascader"
                              multiple
                              :popper-append-to-body="false"
                              v-model="accident"
                              placeholder="请选择"
                              @change="accidentEdit = false"
                            >
                              <el-option
                                v-for="item in accidentOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                      tr>
                    table>
                  div>
                div>
              div>
              <div class="tit1" style="margin: 10px">B:老年人能力评估div>
              <div class="tbB1" id="tbB1">
                <div class="tit2" style="margin: 20px; margin-bottom: 10px">
                  B.1 日常生活活动
                div>
                <div class="tablecon">
                  
                  <div style="margin: 0 auto">
                    <table>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">
                          进食:指用餐具将食物由容器送到口中、咀嚼、吞咽等过程
                        td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorAEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorAEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorAEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorA === "" || dailyBehaviorA == null
                                ? ""
                                : dailyBehaviorA + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorAEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorA"
                              placeholder="请选择"
                              @change="dailyBehaviorAEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorAOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          10分,可独立进食(在合理的时间内独立进食准备好的食物)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          5分,需部分帮助(进食过程中需要一定帮助,如协助把持餐具)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">
                          0分,需极大帮助或完全依赖他人,或有留置胃管
                        td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="2" class="title">洗澡td>
                        <td
                          colspan="3"
                          rowspan="2"
                          @click="dailyBehaviorBEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorBEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorBEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorB === "" || dailyBehaviorB == null
                                ? ""
                                : dailyBehaviorB + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorBEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorB"
                              placeholder="请选择"
                              @change="dailyBehaviorBEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorBOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">
                          5分,准备好洗澡水后,可自己独立完成洗澡过程
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分, 在洗澡过程中需他人帮助td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="2" class="title">
                          修饰:指洗脸、刷牙、梳头等
                        td>
                        <td
                          colspan="3"
                          rowspan="2"
                          @click="dailyBehaviorCEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorCEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorCEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorC === "" || dailyBehaviorC == null
                                ? ""
                                : dailyBehaviorC + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorCEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorC"
                              placeholder="请选择"
                              @change="dailyBehaviorCEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorCOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">5分, 可自己独立完成td>
                      tr>
                      <tr>
                        <td colspan="20">0分,需他人帮助td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">
                          穿衣:指穿脱衣服、系扣、拉拉 链、穿脱鞋袜系鞋带
                        td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorDEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorDEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorDEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorD === "" || dailyBehaviorD == null
                                ? ""
                                : dailyBehaviorD + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorDEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorD"
                              placeholder="请选择"
                              @change="dailyBehaviorDEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorDOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">10分,可独立完成td>
                      tr>
                      <tr>
                        <td colspan="20">
                          5分,需部分帮助(能自己穿脱,但需他人帮助整理衣物、系扣/鞋带、拉拉链)
                        td>
                      tr>
                      <tr>
                        <td colspan="20">0分,需极大帮助或完全依赖他人td>
                      tr>
                      <tr>
                        <td colspan="12" rowspan="3" class="title">大便控制td>
                        <td
                          colspan="3"
                          rowspan="3"
                          @click="dailyBehaviorEEdit = false"
                        >
                          <div
                            class="item"
                            v-if="!dailyBehaviorEEdit"
                            @click="
                              (e) => {
                                e.stopPropagation();
                                dailyBehaviorEEdit = true;
                              }
                            "
                          >
                            {{
                              dailyBehaviorE === "" || dailyBehaviorE == null
                                ? ""
                                : dailyBehaviorE + "分"
                            }}
                          div>
                          <div class="input_con" v-if="dailyBehaviorEEdit">
                            <el-select
                              :popper-append-to-body="false"
                              v-model="dailyBehaviorE"
                              placeholder="请选择"
                              @change="dailyBehaviorEEdit = false"
                            >
                              <el-option
                                v-for="item in dailyBehaviorEOptions"
                                :key="item.id"
                                :label="item.label"
                                :value="item.value"
                              >
                              el-option>
                            el-select>
                          div>
                        td>
                        <td colspan="20">10分,可控制大便td>
                      tr>
                      <tr>
                        <td colspan="20">
                          {{ "5分,偶尔失控(每周 < 1次),或需要他人提示" }}
                        

      控制编辑的基本思路就是加上一个flag xxxEdit来控制是否是编辑状态。是编辑状态就展示饿了么ui的编辑控件,不是就展示编辑控件绑定的value

      下面说如何进行导出word

          1.下载 html-docx-js,file-saver

      npm install html-docx-js

          npm install file-saver

      2.在要使用的地方引入相关插件

      import htmlDocx from 'html-docx-js/dist/html-docx'

      import saveAs from 'file-saver'

          导出的方法

          

    复制代码
     gohtml() {
          const app = document.querySelector("#htmltable");
          const cloneApp = app.cloneNode(true);
          const canvases = app.getElementsByTagName("canvas");
          const cloneCanvases = cloneApp.getElementsByTagName("canvas");
          const promises = Array.from(canvases).map((ca, index) => {
            return new Promise((res) => {
              const url = ca.toDataURL("image/png", 1);
              const img = new Image();
              img.onload = () => {
                URL.revokeObjectURL(url);
                res();
              };
              img.src = url;
              // 生成img插入clone的dom的canvas之前
              cloneCanvases[index].parentNode.insertBefore(
                img,
                cloneCanvases[index]
              );
            });
          });
          // 移除原来的canvas
          const cloneCanvas = cloneApp.getElementsByTagName("canvas");
          Array.from(cloneCanvas).forEach((ca) => ca.parentNode.removeChild(ca));
    
          Promise.all(promises).then(() => {
            // this.convertImagesToBase64(cloneApp);
            console.log(cloneApp.outerHTML);
            const converted = htmlDocx.asBlob(`
          urn:schemas-microsoft-com:office:office\' xmlns:w=\'urn:schemas-microsoft-com:office:word\' xmlns=\'http://www.w3.org/TR/REC-html40\'>