修改
This commit is contained in:
parent
69cc27c4a5
commit
6e46a11a9c
@ -18,7 +18,6 @@
|
|||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in handstationlist"
|
v-for="item in handstationlist"
|
||||||
@ -39,7 +38,6 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.nurseStationId"
|
v-model="queryParams.nurseStationId"
|
||||||
placeholder="请选择护理站"
|
placeholder="请选择护理站"
|
||||||
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in handstationlist"
|
v-for="item in handstationlist"
|
||||||
@ -490,7 +488,7 @@
|
|||||||
:data="nurseStationlist"
|
:data="nurseStationlist"
|
||||||
@cell-dblclick="choicestationid"
|
@cell-dblclick="choicestationid"
|
||||||
>
|
>
|
||||||
<el-table-column label="请选择" width="70" align="center" >
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -714,7 +712,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
imageUrl: "",
|
imageUrl: "",
|
||||||
imgone: "",
|
imgone: "",
|
||||||
handstationlist:[],
|
handstationlist: [],
|
||||||
// 用户导入参数
|
// 用户导入参数
|
||||||
upload: {
|
upload: {
|
||||||
// 是否显示弹出层(用户导入)
|
// 是否显示弹出层(用户导入)
|
||||||
@ -740,7 +738,7 @@ export default {
|
|||||||
multiple: true,
|
multiple: true,
|
||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
// 总条数
|
// 总条数
|
||||||
total: 0,
|
total: 0,
|
||||||
total2: 0,
|
total2: 0,
|
||||||
total3: 0,
|
total3: 0,
|
||||||
@ -831,7 +829,6 @@ export default {
|
|||||||
this.info();
|
this.info();
|
||||||
this.getInfoListinfo();
|
this.getInfoListinfo();
|
||||||
this.infos();
|
this.infos();
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
imgUrl(imgUrl) {
|
imgUrl(imgUrl) {
|
||||||
@ -938,12 +935,12 @@ export default {
|
|||||||
},
|
},
|
||||||
//下拉框
|
//下拉框
|
||||||
stationlist() {
|
stationlist() {
|
||||||
this.loading=true;
|
this.loading = true;
|
||||||
getListByUser(this.getListByUserquery).then((res) => {
|
getListByUser(this.getListByUserquery).then((res) => {
|
||||||
this.total4 = res.total;
|
this.total4 = res.total;
|
||||||
this.nurseStationlist = res.rows;
|
this.nurseStationlist = res.rows;
|
||||||
});
|
});
|
||||||
this.loading=false;
|
this.loading = false;
|
||||||
},
|
},
|
||||||
//护理类型
|
//护理类型
|
||||||
getInfoListinfo() {
|
getInfoListinfo() {
|
||||||
@ -1165,6 +1162,9 @@ export default {
|
|||||||
console.log(valid);
|
console.log(valid);
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.nurseStationItem.id != null) {
|
if (this.form.nurseStationItem.id != null) {
|
||||||
|
this.form.nurseStationItemPrices.forEach((e) => {
|
||||||
|
e.nurseStationItemId = this.form.nurseStationItem.id;
|
||||||
|
});
|
||||||
updateNurseItem(this.form).then((response) => {
|
updateNurseItem(this.form).then((response) => {
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
if (this.imgone != this.form.nurseStationItem.itemPictureUrl) {
|
if (this.imgone != this.form.nurseStationItem.itemPictureUrl) {
|
||||||
@ -1193,10 +1193,10 @@ export default {
|
|||||||
infos() {
|
infos() {
|
||||||
var queryFor = {
|
var queryFor = {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize:9999,
|
pageSize: 9999,
|
||||||
};
|
};
|
||||||
getListByUser(queryFor).then((res) => {
|
getListByUser(queryFor).then((res) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
this.handstationlist = res.rows;
|
this.handstationlist = res.rows;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -1217,7 +1217,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
})
|
})
|
||||||
.catch(() => { });
|
.catch(() => {});
|
||||||
},
|
},
|
||||||
/** 导入按钮操作 */
|
/** 导入按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
@ -1241,7 +1241,6 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user