123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!-- 家庭病床css文件位置位于/component/common/jtbc.css -->
- <div id="app" class="jtbc">
- <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">
- <el-radio v-model="yearType" label="1">按服务年度:</el-radio>
- <el-select v-model="chooseYear" class="formWidth wd160">
- <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
- </el-select>
- </label>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14" style="display: flex; align-items: center">
- <el-radio v-model="yearType" label="2">自定义服务时间:</el-radio>
- <el-date-picker
- v-model="chooseTime"
- type="daterange"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- value-format="yyyy-MM-dd"></el-date-picker>
- </label>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">查床人员:</label>
- <el-input v-model="form.doctorName" class="formWidth wd160" placeholder="请输入医生姓名查询"></el-input>
- </div>
- <div class="searchDiv pb20">
- <label class="c-333 c-f14">患者姓名:</label>
- <el-input v-model="form.patientName" class="formWidth wd160" placeholder="请输入患者姓名查询"></el-input>
- </div>
- <div class="searchDiv pb20">
- <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
- <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
- <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
- </div>
- </div>
- <el-table :data="tableData" style="width: 100%" v-loading="loading">
- <el-table-column type="index" min-width="60" label="序号"></el-table-column>
- <el-table-column :label="item.label" v-for="item in tableHeader" :key="item.prop" :width="item.width">
- <template slot-scope="scope">{{scope.row[item.prop]}}</template>
- </el-table-column>
- <el-table-column label="操作" align="center">
- <template slot-scope="scope">
- <el-button type="text" @click="previewRecord(scope.row)">查看查床记录</el-button>
- </template>
- </el-table-column>
- </el-table>
- <el-pagination
- @current-change="handleCurrentChange"
- @size-change="handleSizeChange"
- :current-page.sync="page"
- :page-size="size"
- :page-sizes="[10, 20, 50]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="total"
- class="pagination"></el-pagination>
- <el-dialog :visible.sync="dialogShow" title="查床计划" @close="closeDialog" width="750px">
- <div class="timeline-box">
- <div class="timeline" v-for="item in planList" :key="item.id">
- <div class="time">{{item.checkTime.substring(0,10)}}</div>
- <div class="circle" :class="getStatusCircleColor(item.checkPlanStatus)"></div>
- <div class="line"></div>
- <div class="name">{{item.patientName}}</div>
- <div class="statusName" :class="getStatusTextColor(item.checkPlanStatus)">{{item.checkPlanStatusName}}</div>
- </div>
- <div class="nodata" v-if="planList.length == 0">
- <img src="../../../images/nodata.png" alt="">
- 暂无查床计划
- </div>
- </div>
- </el-dialog>
- </div>
|