12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108 |
- <template>
- <div class="main-contain">
- <div class="position">
- <bread-crumb :crumbs="crumbs"></bread-crumb>
- <div class="print" style="float:left;">
- <el-button
- v-if="queueConfig.txxqyxs == 1"
- size="small"
- type="primary"
- @click="call"
- >叫号</el-button
- >
- <el-button
- v-if="queueConfig.txxqyxs == 1"
- size="small"
- type="primary"
- @click="next"
- >下一位</el-button
- >
- <el-button
- size="small"
- type="primary"
- @click="printOrder"
- icon="el-icon-printer"
- >打印</el-button
- >
- </div>
- </div>
-
- <div
- class="loadingBox"
- v-loading="loading"
- element-loading-text="拼命加载中"
- element-loading-spinner="el-icon-loading"
- element-loading-background="rgba(0, 0, 0, 0.8)"
- >
- <div class="patientBox" style="width:300px;padding-left:10px;position: relative;">
- <el-button
- style="position: absolute;right:0;top:2px;z-index:10"
- size="small"
- type="primary"
- @click="refresh"
- >刷新</el-button>
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane label="候诊区" name="first">
- <div class="cell clearfix" style="margin-bottom:10px;">
- <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
- <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
- <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
- </div>
- <div class="cell clearfix" style="margin-bottom:10px;display:flex;">
- <el-select v-model="patientStateVal" placeholder="全部患者状态" style="margin-right:10px;" @change="handleStateChange">
- <el-option
- v-for="item in patient_state"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- <el-select v-model="treatStateVal" placeholder="全部治疗状态" style="margin-right:20px;" @change="handleTreatChange">
- <el-option
- v-for="item in treat_state"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="cell clearfix" style="margin-bottom:10px;display:flex;">
- <el-select v-model="scheduleStateVal" placeholder="班次" style="margin-right:10px;" @change="handletimeType">
- <el-option
- v-for="item in schedule_options"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- <el-select v-model="zoneVal" placeholder="分区" style="margin-right:20px;" @change="handleZoneChange">
- <el-option
- v-for="item in zone_options"
- :key="item.id"
- :label="item.text"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- <div style="padding-right:20px;">
- <el-table
- ref="tab"
- @row-click="changePatient"
- highlight-current-row
- :data="tableData"
- height="500"
- border
- style="width: 100%">
- <el-table-column
- prop="date"
- label="患者"
- >
- <template slot-scope="scope">
- {{ scope.row.patient.name }}
- <span v-if="scope.row.assessment_before_dislysis && patientStateVal == 1">
- ({{ getTime(scope.row.assessment_before_dislysis.created_time) }})
- </span>
- </template>
- </el-table-column>
- <el-table-column
- prop="name"
- label="状态"
- >
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;justify-content:space-around;">
- <span class="tip1" v-if="scope.row.prescription == null || scope.row.prescription.creater == 0">
- 待开处方
- </span>
- <span class="tip2" v-if="scope.row.assessment_before_dislysis == null || scope.row.assessment_before_dislysis.weight_before == ''">
- 待称重
- </span>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-tab-pane>
- <el-tab-pane label="透析区" name="second">
- <div class="cell clearfix" style="margin-bottom:10px;">
- <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
- <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
- <el-button size="small" class="filter-item" style="margin-right:20px;" type="primary" @click="searchAction">搜索</el-button>
- </div>
- <div class="cell clearfix" style="margin-bottom:10px;display:flex;">
- <el-select v-model="patientStateVal" placeholder="全部患者状态" style="margin-right:10px;" @change="handleStateChange">
- <el-option
- v-for="item in patient_state"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- <el-select v-model="treatStateVal" placeholder="全部治疗状态" style="margin-right:20px;" @change="handleTreatChange">
- <el-option
- v-for="item in treat_state"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="cell clearfix" style="margin-bottom:10px;display:flex;">
- <el-select v-model="scheduleStateVal" placeholder="班次" style="margin-right:10px;" @change="handletimeType">
- <el-option
- v-for="item in schedule_options"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- <el-select v-model="zoneVal" placeholder="分区" style="margin-right:20px;" @change="handleZoneChange">
- <el-option
- v-for="item in zone_options"
- :key="item.id"
- :label="item.text"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- <div style="padding-right:20px;">
- <el-table
- ref="tab1"
- @row-click="changePatient"
- highlight-current-row
- :data="tableData1"
- height="500"
- border
- style="width: 100%">
- <el-table-column
- prop="date"
- label="患者"
- >
- <template slot-scope="scope">
- {{ scope.row.patient.name }}
- <span v-if="scope.row.assessment_before_dislysis && patientStateVal == 1">
- ({{ getTime(scope.row.assessment_before_dislysis.created_time) }})
- </span>
- </template>
- </el-table-column>
- <el-table-column
- prop="name"
- label="状态"
- >
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;justify-content:space-around;">
- <span class="tip3" v-if="scope.row.dialysis_order ? scope.row.dialysis_order.stage == 1 : false">
- 已上机
- </span>
- <span class="tip4" v-if="scope.row.dialysis_order ? scope.row.dialysis_order.stage == 2 : false">
- 已下机
- </span>
- <span class="tip5" v-if="scope.row.treatment_summary == null || scope.row.treatment_summary.dialysis_summary == ''">
- 待开小结
- </span>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-tab-pane>
- </el-tabs>
-
-
-
-
- </div>
- <div style="width:75%" v-show="!showView">
- <div style="margin-left:60px;color:#34495e">
- <span>{{ patient.name }}({{ patient.dialysis_no }})</span>
- <span v-if="newTime != ''"> | </span>
- <span v-if="newTime != ''">签到时间:{{ newTime }}</span>
- </div>
-
- <nav-igation
- ref="nav"
- title="弹窗导航"
- @advice="adviceFunc"
- :patient="patient"
- :schedual="schedual"
- :prescription="prescription"
- :solution="solution"
- :receiver_treatment_access="receiver_treatment_access"
- :predialysis_evaluation="predialysis_evaluation"
- :doctor_advices="doctor_advices"
- :double_check="double_check"
- :assessment_after_dislysis="assessment_after_dislysis"
- :treatment_summary="treatment_summary"
- :monitor_records="monitor_records"
- :dialysis_order="dialysis_order"
- :admin_users="admin_users"
- :devices="devices"
- :device_numbers="device_numbers"
- :admin_user_map="admin_user_map"
- :device_map="device_map"
- :device_number_map="device_number_map"
- :niprocart_info="niprocart_info"
- :jms_info="jms_info"
- :fistula_needle_set_info="fistula_needle_set_info"
- :fistula_needle_set_16_info="fistula_needle_set_16_info"
- :hemoperfusion_info="hemoperfusion_info"
- :dialyser_sterilised_info="dialyser_sterilised_info"
- :filtryzer_info="filtryzer_info"
- :dialyzers_info="dialyzers_info"
- :injector_info="injector_info"
- :bloodlines_info="bloodlines_info"
- :tubingHemodialysis_info="tubingHemodialysis_info"
- :safe_package_info="safe_package_info"
- :aliquid_info="aliquid_info"
- :config="config"
- :longAdvices="longAdvices"
- :waitUploadAdvices="waitUploadAdvices"
- :is_open="is_open"
- :last_predialysis_evaluation="lastPredialysisEvaluation"
- :last_monitor_record="lastMonitorRecord"
- :last_assessment_after_dislysis="lastAssessmentAfterDislysis"
- :last_dialysis_prescribe="lastDialysisPrescribe"
- :last_dryWeight_dislysis="lastDryWeightDislysis"
- :special_premission="headNurses"
- @assessmentAfterDislysis="assessmentAfterDislysisFunc"
- :system_prescribe="system_prescribe"
- :his_is_open="his_is_open"
- :lastAssessment="lastAssessment"
- :stockType="stockType"
- >
- </nav-igation>
-
-
-
- <basic-infor
- :patient="patient"
- :device_number="schedual.id == 0 ? '' : schedual.device_number.number"
- :steps="steps"
- title="基本信息"
- ></basic-infor>
-
- <dialysis-prescription
- :prescription="prescription"
- :solution="solution"
- :device_map="device_map"
- :preparestock="preparestock"
- title="透析处方"
- ></dialysis-prescription>
-
-
-
- <!-- <past-data class="往期数据"></past-data> -->
- <div style="height: 20px;background-color: #f6f8f9"></div>
- <accepts-assessment
- :record="receiver_treatment_access"
- title="接诊评估"
- ></accepts-assessment>
-
- <assessment-before
- :record="predialysis_evaluation"
- ref="assessment_before"
- title="透前评估"
- ></assessment-before>
-
- <stat-order
- ref="stat_order"
- :advices="doctor_advices"
- :doctor_map="admin_user_map"
- title="临时医嘱"
- ></stat-order>
-
- <double-check
- ref="double_check"
- :record="double_check"
- :admin_map="admin_user_map"
- title="双人核对 "
- ></double-check>
-
- <dialysis-computer
- ref="dialysis_computer"
- :record="dialysis_order"
- :admin_map="admin_user_map"
- :device_number_map="device_number_map"
- title="透析上机 "
- ></dialysis-computer>
-
- <dialysis-monitoring
- ref="monitoring"
- :monitores="monitor_records"
- title="透析监测"
- ></dialysis-monitoring>
-
- <el-dialog
- title="长期医嘱单"
- :visible.sync="dialogFormVisible"
- width="960px"
- >
- <div class="printForm">
- <h1 class="title">长期医嘱单</h1>
- <div class="info">
- <ul>
- <li>
- <span class="name">姓名:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">性别:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">年龄:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">科别:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">床号:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">住院号:</span>
- <input type="text" class="InputBox" />
- </li>
- </ul>
- </div>
- <table
- border="1"
- style="border:1px #999 solid;margin-top:20px;"
- bordercolorlight="#fff"
- bordercolordark="#fff"
- width="100%"
- cellpadding="0"
- cellspacing="0"
- class="printTable"
- >
- <tbody>
- <tr align="center">
- <th style="width:20%;" colspan="2" align="center">起始</th>
- <th style="width:20%;" rowspan="2" align="center">医嘱</th>
- <th style="width:8%;" rowspan="2" align="center">医师签名</th>
- <th style="width:6%;" rowspan="2" align="center">执行护士签名</th>
- <th style="width:42%;" colspan="4" align="center">停止</th>
- </tr>
- <tr align="center">
- <th align="center">日期</th>
- <th align="center">时间</th>
- <th style="width:10%;" align="center">日期</th>
- <th style="width:10%;" align="center">时间</th>
- <th style="width:10%;" align="center">医师签名</th>
- <th style="width:6%;" align="center">执行护士签名</th>
- </tr>
- <tr align="center">
- <td>2018-90-09</td>
- <td>2018-90-09</td>
- <td>地方开发发地方开发发方发发发大渡岗</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- </tr>
- <tr align="center">
- <td>2018-90-09</td>
- <td>2018-90-09</td>
- <td>地方开发发地方开发发方发发发大渡岗</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-dialog>
-
- <el-dialog title="临时医嘱单" :visible.sync="orders" width="960px">
- <div class="printForm">
- <h1 class="title">临时医嘱单</h1>
- <div class="info">
- <ul>
- <li>
- <span class="name">姓名:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">性别:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">年龄:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">科:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">区:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">房:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">床:</span>
- <input type="text" class="InputBox" />
- </li>
- <li>
- <span class="name">住院号:</span>
- <input type="text" class="InputBox" />
- </li>
- </ul>
- </div>
- <table
- border="1"
- style="border:1px #999 solid;margin-top:20px;"
- bordercolorlight="#fff"
- bordercolordark="#fff"
- width="100%"
- cellpadding="0"
- cellspacing="0"
- class="printTable"
- >
- <tbody>
- <tr align="center">
- <th style="width:10%;" align="center">日期</th>
- <th style="width:10%;" align="center">时间</th>
- <th style="width:10%;" align="center">医生签名</th>
- <th style="width:40%;" align="center">医嘱内容</th>
- <th style="width:10%;" align="center">执行时间</th>
- <th style="width:10%;" align="center">护士签名</th>
- <th style="width:10%;" align="center">金额</th>
- </tr>
- <tr align="center">
- <td>2018-90-09</td>
- <td>2018-90-09</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>张三</td>
- <td>888</td>
- </tr>
- <tr align="center">
- <td>2018-90-09</td>
- <td>2018-90-09</td>
- <td>张三</td>
- <td>张三</td>
- <td>2018-90-09</td>
- <td>张三</td>
- <td>888</td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-dialog>
-
- <dialysis-off
- ref="dialysis_off"
- :record="dialysis_order"
- :admin_map="admin_user_map"
- title="透析下机 "
- ></dialysis-off>
-
- <assessment-after
- ref="assessment_after"
- :record="assessment_after_dislysis"
- title="透后评估"
- ></assessment-after>
-
- <treatment-of
- ref="treatment_of"
- :record="treatment_summary"
- title="治疗小结"
- ></treatment-of>
- </div>
- <div v-if="showView" style="text-align:center;margin: 0 auto;font-size:20px;">
- <p style="margin-top:20px;">当前叫号</p>
- <p style="margin-top:20px;">{{ $route.query.patient_name ? $route.query.patient_name : ""}}</p>
- <p style="margin-top:20px;">签到时间:{{ $route.query.curPatientTime ? getDates($route.query.curPatientTime) : '' }}</p>
- <p style="color:red;margin-top:20px;">提示:当前患者无排班,请先排班</p>
-
- </div>
- </div>
- </div>
- </template>
-
- <script>
- const moment = require('moment')
- import axios from 'axios'
- import NavIgation from './NavIgation'
- import BasicInfor from './BasicInfor'
- import DialysisPrescription from './DialysisPrescription'
- import PastData from './pastData'
- import AcceptsAssessment from './acceptsAssessment'
- import AssessmentBefore from './assessmentBefore'
- import StatOrder from './statOrder'
- import DialysisComputer from './dialysisComputer'
- import DoubleCheck from './doubleCheck'
- import DialysisMonitoring from './dialysisMonitoring'
- import DialysisOff from './dialysisOff'
- import AssessmentAfter from './assessmentAfter'
- import TreatmentOf from './treatmentOf'
- import OperationStaff from './operationStaff'
- import {
- getDialysisScheduleDetail,
- getLongAdvice,
- getDialysisRecordInitData,
- getDialysisSchedules
- } from '@/api/dialysis_record'
- import { parseTime } from '@/utils'
- import BreadCrumb from '@/xt_pages/components/bread-crumb'
-
- export default {
- name: 'index',
- components: {
- NavIgation,
- BasicInfor,
- DialysisPrescription,
- PastData,
- AcceptsAssessment,
- AssessmentBefore,
- StatOrder,
- DialysisComputer,
- DoubleCheck,
- DialysisMonitoring,
- DialysisOff,
- AssessmentAfter,
- TreatmentOf,
- OperationStaff,
- BreadCrumb
- },
- data() {
- return {
- crumbs: [
- { path: false, name: '透析管理' },
- { path: false, name: '透析记录' },
- { path: false, name: '透析单' }
- ],
- dialogFormVisible: false,
- orders: false,
- loading: false,
- patient_id: 0,
- date: 0,
-
- longAdvices: [],
- waitUploadAdvices: [],
- is_open: 0,
- targetAdvices: [],
-
- patient: { id: 0 }, // 患者信息
- schedual: { id: 0 }, // 患者排班信息
- prescription: { id: 0 }, // 透析处方
- solution: { id: 0 }, // 透析方案
- system_prescribe: { id: 0 },
- receiver_treatment_access: { id: 0 }, // 接诊评估
- predialysis_evaluation: { id: 0 }, // 透前评估
- doctor_advices: [], // 临时医嘱
- double_check: { id: 0 }, // 双人核对
- assessment_after_dislysis: { id: 0 }, // 透后评估
- treatment_summary: { id: 0 }, // 治疗小结
- monitor_records: [], // 透析监测
- dialysis_order: { id: 0 }, // 透析记录
- admin_users: [], // 系统用户列表
- devices: [], // 设备
- device_numbers: [], // 床位号
-
- admin_user_map: {}, // {user_id: admin_user object}
- device_map: {}, // {device_id: device}
- device_number_map: {}, // {device_number_id: device_number}
-
- niprocart_info: [],
- jms_info: [],
- fistula_needle_set_info: [],
- fistula_needle_set_16_info: [],
- hemoperfusion_info: [],
- dialyser_sterilised_info: [],
- filtryzer_info: [],
- dialyzers_info: [],
- injector_info: [],
- bloodlines_info: [],
- tubingHemodialysis_info: [],
- safe_package_info: [],
- aliquid_info: [],
- config: {},
-
- his_is_open:0,
-
- lastPredialysisEvaluation: { id: 0 },
- lastMonitorRecord: { id: 0 },
- lastAssessmentAfterDislysis: { id: 0 },
- lastDryWeightDislysis: { id: 0 },
- lastAssessment:{id:0},
- headNurses: [],
- lastDialysisPrescribe: { id: 0 },
- //
- activeName: 'first',
- selected_date: new Date(),
- // search_input 和 search_keyword,使输入关键字时不会经常刷新 filtedSchedules
- search_keyword: '', // 确定用于搜索的关键字
- search_input: '', // 输入中的关键字
- patient_state: [
- { value: 0, label: '全部患者' },
- { value: 1, label: '已签到' },
- { value: 2, label: '未签到' },
- { value: 3, label: '已上机' },
- { value: 4, label: '已下机' }
- ],
- patientStateVal: 0,
- treat_state: [
- { value: 0, label: '全部治疗' },
- { value: 1, label: '待开处方' },
- { value: 2, label: '待开小结' },
- { value: 3, label: '待医嘱核对' },
- ],
- treatStateVal: 0,
- schedule_options: [
- { value: 0, label: '全部班' },
- { value: 1, label: '上午' },
- { value: 2, label: '下午' },
- { value: 3, label: '晚上' }
- ],
- scheduleStateVal: 0,
- zone_options: [
- { id: 0, text: '全部分区' }
- ],
- zoneVal: 0,
- tableData: [],
- tableData1: [],
- arr: [],
- newName: '',
- newTime: '',
- scheudle_mode:"",
-
-
- showView:false,
- curPatient:{},
-
- queueConfig:{},
- stockType:[],
- preparestock:[]
- }
- },
- created() {
- if(this.$route.query.showView){
- this.showView = this.$route.query.showView
- }
- if(sessionStorage.getItem("nameActive")){
- this.activeName = sessionStorage.getItem("nameActive")
- }
- var patient_id = this.$route.query.patient_id
- var date = this.$route.query.date
- this.patient_id = patient_id
- this.date = date
-
- this.getScheduleDetail()
- this.getLongAdvice()
-
- this.selected_date = this.$route.query.date * 1000
- var schedule_type_selected = this.$store.getters.schedule_type_selected
- var zone_selected = this.$store.getters.zone_selected
- var patient_state_selected = this.$store.getters.patient_state_selected
- var treat_state_selected = this.$store.getters.treat_state_selected
- var selected_date = this.$store.getters.selected_date
- if (schedule_type_selected) {
- this.scheduleStateVal = schedule_type_selected.schedule_type_selected
- }
- if (zone_selected) {
- this.zoneVal = zone_selected.zone_selected
- }
- if (patient_state_selected) {
- this.patientStateVal = patient_state_selected.patient_state_selected
- }
- if (treat_state_selected) {
- this.treatStateVal = treat_state_selected.treat_state_selected
- }
- if (selected_date.selected_date) {
- this.selected_date = selected_date.selected_date
- }
-
- this.initData = {
- cmd: "queue/join",
- data: {type:3,page:0,size:0},
- };
- this.websocketSend(this.initData)
-
- this.getInitData()
- },
- beforeMount() {
- if (this.websocket) {
- if (this.websocket.readyState == 1) {
- console.log('执行1')
- this.websocketMess();
- } else {
- setTimeout(() => {
- console.log('执行2')
- this.websocketMess();
- }, 1000);
- }
- } else {
- setTimeout(() => {
- if (this.websocket) {
- console.log('执行3')
- this.websocketMess();
- } else {
- setTimeout(() => {
- console.log('执行4')
- this.websocketMess();
- }, 1000);
- }
- }, 1000);
- }
- },
- mounted() {
- const timer = setInterval(() => {
- // this.getInitData();
- this.requestDialysisSchedules()
- }, 1000 * 30)
- // 通过$once来监听定时器,在beforeDestroy钩子可以被清除。
- this.$once('hook:beforeDestroy', () => {
- clearInterval(timer)
- })
-
- let obj = {
- cmd: "queue/join",
- data: {type:3,page:0,size:0},
- };
- this.websocketSend(obj)
- },
- computed: {
- websocket() {
- return this.$store.state.user.websocket;
- },
- steps: function() {
- var steps = [
- { title: '透析处方', finish: false },
- { title: '接诊评估', finish: false },
- { title: '透前评估', finish: false },
- { title: '临时医嘱', finish: false },
- { title: '双人核对', finish: false },
- { title: '透析上机', finish: false },
- { title: '透析监测', finish: false },
- { title: '透析下机', finish: false },
- { title: '透后评估', finish: false },
- { title: '治疗小结', finish: false }
- ]
-
- steps[0].finish = this.prescription.id && this.prescription.creater > 0
- steps[1].finish = this.receiver_treatment_access.id > 0
- steps[2].finish =
- this.predialysis_evaluation.id > 0 &&
- this.predialysis_evaluation.creater > 0
- steps[3].finish = this.doctor_advices.length > 0
- steps[5].finish = this.dialysis_order.id > 0
- steps[7].finish =
- this.dialysis_order.id > 0 && this.dialysis_order.stage == 2
-
- steps[4].finish =
- this.double_check.id > 0 &&
- this.double_check.creater > 0 &&
- this.double_check.modifier > 0
- steps[6].finish = this.monitor_records.length > 0
- steps[8].finish =
- this.assessment_after_dislysis.id > 0 &&
- this.assessment_after_dislysis.creater > 0
- steps[9].finish = this.treatment_summary.id > 0
-
- return steps
- },
- filtedSchedules: function() {
- var search_keyword = this.search_keyword
- if (search_keyword.length > 0) {
- var schedules = []
- for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
- const scheduleInfo = this.zone_schedules[o_i]
- var originSchedules = scheduleInfo.schedules
- if (originSchedules.length == 0) {
- continue
- }
- var filtedSchedules = []
- for (let s_i = 0; s_i < originSchedules.length; s_i++) {
- const schedule = originSchedules[s_i]
- if (schedule.patient.name.indexOf(search_keyword) != -1) {
- filtedSchedules.push(schedule)
- // break
- }
- }
- if (filtedSchedules.length > 0) {
- schedules.push({ zone_id: scheduleInfo.zone_id, zone_name: scheduleInfo.zone_name, schedules: filtedSchedules })
- }
- }
- return schedules
- }
-
- // var zone_selected = this.zoneVal
- // var timetype_selected = this.scheduleStateVal
- // if ((zone_selected == 0 && timetype_selected == 0) || this.zone_options.length <= 1) {
- // var schedules = []
- // for (let index = 0; index < this.zone_schedules.length; index++) {
- // const scheduleInfo = this.zone_schedules[index]
- // if (scheduleInfo.schedules.length != 0) {
- // schedules.push(scheduleInfo)
- // }
- // }
- // return schedules
- // }
-
- // var schedules = []
- // for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
- // const scheduleInfo = this.zone_schedules[o_i]
- // if (zone_selected == scheduleInfo.zone_id && timetype_selected == 0) {
- // if (scheduleInfo.schedules.length == 0) {
- // return []
- // } else {
- // return [scheduleInfo]
- // }
- // }
- // var originSchedules = scheduleInfo.schedules
- // if (originSchedules.length == 0) {
- // continue
- // }
- // var filtedSchedules = []
- // for (let s_i = 0; s_i < originSchedules.length; s_i++) {
- // const schedule = originSchedules[s_i]
- // if (zone_selected != 0) {
- // if (zone_selected == schedule.device_number.zone.id) {
- // if (timetype_selected == 0 || schedule.schedule_type == timetype_selected) {
- // filtedSchedules.push(schedule)
- // }
- // }
- // } else {
- // if (timetype_selected == 0 || schedule.schedule_type == timetype_selected) {
- // filtedSchedules.push(schedule)
- // }
- // }
- // }
- // if (filtedSchedules.length > 0) {
- // schedules.push({ zone_id: scheduleInfo.zone_id, zone_name: scheduleInfo.zone_name, schedules: filtedSchedules })
- // }
- // }
-
- // return schedules
- }
- },
- beforeDestroy(){
-
- let unObj = {
- cmd: "queue/unjoin",
- data: {type:3},
- };
- this.websocketSend(unObj)
- },
- methods: {
- adviceFunc() {
- this.getScheduleDetail()
- },
- getLongAdvice() {
- const params = {
- patient_id: this.patient_id
- }
- getLongAdvice(params).then(rs => {
- var resp = rs.data
- if (resp.state == 1) {
- var status = parseInt(resp.data.status)
-
- switch (status) {
- case 2:
- var totalAdvice = resp.data.advices
- var longAdvicesTwo = resp.data.advices_two
- var waitUploadAdvices = []
- for (let i = 0; i < totalAdvice.length; i++) {
- totalAdvice[i]['isCheck'] = 1
- }
-
- for (let i = 0; i < totalAdvice.length; i++) {
- for (let a = 0; a < longAdvicesTwo.length; a++) {
- if (
- totalAdvice[i].template_id ==
- longAdvicesTwo[a].template_id &&
- totalAdvice[i].frequency_type ==
- longAdvicesTwo[a].frequency_type
- ) {
- totalAdvice[i]['isCheck'] = 0
- }
- }
- }
-
- for (let i = 0; i < totalAdvice.length; i++) {
- if (totalAdvice[i].isCheck == 1) {
- waitUploadAdvices.push(totalAdvice[i])
- }
- }
-
- this.is_open = resp.data.is_open_remind
- if(this.his_is_open == 1){
- this.is_open = 0
- }
- this.longAdvices = totalAdvice
- this.waitUploadAdvices = waitUploadAdvices
- break
- }
- } else {
- this.$message.error(resp.msg)
- }
- })
- },
- assessmentAfterDislysisFunc: function(val) {
- for (var index in val) {
- this.$set(this.assessment_after_dislysis, index, val[index])
- }
- },
- didDelMonitor(record_id) {
- var mrl = this.monitor_records.length
- for (let index = 0; index < mrl; index++) {
- if (this.monitor_records[index].id == record_id) {
- this.monitor_records.splice(index, 1)
- break
- }
- }
- },
- getScheduleDetail: function() {
- this.loading = true
- var dateStr = parseTime(this.date, '{y}-{m}-{d}')
- if(this.$route.query.showView == true){
- this.loading = false
- return
- }
-
- this.doctor_advices = []
- getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
-
- var resp = rs.data
- if (resp.state == 1) {
- var patient = resp.data.patient // 患者信息
- var schedual = resp.data.schedual // 患者排班信息
- // console.log("排班22222222222",schedual)
- var prescription = resp.data.prescription // 透析处方
-
- if (prescription != null) {
- if (prescription.body_fluid == -2) {
- prescription.body_fluid = 0
- }
- if(prescription.bilirubin_adsorption_column == 0){
- prescription.bilirubin_adsorption_column = ""
- }
-
- if(prescription.plasma_separator == 0){
- prescription.plasma_separator = ""
- }
- }
-
- var solution = resp.data.solution // 透析方案
- // console.log("透析方案22223333333333",solution)
- var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
-
- var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
- // console.log("透器评估",predialysis_evaluation)
- if (predialysis_evaluation != null) {
- if (predialysis_evaluation.blood_access_part_id == -2) {
- predialysis_evaluation.blood_access_part_id = 0
- }
- if(predialysis_evaluation.blood_pressure_during_dialysis == 0){
- predialysis_evaluation.blood_pressure_during_dialysis = ""
- }
- }
- var doctor_advices = resp.data.doctor_advices // 临时医嘱
-
- var double_check = resp.data.double_check // 双人核对
- var assessment_after_dislysis = resp.data.assessment_after_dislysis // 透后评估
-
- var treatment_summary = resp.data.treatment_summary // 治疗小结
- var monitor_records = resp.data.monitor_records // 透析监测
- var dialysis_order = resp.data.dialysis_order // 透析记录
-
- var niprocart_info = resp.data.niprocart_info
- var jms_info = resp.data.jms_info
- var fistula_needle_set_info = resp.data.fistula_needle_set_info
- var fistula_needle_set_16_info = resp.data.fistula_needle_set_16_info
- var hemoperfusion_info = resp.data.hemoperfusion_info
- var dialyser_sterilised_info = resp.data.dialyser_sterilised_info
- var filtryzer_info = resp.data.filtryzer_info
- var dialyzers_info = resp.data.dialyzers_info
- var injector_info = resp.data.injector_info
- var bloodlines_info = resp.data.bloodlines_info
- var tubingHemodialysis_info = resp.data.tubingHemodialysis_info
- var safe_package_info = resp.data.safe_package_info
- var aliquid_info = resp.data.aliquid_info
-
- var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation
-
- if (lastPredialysisEvaluation != null) {
- if (lastPredialysisEvaluation.blood_access_part_id == -2) {
- lastPredialysisEvaluation.blood_access_part_id = 0
- }
- }
- var lastMonitorRecord = resp.data.lastMonitorRecord
- var lastAssessmentAfterDislysis = resp.data.lastAssessmentAfterDislysis
- // if(lastAssessmentAfterDislysis.hypertenison!=""){
- // lastAssessmentAfterDislysis.hypertenison = lastAssessmentAfterDislysis.hypertenison.toString()
- // }
- // if(lastAssessmentAfterDislysis.hypopiesia!=""){
- // lastAssessmentAfterDislysis.hypopiesia = lastAssessmentAfterDislysis.hypopiesia.toString()
- // }
- var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
- var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
-
- var system_prescribe = resp.data.system_prescribe
-
- var lastAssessment = resp.data.lastAssessment
- // console.log("最后一次血管通路",lastAssessment)
- this.$refs.nav.setLastRecord(
- lastPredialysisEvaluation,
- lastMonitorRecord,
- lastAssessmentAfterDislysis,
- lastDialysisPrescribe,
- lastDryWeightDislysis,
- schedual,
- system_prescribe,
- lastAssessment,
- )
-
- var headNurses = resp.data.headNurse
-
- var config = resp.data.config
- this.lastPredialysisEvaluation = lastPredialysisEvaluation
- this.lastMonitorRecord = lastMonitorRecord
- this.lastAssessmentAfterDislysis = lastAssessmentAfterDislysis
- this.lastDialysisPrescribe = lastDialysisPrescribe
- this.lastDryWeightDislysis = lastDryWeightDislysis
- this.lastAssessment = lastAssessment
- this.headNurses = headNurses
- this.system_prescribe = system_prescribe
-
-
-
- this.niprocart_info = []
- this.jms_info = []
- this.fistula_needle_set_info = []
- this.fistula_needle_set_16_info = []
- this.hemoperfusion_info = []
- this.dialyser_sterilised_info = []
-
- this.filtryzer_info = []
- this.dialyzers_info = []
- this.injector_info = []
-
- this.bloodlines_info = []
- this.tubingHemodialysis_info = []
- this.safe_package_info = []
- this.aliquid_info = []
-
-
-
-
-
- this.niprocart_info = niprocart_info
- this.jms_info = jms_info
- this.fistula_needle_set_info = fistula_needle_set_info
- this.fistula_needle_set_16_info = fistula_needle_set_16_info
- this.hemoperfusion_info = hemoperfusion_info
- this.dialyser_sterilised_info = dialyser_sterilised_info
- this.filtryzer_info = filtryzer_info
- this.dialyzers_info = dialyzers_info
- this.injector_info = injector_info
- this.bloodlines_info = bloodlines_info
- this.tubingHemodialysis_info = tubingHemodialysis_info
- this.safe_package_info = safe_package_info
- this.aliquid_info = aliquid_info
- this.config = config
-
- this.patient = patient
- this.schedual = schedual == null ? { id: 0 } : schedual
- this.prescription = prescription == null ? { id: 0 } : prescription
- this.solution = solution == null ? { id: 0 } : solution
- this.receiver_treatment_access =
- receiver_treatment_access == null
- ? { id: 0 }
- : receiver_treatment_access
- this.predialysis_evaluation =
- predialysis_evaluation == null ? { id: 0 } : predialysis_evaluation
- this.doctor_advices = doctor_advices == null ? [] : doctor_advices
- this.double_check = double_check == null ? { id: 0 } : double_check
- this.assessment_after_dislysis =
- assessment_after_dislysis == null
- ? { id: 0 }
- : assessment_after_dislysis
- this.treatment_summary =
- treatment_summary == null ? { id: 0 } : treatment_summary
- this.monitor_records = monitor_records == null ? [] : monitor_records
- this.dialysis_order =
- dialysis_order == null ? { id: 0 } : dialysis_order
-
-
-
- this.admin_users = resp.data.doctors
- this.devices = resp.data.devices
- this.device_numbers = resp.data.device_numbers
-
- var his_doctor_advices = resp.data.his_advices
-
- this.his_is_open = resp.data.is_open_config.is_open
- console.log(this.his_is_open)
-
-
-
- var stockType = resp.data.stockType
- this.stockType = stockType
- console.log("stockTYPW",stockType)
-
- var prepare = resp.data.prepare
- if(prepare!=null){
- this.preparestock = prepare
- }else{
- this.preparestock = []
- }
- console.log("prepare222222",prepare)
-
- for (let i = 0; i < this.doctor_advices.length; i++){
- this.doctor_advices[i]['origin'] = 1
- }
-
- if (his_doctor_advices != null) {
- for (let i = 0; i < his_doctor_advices.length; i++) {
- his_doctor_advices[i]['origin'] = 2
- his_doctor_advices[i]['way'] = 1
- this.doctor_advices.push(his_doctor_advices[i])
- }
- }
-
- const obj = {}
- this.doctor_advices = this.doctor_advices.reduce((cur, next) => {
- obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
- return cur
- }, []) // 设置cur默认类型为数组,并且初始值为空的数组
-
- console.log(this.doctor_advices)
-
-
- var device_map = {}
- for (let index = 0; index < this.devices.length; index++) {
- const device = this.devices[index]
- device_map[device.id] = device
- }
- this.device_map = device_map
-
- var admin_map = {}
- for (let index = 0; index < this.admin_users.length; index++) {
- const admin = this.admin_users[index]
- admin_map[admin.id] = admin
- }
- this.admin_user_map = admin_map
-
- var device_number_map = {}
- for (let index = 0; index < this.device_numbers.length; index++) {
- const device_number = this.device_numbers[index]
- device_number_map[device_number.id] = device_number
- }
- this.device_number_map = device_number_map
- } else {
- this.$message.error(resp.msg)
- }
-
- // 目标超滤量是否默认上次数据
- if (this.lastDialysisPrescribe != null) {
- delete this.lastDialysisPrescribe.target_ultrafiltration
- }
- if (this.solution != null) {
- delete this.solution.target_ultrafiltration
- }
- if(this.predialysis_evaluation.id > 0){
- this.newTime = parseTime(this.predialysis_evaluation.created_time, '{h}:{i}')
- }
-
- this.loading = false
- })
- },
- printOrder() {
- var xtdate = parseTime(this.date, '{y}-{m}-{d}')
- this.$router.push(
- '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
- )
- },
- // 日期
- handleScheduleDateChange: function(index) {
- this.treatStateVal = 0
- this.patientStateVal = 0
- this.zoneVal = 0
- this.scheduleStateVal = 0
- this.search_keyword = this.search_input = ''
- // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
- // zone: this.zone_selected,
- // schedule_type: this.schedule_type_selected,
- // schedule_date: this.selected_date,
- // })
- this.selected_date = index
- this.$store.dispatch('SetSelectedDate', { selected_date: index })
- this.requestDialysisSchedules()
- },
- // 初始化数据
- getInitData: function() {
- getDialysisRecordInitData().then(rs => {
- var resp = rs.data
- if (resp.state == 1) {
- var zones = resp.data.zones
- var schedules = resp.data.schedules
- var zone_options = [{ id: 0, text: '全部分区' }]
- for (let z_i = 0; z_i < zones.length; z_i++) {
- const zone = zones[z_i]
- zone_options.push({ id: zone.id, text: zone.name })
- }
- this.zone_options = zone_options
- this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
- this.requestDialysisSchedules()
- } else {
- this.$message.error(resp.msg)
- }
- })
- },
- // 班次
- handletimeType: function(index) {
- this.scheduleStateVal = index
- this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
- this.search_keyword = this.search_input = ''
- this.getData()
- },
- // 分区
- handleZoneChange: function(index) {
- this.zoneVal = index
- this.$store.dispatch('SetZoneSelected', { zone_selected: index })
- this.search_keyword = this.search_input = ''
- this.getData()
- },
- // 患者状态
- handleStateChange: function(index) {
- this.patientStateVal = index
- this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
- this.search_keyword = this.search_input = ''
- this.getData()
- },
- handleTreatChange: function(index) {
- this.treatStateVal = index
- this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
- this.search_keyword = this.search_input = ''
- this.getData()
- },
- processedDialysisSchedules: function(schedules, zone_options) {
- var zoneMap = {}
- var scheduleMap = {}
- for (let z_i = 0; z_i < zone_options.length; z_i++) {
- const zone = zone_options[z_i]
- if (zone.id == 0) {
- continue
- }
- scheduleMap[zone.id] = []
- }
- for (let index = 0; index < schedules.length; index++) {
- const schedule = schedules[index]
- scheduleMap[schedule.device_number.zone.id].push(schedule)
- }
- var zone_schedules = []
- for (let index = 0; index < zone_options.length; index++) {
- const zone = zone_options[index]
- if (zone.id == 0) {
- continue
- }
- var schedules = scheduleMap[zone.id]
- zone_schedules.push({ zone_id: zone.id, zone_name: zone.text, schedules: schedules })
- }
- return zone_schedules
- },
- searchAction: function() {
- this.search_keyword = this.search_input
- this.scheduleStateVal = 0
- this.zoneVal = 0
- this.treatStateVal = 0
- this.patientStateVal = 0
- if (this.search_input != '') {
- const arr = []
- this.filtedSchedules.map(item => {
- arr.push(...item.schedules)
- })
- if (this.activeName == 'first') {
- this.tableData = arr
- } else if (this.activeName == 'second') {
- this.tableData1 = arr
- }
- } else {
- this.getData()
- }
- },
- requestDialysisSchedules: function() {
- var ymd = parseTime(this.selected_date, '{y}-{m}-{d}')
- console.log("ymd233223232",ymd)
- console.log("prescription",this.prescription)
- getDialysisSchedules(ymd).then(rs => {
- var resp = rs.data
- if (resp.state == 1) {
- var schedules = resp.data.schedules
- // if(this.prescription!=null){
- // for(let i=0;i<schedules.length;i++){
- // if(this.prescription.patient_id == schedules[i].patient_id){
- // this.prescription = schedules[i].prescription
- // }
- // }
- // }
-
- // console.log("hh2332223323232",schedules)
- this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
- const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
- if (this.activeName == 'first') {
- for (let i = 0; i < patientArr.length; i++) {
- for (let j = 0; j < patientArr[i].schedules.length; j++) {
- if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order != null) {
- // 删除元素后改变i的值
- patientArr[i].schedules.splice(j--, 1)
- }
- }
- }
- } else if (this.activeName == 'second') {
- for (let i = 0; i < patientArr.length; i++) {
- for (let j = 0; j < patientArr[i].schedules.length; j++) {
- if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order == null) {
- // 删除元素后改变i的值
- patientArr[i].schedules.splice(j--, 1)
- }
- }
- }
- }
- const newArr = []
- patientArr.map(item => {
- newArr.push(...item.schedules)
- })
- this.tableData = newArr
- this.getData()
- // console.log(66666666666,this.tableData)
- } else {
- this.$message.error(resp.msg)
- }
- })
- },
- changePatient(schedual) {
- this.patient_id = schedual.patient_id
- this.date = schedual.schedule_date
- // this.getScheduleDetail();
- this.getLongAdvice();
-
- var patient_id = schedual.patient_id
- var date = schedual.schedule_date
- this.$router.push({
- path: '/dialysis/details',
- query: {
- patient_id: patient_id,
- date: date,
- patient_name: schedual.patient.name,
- mode_id:schedual.mode_id
- }
- })
- },
- handleClick(type) {
- sessionStorage.setItem('nameActive', type.name);
- this.getData()
- },
- getData() {
- let patientArr = []
- patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
-
- if (this.activeName == 'first') {
- for (let i = 0; i < patientArr.length; i++) {
- for (let j = 0; j < patientArr[i].schedules.length; j++) {
- if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order != null) {
- // 删除元素后改变i的值
-
- // console.log('候诊区', patientArr[i].schedules[j])
- patientArr[i].schedules.splice(j--, 1)
- }
- }
- }
- let arr1 = []
- if (this.patientStateVal == 0) {
- arr1 = patientArr
- } else if (this.patientStateVal == 1) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis == null || (arr[i].schedules[j].assessment_before_dislysis.weight_before == '' && arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure == '' && arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure == ''))) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- // console.log('执行1', arr)
- arr1 = arr
- } else if (this.patientStateVal == 2) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis != null && (arr[i].schedules[j].assessment_before_dislysis.weight_before != 0 || arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure != 0 || arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure != 0))) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- // console.log('执行2', arr)
- arr1 = arr
- }
-
- let arr2 = []
- if (this.treatStateVal == 0) {
- arr2 = JSON.parse(JSON.stringify(arr1))
- } else if (this.treatStateVal == 1) {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr1))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].prescription != null || arr[i].schedules[j].prescription != null ? arr[i].schedules[j].prescription.creater != 0 : false)) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- arr2 = arr
- } else if(this.treatStateVal == 3){
- let arr = []
- arr = JSON.parse(JSON.stringify(arr1))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if(arr[i].schedules[j].doctor_advice.length == 0){
- arr[i].schedules.splice(j--, 1)
- }
- if(arr[i].schedules && arr[i].schedules[j] && arr[i].schedules[j].doctor_advice){
- let sign = 0
- arr[i].schedules[j].doctor_advice.map(item => {
- if(item.check_state == 1){
- sign++
- }
- })
- if(sign == arr[i].schedules[j].doctor_advice.length && arr[i].schedules[j].doctor_advice.length > 0){
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- }
- arr2 = arr
- }
-
- let arr3 = []
- if (this.scheduleStateVal == 0) {
- arr3 = JSON.parse(JSON.stringify(arr2))
- } else {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr2))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (this.scheduleStateVal != arr[i].schedules[j].schedule_type) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- arr3 = arr
- }
-
- let arr4 = []
- if (this.zoneVal == 0) {
- arr4 = JSON.parse(JSON.stringify(arr3))
- } else {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr3))
- for (let i = 0; i < arr.length; i++) {
- if (this.zoneVal != arr[i].zone_id) {
- // 删除元素后改变i的值
- arr.splice(i--, 1)
- }
- }
- arr4 = arr
- }
- const newArr = []
- arr4.map(item => {
- newArr.push(...item.schedules)
- })
- if(this.patientStateVal == 1){
- newArr.map(item => {
- item.created_time = item.assessment_before_dislysis.created_time
- })
- newArr.sort(this.compare('created_time'))
- }
- // console.log('排序',newArr)
- this.tableData = newArr
- const name = this.$route.query.patient_name
- this.tableData.map((item, index) => {
- if (name == item.patient.name) {
- // if (item.assessment_before_dislysis != null) {
- // this.newTime = parseTime(item.assessment_before_dislysis.created_time, '{h}:{i}')
- // }
-
- setTimeout(() => {
- this.$refs.tab.setCurrentRow(this.tableData[index])
- }, 10)
- }
- })
- } else if (this.activeName == 'second') {
- for (let i = 0; i < patientArr.length; i++) {
- for (let j = 0; j < patientArr[i].schedules.length; j++) {
- if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order == null) {
- // 删除元素后改变i的值
- console.log('透析区', patientArr[i].schedules[j])
- patientArr[i].schedules.splice(j--, 1)
- }
- }
- }
- let arr1 = []
- console.log('patientArr', patientArr)
- // let patientArr =
- if (this.patientStateVal == 0) {
- arr1 = patientArr
- } else if (this.patientStateVal == 1) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis == null || (arr[i].schedules[j].assessment_before_dislysis.weight_before == '' && arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure == '' && arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure == ''))) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- console.log('执行1', arr)
- arr1 = arr
- } else if (this.patientStateVal == 2) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis != null && (arr[i].schedules[j].assessment_before_dislysis.weight_before != 0 || arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure != 0 || arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure != 0))) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- console.log('执行2', arr)
- arr1 = arr
- } else if (this.patientStateVal == 3) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 1)) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- console.log('执行1', arr)
- arr1 = arr
- } else if (this.patientStateVal == 4) {
- let arr = []
- arr = patientArr
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 2)) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- console.log('执行2', arr)
- arr1 = arr
- }
-
- let arr2 = []
- if (this.treatStateVal == 0) {
- arr2 = JSON.parse(JSON.stringify(arr1))
- } else if (this.treatStateVal == 2) {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr1))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (arr[i].schedules.length > 0 && arr[i].schedules[j].treatment_summary != null && arr[i].schedules[j].treatment_summary.dialysis_summary != '') {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- arr2 = arr
- } else if(this.treatStateVal == 3){
- let arr = []
- arr = JSON.parse(JSON.stringify(arr1))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- console.log(77777777777,arr[i].schedules)
- if(arr[i].schedules[j].doctor_advice.length == 0){
- arr[i].schedules.splice(j--, 1)
- }
- if(arr[i].schedules && arr[i].schedules[j] && arr[i].schedules[j].doctor_advice){
- let sign = 0
- arr[i].schedules[j].doctor_advice.map(item => {
- if(item.check_state == 1){
- sign++
- }
- })
- if(sign == arr[i].schedules[j].doctor_advice.length && arr[i].schedules[j].doctor_advice.length > 0){
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- }
- arr2 = arr
- }
-
- let arr3 = []
- if (this.scheduleStateVal == 0) {
- arr3 = JSON.parse(JSON.stringify(arr2))
- } else {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr2))
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (this.scheduleStateVal != arr[i].schedules[j].schedule_type) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1)
- }
- }
- }
- arr3 = arr
- }
-
- let arr4 = []
- if (this.zoneVal == 0) {
- arr4 = JSON.parse(JSON.stringify(arr3))
- } else {
- let arr = []
- arr = JSON.parse(JSON.stringify(arr3))
- for (let i = 0; i < arr.length; i++) {
- if (this.zoneVal != arr[i].zone_id) {
- // 删除元素后改变i的值
- arr.splice(i--, 1)
- }
- }
- arr4 = arr
- }
- const newArr = []
- arr4.map(item => {
- newArr.push(...item.schedules)
- })
- if(this.patientStateVal == 1){
- newArr.map(item => {
- item.created_time = item.assessment_before_dislysis.created_time
- })
- newArr.sort(this.compare('created_time'))
- }
- this.tableData1 = newArr
- const name = this.$route.query.patient_name
- this.tableData1.map((item, index) => {
- if (name == item.patient.name) {
- // if (item.assessment_before_dislysis != null) {
- // this.newTime = parseTime(item.assessment_before_dislysis.created_time, '{h}:{i}')
- // }
-
- setTimeout(() => {
- this.$refs.tab1.setCurrentRow(this.tableData1[index])
- }, 10)
- }
- })
- }
- },
- compare(property){
- return function(a,b){
- var value1 = a[property];
- var value2 = b[property];
- return value2 - value1;
- }
- },
- getTime(date){
- date = new Date(date * 1000)
- var Y = date.getFullYear() + '-';
- var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1);
- var D = (date.getDate() < 10 ? '0'+date.getDate() : date.getDate());
- var h = (date.getHours() < 10 ? '0'+date.getHours() : date.getHours());
- var m = (date.getMinutes() < 10 ? '0'+date.getMinutes() : date.getMinutes());
- var s = (date.getSeconds() < 10 ? '0'+date.getSeconds() : date.getSeconds());
-
- let strDate = h + ':' + m;
- return strDate;
- },
- refresh(){
- this.requestDialysisSchedules()
- },
- websocketSend(data) {
- try {
- this.websocket.send(JSON.stringify(data))
-
- } catch (error) {
- this.showError = true;
- this.showIndex = 4;
- this.errorInfo = "网络异常,请稍后退出重试!";
- }
- },
- websocketMess() {
- console.log('执行',this.websocket)
- this.websocket.onmessage = e => {
- let res = JSON.parse(e.data);
- // let res = re.data;
- // console.log('res3333333333',res)
- if(res.channel == 'queue/join'){
- let timeType = null
- if(this.scheduleStateVal == 1){
- timeType = 1
- }else if(this.scheduleStateVal == 2){
- timeType = 2
- }else{
- if(new Date().getHours() < 10){
- timeType = 1
- }else if(new Date().getHours() >= 10){
- timeType = 2
- }
- }
- let fisrtQueueInfo = []
- this.newFisrtQueueInfo = res.data.fisrtQueueInfo
- this.queueConfig = res.data.queueConfig
- if(res.data.fisrtQueueInfo != null){
- if(timeType == 1){
- fisrtQueueInfo = res.data.fisrtQueueInfo.morning
- if(fisrtQueueInfo.create_time){
- fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
- }
- }else if(timeType == 2){
- fisrtQueueInfo = res.data.fisrtQueueInfo.afternoon
- if(fisrtQueueInfo.create_time){
- fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
- }
- }
- }
- this.fisrtQueueInfo = fisrtQueueInfo
-
- // this.fisrtQueueInfo = res.data.fisrtQueueInfo
- let arr = res.data.patientQueueList.data
- let waitingCalledArr = []
- let calledArr = []
- arr.map(item => {
- if(item.status == 1){
- // item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
- waitingCalledArr.push(item)
- }else if(item.status == 2){
- // item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
- calledArr.push(item)
- }
- })
- console.log('waitingCalledArr待叫号',waitingCalledArr)
- console.log('waitingCalledArr以较好',calledArr)
- this.waitingCalled = waitingCalledArr
- this.called = calledArr
- }else if(res.channel == 'allQueueList'){
- let arr = res.data.queue_list.data
- let waitingCalledArr = []
- let calledArr = []
- arr.map(item => {
- if(item.status == 1){
- // item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
- waitingCalledArr.push(item)
- }else if(item.status == 2){
- // item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
- calledArr.push(item)
- }
- })
- this.waitingCalled = waitingCalledArr
- this.called = calledArr
- }else if(res.channel == 'patientCallInfo'){
- res.data.patientInfo.create_time = moment(res.data.patientInfo.create_time * 1000).format('HH:mm')
- this.fisrtQueueInfo = res.data.patientInfo
- }else if(res.channel == 'fisrtQueueInfo'){
- if(this.scheduleStateVal == 1){
- timeType = 1
- }else if(this.scheduleStateVal == 2){
- timeType = 2
- }else{
- if(new Date().getHours() < 10){
- timeType = 1
- }else if(new Date().getHours() >= 10){
- timeType = 2
- }
- }
- let fisrtQueueInfo = []
- this.newFisrtQueueInfo = res.data.patientInfo
- if(res.data.patientInfo != null){
- if(timeType == 1){
- fisrtQueueInfo = res.data.patientInfo.morning
- if(fisrtQueueInfo.create_time){
- fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
- }
- }else if(timeType == 2){
- fisrtQueueInfo = res.data.patientInfo.afternoon
- if(fisrtQueueInfo.create_time){
- fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
- }
- }
- }
- this.fisrtQueueInfo = fisrtQueueInfo
- }
- }
- },
- call(){
- // console.log('patient_id',patient_id)
- let org_id = parseInt(sessionStorage.getItem("org_id"));
- let admin_user_id = parseInt(sessionStorage.getItem("admin_user_id"));
- axios.get('/api/index/callpatient?org_id=' + org_id + '&patient_id=' + this.patient_id + '&admin_user_id=' + admin_user_id).then(res => {
- console.log(res)
- // let patientArr = res.data.queue_list.data
- // this.patientArr = patientArr
- // this.$emit('child-event',this.patientArr)
- if(res.data.data.patientInfo == null){
- this.$message.error('已经是最后一位了');
- return
- }
- if(res.data.code == 200){
- this.$message({
- message: res.data.msg,
- type: 'success'
- });
- this.curPatient = res.data.data.patientInfo
- let arr = []
- let newArr = []
- this.zone_schedules.map(item => {
- newArr.push(...item.schedules)
- })
- newArr.map(item => {
- arr.push(item.patient_id)
- })
- if(arr.indexOf(parseInt(res.data.data.patientInfo.patient_id)) > -1){
-
- this.showView = false
- this.$router.push({
- path: '/dialysis/details',
- query: {
- patient_id: parseInt(res.data.data.patientInfo.patient_id),
- date: this.$route.query.date,
- patient_name: res.data.data.patientInfo.patient_name,
- mode_id:newArr[arr.indexOf(parseInt(res.data.data.patientInfo.patient_id))].mode_id,
- curPatientTime:res.data.data.patientInfo.create_time,
- showView:false
- }
- })
-
- }else {
-
- this.showView = true
- this.$router.push({
- path: '/dialysis/details',
- query: {
- patient_id: parseInt(res.data.data.patientInfo.patient_id),
- date: this.$route.query.date,
- patient_name: res.data.data.patientInfo.patient_name,
- mode_id:this.$route.query.mode_id,
- curPatientTime:res.data.data.patientInfo.create_time,
- showView:true
- }
- })
- }
- }
- })
- },
- next(){
- let schedule_type = null
- if(new Date().getHours() < 11){
- schedule_type = 1
- }else {
- schedule_type = 2
- }
- console.log('patient_id',this.$route.query.date)
- let org_id = parseInt(sessionStorage.getItem("org_id"));
- let admin_user_id = parseInt(sessionStorage.getItem("admin_user_id"));
- axios.get('/api/index/nextcall?org_id=' + org_id + '&patient_id=' + this.patient_id + '&admin_user_id=' + admin_user_id + '&schedule_type=' + schedule_type).then(res => {
- console.log(res)
- if(res.data.data.patientInfo == null){
- this.$message.error('已经是最后一位了');
- return
- }
- if(res.data.code == 200){
- this.$message({
- message: res.data.msg,
- type: 'success'
- });
- this.curPatient = res.data.data.patientInfo
- let arr = []
- let newArr = []
- this.zone_schedules.map(item => {
- newArr.push(...item.schedules)
- })
- newArr.map(item => {
- arr.push(item.patient_id)
- })
- if(arr.indexOf(parseInt(res.data.data.patientInfo.patient_id)) > -1){
- this.showView = false
- this.$router.push({
- path: '/dialysis/details',
- query: {
- patient_id: parseInt(res.data.data.patientInfo.patient_id),
- date: this.$route.query.date,
- patient_name: res.data.data.patientInfo.patient_name,
- mode_id:newArr[arr.indexOf(parseInt(res.data.data.patientInfo.patient_id))].mode_id,
- curPatientTime:res.data.data.patientInfo.create_time,
- showView:false
- }
- })
- }else {
- this.showView = true
- this.$router.push({
- path: '/dialysis/details',
- query: {
- patient_id: parseInt(res.data.data.patientInfo.patient_id),
- date: this.$route.query.date,
- patient_name: res.data.data.patientInfo.patient_name,
- mode_id:this.$route.query.mode_id,
- curPatientTime:res.data.data.patientInfo.create_time,
- showView:true
- }
- })
- }
- }
- })
- },
- getDates(time){
- return moment(time * 1000).format('HH:mm:ss')
- }
- }
- }
- </script>
-
- <style style="stylesheet/scss" lang="scss" scoped>
- .details-bg {
- background: #fff;
- margin: 0 15px;
- }
- .printForm {
- .title {
- font-size: 30px;
- font-weight: 500;
- text-align: center;
- line-height: 60px;
- }
- .info {
- ul {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- align-items: center;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- -o-box-sizing: border-box;
- -ms-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-justify-content: space-around;
- -moz-justify-content: space-around;
- -ms-justify-content: space-around;
- -o-justify-content: space-around;
- justify-content: space-around;
- li {
- display: flex;
- box-sizing: border-box;
- justify-content: space-around;
- .name {
- }
- .InputBox {
- padding: 0;
- border: none;
- border-bottom: 1px #e5e5e5 solid;
- width: 60px;
- outline: none;
- }
- }
- }
- }
- .printTable {
- tr {
- padding: 2px;
- th {
- padding: 6px 4px;
- }
- td {
- padding: 6px 4px;
- }
- }
- }
- }
- .loadingBox{
- display: flex;
- .patientBox{
- background: #fff;
- }
- .tip1{
- background: #4fc7cb;
- border-radius: 5px;
- text-align: center;
- font-size: 12px;
- display: inline-block;
- width: 60px;
- color: #fff;
- }
- .tip2{
- background: #ee8556;
- border-radius: 5px;
- text-align: center;
- font-size: 12px;
- display: inline-block;
- width: 60px;
- color: #fff;
- }
- .tip3{
- background: #409eff;
- border-radius: 5px;
- text-align: center;
- font-size: 12px;
- display: inline-block;
- width: 60px;
- color: #fff;
- }
- .tip4{
- background: #a8b3ba;
- border-radius: 5px;
- text-align: center;
- font-size: 12px;
- display: inline-block;
- width: 60px;
- color: #fff;
- }
- .tip5{
- background: #7bce91;
- border-radius: 5px;
- text-align: center;
- font-size: 12px;
- display: inline-block;
- width: 60px;
- color: #fff;
- }
- }
- </style>
-
- <style lang="scss">
- .loadingBox{
- .el-loading-spinner{
- top:10%;
- }
- .el-button--small, .el-button--small.is-round{
- padding:9px 10px;
- }
- .el-date-editor{
- .el-input__inner{
- padding-right:0px;
- }
- }
- .el-table td, .el-table th{
- text-align: center;
- }
- .el-table .cell{
- padding: 0;
- }
- }
- </style>
|