index.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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">下转时间:</label>
  6. <el-date-picker v-model="chooseTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"></el-date-picker>
  7. </div>
  8. <div class="searchDiv pb20 pr20">
  9. <label class="c-333 c-f14">患者姓名:</label>
  10. <el-input v-model="form.patientName" placeholder="请输入患者姓名查询"></el-input>
  11. </div>
  12. <div class="searchDiv pb20 pr20">
  13. <label class="c-333 c-f14">下转状态:</label>
  14. <el-select class="formWidth" v-model="form.status" placeholder="请选择" filterable>
  15. <el-option v-for="(option, index) in statusOptions" :label="option.value" :value="option.code"></el-option>
  16. </el-select>
  17. </div>
  18. <div class="searchDiv pb20 pr20">
  19. <label class="c-333 c-f14">下转医院:</label>
  20. <el-select class="formWidth" v-model="form.hospitalCode" placeholder="请选择" filterable>
  21. <el-option v-for="(option, index) in rehabilitationHospital" :label="option.value" :value="option.code"></el-option>
  22. </el-select>
  23. </div>
  24. <div class="searchDiv pb20 pr20">
  25. <label class="c-333 c-f14">下转医生:</label>
  26. <el-input v-model="form.hospitalDoctor" placeholder="请输入医生姓名查询"></el-input>
  27. </div>
  28. <div class="searchDiv pb20 pr20">
  29. <label class="c-333 c-f14">接收社区医院:</label>
  30. <el-select v-model="form.orgCode" placeholder="请选择" filterable>
  31. <el-option v-for="(item,index) in communityHospitals" :key="item.value" :value="item.value" :label="item.label"></el-option>
  32. </el-select>
  33. </div>
  34. <div class="searchDiv pb20 pr20">
  35. <label class="c-333 c-f14">接收医生:</label>
  36. <el-input v-model="form.doctor" placeholder="请输入医生姓名查询"></el-input>
  37. </div>
  38. <div class="searchDiv pb20 pr20">
  39. <label class="c-333 c-f14">档案状态:</label>
  40. <el-select v-model="form.archiveStatus" class="" placeholder="请选择" filterable>
  41. <el-option v-for="(item,index) in archiveList" :key="item.value" :value="item.code" :label="item.value"></el-option>
  42. </el-select>
  43. </div>
  44. <div class="searchDiv pb20 pr20">
  45. <label class="c-333 c-f14">患者类型:</label>
  46. <el-select v-model="form.patientType" placeholder="请选择" filterable>
  47. <el-option v-for="(item,index) in inviteStatus" :key="item.value" :value="item.value" :label="item.label"></el-option>
  48. </el-select>
  49. </div>
  50. <div class="searchDiv pb20">
  51. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  52. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  53. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  54. </div>
  55. </div>
  56. <!-- <div v-if="handleNodeId==44" class="searchDiv">
  57. <div class="mt5">
  58. <el-form :model="form11" class="flex handleNodeId-44">
  59. <el-form-item label="患者姓名:" class="flex">
  60. <el-input v-model="form11.patientName" placeholder="请输入患者姓名查询"></el-input>
  61. </el-form-item>
  62. <el-form-item label="下转状态:" class="flex formLeft">
  63. <el-select v-model="form11.status" class="" placeholder="请选择" filterable>
  64. <el-option v-for="(item,index) in deorsumvergence" :key="item.value" :value="item.value" :label="item.label"></el-option>
  65. </el-select>
  66. </el-form-item>
  67. <el-form-item label="下转医院:" class="flex formLeft">
  68. <el-select v-model="form11.hospitalCode" class="" placeholder="请选择" filterable>
  69. <el-option v-for="(item,index) in rehabilitationHospital" :key="item.value" :value="item.value" :label="item.label"></el-option>
  70. </el-select>
  71. </el-form-item>
  72. <el-form-item label="下转医生:" class="flex formLeft">
  73. <el-input v-model="form11.hospitalDoctor" placeholder="请输入医生姓名查询"></el-input>
  74. </el-form-item>
  75. <el-form-item label="接收社区医院:" class="flex formLeft">
  76. <el-select v-model="form11.orgCode" class="" placeholder="请选择" filterable>
  77. <el-option v-for="(item,index) in communityHospitals" :key="item.value" :value="item.value" :label="item.label"></el-option>
  78. </el-select>
  79. </el-form-item>
  80. <el-form-item label="接收医生:" class="flex formLeft">
  81. <el-input v-model="form11.doctor" placeholder="请输入接收医生姓名查询"></el-input>
  82. </el-form-item>
  83. <el-form-item label="档案状态:" class="flex formLeft">
  84. <el-select v-model="form11.archiveStatus" class="" placeholder="请选择" filterable>
  85. <el-option v-for="(item,index) in archiveList" :key="item.value" :value="item.value" :label="item.label"></el-option>
  86. </el-select>
  87. </el-form-item>
  88. <el-form-item label="患者类型:" class="flex formLeft">
  89. <el-select v-model="form11.patientType" class="" placeholder="请选择" filterable>
  90. <el-option v-for="(item,index) in inviteStatus1" :key="item.value" :value="item.value" :label="item.label"></el-option>
  91. </el-select>
  92. </el-form-item>
  93. </el-form>
  94. </div>
  95. </div> -->
  96. <el-table :data="tableData" style="width: 100%" v-loading="loading">
  97. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  98. <el-table-column :label="item.label" v-for="item in tableHeader" :key="item.prop" align="center">
  99. <template slot-scope="scope">{{transformData(scope.row[item.prop],item.prop)}}</template>
  100. </el-table-column>
  101. <el-table-column label="操作" align="center" width="100">
  102. <template slot-scope="scope">
  103. <el-button type="text" v-if="scope.row.status==0" @click="operation(1,scope.row)">分配</el-button>
  104. <el-button type="text" @click="operation(2,scope.row)">查看签约</el-button>
  105. <el-button type="text" v-if="scope.row.status==5" @click="operation(3,scope.row)">同步居民</el-button>
  106. <el-button type="text" v-if="scope.row.status==3" @click="operation(4,scope.row)">同步病历</el-button>
  107. </template>
  108. </el-table-column>
  109. </el-table>
  110. <!-- <el-table v-if="handleNodeId==44" border :key="tableKey" :data="recoveryList" style="width: 100%" v-loading="loadingTwo" class="mt20">
  111. <template>
  112. <el-table-column type="index" label="序号" align="center"></el-table-column>
  113. <el-table-column prop="name" label="患者姓名" align="center"></el-table-column>
  114. <el-table-column prop="age" label="年龄" align="center"></el-table-column>
  115. <el-table-column prop="sex" label="性别" align="center"></el-table-column>
  116. <el-table-column prop="mobile" label="患者手机号" align="center"></el-table-column>
  117. <el-table-column prop="hospitalName" label="下转医院" align="center"></el-table-column>
  118. <el-table-column prop="hospitalDoctor" label="下转医生" align="center"></el-table-column>
  119. <el-table-column prop="createTime" label="下转时间" align="center"></el-table-column>
  120. <el-table-column prop="patientType" label="患者类型" align="center"></el-table-column>
  121. <el-table-column prop="statusName" label="下转状态" align="center"></el-table-column>
  122. <el-table-column prop="orgName" label="接收社区医院" align="center"></el-table-column>
  123. <el-table-column prop="doctorName" label="接收签约医生" align="center"></el-table-column>
  124. <el-table-column prop="receiveTime" label="接收时间" align="center"></el-table-column>
  125. <el-table-column prop="archiveStatusName" label="档案状态" align="center"></el-table-column>
  126. <el-table-column prop="img" label="操作" align="center" width="100">
  127. <template slot-scope="scope">
  128. <div class="operate">
  129. <div v-if="scope.row.status==0" @click="operation(1,scope.row)">分配</div>
  130. <div @click="operation(2,scope.row)">查看签约</div>
  131. <div v-if="scope.row.status==5" @click="operation(3,scope.row)">同步居民</div>
  132. <div v-if="scope.row.status==3" @click="operation(4,scope.row)">同步病历</div>
  133. </div>
  134. </template>
  135. </el-table-column>
  136. </template>
  137. </el-table> -->
  138. <el-pagination
  139. @current-change="handleCurrentChange"
  140. @size-change="handleSizeChange"
  141. :current-page.sync="page"
  142. :page-size="size"
  143. :page-sizes="[10, 20, 50]"
  144. layout="total, sizes, prev, pager, next, jumper"
  145. :total="total"
  146. class="pagination"></el-pagination>
  147. <el-dialog title="查看签约信息" :visible.sync="dialogVisible" width="70%">
  148. <el-table border :data="signatoryList" style="width: 100%" height="500" class="mt20">
  149. <template>
  150. <el-table-column prop="hospitalName" label="签约社区医院" align="center"></el-table-column>
  151. <el-table-column prop="doctorName" label="签约医生" align="center"></el-table-column>
  152. <el-table-column prop="applyDate" label="签约时间" align="center"></el-table-column>
  153. <el-table-column prop="signYear" label="签约年度" align="center"></el-table-column>
  154. </template>
  155. </el-table>
  156. </el-dialog>
  157. </div>