| | |
| | | |
| | | <el-divider /> |
| | | |
| | | <el-row :gutter="2"> |
| | | <el-col :border="1" :span="4" v-for="(item, index) in allBasicInfo" :key="o" :offset="1"> |
| | | <div> |
| | | <el-card :body-style="{ padding: '1px' }"> |
| | | <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image"> |
| | | <div style=""> |
| | | <span>{{item}}</span> |
| | | <div class="bottom clearfix"> |
| | | |
| | | <el-button type="text" class="button" @click="handleEditInfo(index)">查看详情</el-button> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | <el-dialog :visible.sync="open" width="800px" append-to-body @close=""> |
| | | |
| | | |
| | | <h2 style="font-size:21px">基本情况</h2> |
| | | <el-container> |
| | |
| | | </div> |
| | | |
| | | |
| | | <div style="padding-left:400px;padding-top:30px" > |
| | | <el-container > |
| | | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col > |
| | | <el-button |
| | | plain |
| | | @click="handleEdit()" |
| | | style="width: 80px;height: 32px;background: #E0EEFE;" |
| | | v-if="isShow" |
| | | v-hasPermi="['system:role:edit']" |
| | | >编辑</el-button> |
| | | <el-button v-if="isShow_2" style="width: 80px;height: 32px;background: #E0EEFE;" @click="submitForm" :disabled="dsb">完成</el-button> |
| | | <br> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;">--> |
| | | <!-- <el-button--> |
| | | <!-- plain--> |
| | | <!-- style="width: 80px;height: 32px;background: #D2F3E0;"--> |
| | | <!-- @click="handleExport"--> |
| | | <!-- v-hasPermi="['family:note:export']"--> |
| | | <!-- >导出</el-button></el-col>--> |
| | | |
| | | <el-col style="padding-top: 10px;"> |
| | | <el-button |
| | | plain |
| | | style="width: 80px;height: 32px;background: #FFDDE3;" |
| | | v-print="'#printable-content'" |
| | | v-hasPermi="['family:note:export']" |
| | | >打印</el-button></el-col> |
| | | |
| | | |
| | | </el-row> |
| | | |
| | | </el-container> |
| | | </div> |
| | | <!-- </el-dialog> self:user:export--> |
| | | </el-container> |
| | | <div> |
| | |
| | | </el-container> |
| | | </div> |
| | | </el-container> |
| | | |
| | | <div style="padding-top:30px" > |
| | | <el-container > |
| | | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col > |
| | | <el-button |
| | | plain |
| | | @click="handleEdit()" |
| | | style="width: 80px;height: 32px;background: #E0EEFE;" |
| | | v-if="isShow" |
| | | v-hasPermi="['system:role:edit']" |
| | | >编辑</el-button> |
| | | <el-button v-if="isShow_2" style="width: 80px;height: 32px;background: #E0EEFE;" @click="submitForm" :disabled="dsb">完成</el-button> |
| | | <br> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;">--> |
| | | <!-- <el-button--> |
| | | <!-- plain--> |
| | | <!-- style="width: 80px;height: 32px;background: #D2F3E0;"--> |
| | | <!-- @click="handleExport"--> |
| | | <!-- v-hasPermi="['family:note:export']"--> |
| | | <!-- >导出</el-button></el-col>--> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;"> |
| | | <el-button |
| | | plain |
| | | style="width: 80px;height: 32px;background: #FFDDE3;" |
| | | v-print="'#printable-content'" |
| | | v-hasPermi="['family:note:export']" |
| | | >打印</el-button></el-col> --> |
| | | |
| | | |
| | | </el-row> |
| | | |
| | | </el-container> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-dialog :visible.sync="open1" width="800px" append-to-body @close=""> |
| | | <h2 style="font-size:21px">生活习惯</h2> |
| | | <el-container> |
| | | <div style="padding-left:0px" > |
| | |
| | | </el-container> |
| | | </div> |
| | | </el-container> |
| | | |
| | | |
| | | |
| | | |
| | | <div style="padding-top:30px" > |
| | | <el-container > |
| | | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col > |
| | | <el-button |
| | | plain |
| | | @click="handleEdit()" |
| | | style="width: 80px;height: 32px;background: #E0EEFE;" |
| | | v-if="isShow" |
| | | v-hasPermi="['system:role:edit']" |
| | | >编辑</el-button> |
| | | <el-button v-if="isShow_2" style="width: 80px;height: 32px;background: #E0EEFE;" @click="submitForm" :disabled="dsb">完成</el-button> |
| | | <br> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;">--> |
| | | <!-- <el-button--> |
| | | <!-- plain--> |
| | | <!-- style="width: 80px;height: 32px;background: #D2F3E0;"--> |
| | | <!-- @click="handleExport"--> |
| | | <!-- v-hasPermi="['family:note:export']"--> |
| | | <!-- >导出</el-button></el-col>--> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;"> |
| | | <el-button |
| | | plain |
| | | style="width: 80px;height: 32px;background: #FFDDE3;" |
| | | v-print="'#printable-content'" |
| | | v-hasPermi="['family:note:export']" |
| | | >打印</el-button></el-col> --> |
| | | |
| | | |
| | | </el-row> |
| | | |
| | | </el-container> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="open2" width="800px" append-to-body @close=""> |
| | | <h2 style="font-size:21px">护理查体</h2> |
| | | <el-container> |
| | | <div style="padding-left:0px" > |
| | |
| | | </el-container> |
| | | </div> |
| | | </el-container> |
| | | |
| | | |
| | | <div style="padding-top:30px" > |
| | | <el-container > |
| | | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col > |
| | | <el-button |
| | | plain |
| | | @click="handleEdit()" |
| | | style="width: 80px;height: 32px;background: #E0EEFE;" |
| | | v-if="isShow" |
| | | v-hasPermi="['system:role:edit']" |
| | | >编辑</el-button> |
| | | <el-button v-if="isShow_2" style="width: 80px;height: 32px;background: #E0EEFE;" @click="submitForm" :disabled="dsb">完成</el-button> |
| | | <br> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;">--> |
| | | <!-- <el-button--> |
| | | <!-- plain--> |
| | | <!-- style="width: 80px;height: 32px;background: #D2F3E0;"--> |
| | | <!-- @click="handleExport"--> |
| | | <!-- v-hasPermi="['family:note:export']"--> |
| | | <!-- >导出</el-button></el-col>--> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;"> |
| | | <el-button |
| | | plain |
| | | style="width: 80px;height: 32px;background: #FFDDE3;" |
| | | v-print="'#printable-content'" |
| | | v-hasPermi="['family:note:export']" |
| | | >打印</el-button></el-col> --> |
| | | |
| | | |
| | | </el-row> |
| | | |
| | | </el-container> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="open3" width="800px" append-to-body @close=""> |
| | | <h2 style="font-size:21px">现存健康问题</h2> |
| | | |
| | | <el-container> |
| | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <div style="padding-top:30px" > |
| | | <el-container > |
| | | |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col > |
| | | <el-button |
| | | plain |
| | | @click="handleEdit()" |
| | | style="width: 80px;height: 32px;background: #E0EEFE;" |
| | | v-if="isShow" |
| | | v-hasPermi="['system:role:edit']" |
| | | >编辑</el-button> |
| | | <el-button v-if="isShow_2" style="width: 80px;height: 32px;background: #E0EEFE;" @click="submitForm" :disabled="dsb">完成</el-button> |
| | | <br> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;">--> |
| | | <!-- <el-button--> |
| | | <!-- plain--> |
| | | <!-- style="width: 80px;height: 32px;background: #D2F3E0;"--> |
| | | <!-- @click="handleExport"--> |
| | | <!-- v-hasPermi="['family:note:export']"--> |
| | | <!-- >导出</el-button></el-col>--> |
| | | |
| | | <!-- <el-col style="padding-top: 10px;"> |
| | | <el-button |
| | | plain |
| | | style="width: 80px;height: 32px;background: #FFDDE3;" |
| | | v-print="'#printable-content'" |
| | | v-hasPermi="['family:note:export']" |
| | | >打印</el-button></el-col> --> |
| | | |
| | | |
| | | </el-row> |
| | | |
| | | </el-container> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | dicts: ['sys_normal_disable'], |
| | | data() { |
| | | return { |
| | | open:false, |
| | | open1:false, |
| | | open2:false, |
| | | open3:false, |
| | | allBasicInfo:["基本情况","生活习惯","护理查体","现在健康问题"], |
| | | dictionary: {}, |
| | | // 遮罩层 |
| | | editMode: false, // 是否处于编辑模式 |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | handleEditInfo(index) |
| | | { |
| | | |
| | | if(index==0) |
| | | this.open = true |
| | | else if(index==1) |
| | | this.open1 = true; |
| | | else if(index==2) |
| | | this.open2 = true; |
| | | else |
| | | this.open3 = true; |
| | | }, |
| | | saveData() { |
| | | // 将数据发送给后端 |
| | | // alert(this.bstn) |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | padding-right: 90px; |
| | | }</style> |
| | | } |
| | | |
| | | .bottom { |
| | | margin-top: 13px; |
| | | line-height: 12px; |
| | | } |
| | | |
| | | .button { |
| | | padding: 0; |
| | | float: right; |
| | | } |
| | | |
| | | .image { |
| | | width: 100%; |
| | | display: block; |
| | | } |
| | | |
| | | .clearfix:before, |
| | | .clearfix:after { |
| | | display: table; |
| | | content: ""; |
| | | } |
| | | |
| | | .clearfix:after { |
| | | clear: both |
| | | } |
| | | </style> |