index.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!-- css文件位置位于/component/common/jtbc.css -->
  2. <div id="app" class="jtbc">
  3. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
  4. <div class="searchDiv pb20 pr20">
  5. <label class="c-333 c-f14">
  6. <el-radio v-model="yearType" label="1">按下转年份:</el-radio>
  7. <el-select v-model="chooseYear" class="formWidth wd160">
  8. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  9. </el-select>
  10. </label>
  11. </div>
  12. <div class="searchDiv pb20 pr20">
  13. <label class="c-333 c-f14" style="display: flex; align-items: center">
  14. <el-radio v-model="yearType" label="2">下转时间:</el-radio>
  15. <el-date-picker
  16. v-model="chooseTime"
  17. type="daterange"
  18. range-separator="至"
  19. start-placeholder="开始日期"
  20. end-placeholder="结束日期"
  21. value-format="yyyy-MM-dd"></el-date-picker>
  22. </label>
  23. </div>
  24. <div class="searchDiv pb20 pr20">
  25. <label class="c-333 c-f14">签约状态:</label>
  26. <el-radio v-model="form.isSign" label="1">是</el-radio>
  27. <el-radio v-model="form.isSign" label="0">否</el-radio>
  28. </div>
  29. <div class="searchDiv pb20 pr20">
  30. <label class="c-333 c-f14">居民姓名:</label>
  31. <el-input v-model="form.name" placeholder="请输入居民姓名查询"></el-input>
  32. </div>
  33. <div class="searchDiv pb20 pr20">
  34. <label class="c-333 c-f14">就诊类型:</label>
  35. <el-select v-model="form.eventType" clearable>
  36. <el-option label="门诊" value="1"></el-option>
  37. <el-option label="住院" value="2"></el-option>
  38. </el-select>
  39. </div>
  40. <div class="searchDiv pb20 pr20">
  41. <label class="c-333 c-f14">数据范围:</label>
  42. <el-select class="formWidth" v-model="form.range" placeholder="请选择" @change="resetArea">
  43. <el-option v-for="(option, index) in rangeOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
  44. </el-select>
  45. </div>
  46. <div class="searchDiv pb20 pr20">
  47. <label class="c-333 c-f14">地区:</label>
  48. <el-select class="formWidth" v-model="form.area" placeholder="请选择" @change="getHospital">
  49. <el-option v-for="(option, index) in areaOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
  50. </el-select>
  51. </div>
  52. <div class="searchDiv pb20 pr20" v-if="form.range == 'hospital'||form.range == 'team'">
  53. <label class="c-333 c-f14">社区:</label>
  54. <el-select class="formWidth" v-model="form.hospital" placeholder="请选择" @change="getTeam">
  55. <el-option v-for="(option, index) in hospitalOptions" :label="option.name" :value="option.code" :key="option.code"></el-option>
  56. </el-select>
  57. </div>
  58. <div class="searchDiv pb20 pr20" v-if="form.range == 'team'">
  59. <label class="c-333 c-f14">团队:</label>
  60. <el-select class="formWidth" v-model="form.team" placeholder="请选择">
  61. <el-option v-for="(option, index) in teamOptions" :label="option.name" :value="option.id" :key="option.id"></el-option>
  62. </el-select>
  63. </div>
  64. <div class="searchDiv pb20">
  65. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  66. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  67. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  68. </div>
  69. </div>
  70. <el-table :data="tableData" style="width: 100%" v-loading="loading">
  71. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  72. <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
  73. <template slot-scope="scope">{{scope.row[item.prop]}}</template>
  74. </el-table-column>
  75. <el-table-column label="操作" align="center" width="130px">
  76. <template slot-scope="scope">
  77. <el-button type="text" @click="openDialog(scope)">查看筛查表单</el-button>
  78. </template>
  79. </el-table-column>
  80. </el-table>
  81. <el-pagination
  82. @current-change="handleCurrentChange"
  83. @size-change="handleSizeChange"
  84. :current-page.sync="page"
  85. :page-size="size"
  86. :page-sizes="[10, 20, 50]"
  87. layout="total, sizes, prev, pager, next, jumper"
  88. :total="total"
  89. class="pagination"></el-pagination>
  90. <el-dialog :visible="visible" title="查看随访结果" @close="closeDialog" width="850px">
  91. <el-row :gutter="20" style="margin-top: -20px;">
  92. <el-col :span="12" class="follow-col">随访表单:冠心病日常随访(社区)</el-col>
  93. <el-col :span="12" class="follow-col">随访医生:{{info.doctorName}}</el-col>
  94. <el-col :span="12" class="follow-col">随访对象:{{info.name}}({{info.sex}} {{info.age}}岁)</el-col>
  95. </el-row>
  96. <el-form label-position="left" label-width="120px" class="follow-dialog-form">
  97. <el-form-item label="姓名" required>
  98. <el-input v-model="record.patientName" placeholder="请输入姓名" :readonly="true"></el-input>
  99. </el-form-item>
  100. <el-form-item label="随访日期" required>
  101. <el-date-picker v-model="record.followupDate" type="datetime" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" placeholder="请选择随访日期"></el-date-picker>
  102. </el-form-item>
  103. <el-form-item label="随访医生" required>
  104. <el-input v-model="record.doctorName" placeholder="请输入随访医生" :readonly="true"></el-input>
  105. </el-form-item>
  106. <el-form-item label="血压" required>
  107. <el-row :gutter="10" style="display: flex">
  108. <el-col :span="8">
  109. <el-input v-model="record.bloodPressure" placeholder="" readonly></el-input>
  110. </el-col>
  111. <el-col :span="2">/</el-col>
  112. <el-col :span="8">
  113. <el-input v-model="record.bloodPressureDown" placeholder="" readonly></el-input>
  114. </el-col>
  115. <el-col :span="6">mmHg</el-col>
  116. </el-row>
  117. </el-form-item>
  118. <el-form-item label="心率" required>
  119. <el-input v-model="record.heartRate" placeholder="请输入心率" readonly>
  120. <template slot="append">次/分钟</template>
  121. </el-input>
  122. </el-form-item>
  123. <el-form-item label="LDL-C" required>
  124. <el-input v-model="record.ldlc" placeholder="请输入LDL-C" readonly>
  125. <template slot="append">mmol/L</template>
  126. </el-input>
  127. </el-form-item>
  128. <el-form-item label="糖化血红蛋白" required>
  129. <el-input v-model="record.thxhdb" placeholder="请输入糖化血红蛋白" readonly>
  130. <template slot="append">%</template>
  131. </el-input>
  132. </el-form-item>
  133. <el-form-item label="吸烟情况" required>
  134. <el-radio-group v-model="record.smoking" disabled class="follow-record">
  135. <el-radio label="1">已戒烟或从未吸烟</el-radio>
  136. <el-radio label="5">仍吸烟</el-radio>
  137. </el-radio-group>
  138. </el-form-item>
  139. <el-form-item label="饮酒情况" required>
  140. <el-radio-group v-model="record.drinking" disabled class="follow-record">
  141. <el-radio label="1">戒酒或不饮酒</el-radio>
  142. <el-radio label="4">仍饮酒</el-radio>
  143. </el-radio-group>
  144. </el-form-item>
  145. <el-form-item label="目前服用药物" required>
  146. <el-checkbox-group v-model="takingListChecked" disabled v-if="selectTak.length==0" class="follow-record">
  147. <el-checkbox v-for="(item,index) in takingList" :key="item.code" :label="index">{{ item.value }}</el-checkbox>
  148. </el-checkbox-group>
  149. <el-checkbox-group v-model="takingListChecked" disabled v-else class="follow-record">
  150. <el-checkbox v-for="(item,index) in selectTak" :key="item.code" :label="item.index">{{ item.value }}</el-checkbox>
  151. </el-checkbox-group>
  152. </el-form-item>
  153. <el-form-item label="不良事件种类">
  154. <el-checkbox-group v-model="adverseEventArr" disabled v-if="selectAdverse.length==0" class="follow-record">
  155. <el-checkbox v-for="(item,index) in badEventList1" :key="item.key" :label="index">{{ item.name }}</el-checkbox>
  156. </el-checkbox-group>
  157. <el-checkbox-group v-model="adverseEventArr" disabled v-else class="follow-record">
  158. <el-checkbox v-for="(item,index) in selectAdverse" :key="item.key" :label="item.index">{{ item.name }}</el-checkbox>
  159. </el-checkbox-group>
  160. </el-form-item>
  161. <el-form-item label="其他事件">
  162. <el-input type="textarea" v-model="record.otherEvents" placeholder="请输入其他事件情况" :rows="3" :maxlength="200" show-word-limit readonly></el-input>
  163. </el-form-item>
  164. <el-form-item label="是否转诊上级医院" required label-width="150px">
  165. <el-radio-group v-model="record.isMoveSuperiorHospital" disabled class="follow-record">
  166. <el-radio label="1">是</el-radio>
  167. <el-radio label="2">否</el-radio>
  168. </el-radio-group>
  169. </el-form-item>
  170. <el-form-item label="随访医院" required>
  171. <el-input v-model="record.followHospital" placeholder="请输入随访医院" :readonly="true"></el-input>
  172. </el-form-item>
  173. </el-form>
  174. </el-dialog>
  175. </div>