|
@@ -38,16 +38,16 @@
|
|
|
<el-table-column label="出院时间" align="center" prop="dischargeTime" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-search" @click="op('search',scope.row)" v-hasPermi="['work:dg:edit']">查看就诊信息</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-search" @click="()=>{checkWindowShow = true; currentPatientInfo = {id: scope.row.patId, name: scope.row.name}}">
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-search" @click="op('search',scope.row)" v-hasPermi="['work:dg:edit']">查看</el-button>
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-search" @click="()=>{checkWindowShow = true; currentPatientInfo = {id: scope.row.patId, name: scope.row.name}}">
|
|
|
查看检查项目
|
|
|
</el-button>
|
|
|
- <!-- 检测项目信息弹窗 -->
|
|
|
- <patient-check :check-window-show.sync="checkWindowShow" :patient-info="currentPatientInfo" />
|
|
|
+<!-- 检测项目信息弹窗-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<pagination v-if="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList"/>
|
|
|
+ <patient-check :check-window-show.sync="checkWindowShow" :patient-info="currentPatientInfo" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
patientName:undefined,
|
|
|
departmentName:undefined,
|
|
|
},
|
|
|
- /**
|
|
|
+ /**
|
|
|
* 控制检测项目信息弹窗是否显示
|
|
|
* @type {boolean} - 取值true显示弹窗
|
|
|
*/
|
|
@@ -99,6 +99,8 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ },
|
|
|
created() {
|
|
|
this.getDepartment();
|
|
|
},
|
|
@@ -129,6 +131,7 @@ export default {
|
|
|
url:'/work/visit/department'
|
|
|
}).then((response) => {
|
|
|
this.deptOptions = response.rows;
|
|
|
+ console.log(this.deptOptions)
|
|
|
});
|
|
|
},
|
|
|
handleNodeClick(department){
|