| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="疾病诊断" |
| | | label="接收单位" |
| | | align="center" |
| | | prop="diagnosisname" |
| | | prop="receivingunitname" |
| | | min-width="180" |
| | | show-overflow-tooltip |
| | | /> |
| | |
| | | width="100" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-tag :type="getStatusTagType(scope.row.recordstate)"> |
| | | {{ getStatusText(scope.row.recordstate) }} |
| | | </el-tag> |
| | | <dict-tag |
| | | :options="dict.type.utilize_statue" |
| | | :value="scope.row.completeState" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | @click="handleView(scope.row)" |
| | | >详情</el-button |
| | | > |
| | | <el-button |
| | | <!-- <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | >修改</el-button |
| | | > |
| | | <el-button |
| | | > --> |
| | | <!-- <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | style="color: #F56C6C" |
| | | @click="handleDelete(scope.row)" |
| | | >删除</el-button |
| | | > |
| | | > --> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | export default { |
| | | name: "OrganUtilizationList", |
| | | components: { Pagination }, |
| | | dicts: ["sys_user_sex", "sys_BloodType"], |
| | | dicts: ["sys_user_sex", "sys_BloodType",'utilize_statue'], |
| | | data() { |
| | | return { |
| | | // 遮罩层 |
| | |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | // 获取状态标签类型 |
| | | getStatusTagType(status) { |
| | | const typeMap = { |
| | | completed: "success", |
| | | processing: "warning", |
| | | pending: "info", |
| | | closed: "danger" |
| | | }; |
| | | return typeMap[status] || "info"; |
| | | }, |
| | | // 获取状态文本 |
| | | getStatusText(status) { |
| | | const textMap = { |
| | | completed: "已完成", |
| | | processing: "进行中", |
| | | pending: "待处理", |
| | | closed: "已关闭" |
| | | }; |
| | | return textMap[status] || "未知"; |
| | | }, |
| | | // 搜索按钮操作 |
| | | handleQuery() { |