Browse Source

打印修改

360view
bianyaqi 2 years ago
parent
commit
dbeb94b48d
  1. 4
      public/index.html
  2. 24
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
</script>
<% } %>
<!-- 测试环境 -->

24
src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

@ -24,7 +24,7 @@
filterable
:remote-method="queryProjects"
size="small"
@change="getDataListInitial"
@change="projectChange"
>
<el-option
v-for="item in projects"
@ -75,8 +75,9 @@
</div>
</div>
<div class="scheduled-patient-content">
<div id="multipleTable">
<div v-if="dataForm.itemId" class="project_title">医疗项目{{ curProject.itemName }}</div>
<el-table
id="multipleTable"
ref="multipleTable"
:data="dataList"
tooltip-effect="dark"
@ -98,9 +99,9 @@
</el-table-column>
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="100px" />
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120px" />
<el-table-column prop="patientPhone" label="电话" header-align="center" align="center" width="140px" />
<el-table-column prop="patientPhone" label="电话" header-align="center" align="center" width="120px" />
<el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" />
<el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" />
<el-table-column v-if="!dataForm.itemId" label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" />
<el-table-column label="准备工作" header-align="center" align="center" width="140px">
<template slot-scope="scope">
<div>
@ -134,6 +135,7 @@
</template>
</el-table-column>
</el-table>
</div>
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page" @current-change="pageCurrentChangeHandle" />
</div>
</div>
@ -269,6 +271,7 @@ export default {
curIndex: 0,
curIndex2: 0,
projects: [],
curProject: '',
selectedProjects: [],
patientList: [],
//
@ -281,9 +284,11 @@ export default {
extraHead: '<style> .el-table .el-table__cell{padding:9px 0 !important;}</style>',
closeCallback: () => {
this.printHidden = true
this.printHiddenProject = true
}
},
printHidden: true
printHidden: true,
printHiddenProject: true
}
},
created() {
@ -327,6 +332,10 @@ export default {
}
})
},
projectChange(value) {
this.curProject = this.projects.find(item => item.itemId === value)
this.getDataListInitial()
},
//
queryProjects(value) {
this.$http.get('/patient/getZlItemDict', {
@ -343,6 +352,7 @@ export default {
},
printTable() {
this.printHidden = false
this.printHiddenProject = false
},
//
changeOrder() {
@ -507,4 +517,8 @@ export default {
padding: 0;
}
}
.project_title{
font-weight: bold;
font-size: 18px;
}
</style>

Loading…
Cancel
Save