dev
This commit is contained in:
parent
971a5a59ca
commit
abed8d6476
|
|
@ -118,6 +118,9 @@ defineExpose({init, clear})
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
white-space: nowrap; /* 防止文本换行 */
|
||||||
|
overflow: hidden; /* 隐藏溢出的文本 */
|
||||||
|
text-overflow: ellipsis; /* 显示省略号 */
|
||||||
}
|
}
|
||||||
.avatar-info-num {
|
.avatar-info-num {
|
||||||
margin-left: 28px;
|
margin-left: 28px;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
<div>
|
||||||
<Detail :detail="item"></Detail>
|
<Detail :detail="item" :key="item.id"></Detail>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
|
|
@ -31,11 +31,10 @@ const list = ref<any>([])
|
||||||
const init = (patientId: any) => {
|
const init = (patientId: any) => {
|
||||||
const query = {
|
const query = {
|
||||||
patientId: patientId,
|
patientId: patientId,
|
||||||
pageSize: 10
|
pageSize: 20
|
||||||
}
|
}
|
||||||
post('charge/listDetail', {query}).then((res: any) => {
|
post('charge/listDetail', {query}).then((res: any) => {
|
||||||
list.value = res.list
|
list.value = res.list
|
||||||
console.log(list, 'list')
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const clearList = () => {
|
const clearList = () => {
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {ref, defineProps, onMounted} from 'vue'
|
import {ref, defineProps, onMounted, watch} from 'vue'
|
||||||
|
|
||||||
const {detail} = defineProps(['detail']);
|
const {detail} = defineProps(['detail']);
|
||||||
const detailObj = ref<any>(detail)
|
const detailObj = ref<any>(detail)
|
||||||
|
|
@ -70,6 +70,7 @@ onMounted(() => {
|
||||||
}, 0);
|
}, 0);
|
||||||
sumPrice.value = pharmaceuticalTotalAmount + serviceTotalAmount;
|
sumPrice.value = pharmaceuticalTotalAmount + serviceTotalAmount;
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.disease-detail {
|
.disease-detail {
|
||||||
|
|
@ -130,6 +131,7 @@ onMounted(() => {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
white-space: nowrap; /* 防止文本换行 */
|
white-space: nowrap; /* 防止文本换行 */
|
||||||
overflow: hidden; /* 隐藏溢出的文本 */
|
overflow: hidden; /* 隐藏溢出的文本 */
|
||||||
|
|
@ -143,6 +145,7 @@ onMounted(() => {
|
||||||
.price-left {
|
.price-left {
|
||||||
margin-right: 38px;
|
margin-right: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sumPrice {
|
.sumPrice {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
<div>
|
||||||
<DiseaseDetails :detail="item" @copy="copy" @copyItem="copyItem" @copyGoods="copyGoods"></DiseaseDetails>
|
<DiseaseDetails :detail="item" :key="item.id" @copy="copy" @copyItem="copyItem" @copyGoods="copyGoods"></DiseaseDetails>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ watch(() => selectedDate.value, (newValue, oldValue) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-time {
|
.item-time {
|
||||||
width: 40px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-type {
|
.item-type {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue