1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <!-- 样式写在component/common/jtbc.css里 -->
- <div 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 class="formWidth" v-model="form.patientName" placeholder="请输入患者姓名查询"></el-input>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">签约医生:</label>
- <el-input class="formWidth" v-model="form.doctorName" placeholder="请输入签约医生姓名查询"></el-input>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">服务类型:</label>
- <el-select v-model="form.serviceType" class="formWidth" placeholder="请选择" filterable>
- <el-option value="" label="全部"></el-option>
- <el-option v-for="(item,index) in health_bank_service_type" :key="item.value" :value="item.code" :label="item.value"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">数据范围:</label>
- <el-select class="formWidth" v-model="form.range" placeholder="请选择" @change="resetArea">
- <el-option v-for="(option, index) in rangeOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20 pr20">
- <label class="c-333 c-f14">地区:</label>
- <el-select class="formWidth" v-model="form.area" placeholder="请选择" @change="getHospital">
- <el-option v-for="(option, index) in areaOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20 pr20" v-if="form.range == 'hospital'||form.range == 'team'">
- <label class="c-333 c-f14">社区:</label>
- <el-select class="formWidth" v-model="form.hospital" placeholder="请选择" @change="getTeam">
- <el-option v-for="(option, index) in hospitalOptions" :label="option.name" :value="option.code" :key="option.code"></el-option>
- </el-select>
- </div>
- <div class="searchDiv pb20 pr20" v-if="form.range == 'team'">
- <label class="c-333 c-f14">团队:</label>
- <el-select class="formWidth" v-model="form.team" placeholder="请选择">
- <el-option v-for="(option, index) in teamOptions" :label="option.name" :value="option.id" :key="option.id"></el-option>
- </el-select>
- </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 border :data="tableData" style="width: 100%" v-loading="loading" class="mt20">
- <template>
- <el-table-column type="index" label="序号" align="center"></el-table-column>
- <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
- <el-table-column prop="name" label="居民" align="center"></el-table-column>
- <el-table-column prop="ssc" label="医保卡" align="center"></el-table-column>
- <el-table-column prop="idcard" label="身份证" align="center"></el-table-column>
- <el-table-column prop="mobile" label="手机号" align="center"></el-table-column>
- <el-table-column prop="address" label="地址" align="center" width="170"></el-table-column>
- <el-table-column prop="doctorName" label="签约医生" align="center"></el-table-column>
- <!-- <el-table-column prop="feeTotal" label="该居民已领取活动奖励的次数" align="center"></el-table-column>
- <el-table-column prop="rewardTimes" label="该居民已领取奖励的总金额" align="center" width="170"></el-table-column> -->
- <el-table-column prop="feeTotal" label="奖励金额" align="center"></el-table-column>
- <el-table-column prop="rewardTimes" label="领取次数" align="center"></el-table-column>
- </template>
- </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>
- </div>
|