护理站人员 护理站部门

This commit is contained in:
shidongli 2022-09-26 10:51:02 +08:00
parent 63bd139913
commit 98de6eb141
3 changed files with 13 additions and 10 deletions

View File

@ -479,7 +479,7 @@ export default {
created() { created() {
this.getList(); this.getList();
this.listinfo(); // this.listinfo();
this.info(); this.info();
}, },
methods: { methods: {

View File

@ -1131,6 +1131,7 @@ export default {
total2: 0, total2: 0,
total3: 0, total3: 0,
total4: 0, total4: 0,
total5: 0,
// //
nurseStationPersonList: [], nurseStationPersonList: [],
// //
@ -1158,7 +1159,7 @@ export default {
nurseStationId: null, nurseStationId: null,
departmentCode: null, departmentCode: null,
userId: null, userId: null,
departmentName: null, departmentName: null,
nursePersonCode: null, nursePersonCode: null,
nursePersonName: null, nursePersonName: null,
nursePersonType: null, nursePersonType: null,
@ -1272,7 +1273,7 @@ export default {
created() { created() {
this.getList(); this.getList();
this.getList2(); this.getList2();
this.nurselist(); // this.nurselist();
this.info(); this.info();
}, },
methods: { methods: {
@ -1560,7 +1561,7 @@ export default {
resetQuery() { resetQuery() {
if (this.nurseStationlist[0].isAdmin == "1") { if (this.nurseStationlist[0].isAdmin == "1") {
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams = { this.queryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
@ -1573,9 +1574,11 @@ export default {
phone: null, phone: null,
address: null, address: null,
}; };
this.handleQuery(); this.handleQuery();
} else { } else {
console.log(1); console.log(1);
console.log(this.nurseStationlist);
this.queryParams.departmentName = null; this.queryParams.departmentName = null;
this.queryParams.pageSize = 10; this.queryParams.pageSize = 10;
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;
@ -1712,9 +1715,9 @@ export default {
if (res.rows[0].isAdmin == "1") { if (res.rows[0].isAdmin == "1") {
console.log(true); console.log(true);
this.nurseStationlist = res.rows; this.nurseStationlist = res.rows;
this.total2 = res.total; this.total5 = res.total;
} else { } else {
this.total2 = res.total; this.total5 = res.total;
this.nurseStationlist = res.rows; this.nurseStationlist = res.rows;
this.queryParams.nurseStationId = res.rows[0].id; this.queryParams.nurseStationId = res.rows[0].id;
this.handleQuery(); this.handleQuery();
@ -1723,8 +1726,8 @@ export default {
}, },
// //
loadMore() { loadMore() {
var a = Math.ceil(this.total4 / 10); var a = Math.ceil(this.total5 / 10);
if (this.nurseStationlist.length + 1 >= this.total4) { if (this.nurseStationlist.length + 1 >= this.total5) {
} else { } else {
if (this.nurseStationqueryParams.pageNum >= a) { if (this.nurseStationqueryParams.pageNum >= a) {
} else { } else {

View File

@ -1010,7 +1010,7 @@ export default {
}, },
// //
clickarea(item) { clickarea(item) {
this.value3 = ""; // this.value3 = "";
console.log(item); console.log(item);
getSecondaryLevelInfo(item.id).then((res) => { getSecondaryLevelInfo(item.id).then((res) => {
console.log(res); console.log(res);
@ -1020,7 +1020,7 @@ export default {
// //
clickcity(item) { clickcity(item) {
this.value2 = ""; this.value2 = "";
this.value3 = ""; // this.value3 = "";
console.log(item); console.log(item);
getSecondaryLevelInfo(item.id).then((res) => { getSecondaryLevelInfo(item.id).then((res) => {
console.log(res); console.log(res);