12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829 |
- <!-- 跌倒历史评分 -->
- <template>
- <div class="patient-container">
- <div class="patient-app-containers advice-container app-container">
- <div style="display: flex;margin-bottom: 20px;">
- <div style="width: 50%;">
- <el-button type="text" icon="el-icon-arrow-left" style="font-size: 18px;" @click="fanhui">返回</el-button>
- <div class="history">历史评分</div>
- </div>
- <div style="margin-left: 30%;">
- <el-button type="primary" @click="open_pingfen(1)">打印评分</el-button>
- <el-button type="primary" @click="open_pingfen(2)">打印明细</el-button>
- <!-- <el-button type="primary" @click="open_mingxi">打印明细</el-button> -->
- </div>
- </div>
- <div>
- <el-table
- ref="multipleTable"
- :data="tableData"
- @selection-change="handleSelectionChange"
- border
- tooltip-effect="dark"
- :header-cell-style="{
- background:'#4579c5',
- color:'#fff'
- }"
- style="width: 100%">
- <el-table-column type="selection" width="55" align="center">
- <template>
-
- </template>
- </el-table-column>
- <el-table-column prop="time" label="评估日期" width="150" align="center">
- <template slot-scope="scope">
- {{ getTime(scope.row.record_date) }}
- </template>
- </el-table-column>
- <el-table-column prop="mark" label="分数" width="100" align="center">
- <template slot-scope="scope">
- {{ scope.row.total }}
- </template>
- </el-table-column>
- <el-table-column prop="measures" label="护理措施" width="" align="center">
- <template slot-scope="scope">
- {{ scope.row.content }}
- </template>
- </el-table-column>
- <el-table-column prop="evaluate" label="评估护士" width="130" align="center">
- <template slot-scope="scope">
- {{ getAdminName(scope.row.admin_user_id) }}
- </template>
- </el-table-column>
- <el-table-column
- prop="address"
- label="操作"
- width="180"
- align="center"
- show-overflow-tooltip>
- <template slot-scope="scope">
- <el-button type="primary" icon="el-icon-edit-outline" @click="open_editor(scope.row)"></el-button>
- <el-button type="primary" icon="el-icon-delete" @click="delete_fall(scope.row,scope.$index)"></el-button>
- </template>
- </el-table-column>
- </el-table>
- <el-pagination
- @size-change="handleSizeChange"
- @current-change="handleCurrentChange"
- :page-sizes="[10, 20, 50, 100]"
- :page-size="10"
- background
- style="margin-top:20px;float: right"
- layout="total, sizes, prev, pager, next, jumper"
- :total="total"
- ></el-pagination>
- </div>
- </div>
-
- <!-- 打印评分 -->
- <el-dialog
- title="提示"
- :visible.sync="dialogVisible"
- width="67%"
- >
- <div>
- <div style="overflow: hidden;">
- <el-button type="primary" @click="print_pingfen(1)" style="float:right">打印</el-button>
- </div>
-
- <div id="pingfeng" >
- <div class="diedao_content" style="" v-for="(item,index) in multipleSelection" :key="index">
- <div style="width:100%;margin-top: 20px;">
- <div style="text-align: center;"><h1>血液透析中心跌倒评估记录</h1></div>
- <div style="margin-top: 20px;font-size: 16px;">
- <span>患者姓名:{{ patients.name }}</span>
- <span>透析号:{{ patients.dialysis_no }}</span>
- <span>打印时间:{{time_now}}</span>
- </div>
- <table class="tables" border="1" style="border-collapse:collapse;text-align:center;width:100%;font-size:16px">
- <tr>
- <td style="width:180px">评估日期</td>
- <td style="width:100px">分数</td>
- <td style="">护理措施</td>
- <td style="width:150px">评估护士</td>
- </tr>
- <tr>
- <td>{{getTime(item.record_date)}}</td>
- <td>{{item.total}}</td>
- <td>{{item.content}}</td>
- <td>{{getAdminName(item.admin_user_id)}}</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
-
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
- </span>
- </el-dialog>
- <!-- 打印明细 -->
- <el-dialog
- title="提示"
- :visible.sync="mingxi_dialogVisible"
- width="67%">
- <div>
- <div style="overflow: hidden;">
- <el-button type="primary" @click="print_pingfen(2)" style="float:right">打印</el-button>
- </div>
-
- <div id="mingxi" >
- <div class="diedao_content" style="" v-for="(item,index) in printList" :key="index">
- <div style="width:100%;margin-top: 20px;">
- <div style="text-align: center;"><h1>血液透析中心跌倒评估记录</h1></div>
- <div style="margin-top: 20px;font-size: 16px;">
- <span>患者姓名:{{ patients.name }}</span>
- <span>透析号:{{ patients.dialysis_no }}</span>
- <span>评估日期:{{getTime(item.record_date)}}</span>
- <span>评估护士:{{getAdminName(item.admin_user_id)}}</span>
- <span>总分: {{item.total}}
- </span>
- </div>
- <table class="tables" border style="width: 100%;border-collapse: collapse;font-size: 16px;">
- <thead>
- <tr>
- <th style="width: 20%;padding: 5px;">项目</th>
- <th style="padding: 5px;">分值</th>
- </tr>
- </thead>
- <tbody>
- <tr class="bg_color">
- <td class="start">年龄</td>
- <td>
- <div class="jiange">
- <span v-for="item in nianlin" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.age_check"/> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
- <tr>
- <td class="start">既往史</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in jiwang" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.jiwang_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">意识状态</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in yishizt" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.yishizt_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <td class="start">感官</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in ganguan" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.ganguan_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">身体状况</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in shentizk" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.shentizk_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <td class="start">使用药物</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in syyaowu" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.syyaowu_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">排泄</td>
- <td>
- <div class="jiange">
- <span v-for="item in paixie" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.paixie_check" /> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
- <tr>
- <td class="start">自理能力</td>
- <td>
- <div class="jiange">
- <span v-for="item in zilinl" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.zilinl_check"/> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
- </tbody>
- </table>
- <p><span>健康宣教:{{ item.textOne }} </span> </p>
- <p> <span>护理措施:{{ item.text }}</span></p>
- <p>
- <span>预防效果:</span>
- <span v-for="item in xiaoguo" class="rightjiange">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="item.xiaoguo_check" /> {{ item.content }}</label>
- </span>
- </p>
- <p>
- <span>透析间期跌倒事件:</span>
- <span class="rightjiange">日期:{{ getTime(item.ping_date) }}</span>
- <span v-for="item in touxidiedao" style="margin-right:10px">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="item.touxidiedao_check"/> {{ item.content }}</label>
- </span>
- </p>
- <p>
- 打印时间:{{ time_now }}
- </p>
- </div>
- </div>
- </div>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="mingxi_dialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="mingxi_dialogVisible = false">确 定</el-button>
- </span>
- </el-dialog>
-
-
- <!-- 编辑 -->
- <el-dialog
- title="编辑"
- :visible.sync="bianji_dialogVisible"
- width="75%">
- <div>
- <div style="width: 100%; ">
- <div style="margin-bottom: 50px;">
- <div class="biaotou content_top">
- <div>危险评估</div>
- <div style="color: black;">总分:{{ tumble_Totalpoints }}</div>
- </div>
- <table class="table" border style="width: 100%;">
- <thead>
- <tr>
- <th style="width: 20%;">项目</th>
- <th>分值</th>
- </tr>
- </thead>
- <tbody>
- <tr class="bg_color">
- <td class="start">年龄</td>
- <td>
- <div class="jiange">
- <span v-for="item in nianlin" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.age_check"/> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
- <tr>
- <td class="start">既往史</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in jiwang" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.jiwang_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">意识状态</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in yishizt" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.yishizt_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <td class="start">感官</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in ganguan" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.ganguan_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">身体状况</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in shentizk" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.shentizk_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <td class="start">使用药物</td>
- <td>
- <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
- <span v-for="item in syyaowu" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.syyaowu_check"/> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td class="start">排泄</td>
- <td>
- <div class="jiange">
- <span v-for="item in paixie" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.paixie_check" /> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
- <tr>
- <td class="start">自理能力</td>
- <td>
- <div class="jiange">
- <span v-for="item in zilinl" class="rightjiange" @change="handleCheckedCitiesChange">
- <label><input type="checkbox" name="ball" :value="item.content" v-model="item.zilinl_check"/> {{ item.content }}</label>
- </span>
- </div>
-
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
-
- <div style="margin-bottom: 50px;">
- <div class="biaotou">
- <span>预防措施</span>
- </div>
- <div style="display: flex;">
- <div style="flex: 1;">
- <table class="table" border style="width: 100%;">
- <thead>
- <tr>
- <th style="width: 100%;">健康宣教</th>
- </tr>
- </thead>
- <tr>
- <td colspan="2" style="height: 40px;">
- <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
- <table class="table table2" border style="width: 100%;">
- <tr>
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check"/> 告知病人及家属病人有跌倒的危险</label>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_one"/>
- 告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_two"/>
- 告知病人及家属病人关于药物作用的注意事项
- </label>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_three" />
- 穿合适的裤子,以免绊倒;穿防滑鞋</label>
- </div>
- </td>
-
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_four"/>
- 告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
- 引起体位性低血压,特别是夜间
- </label>
- </div>
- </td>
-
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_five"/>
- 如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
- </label>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_six"/> 指导病人使用病房及卫生间扶手
- </label><br>
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_seven"/> 其他有关告知
- </label>
- </div>
- </td>
- </tr>
-
- <tr v-for="item in list">
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="item.is_content_check"/> {{ item.content }}
- </label><br>
-
- </div>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <tr>
- <td style="">
- <div class="jian">
- <el-button type="text" @click="add">+添加</el-button>
- </div>
-
- </td>
- </tr>
- </table>
- </div>
- <div style="flex: 1;">
- <table class="table" border style="width: 100%;">
- <thead>
- <tr>
- <th style="width: 100%;">护理措施</th>
- </tr>
- </thead>
- <tr>
- <td colspan="2" style="height: 40px;">
- <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
- <table class="table table2" border style="width: 100%;">
- <tr>
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_eight"/> 在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_night"/> 呼叫器及用物放置病人易取处,教会使用呼叫器</label>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_ten"/>
- 及时给予便器,床上(边)大小便
- </label>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_eleven"/> 使用床档 </label>
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_twelve"/> 使用约束带 </label>
- <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_thirteen"/> 使用助行器 </label>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_fourteen"/> 需要时协助病人上、下床
- </label>
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_fifteen"/> 协助病人如厕
- </label>
- </div>
- </td>
- </tr>
- <tr class="bg_color">
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_sixteen"/> 避免地面积水、湿滑
- </label>
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_seventeen"/> 消除床旁及通道障碍
- </label>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_eighteen"/> 病床调至合适高度
- </label>
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="is_check_nineteen" /> 及时锁上病床及轮椅的轮轴
- </label>
- </div>
- </td>
- </tr>
-
- <tr v-for="item in listOne">
- <td>
- <div class="xiaojige">
- <label>
- <input type="checkbox" name="ball" value="volleyball" v-model="item.is_content_check_one"/> {{ item.contentOne }}
- </label><br>
-
- </div>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <tr>
- <td style="">
- <div class="jian">
- <el-button type="text" @click="addOne">+添加</el-button>
- </div>
- </td>
- </tr>
-
- </table>
- </div>
- </div>
- </div>
-
- <div class="content_top">
- <div style="width: 49%;">
- <div class="biaotou">
- <span>预防效果</span>
- </div>
- <table class="table" border style="width: 100%;">
- <thead>
- <tr>
- <th style="width: 20%;">标题</th>
- <th>事件</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="start">预防效果</td>
- <td>
- <div class="jiange">
- <span v-for="item in xiaoguo" class="rightjiange">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="item.xiaoguo_check" /> {{ item.content }}</label>
- </span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div style="">
- <div class="biaotou">
- <span>透析间期跌倒事件</span>
- </div>
- <table class="table" border style="width: 100%;">
- <thead>
- <tr>
- <th style="width: 20%;">标题</th>
- <th>事件</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="start">透析间期跌倒事件</td>
- <td>
- <!-- <div style="display: inline-block;margin-right: 10px;">
- <span>日期:</span>
- <el-date-picker
- v-model="pingdate"
- type="date"
- placeholder="选择日期"
- :clearable="false"
- style="width: 150px;">
- </el-date-picker>
- </div>
- <div class="jiange" style="display: inline-block;">
- <span v-for="item in touxidiedao" class="rightjiange">
- <label><input type="checkbox" name="ball" value="volleyball" /> {{ item }}</label>
- </span>
- </div> -->
- <div style="display: flex;">
- <div style="flex: 1;">
- <span>日期:</span>
- <el-date-picker
- v-model="ping_date"
- type="date"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"
- placeholder="选择日期"
- :clearable="false"
- style="width: 140px;">
- </el-date-picker>
- </div>
- <div style="flex: 1;">
- <span v-for="item in touxidiedao" style="margin-right:10px">
- <label><input type="checkbox" name="ball" value="volleyball" v-model="item.touxidiedao_check"/> {{ item.content }}</label>
- </span>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-
- </div>
- <div class="content_top" style="margin-top: 10px;">
- <div>
- <span>评估日期:</span>
- <el-date-picker
- v-model="record_date"
- type="date"
- placeholder="选择日期"
- :clearable="false"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"
- style="width: 150px;">
- </el-date-picker>
- </div>
- <div>
- <span>护士:</span>
- <el-select v-model="admin_user_id" placeholder="请选择" style="width:120px;">
- <el-option
- v-for="item in roleList"
- :key="item.admin_user_id"
- :label="item.user_name"
- :value="item.admin_user_id"
- >
- </el-option>
- </el-select>
- </div>
- <el-button type="primary" @click="toDialog">确认</el-button>
- </div>
-
-
- </div>
- </div>
- </el-dialog>
- <!--删除 -->
- <el-dialog
- title="提示"
- :visible.sync="delete_centerDialogVisible"
- width="20%"
- center>
- <span>是否删除该记录</span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="delete_tumble">确 定</el-button>
- </span>
- </el-dialog>
- <!-- 添加弹窗页面 -->
- <el-dialog
- title="添加"
- :visible.sync="add_centerDialogVisible"
- width="30%"
- center>
- <span>
- <el-input
- type="textarea"
- :autosize="{ minRows: 4, maxRows: 6}"
- placeholder="请输入需要添加的内容.."
- v-model="content">
- </el-input>
- </span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="add_centerDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="add_tumble">确 定</el-button>
- </span>
- </el-dialog>
-
- <!-- 添加弹窗页面 -->
- <el-dialog
- title="添加"
- :visible.sync="add_centerDialogVisible_one"
- width="30%"
- center>
- <span>
- <el-input
- type="textarea"
- :autosize="{ minRows: 4, maxRows: 6}"
- placeholder="请输入需要添加的内容.."
- v-model="contentOne">
- </el-input>
- </span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="add_centerDialogVisible_one = false">取 消</el-button>
- <el-button type="primary" @click="add_tumble_one">确 定</el-button>
- </span>
- </el-dialog>
- </div>
- </template>
- <script>
- const moment = require('moment')
- import print from 'print-js'
- import {getPatientFallsessmentList,getPatientFallssessmentById,DeletePatientFallassessment,updatePatientFallassment,getPatientFallaessmentListByIds,getPatientFallaessmentListOne} from '@/api/fallassement'
- import { uParseTime } from "@/utils/tools";
- export default{
- data(){
- return{
- tableData:[],
- multipleSelection:[],
- dialogVisible:false,
- mingxi_dialogVisible:false,
- bianji_dialogVisible:false,
- delete_centerDialogVisible:false,
- add_centerDialogVisible:false,
- add_centerDialogVisible_one:false,
- row:'',
- pingdate:'',
- Nurse:'',
- input:'',
- tumble_Totalpoints:0,
- options:[],
- checkList:[],
- centerDialogVisible:false,
- textarea2:'',
- nianlin:[{id:1,age_check:false,content:"≥65岁(1分)",is_status:2},{id:2,age_check:false,content:"<65(0分)",is_status:2}],
- jiwang:[{id:1,jiwang_check:false,content:"有跌倒史(2分)",is_status:2},{id:2,jiwang_check:false,content:"有坠床史(2分)",is_status:2} ,{id:3,jiwang_check:false,content:"晕厥(2分)",is_status:2},{id:4,jiwang_check:false,content:"低血压(2分)",is_status:2}],
- yishizt:[{id:1,yishizt_check:false,content:"烦躁(4分)",is_status:2},{id:2,yishizt_check:false,content:"谵妄(3分)",is_status:2}, {id:3,yishizt_check:false,content:"嗜睡(2分)",is_status:2},{id:4,yishizt_check:false,content:"模糊(2分)",is_status:2},{id:5,yishizt_check:false,content:"痴呆(2分)",is_status:2},{id:6,yishizt_check:false,content:"昏迷(1分)",is_status:2}],
- ganguan:[{id:1,ganguan_check:false,content:"头晕(4分)",is_status:2},{id:2,ganguan_check:false,content:"视觉障碍(2分)",is_status:2},{id:3,ganguan_check:false,content:"听力障碍(2分)",is_status:2}],
- shentizk:[{id:1,shentizk_check:false,content:"借助器械(3分)",is_status:2},{id:2,shentizk_check:false,content:"肢体残缺(3分)",is_status:2},{id:3,shentizk_check:false,content:"偏瘫(3分)",is_status:2},{id:4,shentizk_check:false,content:"肌肉震颤麻痹(2分)",is_status:2},{id:5,shentizk_check:false,content:"截瘫(3分)",is_status:2},{id:6,shentizk_check:false,content:"乏力(1分)",is_status:2},{id:7,shentizk_check:false,content:"关节僵硬、变形、疼痛(3分)",is_status:2},{id:8,shentizk_check:false,content:"失眠(1分)",is_status:2}],
- syyaowu:[{id:1,syyaowu_check:false,content:"镇静安眠药(2分)",is_status:2},{id:2,syyaowu_check:false,content:"降压药(1分)",is_status:2},{id:3,syyaowu_check:false,content:"降糖药(1分)",is_status:2},{id:4,syyaowu_check:false,content:"其他高危药物(1分)",is_status:2}],
- paixie:[{id:1,paixie_check:false,content:"便秘(2分)",is_status:2},{id:2,paixie_check:false,content:"腹泻(1分)",is_status:2},{id:3,paixie_check:false,content:"尿频(1分)",is_status:2}],
- zilinl:[{id:1,zilinl_check:false,content:"无(4分)",is_status:2},{id:2,zilinl_check:false,content:"部分(3分)",is_status:2}],
- xiaoguo:[{id:1,xiaoguo_check:false,content:"未发生跌倒",is_status:2},{id:2,xiaoguo_check:false,content:"发生跌倒",is_status:2},{id:3,xiaoguo_check:false,content:"发生坠床",is_status:2}],
- touxidiedao:[{id:1,touxidiedao_check:false,content:"发生跌倒",is_status:2},{id:2,touxidiedao_check:false,content:"发生坠床",is_status:2}],
- page:1,
- limit:10,
- total:0,
- roleList:[],
- list:[],
- content:"",
- contentOne:"",
- listOne:[],
- is_check:false,
- is_check_one:false,
- is_check_two:false,
- is_check_three:false,
- is_check_four:false,
- is_check_five:false,
- is_check_six:false,
- is_check_seven:false,
- is_check_eight:false,
- is_check_night:false,
- is_check_ten:false,
- is_check_eleven:false,
- is_check_twelve:false,
- is_check_thirteen:false,
- is_check_fourteen:false,
- is_check_fifteen:false,
- is_check_sixteen:false,
- is_check_seventeen:false,
- is_check_eighteen:false,
- is_check_nineteen:false,
- nurseList:[],
- admin_user_id:"",
- record_date:"",
- ping_date:"",
- id:0,
- index:0,
- fallassesment_id:0,
- ids:[],
- patients:{},
- time_now:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
- printList:[]
- }
- },
- methods:{
- fanhui(){
- window.history.go(-1);
- },
- handleSelectionChange(val) {
- if(val!=null && val.length>0){
- for(let i=0;i<val.length;i++){
- this.ids.push(val[i].id)
- }
- }
- },
- open_pingfen(ids){
- console.log("this.multipleSelection", this.ids)
- if(ids ==1){
-
- if(this.ids.length==0){
- this.$message('请选择需要打印的记录')
- return
- }
- var params = {
- ids:this.ids.join(","),
- patient_id:this.$route.query.patient_id,
- }
- console.log("params----",params)
- getPatientFallaessmentListByIds(params).then(response=>{
- if(response.data.state ==1){
- var list = response.data.data.list
- this.patients = response.data.data.patients
- for(let i=0;i<list.length;i++){
- list[i].content =""
- if(list[i].is_check_eight ==1){
- list[i].content = "在病人床头悬挂'防跌倒'、'防坠床'警示牌"
- }
- if(list[i].is_check_night == 1){
- list[i].content = list[i].content + "呼叫器及用物放置病人易取处,教会使用呼叫器"
- }
- if(list[i].is_check_ten == 1){
- list[i].content = list[i].content + "及时给予便器,床上(边)大小便"
- }
- if(list[i].is_check_eleven == 1){
- list[i].content = list[i].content + "使用床档"
- }
- if(list[i].is_check_twelve == 1){
- list[i].content = list[i].content + "使用约束带"
- }
- if(list[i].is_check_thirteen == 1){
- list[i].content = list[i].content + "使用助行器"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].content = list[i].content + "需要时协助病人上、下床"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].content = list[i].content + "协助病人如厕"
- }
- if(list[i].is_check_sixteen == 1){
- list[i].content = list[i].content + "避免地面积水、湿滑"
- }
- if(list[i].is_check_seventeen == 1){
- list[i].content = list[i].content + "消除床旁及通道障碍"
- }
- if(list[i].is_check_eighteen == 1){
- list[i].content = list[i].content + "病床调至合适高度"
- }
- if(list[i].is_check_nineteen == 1){
- list[i].content = list[i].content + "及时锁上病床及轮椅的轮轴"
- }
- }
- console.log("list=-====",list)
- this.multipleSelection =list
- this.dialogVisible = true
- }
- })
- }
- if(ids ==2){
- if(this.ids.length==0){
- this.$message('请选择需要打印的记录')
- return
- }
- var params = {
- ids:this.ids.join(","),
- patient_id:this.$route.query.patient_id,
- }
- console.log("params----",params)
- getPatientFallaessmentListOne(params).then(response=>{
- if(response.data.state ==1){
- var list = response.data.data.list
- this.patients = response.data.data.patients
- for(let i=0;i<list.length;i++){
- list[i].text =""
- list[i].textOne = ""
-
- if(list[i].is_check == 1){
- list[i].textOne= "告知病人及家属病人有跌倒的危险"
- }
-
- if(list[i].is_check_one == 1){
- list[i].textOne= list[i].textOne + "告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系"
- }
-
- if(list[i].is_check_two == 1){
- list[i].textOne= list[i].textOne + "告知病人及家属病人关于药物作用的注意事项"
- }
-
- if(list[i].is_check_three == 1){
- list[i].textOne= list[i].textOne + "穿合适的裤子,以免绊倒;穿防滑鞋"
- }
-
- if(list[i].is_check_five == 1){
- list[i].textOne= list[i].textOne + "如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助"
- }
-
- if(list[i].is_check_six == 1){
- list[i].textOne= list[i].textOne + "指导病人使用病房及卫生间扶手"
- }
-
- if(list[i].is_check_seven == 1){
- list[i].textOne= list[i].textOne + "其他有关告知"
- }
-
- if(list[i].is_check_four == 1){
- list[i].textOne= list[i].textOne + " 告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,引起体位性低血压,特别是夜间"
- }
-
- if(list[i].is_check_eight ==1){
- list[i].text = "在病人床头悬挂'防跌倒'、'防坠床'警示牌"
- }
- if(list[i].is_check_night == 1){
- list[i].text = list[i].text + "呼叫器及用物放置病人易取处,教会使用呼叫器"
- }
- if(list[i].is_check_ten == 1){
- list[i].text = list[i].text + "及时给予便器,床上(边)大小便"
- }
- if(list[i].is_check_eleven == 1){
- list[i].text = list[i].text + "使用床档"
- }
- if(list[i].is_check_twelve == 1){
- list[i].text = list[i].text + "使用约束带"
- }
- if(list[i].is_check_thirteen == 1){
- list[i].text = list[i].text + "使用助行器"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].text = list[i].text + "需要时协助病人上、下床"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].text = list[i].text + "协助病人如厕"
- }
- if(list[i].is_check_sixteen == 1){
- list[i].text = list[i].text + "避免地面积水、湿滑"
- }
- if(list[i].is_check_seventeen == 1){
- list[i].text = list[i].text + "消除床旁及通道障碍"
- }
- if(list[i].is_check_eighteen == 1){
- list[i].text = list[i].text + "病床调至合适高度"
- }
- if(list[i].is_check_nineteen == 1){
- list[i].text = list[i].text + "及时锁上病床及轮椅的轮轴"
- }
-
-
- if(list[i]&&list[i].content!=undefined){
- var arr = JSON.parse(list[i].content)
- this.nianlin = []
- this.nianlin = arr
- }
-
- if(list[i]&&list[i].content_one!=undefined){
- var arr = JSON.parse(list[i].content_one)
- this.jiwang = []
- this.jiwang = arr
- }
-
- if(list[i]&&list[i].content_two!=undefined){
- var arr = JSON.parse(list[i].content_two)
- this.yishizt = []
- this.yishizt = arr
- }
-
- if(list[i]&&list[i].content_three!=undefined){
- var arr = JSON.parse(list[i].content_three)
- this.ganguan = []
- this.ganguan = arr
- }
-
-
- if(list[i]&&list[i].content_four!=undefined){
- var arr = JSON.parse(list[i].content_four)
- this.shentizk = []
- this.shentizk = arr
- }
-
- if(list[i]&&list[i].content_five!=undefined){
- var arr = JSON.parse(list[i].content_five)
- this.syyaowu = []
- this.syyaowu = arr
- }
-
- if(list[i]&&list[i].content_six!=undefined){
- var arr = JSON.parse(list[i].content_six)
- this.paixie = []
- this.paixie = arr
- }
-
- if(list[i]&&list[i].content_seven!=undefined){
- var arr = JSON.parse(list[i].content_seven)
- this.zilinl = []
- this.zilinl = arr
- }
-
-
- if(list[i]&&list[i].content_eight!=undefined){
- var arr = JSON.parse(list[i].content_eight)
- this.xiaoguo = []
- this.xiaoguo = arr
- }
-
- if(list[i]&&list[i].content_night!=undefined){
- var arr = JSON.parse(list[i].content_night)
- this.touxidiedao = []
- this.touxidiedao = arr
- }
-
- if(list[i]&&list[i].content_add!=undefined){
- var arr = JSON.parse(list[i].content_add)
- this.list = []
- this.list = arr
- }
-
- if(list[i]&&list[i].content_add_one!=undefined){
- var arr = JSON.parse(list[i].content_add_one)
- this.listOne = []
- this.listOne = arr
- }
-
-
- this.printList =list
- this.mingxi_dialogVisible = true
- }
- }
- })
- }
- },
- print_pingfen(ids){
- const style= '@media print {.diedao_content{background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;} .table tr td{padding:5px}}'
- if(ids==1){
- printJS({
- printable: 'pingfeng',
- type: 'html',
- style: style,
- scanStyles: false
- })
- this.dialogVisible=false
- }
- if(ids==2){
- printJS({
- printable: 'mingxi',
- type: 'html',
- style: style,
- scanStyles: false
- })
- this.mingxi_dialogVisible=false
- }
-
- },
- open_editor(row){
- getPatientFallssessmentById(row.id).then(response=>{
- if(response.data.state==1){
- var patientFallsessment = response.data.data.patientFallsessment
- this.tumble_Totalpoints = ""
- this.tumble_Totalpoints = patientFallsessment.total
-
- this.record_date = this.getTime(patientFallsessment.record_date)
- this.ping_date = this.getTime(patientFallsessment.ping_date)
-
- this.fallassesment_id = patientFallsessment.id
- this.patient_id = patientFallsessment.patient_id
- this.admin_user_id = patientFallsessment.admin_user_id
- if(patientFallsessment.is_check ==1){
- this.is_check =true
- }
-
- if(patientFallsessment.is_check ==2){
- this.is_check =false
- }
-
- if(patientFallsessment.is_check_one ==1){
- this.is_check_one =true
- }
-
- if(patientFallsessment.is_check_one ==2){
- this.is_check_one =false
- }
-
- if(patientFallsessment.is_check_two ==1){
- this.is_check_two =true
- }
-
- if(patientFallsessment.is_check_two ==2){
- this.is_check_two =false
- }
-
- if(patientFallsessment.is_check_three ==1){
- this.is_check_three =true
- }
-
- if(patientFallsessment.is_check_three ==2){
- this.is_check_three =false
- }
-
-
- if(patientFallsessment.is_check_four ==1){
- this.is_check_four =true
- }
-
- if(patientFallsessment.is_check_four ==2){
- this.is_check_four =false
- }
-
-
- if(patientFallsessment.is_check_five ==1){
- this.is_check_five =true
- }
-
- if(patientFallsessment.is_check_five ==2){
- this.is_check_five =false
- }
-
- if(patientFallsessment.is_check_six ==1){
- this.is_check_six =true
- }
-
- if(patientFallsessment.is_check_six ==2){
- this.is_check_six =false
- }
-
- if(patientFallsessment.is_check_seven ==1){
- this.is_check_seven =true
- }
-
- if(patientFallsessment.is_check_seven ==2){
- this.is_check_seven =false
- }
-
- if(patientFallsessment.is_check_eight ==1){
- this.is_check_eight =true
- }
-
- if(patientFallsessment.is_check_eight ==2){
- this.is_check_eight =false
- }
-
-
-
- if(patientFallsessment.is_check_night ==1){
- this.is_check_night =true
- }
-
- if(patientFallsessment.is_check_night ==2){
- this.is_check_night =false
- }
-
- if(patientFallsessment.is_check_ten ==1){
- this.is_check_ten =true
- }
-
- if(patientFallsessment.is_check_ten ==2){
- this.is_check_ten =false
- }
-
-
- if(patientFallsessment.is_check_eleven ==1){
- this.is_check_eleven =true
- }
-
- if(patientFallsessment.is_check_eleven ==2){
- this.is_check_eleven =false
- }
-
- if(patientFallsessment.is_check_twelve ==1){
- this.is_check_twelve =true
- }
-
- if(patientFallsessment.is_check_twelve ==2){
- this.is_check_twelve =false
- }
-
- if(patientFallsessment.is_check_thirteen ==1){
- this.is_check_thirteen =true
- }
-
- if(patientFallsessment.is_check_thirteen ==2){
- this.is_check_thirteen =false
- }
-
- if(patientFallsessment.is_check_fourteen ==1){
- this.is_check_fourteen =true
- }
-
- if(patientFallsessment.is_check_fourteen ==2){
- this.is_check_fourteen =false
- }
-
-
- if(patientFallsessment.is_check_fifteen ==1){
- this.is_check_fifteen =true
- }
-
- if(patientFallsessment.is_check_fifteen ==2){
- this.is_check_fifteen =false
- }
-
- if(patientFallsessment.is_check_sixteen ==1){
- this.is_check_sixteen =true
- }
-
- if(patientFallsessment.is_check_sixteen ==2){
- this.is_check_sixteen =false
- }
-
-
- if(patientFallsessment.is_check_seventeen ==1){
- this.is_check_seventeen =true
- }
-
- if(patientFallsessment.is_check_seventeen ==2){
- this.is_check_seventeen =false
- }
-
- if(patientFallsessment.is_check_eighteen ==1){
- this.is_check_eighteen =true
- }
-
- if(patientFallsessment.is_check_eighteen ==2){
- this.is_check_eighteen =false
- }
-
- if(patientFallsessment.is_check_nineteen ==1){
- this.is_check_nineteen =true
- }
-
- if(patientFallsessment.is_check_nineteen ==2){
- this.is_check_nineteen =false
- }
-
-
- if(patientFallsessment&&patientFallsessment.content!=undefined){
- var arr = JSON.parse(patientFallsessment.content)
- this.nianlin = []
- this.nianlin = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_one!=undefined){
- var arr = JSON.parse(patientFallsessment.content_one)
- this.jiwang = []
- this.jiwang = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_two!=undefined){
- var arr = JSON.parse(patientFallsessment.content_two)
- this.yishizt = []
- this.yishizt = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_three!=undefined){
- var arr = JSON.parse(patientFallsessment.content_three)
- this.ganguan = []
- this.ganguan = arr
- }
-
-
- if(patientFallsessment&&patientFallsessment.content_four!=undefined){
- var arr = JSON.parse(patientFallsessment.content_four)
- this.shentizk = []
- this.shentizk = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_five!=undefined){
- var arr = JSON.parse(patientFallsessment.content_five)
- this.syyaowu = []
- this.syyaowu = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_six!=undefined){
- var arr = JSON.parse(patientFallsessment.content_six)
- this.paixie = []
- this.paixie = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_seven!=undefined){
- var arr = JSON.parse(patientFallsessment.content_seven)
- this.zilinl = []
- this.zilinl = arr
- }
-
-
- if(patientFallsessment&&patientFallsessment.content_eight!=undefined){
- var arr = JSON.parse(patientFallsessment.content_eight)
- this.xiaoguo = []
- this.xiaoguo = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_night!=undefined){
- var arr = JSON.parse(patientFallsessment.content_night)
- this.touxidiedao = []
- this.touxidiedao = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_add!=undefined){
- var arr = JSON.parse(patientFallsessment.content_add)
- this.list = []
- this.list = arr
- }
-
- if(patientFallsessment&&patientFallsessment.content_add_one!=undefined){
- var arr = JSON.parse(patientFallsessment.content_add_one)
- this.listOne = []
- this.listOne = arr
- }
-
- console.log("透析跌倒",this.touxidiedao)
- console.log("xiaoguo",this.xiaoguo)
- this.bianji_dialogVisible=true
- console.log('1111',row);
- }
-
- })
-
- },
- delete_fall(row,index){
- this.id = row.id
- this.index = index
- this.delete_centerDialogVisible=true
-
- },
- delete_tumble(){
- DeletePatientFallassessment(this.id).then(response=>{
- if(response.data.state ==1){
- var msg = response.data.data.msg
- this.tableData.splice(this.index,1)
- this.$message.success("删除成功!")
- this.delete_centerDialogVisible = false
- }
- })
- this.delete_centerDialogVisible=false
- },
- add_tumble(){
- var obj = {is_content_check:false,content:"",is_status:2}
- obj.content = this.content
- this.list.push(obj)
- this.content =""
- this.add_centerDialogVisible = false
- },
- add(){
- this.add_centerDialogVisible = true
- },
- addOne(){
- this.add_centerDialogVisible_one = true
- },
- add_tumble_one(){
- var obj = {is_content_check_one:false,contentOne:"",is_status:2}
- obj.contentOne = this.contentOne
- this.listOne.push(obj)
-
- this.add_centerDialogVisible_one = false
- },
- handleCheckedCitiesChange(e){
- var ball = e.target.value
- var jiequ =(ball.split('(')[1].split('分')[0]) * 1
- if(e.target.checked==true){
- this.tumble_Totalpoints=this.tumble_Totalpoints + jiequ
- return this.tumble_Totalpoints
- }else{
- this.tumble_Totalpoints=this.tumble_Totalpoints-jiequ
- return this.tumble_Totalpoints
- }
- },
- erci_editor(){
- this.bianji_dialogVisible=false
- },
- getPatientFallsessmentList(){
- var params = {
- limit:this.limit,
- page:this.page,
- patient_id:this.$route.query.patient_id
- }
- getPatientFallsessmentList(params).then(response=>{
- if(response.data.state ==1){
- var list = response.data.data.list
-
- if(list!=null && list.length >0){
- for(let i=0;i<list.length;i++){
- list[i].content =""
- if(list[i].is_check_eight ==1){
- list[i].content = "在病人床头悬挂'防跌倒'、'防坠床'警示牌"
- }
- if(list[i].is_check_night == 1){
- list[i].content = list[i].content + "呼叫器及用物放置病人易取处,教会使用呼叫器"
- }
- if(list[i].is_check_ten == 1){
- list[i].content = list[i].content + "及时给予便器,床上(边)大小便"
- }
- if(list[i].is_check_eleven == 1){
- list[i].content = list[i].content + "使用床档"
- }
- if(list[i].is_check_twelve == 1){
- list[i].content = list[i].content + "使用约束带"
- }
- if(list[i].is_check_thirteen == 1){
- list[i].content = list[i].content + "使用助行器"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].content = list[i].content + "需要时协助病人上、下床"
- }
- if(list[i].is_check_fourteen == 1){
- list[i].content = list[i].content + "协助病人如厕"
- }
- if(list[i].is_check_sixteen == 1){
- list[i].content = list[i].content + "避免地面积水、湿滑"
- }
- if(list[i].is_check_seventeen == 1){
- list[i].content = list[i].content + "消除床旁及通道障碍"
- }
- if(list[i].is_check_eighteen == 1){
- list[i].content = list[i].content + "病床调至合适高度"
- }
- if(list[i].is_check_nineteen == 1){
- list[i].content = list[i].content + "及时锁上病床及轮椅的轮轴"
- }
-
-
- }
-
-
- }
-
-
-
- this.tableData = list
- var total= response.data.data.total
- this.total = total
- var roleList = response.data.data.roleList
- this.roleList = roleList
- }
- })
- },
- handleSizeChange(limit){
- this.limit = limit
- this.getPatientFallsessmentList()
- },
- handleCurrentChange(page){
- this.page = page;
- this.getPatientFallsessmentList();
- },
- getTime(val) {
- if(val < 0){
- return ""
- }
- if(val == ""){
- return ""
- }else {
- return uParseTime(val, '{y}-{m}-{d}')
- }
- },
- getAdminName(admin_user_id){
- var user_name =""
- for(let i=0;i<this.roleList.length;i++){
- if(admin_user_id == this.roleList[i].admin_user_id){
- user_name = this.roleList[i].user_name
- }
- }
- return user_name
- },
- toDialog(){
- var is_check =2
- if(this.is_check == false){
- is_check =2
- }
- if(this.is_check == true){
- is_check =1
- }
-
- var is_check_one =2
- if(this.is_check_one == false){
- is_check_one = 2
- }
- if(this.is_check_one == true){
- is_check_one = 1
- }
-
- var is_check_two =2
- if(this.is_check_two == false){
- is_check_two =2
- }
- if(this.is_check_two == true){
- is_check_two = 1
- }
-
- var is_check_three =2
- if(this.is_check_three == false){
- is_check_three =2
- }
- if(this.is_check_three == true){
- is_check_three = 1
- }
-
- var is_check_four =2
- if(this.is_check_four == false){
- is_check_four =2
- }
-
- if(this.is_check_four == true){
- is_check_four = 1
- }
-
- var is_check_five = 2
- if(this.is_check_five == false){
- is_check_five =2
- }
- if(this.is_check_five == true){
- is_check_five =1
- }
-
- var is_check_six= 2
- if(this.is_check_six == false){
- is_check_six =2
- }
- if(this.is_check_six == true){
- is_check_six =1
- }
-
- var is_check_seven= 2
- if(this.is_check_seven == false){
- is_check_seven =2
- }
- if(this.is_check_seven == true){
- is_check_seven =1
- }
-
- var is_check_eight= 2
- if(this.is_check_eight == false){
- is_check_eight =2
- }
- if(this.is_check_eight == true){
- is_check_eight =1
- }
-
- var is_check_night= 2
- if(this.is_check_night == false){
- is_check_night =2
- }
- if(this.is_check_night == true){
- is_check_night =1
- }
-
- var is_check_ten= 2
- if(this.is_check_ten == false){
- is_check_ten =2
- }
- if(this.is_check_ten == true){
- is_check_ten =1
- }
-
- var is_check_eleven= 2
- if(this.is_check_eleven == false){
- is_check_eleven =2
- }
- if(this.is_check_eleven == true){
- is_check_eleven =1
- }
-
- var is_check_twelve= 2
- if(this.is_check_twelve == false){
- is_check_twelve =2
- }
- if(this.is_check_twelve == true){
- is_check_twelve =1
- }
-
- var is_check_thirteen= 2
- if(this.is_check_thirteen == false){
- is_check_thirteen =2
- }
- if(this.is_check_thirteen == true){
- is_check_thirteen =1
- }
-
- var is_check_fourteen= 2
- if(this.is_check_fourteen == false){
- is_check_fourteen =2
- }
- if(this.is_check_fourteen == true){
- is_check_fourteen =1
- }
-
- var is_check_fifteen= 2
- if(this.is_check_fifteen == false){
- is_check_fifteen =2
- }
- if(this.is_check_fifteen == true){
- is_check_fifteen =1
- }
-
- var is_check_sixteen= 2
- if(this.is_check_sixteen == false){
- is_check_sixteen =2
- }
- if(this.is_check_sixteen == true){
- is_check_sixteen =1
- }
-
- var is_check_seventeen= 2
- if(this.is_check_seventeen == false){
- is_check_seventeen =2
- }
- if(this.is_check_seventeen == true){
- is_check_seventeen =1
- }
-
- var is_check_eighteen= 2
- if(this.is_check_eighteen == false){
- is_check_eighteen =2
- }
- if(this.is_check_eighteen == true){
- is_check_eighteen =1
- }
-
- var is_check_nineteen= 2
- if(this.is_check_nineteen == false){
- is_check_nineteen =2
- }
- if(this.is_check_nineteen == true){
- is_check_nineteen =1
- }
-
- var record_date = this.record_date
- var ping_date = this.ping_date
-
- var params = {
- is_age:JSON.stringify(this.nianlin),//年龄
- is_jiwang:JSON.stringify(this.jiwang),//既往史
- is_yishizt:JSON.stringify(this.yishizt),//意识状态
- is_ganguan:JSON.stringify(this.ganguan),//感官
- is_shentizk:JSON.stringify(this.shentizk),// 身体状况
- is_syyaowu:JSON.stringify(this.syyaowu),//使用药物
- is_paixie:JSON.stringify(this.paixie),//排泄
- is_zilin:JSON.stringify(this.zilinl), //自理能力
- is_xiaoguo:JSON.stringify(this.xiaoguo),//预防效果
- is_touxidiedao:JSON.stringify(this.touxidiedao),//透析跌倒
- list:JSON.stringify(this.list),
- listOne:JSON.stringify(this.listOne),
- record_date:record_date,
- ping_date:ping_date,
- admin_user_id:this.admin_user_id,
- is_check:is_check,
- is_check_one:is_check_one,
- is_check_two:is_check_two,
- is_check_three:is_check_three,
- is_check_four:is_check_four,
- is_check_five:is_check_five,
- is_check_six:is_check_six,
- is_check_seven:is_check_seven,
- is_check_eight:is_check_eight,
- is_check_night:is_check_night,
- is_check_ten:is_check_ten,
- is_check_eleven:is_check_eleven,
- is_check_twelve:is_check_twelve,
- is_check_thirteen:is_check_thirteen,
- is_check_fourteen:is_check_fourteen,
- is_check_fifteen:is_check_fifteen,
- is_check_sixteen:is_check_sixteen,
- is_check_seventeen:is_check_seventeen,
- is_check_eighteen:is_check_eighteen,
- is_check_nineteen:is_check_nineteen,
- patient_id:this.patient_id,
- total:this.tumble_Totalpoints,
- id:this.fallassesment_id,
- }
- console.log("paramas---------",params)
-
- updatePatientFallassment(params).then(response=>{
- if(response.data.state==1){
- var patientFallassessment = response.data.data.patientFallassessment
- this.$message.success("保存成功!")
- this.bianji_dialogVisible=false
- this.getPatientFallsessmentList()
- }
- })
- }
- },
- created(){
- this.getPatientFallsessmentList()
- }
- }
- </script>
- <style lang="scss" scoped>
- .patient-app-containers {
- margin-left: 10px;
- margin-right: 10px;
- background: #fff;
- }
- .history{
- display: inline-block;
- border-left:2px solid gray ;
- padding: 0 10px;
- margin-left:10px;
- color: gray;
- font-size: 18px;
- }
- .diedao_content{
- background-color: white;
- width:960px;
- margin:0 auto;
- padding: 0 0 20px 0;
- }
- .tables tr td{
- padding:5px,
- }
- input{
- -webkit-appearance: checkbox;
- }
- p{
- margin: 10px 0;
- font-size: 16px;
- .rightjiange{
- margin-right: 40px;
- // font-size: 15px;
- }
- }
- .content_top{
- display: flex;
- justify-content: space-between;
-
- }
- .table{
- border: 1px solid #DCDFE6;
- border-collapse:collapse;
- border-spacing: 0;
- thead th{
- background: #0077ff9f;
- color: white;
- text-align: center;
- height: 40px;
- }
- tbody td{
- height: 40px;
- padding: 5px;
- }
- .start{
- text-align: center;
- }
- .bing{
- width: 150px;
- text-align: center;
- }
- .bg_color{
- background: rgb(243, 240, 240);
- }
- .jiange{
- margin-left: 20px;
- // color: black;
- }
- .xiaojige{
- margin-left: 10px;
- }
- .rightjiange{
- margin-right: 35px;
- font-size: 15px;
- }
- .ttbwzz-type-a {
- min-width: 80px;
- margin-right: 30px;
- padding: 5px 0px;
- font-size: 15px;
- }
- input{
- -webkit-appearance: checkbox;
- }
- }
- .biaotou{
- font-size: 18px;
- margin-bottom: 10px;
- color: #0077ff9f;
- // background-color: '#409eff';
- }
- ::-webkit-scrollbar {
- width: 5px;
- }
- ::-webkit-scrollbar-track {
- /*background black*/
- border-radius: 5px;
- background-color: white;
- }
- .table2 tr td{
- width: 50%;
- height: 40px;
- padding: 5px;
- }
- </style>
|