护理站人员 护理站部门
This commit is contained in:
parent
63bd139913
commit
98de6eb141
@ -479,7 +479,7 @@ export default {
|
||||
|
||||
created() {
|
||||
this.getList();
|
||||
this.listinfo();
|
||||
// this.listinfo();
|
||||
this.info();
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -1131,6 +1131,7 @@ export default {
|
||||
total2: 0,
|
||||
total3: 0,
|
||||
total4: 0,
|
||||
total5: 0,
|
||||
// 护理站人员信息表格数据
|
||||
nurseStationPersonList: [],
|
||||
// 护理站名称
|
||||
@ -1158,7 +1159,7 @@ export default {
|
||||
nurseStationId: null,
|
||||
departmentCode: null,
|
||||
userId: null,
|
||||
departmentName: null,
|
||||
departmentName: null,
|
||||
nursePersonCode: null,
|
||||
nursePersonName: null,
|
||||
nursePersonType: null,
|
||||
@ -1272,7 +1273,7 @@ export default {
|
||||
created() {
|
||||
this.getList();
|
||||
this.getList2();
|
||||
this.nurselist();
|
||||
// this.nurselist();
|
||||
this.info();
|
||||
},
|
||||
methods: {
|
||||
@ -1560,7 +1561,7 @@ export default {
|
||||
|
||||
resetQuery() {
|
||||
if (this.nurseStationlist[0].isAdmin == "1") {
|
||||
this.resetForm("queryForm");
|
||||
this.resetForm("queryForm");
|
||||
this.queryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
@ -1573,9 +1574,11 @@ export default {
|
||||
phone: null,
|
||||
address: null,
|
||||
};
|
||||
|
||||
this.handleQuery();
|
||||
} else {
|
||||
console.log(1);
|
||||
console.log(this.nurseStationlist);
|
||||
this.queryParams.departmentName = null;
|
||||
this.queryParams.pageSize = 10;
|
||||
this.queryParams.pageNum = 1;
|
||||
@ -1712,9 +1715,9 @@ export default {
|
||||
if (res.rows[0].isAdmin == "1") {
|
||||
console.log(true);
|
||||
this.nurseStationlist = res.rows;
|
||||
this.total2 = res.total;
|
||||
this.total5 = res.total;
|
||||
} else {
|
||||
this.total2 = res.total;
|
||||
this.total5 = res.total;
|
||||
this.nurseStationlist = res.rows;
|
||||
this.queryParams.nurseStationId = res.rows[0].id;
|
||||
this.handleQuery();
|
||||
@ -1723,8 +1726,8 @@ export default {
|
||||
},
|
||||
//滑动下拉框
|
||||
loadMore() {
|
||||
var a = Math.ceil(this.total4 / 10);
|
||||
if (this.nurseStationlist.length + 1 >= this.total4) {
|
||||
var a = Math.ceil(this.total5 / 10);
|
||||
if (this.nurseStationlist.length + 1 >= this.total5) {
|
||||
} else {
|
||||
if (this.nurseStationqueryParams.pageNum >= a) {
|
||||
} else {
|
||||
|
||||
@ -1010,7 +1010,7 @@ export default {
|
||||
},
|
||||
//点击区县城
|
||||
clickarea(item) {
|
||||
this.value3 = "";
|
||||
// this.value3 = "";
|
||||
console.log(item);
|
||||
getSecondaryLevelInfo(item.id).then((res) => {
|
||||
console.log(res);
|
||||
@ -1020,7 +1020,7 @@ export default {
|
||||
//点击市
|
||||
clickcity(item) {
|
||||
this.value2 = "";
|
||||
this.value3 = "";
|
||||
// this.value3 = "";
|
||||
console.log(item);
|
||||
getSecondaryLevelInfo(item.id).then((res) => {
|
||||
console.log(res);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user