Commit 4a711255 authored by 高滢's avatar 高滢

住院颜色

parent f21f6d71
......@@ -46,6 +46,7 @@
<!-- 列表区-->
<el-table
ref="table"
style="cursor: pointer;"
:data="wardList"
:header-cell-style="{ background:'#E8E9E8' }"
:row-class-name="highlightRow"
......
......@@ -82,6 +82,7 @@
<div style="padding: 0 20px">
<!-- 列表区-->
<el-table
style="cursor: pointer;"
ref="table"
:data="wardList"
:header-cell-style="{ background:'#E8E9E8' }"
......
......@@ -332,7 +332,7 @@
</div>
<div style="padding: 20px;">
<el-table :data="hosDetailBos">
<el-table :data="hosDetailBos" style="cursor: pointer;" >
<el-table-column label="病房类型" align="left" prop="wardType">
<template slot-scope="scope">
<dict-tag v-if="scope.row.wardType" :options="dict.type.ward_type" :value="scope.row.wardType" />
......@@ -354,11 +354,11 @@
<template slot-scope="scope">
<div v-if="detailInfo.status<4">
<span v-if="scope.row.status === '3'" style="color:#ff9d4e ">已转出</span>
<span v-else-if="scope.row.status === '2'" style="color: #5bb647">住院中</span>
<span v-else-if="scope.row.status === '2'" style="color:#3490CE">住院中</span>
<span v-else>-</span>
</div>
<div v-else>
<span style="color:#DB4747 ">已出院</span>
<span style="color:#000000">已出院</span>
</div>
</template>
</el-table-column>
......@@ -377,7 +377,7 @@
</div>
<div style="padding: 30px 20px 30px 20px;">
<el-table :data="finTradeHis">
<el-table :data="finTradeHis" style="cursor: pointer;" >
<el-table-column label="时间" align="left" prop="createTime" />
<el-table-column label="金额" align="left" prop="paymentAmount">
<template slot-scope="scope">
......
......@@ -49,12 +49,12 @@
/>
</el-form-item>
<el-form-item>
<el-select v-model="sortedColumn" clearable value-key="id" placeholder="请选择排序方式" @change="handleSort">
<el-select v-model="sortedColumn" clearable placeholder="请选择排序方式" @change="handleSort">
<el-option
v-for="item in sortedList"
:key="item.id"
v-for="(item,index) in sortedList"
:key="index"
:label="item.sortedColumn"
:value="item"
:value="item.id"
/>
</el-select>
</el-form-item>
......@@ -105,6 +105,7 @@
<el-table
ref="table"
style="cursor: pointer;"
v-loading="loading"
:data="hospitalList"
:row-key="getRowKeys"
......@@ -415,9 +416,9 @@ export default {
},
// 选择排序规则
handleSort(val) {
this.queryParams.sort = val.nameColumn
this.queryParams.isAsc = val.collation
this.sortedColumn = val.sortedColumn
console.log(this.sortedList[val])
this.queryParams.sort = val
// this.sortedColumn = val.sortedColumn
},
// 去详情页
handleDetails(row) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment