1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570 |
- <template>
- <div class="main-contain">
- <div class="position">
- <bread-crumb :crumbs="crumbs" style="flex:1;"></bread-crumb>
- <!-- <div style="display: inline-block;position: relative;right: -30%;"> -->
- <el-button type="primary" @click="quan_ping">全屏</el-button>
- <!-- </div> -->
- </div>
- <div class="app-container" style="background-color: white">
- <div id="print_content">
- <div style="margin: 20px 0;">
- <div class="content_top">日期:
- <el-date-picker
- @change="date_picker"
- v-model="date"
- type="date"
- placeholder="选择日期">
- </el-date-picker>
- </div>
- <div class="content_top">排班班次:
- <el-select v-model="classes" placeholder="请选择" @change="banci_select">
- <el-option
- v-for="item in schedulArr"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="content_top">病区选择:
- <el-select v-model="bingqu" placeholder="请选择" @change="bingqu_select">
- <el-option
- v-for="item in partitionArr"
- :key="item.value"
- :label="item.name"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- <div class="content_top">隐藏备注:
- <el-switch
- v-model="hidder"
- active-color="#13ce66"
- inactive-color="#ff4949"
- active-text="ON"
- inactive-text="OFF">
- </el-switch>
- </div>
- <!-- <div style="display: inline-block;position: relative;right: -30%;">
- <el-button type="primary" @click="quan_ping">全屏</el-button>
- </div> -->
- </div>
- <div class="table_panel" v-for="(item, index) in tableData" :key="index">
- <table class="table">
- <thead>
- <tr>
- <td :width="td_1_width">分区</td>
- <td :width="td_3_width">病人姓名</td>
- </tr>
- </thead>
- <tbody>
- <tr v-for="(ite,index) in item.zones" :key="index">
- <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
- <td>
- <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
- <div v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':!hidder ? '110px': '30px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true" @dragover="allowDrop">
- <div class="huanzhekuai">
- <div v-for="(item2) in item.list" draggable="true" >
- <template >
- <div v-if="it.id==item2.bed_id" style="display: inline-block;">
- <div>
- <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
- <span v-if="!hidder" >
- <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
- <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
- <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
- </span>
- </div>
- </div>
- </template>
- </div>
- </div>
-
- </div>
- <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
- {{ it.number }}
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
- <!-- 双击弹窗 -->
- <el-dialog
- title="提示"
- :visible.sync="centerDialogVisible"
- width="30%"
- center>
- <div>
- <div style="display: flex;">
- <div style="width:150px;margin-right: 10px;">
- <div style="margin: 10px 0;">分区
- <el-select v-model="fenqu_dialog" placeholder="请选择" @change="dialogfenqu">
- <el-option
- v-for="item in partitionArr"
- :key="item.value"
- :label="item.name"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- <div>床位
- <el-select v-model="chuangwei" placeholder="请选择" @change="dialogchuangwei">
- <el-option
- v-for="item in subzone"
- :key="item.value"
- :label="item.number"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- </div>
- <div style="width:350px">
- <div style="display: flex;">
- <div>
- <div style="margin: 10px 30px 10px 10px;background: rgb(74 211 235 / 51%);height: 110px;width: 125px;text-align: center;">
- <span >{{ huanzhe.name}}({{getmode(huanzhe.mode_id)}})</span><br>
- <span style="font-size: 14px;margin-bottom: 5px;">
- {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
- </span><br>
- <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
- <span style="font-size: 13px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span>
- </div>
- <div style="margin-left: 10px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
- </div>
-
- <div>
- <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
- <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
- <span style="font-size: 14px;margin-bottom: 5px;">
- {{ genghuan.genghuan_fenqu }}-{{ genghuan.genghuan_chuang }}
- <!-- A1区-6号床 -->
- </span><br>
- <span style="font-size: 14px;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
- <span style="font-size: 13px;margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
- </div>
- <div style="margin-left: 10px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="centerDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="verify_dialog">确 定</el-button>
- </span>
- </el-dialog>
- <!-- 排班替换/交换提示弹窗 -->
- <el-dialog
- title="提示"
- :visible.sync="tipDialogVisible"
- width="300px"
- :modal-append-to-body='false'
- :close-on-click-modal="false"
- >
- <div>
- 所选位置已有排班,请选择操作
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button
- type="danger"
- @click="tipDialogVisibleTwo = true"
- >替换</el-button>
- <el-button
- type="primary"
- @click="tipDialogVisibleThree = true"
- >交换</el-button>
- <el-button @click="tipDialogVisible = false">取 消</el-button>
- </span>
- </el-dialog>
- <!-- 排班替换 -->
- <el-dialog
- title="提示"
- :visible.sync="tipDialogVisibleTwo"
- width="300px"
- class="replace"
- :modal-append-to-body='false'
- :close-on-click-modal="false"
- >
- <div>
- 是否将此位置排班替换
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button
- type="primary"
- @click="coverSch()"
- >确定</el-button>
-
- <el-button @click="tipDialogVisibleTwo = false">取 消</el-button>
- </span>
- </el-dialog>
- <!-- 将此位置排班互换 -->
- <el-dialog
- title="提示"
- :visible.sync="tipDialogVisibleThree"
- width="300px"
- class="exchange"
- :modal-append-to-body='false'
- :close-on-click-modal="false"
- >
- <div>
- 是否将此位置排班互换
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button
- type="primary"
- @click="changeSchTwo()"
- >确定</el-button>
- <el-button @click="tipDialogVisibleThree = false">取 消</el-button>
- </span>
- </el-dialog>
- </div>
- </div>
- <!-- 全屏 -->
- <div id="patient_quan" style="width: 100%;background: #fff;" v-if="quanping==true">
- <div class="position">
- <bread-crumb :crumbs="crumbs" style="flex:1;"></bread-crumb>
- <!-- <div style="display: inline-block;position: relative;right: -30%;"> -->
- <el-button type="primary" @click="quan_ping">取消全屏</el-button>
- <!-- </div> -->
- </div>
- <div style="margin: 20px 0;">
- <div class="content_top">日期:
- <el-date-picker
- @change="date_picker"
- v-model="date"
- type="date"
- placeholder="选择日期">
- </el-date-picker>
- </div>
- <div class="content_top">排班班次:
- <el-select v-model="classes" placeholder="请选择" @change="banci_select">
- <el-option
- v-for="item in schedulArr"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="content_top">病区选择:
- <el-select v-model="bingqu" placeholder="请选择" @change="bingqu_select">
- <el-option
- v-for="item in partitionArr"
- :key="item.value"
- :label="item.name"
- :value="item.id">
- </el-option>
- </el-select>
- </div>
- <div class="content_top">隐藏备注:
- <el-switch
- v-model="hidder"
- active-color="#13ce66"
- inactive-color="#ff4949"
- active-text="ON"
- inactive-text="OFF">
- </el-switch>
- </div>
-
- </div>
- <div class="table_panel" v-for="(item, index) in tableData" :key="index">
- <table class="table">
- <thead>
- <tr>
- <td :width="td_1_width">分区</td>
- <td :width="td_3_width">病人姓名</td>
- </tr>
- </thead>
- <tbody>
- <tr v-for="(ite,index) in item.zones" :key="index">
- <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
- <td>
- <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
- <div v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':!hidder ? '110px': '30px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true" @dragover="allowDrop">
- <div class="huanzhekuai">
- <div v-for="(item2) in item.list" draggable="true" >
- <template >
- <div v-if="it.id==item2.bed_id" style="display: inline-block;">
- <div>
- <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
- <span v-if="!hidder" >
- <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
- <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
- <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
- </span>
- </div>
- </div>
- </template>
- </div>
- </div>
-
- </div>
- <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
- {{ it.number }}
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
- </div>
- </div>
- </template>
-
- <script>
- import { GetAllZone, getSchedualPrintList } from '@/api/dialysis'
- import { parseTime } from '@/utils'
- import { uParseTime } from '@/utils/tools'
- import { getDataConfig } from '@/utils/data'
- import {CreateScheduleTwo} from '@/api/schedule'
- import {CoverSch,ExchangeSch,} from "@/api/schedule_template/sch_template";
- import BreadCrumb from '@/xt_pages/components/bread-crumb'
- import print from 'print-js'
- const moment = require('moment')
- // import {getAllZones} from "@/api/schedule"
- export default {
- name: 'SchedulePrint',
- data() {
- return {
- crumbs: [
- { path: false, name: '排班管理' },
- { path: false, name: '患者调班' }
- ],
- tipDialogVisible:false,
- tipDialogVisibleTwo:false,
- tipDialogVisibleThree:false,
- hidder: false,
- quanping:false,
- td_1_width: '8%',
- td_3_width: '90%',
- date:'',
- classes:1,
- bingqu:0,
- fenqu_dialog:0,
- chuangwei:519,
- options:[],
- centerDialogVisible:false,
- cur_drag_info:{
- id:'',
- name:'',
- quhao:'',
- chaung:'',
- patient_id:'',
- },
- currentData:{
- currentData_id:'',
- currentData_name:'',
- currentData_quhao:'',
- currentData_chaung:'',
- patient_id:'',
- bed_id:'',
- mode_id:'',
- partition_id:'',
- schedule_date:'',
- schedule_type:'',
- schedule_week: '',
- },
- // 交换空白时数据
- schedule:{
- schedule_date:'',
- schedule_type:'',
- bed_id:'',
- partition_id:'',
- schedule_week:'',
- mode_id:'',
- bed_name:'',
- contagions:'',
- id:0,
- partition_type:'',
- patient:'',
- patient_id:'',
- type_name:'',
- zone_name:''
- },
- schedulArr: [
- { value: 1, label: "上午" },
- { value: 2, label: "下午" },
- { value: 3, label: "晚上" }
- ],
- zones:[],
- schedules: [
- {
- day: 1,
- weekday: '星期一',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
-
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 2,
- weekday: '星期二',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 3,
- weekday: '星期三',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 4,
- weekday: '星期四',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 5,
- weekday: '星期五',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 6,
- weekday: '星期六',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- },
- {
- day: 7,
- weekday: '星期日',
- all: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- hdf: [
- /* schedule, ... */
- ],
- hd_hp: [
- /* schedule, ... */
- ],
- new_hdf: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- },
- new_hd_hp: {
- am: {
- /* zone_name: [ schedule, ... ] */
- },
- pm: {
- /* zone_name: [ schedule, ... ] */
- },
- evening: {
- /* zone_name: [ schedule, ... ] */
- }
- }
- }
- ],
- total: [],
- list: [],
- loading: false,
- tableData: [],
- numberlist: [],
- partitionArr: [],
- listname:[],
- mode:[{id:1,name:'HD'},{id:2,name:'HDF'},{id:3,name:'HD+HP'},{id:4,name:'HP'},{id:5,name:'HF'},{id:6,name:'SCUF'},{id:7,name:'IUF'},{id:8,name:'HFHD'},
- {id:9,name:'HFHD+HP'},{id:10,name:'PHF'},{id:11,name:'HFR'},{id:12,name:'HDF+HP'},{id:13,name:'CRRT'},{id:14,name:'腹水回输'},{id:15,name:'IUF+HD'},{id:16,name:'UF'},
- {id:17,name:'HD+'},{id:18,name:'血浆胆红素吸附+HDF'},{id:19,name:'血浆胆红素吸附'},{id:20,name:'I-HDF'},{id:21,name:'HD高通'},{id:22,name:'CVVH'},{id:23,name:'CVVHD'},
- {id:24,name:'CVVHDF'},{id:25,name:'PE'},{id:26,name:'血浆胆红素吸附+HP'},{id:27,name:'HPD'},{id:28,name:'HDP'}],
- subzone:[],
- huanzhe:{
- id:null,
- name:'',
- mode_id:'',
- zeng_fenqu:'',
- zeng_chuang:'',
- boolen_id:'',
- schedule_remark:'',
- patient_id:'',
- partition_id:'',
- schedule_week: '',
- },
- xian_fenqu:'',
- g_xian_fenqu:'',
- genghuan:{
- id:null,
- name:'',
- mode_id:'',
- genghuan_fenqu:'',
- genghuan_chuang:'',
- g_boolen_id:'',
- genghuan_remark:'',
- patient_id:'',
- },
- }
- },
- components: {
- BreadCrumb
- },
- created() {
- this.date= moment(new Date()).format("YYYY-MM-DD");
- console.log('dsafas',this.date);
- this.getAllZones()
- this.getlist()
- },
- mounted(){
- // console.log('8888',this.huanzhe.order.DeviceNumber.zone.name);
- },
- methods:{
- quan_ping(){
- if(this.quanping==false){
- // console.log('ttttt');
- return this.quanping=true
- }else{
- // console.log('fffff');
- return this.quanping=false
- }
- },
- drop(e,val,value){
- this.allowDrop(e)
- var bedid = ''
- var bedname=''
- var zonename=''
- var zoneid=''
- console.log('kkkkk',e.target.innerText);
- const inntext= e.target.innerText.split('(')[0]
- console.log('vvvv',inntext,val.list[0].new_name);
- for(let i=0;i<val.list.length;i++){
- if(inntext == val.list[i].new_name){
- console.log('6666',val,value);
- console.log('7777',this.numberlist);
- this.tipDialogVisible=true
- this.currentData={
- currentData_id:val.list[i].id,
- currentData_name:val.list[i].name,
- currentData_quhao:val.list[i].order.DeviceNumber.zone.name,
- currentData_chaung:val.list[i].order.DeviceNumber.number,
- patient_id:val.list[i].patient_id
- }
- }
- }
- for(let x=0;x<this.numberlist.length;x++){
- if(value==this.numberlist[x].number){
- bedid = this.numberlist[x].id
- bedname=this.numberlist[x].number
- zoneid =this.numberlist[x].zone_id
- }
- }
- for(let y=0;y<this.partitionArr.length;y++){
- if(zoneid == this.partitionArr[y].id){
- zonename = this.partitionArr[y].name
- }
- }
-
- if(e.target.innerText == ''){
- console.log('3333',e.target.innerText);
- this.schedule={
- schedule_date:this.date,
- schedule_type:this.classes,
- bed_id:bedid,
- partition_id:zoneid,
- schedule_week:this.cur_drag_info.schedule_week,
- mode_id:this.cur_drag_info.mode_id,
- bed_name:bedname,
- contagions:'',
- id:0,
- partition_type:'',
- patient:this.cur_drag_info.name,
- patient_id:this.cur_drag_info.patient_id,
- type_name:'',
- zone_name:zonename
- }
- this.currentData={
- currentData_id:0,
- currentData_name:this.cur_drag_info.name,
- currentData_quhao:this.cur_drag_info.quhao,
- currentData_chaung:this.cur_drag_info.chaung,
- patient_id:this.cur_drag_info.patient_id,
-
- }
- console.log('8888',this.currentData.currentData_id);
- this.setScheduleTwo(this.cur_drag_info.id)
- // var params={
- // patient_id:this.currentData.patient_id,
- // id_two:this.currentData.currentData_id
- // }
- // CreateScheduleTwo(this.currentData.patient_id,this.currentData.currentData_id).then((response)=>{
- // if (response.data.state == 0) {
- // this.$message.error(response.data.msg);
- // } else {
- // var schedule = response.data.data.schedule;
-
- // this.getlist()
- // }
- // })
- // this.CreateScheduleTwo(this.currentData.patient_id,this.currentData,this.currentData.currentData_id)
- }
-
- // for(let i=0;i<this.numberlist.length;i++){
- // for(let j=0;j<val.list.length;j++){
- // if(this.numberlist[i].id==val.list[y].bed_id){
-
- // }
- // }
- // }
- // this.currentData={
- // currentData_id:val.id,
- // currentData_name:val.name,
- // currentData_quhao:val.order.DeviceNumber.zone.name,
- // currentData_chaung:val.order.DeviceNumber.number,
- // },
-
- // this.currentData={
- // currentData_id:this.cur_drag_info.id,
- // currentData_name:this.cur_drag_info.name,
- // currentData_quhao:this.cur_drag_info.quhao,
- // currentData_chaung:this.cur_drag_info.chaung,
- // },
-
-
- },
- allowDrop(e) {
- e.preventDefault();
- },
- // 替换
- coverSch(){
- this.tipDialogVisible=false
- let params={
- id_one:this.cur_drag_info.id,
- id_two:this.currentData.currentData_id
- }
- CoverSch(params).then((response) => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- this.tipDialogVisibleTwo = false
- } else {
- console.log('888888888888',response.data);
- this.$message.success("替换成功");
- this.tipDialogVisible = false
- this.tipDialogVisibleTwo = false
- this.getlist();
- }
- });
- },
- // 交换
- changeSchTwo(){
- this.tipDialogVisible=false
- let params={
- id_one:this.cur_drag_info.id,
- id_two:this.currentData.currentData_id
-
- }
- ExchangeSch(params).then((response) => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- this.tipDialogVisibleThree = false
- } else {
- console.log('22222222',response.data);
- this.$message.success("交换成功");
- this.tipDialogVisible = false
- this.tipDialogVisibleThree = false
- this.getlist();
- }
- });
- },
- // 交换空白
- setScheduleTwo(id_two){
- this.CreateScheduleTwo(this.currentData.patient_id, this.schedule,id_two);
- },
- // 双击弹窗交换空白
- setSchedulethree(id_two){
- this.CreateScheduleTwo(this.huanzhe.patient_id, this.schedule,id_two);
- },
- async CreateScheduleTwo(id, data,id_two) {
- let response =await CreateScheduleTwo(id, data,id_two)
-
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- } else {
- var schedule = response.data.data.schedule;
- this.getlist()
- }
- },
- // 需要拖动的
- curInfoDragStart(e,val){
- const inntext2= e.target.innerText.split('(')[0]
- for(let i=0;i<val.list.length;i++){
- if(inntext2 == val.list[i].new_name){
- this.cur_drag_info={
- id:val.list[i].id,
- name:val.list[i].name,
- quhao:val.list[i].order.DeviceNumber.zone.name,
- chaung:val.list[i].order.DeviceNumber.number,
- patient_id:val.list[i].patient_id,
- bed_id:val.list[i].bed_id,
- mode_id:val.list[i].mode_id,
- partition_id:val.list[i].partition_id,
- schedule_date:this.date,
- schedule_type:this.classes,
- schedule_week: val.list[i].schedule_week,
- }
- }
- }
-
- console.log('bbbb',e.target.innerText);
- console.log('4444',val);
- console.log('5555',this.cur_drag_info);
- },
- // 选中日期
- date_picker(e){
- var time=moment(e).format("YYYY-MM-DD");
- console.log('sfddas',time);
- this.date=time
- this.getlist()
- },
- // 选择班次
- banci_select(e){
- console.log(e);
- for(let i=0;i<this.schedulArr.length;i++){
- if(e==this.schedulArr[i].value){
- this.classes = e
- }
- this.getlist()
- }
- },
- // 选择分区
- bingqu_select(e){
- console.log('1234546',e);
- for (let i = 0; i < this.partitionArr.length; i++) {
- if(e==this.partitionArr[i].id){
- this.bingqu=e
- }
- }
- this.getlist()
- },
- // 分区
- getAllZones() {
- GetAllZone().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- return false;
- } else {
- this.partitionArr = response.data.data.zone;
- this.partitionArr.unshift({ id: 0, name: "全部" });
- console.log('asfasdfsadfa',response.data.data);
- }
- });
- },
- getlist() {
-
- var params = {
- schedule_date: this.date,
- schedule_type: this.classes,
- partition_type: this.bingqu,
- keywords: '',
- page: 1,
- limit: 5000
- }
- this.loading = true
- this.tableData = []
- console.log('111111111',params);
- getSchedualPrintList(params).then((response) => {
- if (response.data.state == 1) {
- this.loading = false
- console.log('111111',response.data.data);
- var list = response.data.data.list
- this.list = list
- var listOne = response.data.data.listOne
- this.zones =listOne
- var numberlist=response.data.data.numberList
- this.numberlist= numberlist
- this.subzone = numberlist
- for(let i=0;i<list.length;i++){
- const new_name = 'new_name'
- list[i][new_name]=this.nameSplit(list[i].name)
-
- }
- console.log('9999',list);
- if (list != null && list.length > 0) {
- const dataInfo = {}
- list.forEach((item, index) => {
- const { schedule_type } = item
- if (!dataInfo[schedule_type]) {
- dataInfo[schedule_type] = {
- schedule_type: item.schedule_type,
- schedule_date: item.schedule_date,
- zones: [],
- list:[],
-
- }
- }
- })
- const arr = Object.values(dataInfo)
- // console.log('arr222', arr)
-
- if (arr != null && arr.length > 0) {
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < listOne.length; j++) {
- if (arr[i].schedule_type == listOne[j].schedule_type) {
- arr[i].zones.push(listOne[j])
- }
- }
- for(let x=0;x<list.length;x++){
- arr[i].list.push(list[x])
- }
- }
- }
- // console.log('排班数据------------------', arr)
-
- this.tableData = arr
- console.log('22222222',this.tableData);
- }
-
- this.numberList = response.data.data.numberList
- // console.log('list2332233232wo', list)
- // console.log('numberList', this.numberList)
- }
- })
- },
-
- getTimeOne(val) {
- if (val == '') {
- return ''
- } else {
- return uParseTime(val, '{y}-{m}-{d}')
- }
- },
-
- // getPatientName(schedule_type, partition_id) {
- // var str = ''
- // var arr = []
- // if (this.list != null && this.list.length > 0) {
- // for (let i = 0; i < this.list.length; i++) {
- // if (this.list[i].schedule_type == schedule_type && this.list[i].partition_id == partition_id) {
- // arr.push(this.list[i])
- // }
- // }
- // }
- // if (arr.length > 0) {
- // for (let i = 0; i < arr.length; i++) {
- // arr[i].name = this.nameSplit(arr[i].name)
- // console.log('666666',arr[i].name);
- // if (this.hiddenFlag) {
- // str+= arr[i].name + '        '
- // } else {
- // str+=arr[i].name
- // }
- // }
- // }
- // // console.log(str, 'strstrstr')
- // return str
- // },
- // 透析模式
- getmode(id){
- for(let i=0;i<this.mode.length;i++){
- if(id=this.mode[i].id){
- return this.mode[i].name
- }
- }
- },
- // 切割患者姓名
- nameSplit(val) {
- var reg = /[\u4e00-\u9fa5]/g
- let name = val
- name = name.substr(-4)
- var names = name.match(reg)
- name = names.join('')
- if (name.includes('区')) {
- name = name.replace('区', '')
- }
- if (name.includes('号')) {
- name = name.replace('号', '')
- }
- return name
- },
- // 分区
- getZoneName(id) {
- var name = ''
- for (let i = 0; i < this.partitionArr.length; i++) {
- if (id == this.partitionArr[i].id) {
- name = this.partitionArr[i].name
- }
- }
-
- return name
- },
- // 血管通路
- getBloodAccess(id) {
- var name = ''
- var list = getDataConfig(
- 'hemodialysis',
- 'vascular_access_desc'
- )
- for (let i = 0; i < list.length; i++) {
- if (id == list[i].id) {
- name = list[i].name
- }
- }
- return name
- },
- // 双击打开弹窗
- db_click(e,val){
- if(e.target.innerText !=''){
- this.centerDialogVisible=true
- this.xian_fenqu=val
- console.log('qqqqq',this.chuangwei,'val',val);
- for(let i=0;i<this.list.length;i++){
- // 双击弹窗的右侧第一个数据
- if(val.id==this.list[i].bed_id){
- console.log('zzzzz',this.list[i]);
- this.huanzhe.id=this.list[i].id
- this.huanzhe.name=this.list[i].name
- this.huanzhe.mode_id=this.list[i].mode_id
- this.huanzhe.zeng_fenqu=this.list[i].order.DeviceNumber.zone.name
- this.huanzhe.zeng_chuang = this.list[i].order.DeviceNumber.number
- this.huanzhe.boolen_id = this.list[i].order.blood_access_id
- this.huanzhe.schedule_remark = this.list[i].order.schedule_remark
- this.huanzhe.patient_id = this.list[i].patient_id
- this.huanzhe.partition_id = this.list[i].partition_id
- this.huanzhe.schedule_week= this.list[i].schedule_week
- // return this.huanzhe
- // console.log('55555',this.huanzhe);
- }
- // 双击弹窗的右侧第二个默认数据
- if(this.chuangwei==this.list[i].bed_id){
- console.log('xxxxx',this.chuangwei);
- this.genghuan.id = this.list[i].id
- this.genghuan.name=this.list[i].name
- this.genghuan.mode_id=this.list[i].mode_id
- this.genghuan.genghuan_fenqu=this.list[i].order.DeviceNumber.zone.name
- this.genghuan.genghuan_chuang = this.list[i].order.DeviceNumber.number
- this.genghuan.g_boolen_id = this.list[i].order.blood_access_id
- this.genghuan.genghuan_remark = this.list[i].order.schedule_remark
- this.genghuan.patient_id = this.list[i].patient_id
- // console.log('99999',this.genghuan);
- // console.log('000000',this.list[i].bed_id);
- // return this.genghuan
- }
- // // 第二的床位
- // for(let y=0;y<this.numberlist.length;y++){
- // if(this.chuangwei==this.numberlist[y].id){
- // this.g_xian_fenqu=this.numberlist[y]
- // }
- }
- // 第二的床位
- for(let y=0;y<this.numberlist.length;y++){
- if(this.chuangwei==this.numberlist[y].id){
- this.g_xian_fenqu=this.numberlist[y]
- }
- }
- return this.genghuan
- }else{
- this.centerDialogVisible=false
- }
-
- // console.log('双击弹窗',this.zeng_fenqu);
- // console.log('双击弹窗33',e);
- // console.log('双击弹窗333',value);
- },
- // 双击弹窗分区
- dialogfenqu(e){
- for (let i = 0; i < this.partitionArr.length; i++) {
- if(e==this.partitionArr[i].id){
- this.fenqu_dialog=e
- }
- }
- var params = {
- schedule_date: this.date,
- schedule_type: this.classes,
- partition_type: this.fenqu_dialog,
- keywords: '',
- page: 1,
- limit: 5000
- }
- getSchedualPrintList(params).then((response)=>{
- if (response.data.state == 1) {
- var list = response.data.data.list
- this.list = list
- var listOne = response.data.data.listOne
- this.zones =listOne
- var numberlist=response.data.data.numberList
- console.log('00000',this.list);
- this.subzone=[]
- for(let i=0;i<numberlist.length;i++){
- if(this.fenqu_dialog==0){
- this.subzone = numberlist
- this.chuangwei = numberlist[0].id//默认被交换的床位
- this.g_xian_fenqu = numberlist[0]//被交换的分区床位对象
- }
- if(this.fenqu_dialog==numberlist[i].zone_id){
- const obj={id:null,number:'',zone_id:null}
- obj.id=numberlist[i].id
- obj.number=numberlist[i].number
- obj.zone_id=numberlist[i].zone_id
- this.subzone.push(obj)
- this.chuangwei = this.subzone[0].id
- this.g_xian_fenqu=this.subzone[0]
- }
- }
- console.log('22222',this.g_xian_fenqu);
- // 默认的患者
- for(let i=0;i<this.list.length;i++){
- if(this.chuangwei==this.list[i].bed_id){
- this.genghuan.name=this.list[i].name
- this.genghuan.mode_id=this.list[i].mode_id
- this.genghuan.genghuan_fenqu=this.list[i].order.DeviceNumber.zone.name
- this.genghuan.genghuan_chuang = this.list[i].order.DeviceNumber.number
- this.genghuan.g_boolen_id =this.list[i].order.blood_access_id
- this.genghuan.genghuan_remark = this.list[i].order.schedule_remark
- console.log('99999',this.genghuan);
- console.log('000000',this.list[i].bed_id);
- return this.genghuan
- }else{
- console.log('eeeeee');
- this.genghuan.name=''
- this.genghuan.mode_id=''
- this.genghuan.genghuan_fenqu=''
- this.genghuan.genghuan_chuang = ''
- this.genghuan.g_boolen_id = ''
- this.genghuan.genghuan_remark =''
- // return this.genghuan
- // console.log('qqqqqq',this.list[i].bed_id);
- }
-
- }
- // this.numberlist= numberlist
- }
- })
- // console.log('77777',this.chuangwei);
- // for(let i=0;i<list.length;i++){
- // if(this.chuangwei==list[i].bed_id){
- // this.genghuan.name=list[i].name
- // this.genghuan.mode_id=list[i].mode_id
- // this.genghuan.genghuan_fenqu=list[i].order.DeviceNumber.zone.name
- // this.genghuan.genghuan_chuang = list[i].order.DeviceNumber.number
- // this.genghuan.g_boolen_id =list[i].order.blood_access_id
- // this.genghuan.genghuan_remark = list[i].order.schedule_remark
- // console.log('99999',this.genghuan);
- // console.log('000000',list[i].bed_id);
- // return this.genghuan
- // }else{
- // console.log('eeeeee');
- // this.genghuan.name=''
- // this.genghuan.mode_id=''
- // this.genghuan.genghuan_fenqu=''
- // this.genghuan.genghuan_chuang = ''
- // this.genghuan.g_boolen_id = ''
- // this.genghuan.genghuan_remark =''
- // // return this.genghuan
- // // console.log('qqqqqq',this.list[i].bed_id);
- // }
-
- // }
- },
- // 双击弹窗床位
- dialogchuangwei(e){
- console.log('333333',e);
- for (let i = 0; i < this.subzone.length; i++) {
- if(e==this.subzone[i].id){
- this.chuangwei=e
- }
- }
- for(let i=0;i<this.list.length;i++){
- if(this.chuangwei==this.list[i].bed_id){
- this.genghuan.id = this.list[i].id
- this.genghuan.name=this.list[i].name
- this.genghuan.mode_id=this.list[i].mode_id
- this.genghuan.genghuan_fenqu=this.list[i].order.DeviceNumber.zone.name
- this.genghuan.genghuan_chuang = this.list[i].order.DeviceNumber.number
- this.genghuan.g_boolen_id = this.list[i].order.blood_access_id
- this.genghuan.genghuan_remark = this.list[i].order.schedule_remark
-
- for(let y=0;y<this.subzone.length;y++){
- if(this.chuangwei==this.subzone[y].id){
- this.g_xian_fenqu=this.subzone[y]
- console.log('cccc',this.g_xian_fenqu);
- }
- }
- console.log('99999',this.genghuan);
- console.log('000000',this.list[i].bed_id);
- return this.genghuan
- }
- if(this.chuangwei!=this.list[i].bed_id){
- console.log('eeeeee');
- this.genghuan.id = null
- this.genghuan.name=''
- this.genghuan.mode_id=''
- this.genghuan.genghuan_fenqu=''
- this.genghuan.genghuan_chuang = ''
- this.genghuan.g_boolen_id = ''
- this.genghuan.genghuan_remark =''
- // return this.genghuan
- // console.log('qqqqqq',this.list[i].bed_id);
- }
- }
- // 更换的床位置
- for(let y=0;y<this.subzone.length;y++){
- if(this.chuangwei==this.subzone[y].id){
- this.g_xian_fenqu=this.subzone[y]
- console.log('cccc',this.g_xian_fenqu);
- }
- }
- },
- // 双击弹窗确定
- verify_dialog(){
- this.centerDialogVisible=false
- console.log('mmmmm',this.genghuan.id);
- if(this.genghuan.id != ''){
- for(let i=0;i<this.list.length;i++){
- if(this.chuangwei==this.list[i].bed_id){
- console.log('hhhhh',this.chuangwei);
- let params={
- id_one:this.huanzhe.id,
- id_two:this.genghuan.id
-
- }
- ExchangeSch(params).then((response) => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- this.tipDialogVisibleThree = false
- } else {
- console.log('22222222',response.data);
- this.$message.success("交换成功");
- this.tipDialogVisible = false
- this.tipDialogVisibleThree = false
- this.getlist();
- }
- });
- return this.genghuan
- }
- // // else{
- // // var zonename=''
- // // var bedname=''
- // // var zoneid=''
- // // console.log('6666',this.chuangwei);
- // // for(let y=0;y<this.subzone.length;y++){
- // // if(this.chuangwei == this.subzone[y].id){
- // // bedname=this.subzone[y].number
- // // zoneid=this.subzone[y].zone_id
- // // console.log('aaaa',this.chuangwei,this.subzone[y].id,this.subzone[y].number);
- // // this.schedule={
- // // schedule_date:this.date,
- // // schedule_type:this.classes,
- // // bed_id:this.chuangwei,
- // // partition_id:zoneid,
- // // schedule_week:this.huanzhe.schedule_week,
- // // mode_id:this.huanzhe.mode_id,
- // // bed_name:bedname,
- // // contagions:'',
- // // id:0,
- // // partition_type:'',
- // // patient:this.huanzhe.name,
- // // patient_id:this.huanzhe.patient_id,
- // // type_name:'',
- // // zone_name:zonename
- // // }
- // // this.setSchedulethree(this.huanzhe.id)
- // // return ''
- // // }
- // // }
- // // }
- }
- }
- // else if(this.genghuan.id == 'null'){
- var zonename=''
- var bedname=''
- var zoneid=''
- console.log('6666',this.chuangwei);
- for(let y=0;y<this.subzone.length;y++){
- if(this.chuangwei == this.subzone[y].id){
- bedname=this.subzone[y].number
- zoneid=this.subzone[y].zone_id
- console.log('aaaa',this.chuangwei,this.subzone[y].id,this.subzone[y].number);
- this.schedule={
- schedule_date:this.date,
- schedule_type:this.classes,
- bed_id:this.chuangwei,
- partition_id:zoneid,
- schedule_week:this.huanzhe.schedule_week,
- mode_id:this.huanzhe.mode_id,
- bed_name:bedname,
- contagions:'',
- id:0,
- partition_type:'',
- patient:this.huanzhe.name,
- patient_id:this.huanzhe.patient_id,
- type_name:'',
- zone_name:zonename
- }
- this.setSchedulethree(this.huanzhe.id)
- return ''
- }
- }
- // }
- }
- }
- }
- </script>
-
- <style rel="stylesheet/scss" lang="scss" scoped>
- #print_content {
- background-color: white;
- padding: 0 0 20px 0;
- .content_top{
- display: inline-block;
- }
- .order_title_panl {
- text-align: center;
-
- .main_title {
- font-size: 18px;
- line-height: 40px;
- font-weight: 500;
- }
- }
- .table_panel {
- .table {
- width: 100%;
- border: 1px solid;
- border-collapse: collapse;
- padding: 2px;
-
- thead {
- tr {
- td {
- border: 1px solid;
- text-align: center;
- font-size: 20px;
- padding: 15px 5px;
- }
- }
- }
- tbody {
- tr {
- td {
- border: 1px solid;
- // text-align: center;
- font-size: 18px;
- padding: 5px 5px;
-
- .huanzhekuai{
- width: 125px;
- display: inline-block;
- text-align: center;
- // margin:0 10px;
- }
- .huanzhekuais{
- width: 125px;
- // display: inline-block;
- text-align: center;
- margin:0 10px;
- // line-height: 110px;
- background: #30b8e394;
- }
-
- }
- }
- }
- }
- }
- }
- </style>
- <style lang="scss" scoped>
- #patient_quan{
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- overflow: auto;
- margin: 0;
- background: #fff;
- padding: 20px;
- height: 100%;
- z-index: 2000;
- .content_top{
- display: inline-block;
- }
- .table_panel {
- .table {
- width: 100%;
- border: 1px solid;
- border-collapse: collapse;
- padding: 2px;
-
- thead {
- tr {
- td {
- border: 1px solid;
- text-align: center;
- font-size: 20px;
- padding: 15px 5px;
- }
- }
- }
- tbody {
- tr {
- td {
- border: 1px solid;
- // text-align: center;
- font-size: 18px;
- padding: 5px 5px;
-
- .huanzhekuai{
- width: 125px;
- display: inline-block;
- text-align: center;
- // margin:0 10px;
- }
- .huanzhekuais{
- width: 125px;
- // display: inline-block;
- text-align: center;
- margin:0 10px;
- // line-height: 110px;
- background: #30b8e394;
- }
-
- }
- }
- }
- }
- }
- }
- </style>
-
|