护理站 修改
This commit is contained in:
parent
a11c135f62
commit
f453e41e81
@ -12,10 +12,9 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
v-loadmore="loadMore"
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in nurseStationlist"
|
v-for="item in handstationlist"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.nurseStationName"
|
:label="item.nurseStationName"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
@ -427,7 +426,7 @@
|
|||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table :data="nurseStationlist" @cell-dblclick="nurseclick">
|
<el-table :data="nurseStationlist" @cell-dblclick="nurseclick" v-loading="loading2">
|
||||||
<el-table-column label="请选择" width="100" align="center">
|
<el-table-column label="请选择" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -508,6 +507,7 @@ export default {
|
|||||||
datas: null,
|
datas: null,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
|
loading2:true,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
ids: [],
|
ids: [],
|
||||||
// 非单个禁用
|
// 非单个禁用
|
||||||
@ -526,6 +526,7 @@ export default {
|
|||||||
nurseStationlist: [],
|
nurseStationlist: [],
|
||||||
// 查询商品分类列表
|
// 查询商品分类列表
|
||||||
goodsCategorylist: [],
|
goodsCategorylist: [],
|
||||||
|
handstationlist: [], //页面搜索list
|
||||||
// 弹出层标题
|
// 弹出层标题
|
||||||
title: "",
|
title: "",
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
@ -617,6 +618,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
|
this.infos();
|
||||||
// this.getList2();
|
// this.getList2();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -916,7 +918,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
},
|
},
|
||||||
imgUrl(imgUrl) {
|
imgUrl(imgUrl) {
|
||||||
console.log(imgUrl);
|
console.log(imgUrl);
|
||||||
@ -948,6 +950,7 @@ export default {
|
|||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
this.goodsCategorylist = res.rows;
|
this.goodsCategorylist = res.rows;
|
||||||
});
|
});
|
||||||
|
this.loading2 = true
|
||||||
stationList(this.getListByUserquery).then((res) => {
|
stationList(this.getListByUserquery).then((res) => {
|
||||||
this.nurseStationlist = res.rows;
|
this.nurseStationlist = res.rows;
|
||||||
this.total2 = res.total;
|
this.total2 = res.total;
|
||||||
@ -962,23 +965,18 @@ export default {
|
|||||||
// this.form.nurseStationId = res.rows[0].id;
|
// this.form.nurseStationId = res.rows[0].id;
|
||||||
// this.handleQuery();
|
// this.handleQuery();
|
||||||
// }
|
// }
|
||||||
|
this.loading2 = false
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//滑动下拉框
|
infos() {
|
||||||
loadMore() {
|
var queryFor = {
|
||||||
var a = Math.ceil(this.total2 / 10);
|
pageNum: 1,
|
||||||
if (this.nurseStationlist.length + 1 >= this.total2) {
|
pageSize: 9999,
|
||||||
} else {
|
};
|
||||||
if (this.getListByUserquery.pageNum >= a) {
|
stationList(queryFor).then((res) => {
|
||||||
} else {
|
console.log(res)
|
||||||
this.getListByUserquery.pageNum++;
|
this.handstationlist = res.rows;
|
||||||
stationList(this.getListByUserquery).then((res) => {
|
});
|
||||||
res.rows.forEach((e) => {
|
|
||||||
this.nurseStationlist.push(e);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -12,10 +12,10 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
v-loadmore="loadMore"
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in nurseStationlist"
|
v-for="item in handstationlist"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.nurseStationName"
|
:label="item.nurseStationName"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
@ -507,6 +507,7 @@ export default {
|
|||||||
goodsInfoList: [],
|
goodsInfoList: [],
|
||||||
// 护理站列表
|
// 护理站列表
|
||||||
nurseStationlist: [],
|
nurseStationlist: [],
|
||||||
|
handstationlist: [], //页面搜索list
|
||||||
// 查询商品分类列表
|
// 查询商品分类列表
|
||||||
goodsCategorylist: [],
|
goodsCategorylist: [],
|
||||||
// 弹出层标题
|
// 弹出层标题
|
||||||
@ -604,6 +605,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
|
this.infos();
|
||||||
// this.getList2();
|
// this.getList2();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -978,21 +980,15 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//滑动下拉框
|
infos() {
|
||||||
loadMore() {
|
var queryFor = {
|
||||||
var a = Math.ceil(this.total2 / 10);
|
pageNum: 1,
|
||||||
if (this.nurseStationlist.length + 1 >= this.total2) {
|
pageSize:9999,
|
||||||
} else {
|
};
|
||||||
if (this.getListByUserquery.pageNum >= a) {
|
getListByUser(queryFor).then((res) => {
|
||||||
} else {
|
console.log(res)
|
||||||
this.getListByUserquery.pageNum++;
|
this.handstationlist = res.rows;
|
||||||
getListByUser(this.getListByUserquery).then((res) => {
|
});
|
||||||
res.rows.forEach((e) => {
|
|
||||||
this.nurseStationlist.push(e);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -12,10 +12,9 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
v-loadmore="loadMore"
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in nurseStationlist"
|
v-for="item in handstationlist"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.nurseStationName"
|
:label="item.nurseStationName"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
@ -672,6 +671,7 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// 商品订单表格数据
|
// 商品订单表格数据
|
||||||
goodsOrderList: [],
|
goodsOrderList: [],
|
||||||
|
handstationlist: [], //页面搜索list
|
||||||
// 弹出层标题
|
// 弹出层标题
|
||||||
title: "",
|
title: "",
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
@ -712,6 +712,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
|
this.infos();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 退款类型
|
// 退款类型
|
||||||
@ -1022,23 +1023,18 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//滑动下拉框
|
infos() {
|
||||||
loadMore() {
|
var queryFor = {
|
||||||
var a = Math.ceil(this.total2 / 10);
|
pageNum: 1,
|
||||||
if (this.nurseStationlist.length + 1 >= this.total2) {
|
pageSize:9999,
|
||||||
} else {
|
};
|
||||||
if (this.getListByUserquery.pageNum >= a) {
|
getListByUser(queryFor).then((res) => {
|
||||||
} else {
|
console.log(res)
|
||||||
this.getListByUserquery.pageNum++;
|
this.handstationlist = res.rows;
|
||||||
getListByUser(this.getListByUserquery).then((res) => {
|
});
|
||||||
res.rows.forEach((e) => {
|
|
||||||
this.nurseStationlist.push(e);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -12,10 +12,9 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
v-loadmore="loadMore"
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in nurseStationlist"
|
v-for="item in handstationlist"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.nurseStationName"
|
:label="item.nurseStationName"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
@ -584,6 +583,7 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// 护理类型信息表格数据
|
// 护理类型信息表格数据
|
||||||
OrderDetailsList: [],
|
OrderDetailsList: [],
|
||||||
|
handstationlist: [], //页面搜索list
|
||||||
dispatchlist: [],
|
dispatchlist: [],
|
||||||
nurseName: "请选择护理员",
|
nurseName: "请选择护理员",
|
||||||
nursePersonid: "",
|
nursePersonid: "",
|
||||||
@ -627,6 +627,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
|
this.infos();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//取消预约确定按钮
|
//取消预约确定按钮
|
||||||
@ -802,21 +803,15 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//滑动下拉框
|
infos() {
|
||||||
loadMore() {
|
var queryFor = {
|
||||||
var a = Math.ceil(this.total / 10);
|
pageNum: 1,
|
||||||
if (this.nurseStationlist.length + 1 >= this.total) {
|
pageSize:9999,
|
||||||
} else {
|
};
|
||||||
if (this.queryParams.pageNum >= a) {
|
getListByUser(queryFor).then((res) => {
|
||||||
} else {
|
console.log(res)
|
||||||
this.queryParams.pageNum++;
|
this.handstationlist = res.rows;
|
||||||
getListByUser(this.queryParams).then((res) => {
|
});
|
||||||
res.rows.forEach((e) => {
|
|
||||||
this.nurseStationlist.push(e);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
resetQuery2() {
|
resetQuery2() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user