Commit a4dd2b06 authored by 朱彩云's avatar 朱彩云

Merge branch 'hotfix_zcy_0411' into test

parents 7edb935d e42a473a
...@@ -16,13 +16,17 @@ ...@@ -16,13 +16,17 @@
### bug文档地址 ### bug文档地址
> https://doc.weixin.qq.com/sheet/e3_AJUAZgYxAAgc43lZU8US7aQNaosuJ?scode=AMoAawcKABAwUOv0vIACEApQbQAFk&tab=BB08J2 > https://doc.weixin.qq.com/sheet/e3_AJUAZgYxAAgc43lZU8US7aQNaosuJ?scode=AMoAawcKABAwUOv0vIACEApQbQAFk&tab=BB08J2
### 测试 npm run build ### 测试
命令:npm run build
发布: Jenkins-[测试]ECCS-bims
1. IP: 114.55.4.202 1. IP: 114.55.4.202
2. 域名 http://nt.run4wd.com/bims 2. 域名 http://nt.run4wd.com/bims
3. 登录账密 admin/123456 3. 登录账密 admin/123456
4. 发布目录:/datavg/bims/ 4. 发布目录:/datavg/bims/
### 生产 npm run build ### 生产
命令:npm run build
发布: Jenkins-bims
1. IP: 47.97.62.47 1. IP: 47.97.62.47
2. 域名 http://bims.medilink-global.com.cn 2. 域名 http://bims.medilink-global.com.cn
3. 登录账密 admin/123456 3. 登录账密 admin/123456
......
...@@ -754,8 +754,8 @@ export default { ...@@ -754,8 +754,8 @@ export default {
admissionDateStart: admissionDateStart[0] admissionDateStart: admissionDateStart[0]
? admissionDateStart[0] + ' 00:00:00' ? admissionDateStart[0] + ' 00:00:00'
: undefined, : undefined,
admissionDateEnd: admissionDateStart[0] admissionDateEnd: admissionDateStart[1]
? admissionDateStart[0] + ' 23:59:59' ? admissionDateStart[1] + ' 23:59:59'
: undefined, : undefined,
visitTimeEnd: visitTimeStart[1] visitTimeEnd: visitTimeStart[1]
? visitTimeStart[1] + ' 23:59:59' ? visitTimeStart[1] + ' 23:59:59'
......
...@@ -349,13 +349,12 @@ ...@@ -349,13 +349,12 @@
</div> </div>
<!-- 已关联账单 --> <!-- 已关联账单 -->
<template v-if="activeKey1 === '0'"> <template v-if="activeKey1 === '0'">
<template v-if="selectedRows.length > 0"> <template>
<div class="all-list_box"> <div class="all-list_box">
<a-virtual-table <a-virtual-table
class="table-content" class="table-content"
:rowClassName="rowClassName"
:columns="selectedColumns" :columns="selectedColumns"
:data-source="selectedRows" :data-source="showRows"
:itemSize="46" :itemSize="46"
keyProp="id" keyProp="id"
row-key="id" row-key="id"
...@@ -390,9 +389,9 @@ ...@@ -390,9 +389,9 @@
<!-- s --> <!-- s -->
</div> </div>
</template> </template>
<div class="all-list_box no-data" v-else> <!-- <div class="all-list_box no-data" v-else>
<a-empty :image="simpleImage" /> <a-empty :image="simpleImage" />
</div> </div> -->
</template> </template>
<template v-else> <template v-else>
<!-- table --> <!-- table -->
...@@ -492,6 +491,7 @@ export default { ...@@ -492,6 +491,7 @@ export default {
}, },
selectedRowKeys: [], // Check here to configure the default column selectedRowKeys: [], // Check here to configure the default column
selectedRows: [], // Check here to configure the default column selectedRows: [], // Check here to configure the default column
showRows: [], // 显示的行
backMoneyNo: '', backMoneyNo: '',
rules: { rules: {
payorCode: [ payorCode: [
...@@ -517,6 +517,7 @@ export default { ...@@ -517,6 +517,7 @@ export default {
}, },
savedStatus: false, //是否已保存 savedStatus: false, //是否已保存
relatedList: [], relatedList: [],
selectRows: [],
panes: Object.seal(panes), panes: Object.seal(panes),
activeKey: '0', activeKey: '0',
...@@ -788,6 +789,12 @@ export default { ...@@ -788,6 +789,12 @@ export default {
hasBack: 'N' hasBack: 'N'
} }
this.searchData('init') this.searchData('init')
},
selectedRows: {
handler(val) {
this.showRows = val.filter((item) => !item.hidden)
},
immediate: true
} }
}, },
created() { created() {
...@@ -823,13 +830,12 @@ export default { ...@@ -823,13 +830,12 @@ export default {
mounted() { mounted() {
window.addEventListener('resize', this.resizePage) window.addEventListener('resize', this.resizePage)
this.calcTableHeight() this.calcTableHeight()
this._getNewEOBList()
}, },
methods: { methods: {
moment, moment,
resizePage() { resizePage() {
this.calcTableHeight() this.calcTableHeight()
this.getData() this.searchData()
}, },
// 切换是否已回款 // 切换是否已回款
changeHasBack(e) { changeHasBack(e) {
...@@ -852,6 +858,7 @@ export default { ...@@ -852,6 +858,7 @@ export default {
}, },
// 计算表格最大高度 // 计算表格最大高度
calcTableHeight() { calcTableHeight() {
console.log('1111')
const dom = this.$refs.burt const dom = this.$refs.burt
const containterH = dom.clientHeight const containterH = dom.clientHeight
const gobackH = document.querySelector('.back-container').clientHeight const gobackH = document.querySelector('.back-container').clientHeight
...@@ -860,7 +867,7 @@ export default { ...@@ -860,7 +867,7 @@ export default {
const paddingB = parseFloat(style.getPropertyValue('padding-bottom')) const paddingB = parseFloat(style.getPropertyValue('padding-bottom'))
const paddingSum = paddingT + paddingB const paddingSum = paddingT + paddingB
this.tableHeight = containterH - 340 - gobackH - paddingSum this.tableHeight = containterH - 340 - gobackH - paddingSum
this.tableHeight1 = containterH - 360 - gobackH - paddingSum this.tableHeight1 = containterH - 400 - gobackH - paddingSum
console.log(this.tableHeight, '=========tableHeight') console.log(this.tableHeight, '=========tableHeight')
// 设置每页展示条数 // 设置每页展示条数
const pageSize = Math.floor((this.tableHeight1 - 10) / 32) const pageSize = Math.floor((this.tableHeight1 - 10) / 32)
...@@ -872,6 +879,7 @@ export default { ...@@ -872,6 +879,7 @@ export default {
}, },
// 账单查询 // 账单查询
searchData(type) { searchData(type) {
debugger
if (type === 'init') { if (type === 'init') {
this.pagination.pageNum = 1 this.pagination.pageNum = 1
} }
...@@ -1386,7 +1394,13 @@ export default { ...@@ -1386,7 +1394,13 @@ export default {
} }
} }
.pagination { .pagination {
width: 100%;
position: fixed;
bottom: 30px;
right: 50px;
margin-top: 10px; margin-top: 10px;
z-index: 10;
background-color: #fff;
::v-deep .jump-page { ::v-deep .jump-page {
height: 30px; height: 30px;
} }
......
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