Commit 07a0d698 authored by miaojiale's avatar miaojiale

关闭折叠

草稿箱删除
parent b98ae1d0
......@@ -44,7 +44,7 @@
v-show="g.display"
:key="gIndex"
:name="g.prop"
:disabled="!g.arrow"
:disabled="true"
:class="g.prop == '1669858313508_15760' ? 'otherItemClass' : ''"
>
<template slot="title">
......@@ -493,4 +493,8 @@ export default {
}
}
}
::v-deep .el-collapse-item.is-disabled .el-collapse-item__header {
// color: #bbb;
cursor: default;
}
</style>
......@@ -222,9 +222,14 @@ export default {
getPatientPage(data).then((res) => {
this.listLoading = false
if (res.code === 1) {
const d = res.data
this.tableData = d.records || []
this.total = Number(d.total)
if (res.data && res.data.length > 0) {
const d = res.data
this.tableData = d.records || []
this.total = Number(d.total)
} else {
this.tableData = []
this.total = 0
}
}
})
},
......
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