123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <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">
- <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" empty-text="暂无数据">
- <el-table-column type="index" min-width="60" label="序号"></el-table-column>
- <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
- <template slot-scope="scope">
- <span :class="`${['idcard','hospitalName'].includes(item.prop)&&scope.row.code?'pointer c-409eff':''}`" @click="openDialog(scope.row, item.prop)">
- {{scope.row[item.prop]}}
- </span>
- </template>
- </el-table-column>
- <el-table-column :label="item.label" v-for="(item,index) in tableHeaderChildren" :key="index" align="center">
- <el-table-column :label="el.label" :min-width="el.width" v-for="el in item.children" :key="el.prop">
- <template slot-scope="scope">
- <span :class="`${['vd1Num','v2Num','vd3Num','v4Num'].includes(el.prop)&&scope.row.code?'pointer c-409eff':''}`" @click="openDialog(scope.row, el.prop)">
- {{scope.row[el.prop]}}
- </span>
- </template>
- </el-table-column>
- </el-table-column>
- </el-table>
- <!-- 详情 -->
- <el-dialog :visible.sync="visible" :title="title" @close="closeDialog" width="1200px">
- <el-form inline size="mini">
- <el-form-item label="居民姓名:">
- <el-input v-model="query.name" placeholder="请输入居民姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="手机号码:">
- <el-input v-model="query.signHospitalName" placeholder="请输入手机号码查询"></el-input>
- </el-form-item>
- <el-form-item label="管理医生:">
- <el-input v-model="query.signDoctorName" placeholder="请输入管理医生查询"></el-input>
- </el-form-item>
- <el-form-item label="管理医院:">
- <el-select v-model="query.remind" disabled>
- <el-option label="和平县医院" value=""></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="服务方式:">
- <el-select v-model="query.serve" disabled>
- <el-option label="全部" value=""></el-option>
- </el-select>
- </el-form-item>
- <el-form-item>
- <el-button type="primary" @click="dialogSearchFn">查询</el-button>
- <el-button type="warning" @click="dialogExportFn" :disabled="dialogExportLoading">导出</el-button>
- <span @click="dialogReset" style="color: #676a6c; cursor: pointer">清除筛选条件</span>
- </el-form-item>
- </el-form>
- <el-table :data="dialogTableData" v-loading="dialogLoading" border>
- <el-table-column type="index" label="序号"></el-table-column>
- <el-table-column v-for="item in dialogHeader" :label="item.label" :prop="item.prop" :render-header="renderHeader">
- <template slot-scope="scope">
- <span :class="`${item.prop =='name'?'pointer c-409eff':''}`" @click="seePatientDetail(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
- </template>
- </el-table-column>
- </el-table>
- <div style="display: flex; justify-content: flex-end; margin-top: 10px">
- <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"
- ></el-pagination>
- </div>
- </el-dialog>
- <el-dialog title="消息提醒内容" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px">
- <div v-html="messTxt"></div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="messageVisible = false">取消</el-button>
- </span>
- </el-dialog>
- <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>
- </div>
|