护理站的护理类型
This commit is contained in:
parent
4a83eff04f
commit
8807c35a3a
@ -16,6 +16,14 @@ export function stationList(query) {
|
|||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//查看所属护理类型
|
||||||
|
|
||||||
|
export function getInfoLists(Code) {
|
||||||
|
return request({
|
||||||
|
url: `/system/station/getNurseStationType?nurseTypeCode=${Code}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 查询所属科室
|
// 查询所属科室
|
||||||
export function StationDepartmentList(query) {
|
export function StationDepartmentList(query) {
|
||||||
|
|||||||
@ -485,14 +485,11 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="nurseStationType"
|
prop="nurseStationType"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
<el-button size="mini" type="text" @click="looktype(scope.row)"
|
||||||
scope.row.nurseStationType == "LX202209140018" ? "生活护理" : ""
|
>查看</el-button
|
||||||
}}
|
>
|
||||||
{{
|
</template>
|
||||||
scope.row.nurseStationType == "LX202209140019" ? "医疗护理" : ""
|
|
||||||
}}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@ -511,6 +508,7 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total2 > 0"
|
v-show="total2 > 0"
|
||||||
:total="total2"
|
:total="total2"
|
||||||
@ -518,6 +516,31 @@
|
|||||||
:limit.sync="queryParams2.pageSize"
|
:limit.sync="queryParams2.pageSize"
|
||||||
@pagination="handleQuery2"
|
@pagination="handleQuery2"
|
||||||
/>
|
/>
|
||||||
|
</el-dialog>
|
||||||
|
<!-- 查看护理类型 -->
|
||||||
|
<el-dialog
|
||||||
|
title="护理类型"
|
||||||
|
:visible.sync="typeopen"
|
||||||
|
width="700px"
|
||||||
|
append-to-body
|
||||||
|
>
|
||||||
|
<el-table v-loading="loading" :data="typelooks">
|
||||||
|
<el-table-column
|
||||||
|
label="护理类型名称"
|
||||||
|
align="center"
|
||||||
|
prop="nurseTypeName"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="护理类型编号"
|
||||||
|
align="center"
|
||||||
|
prop="nurseTypeCode"
|
||||||
|
/>
|
||||||
|
</el-table>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button type="primary" plain @click="typeopen = false" size="small"
|
||||||
|
>关闭窗口</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 修改护理站名称弹框 -->
|
<!-- 修改护理站名称弹框 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@ -1025,6 +1048,7 @@ import {
|
|||||||
addPerson,
|
addPerson,
|
||||||
updatePerson,
|
updatePerson,
|
||||||
stationList,
|
stationList,
|
||||||
|
getInfoLists,
|
||||||
StationDepartmentList,
|
StationDepartmentList,
|
||||||
} from "@/api/system/person";
|
} from "@/api/system/person";
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
@ -1054,7 +1078,10 @@ export default {
|
|||||||
cb(new Error("请输入正确的联系电话"));
|
cb(new Error("请输入正确的联系电话"));
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
typeopen: false,
|
||||||
|
typelooks: [],
|
||||||
//男女选择
|
//男女选择
|
||||||
|
|
||||||
sexs: [
|
sexs: [
|
||||||
{
|
{
|
||||||
label: "男",
|
label: "男",
|
||||||
@ -1266,6 +1293,16 @@ export default {
|
|||||||
this.departid = item.departmentCode;
|
this.departid = item.departmentCode;
|
||||||
this.innerVisible2 = true;
|
this.innerVisible2 = true;
|
||||||
this.index = index;
|
this.index = index;
|
||||||
|
},
|
||||||
|
//查看类型
|
||||||
|
looktype(item) {
|
||||||
|
// console.log(item);
|
||||||
|
this.typelooks = [];
|
||||||
|
getInfoLists(item.nurseStationType).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.typelooks = res.data;
|
||||||
|
this.typeopen = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
// // 修改所属科室按钮
|
// // 修改所属科室按钮
|
||||||
departclick2() {
|
departclick2() {
|
||||||
@ -1724,24 +1761,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// loadMore() {
|
|
||||||
// console.log("1");
|
|
||||||
// var a = Math.ceil(this.total4 / 10);
|
|
||||||
// console.log(this.nurseStationlist.length);
|
|
||||||
// if (this.nurseStationlist.length + 1 >= this.total4) {
|
|
||||||
// } else {
|
|
||||||
// if (this.nurseStationqueryParams.pageNum >= a) {
|
|
||||||
// } else {
|
|
||||||
// this.nurseStationqueryParams.pageNum++;
|
|
||||||
// stationList(this.nurseStationqueryParams).then((res) => {
|
|
||||||
// console.log(res);
|
|
||||||
// res.rows.forEach((e) => {
|
|
||||||
// this.nurseStationlist.push(e);
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -1027,7 +1027,7 @@ export default {
|
|||||||
this.looknurseStationLabel = [
|
this.looknurseStationLabel = [
|
||||||
{
|
{
|
||||||
labelDescription: "",
|
labelDescription: "",
|
||||||
sort: "",
|
labelSort:"",
|
||||||
ids: 1,
|
ids: 1,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user