修改
This commit is contained in:
parent
8d67cac8d6
commit
7aa0c098eb
@ -318,7 +318,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-button
|
<el-button
|
||||||
type
|
type
|
||||||
@click="ParamsStation(false)"
|
@click="ParamsStation(true)"
|
||||||
style="
|
style="
|
||||||
width: 225px;
|
width: 225px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -341,7 +341,7 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
"
|
"
|
||||||
@click="ParamsStation(false)"
|
@click="ParamsStation(true)"
|
||||||
v-else
|
v-else
|
||||||
>{{ item.nurseStationName }}</el-button
|
>{{ item.nurseStationName }}</el-button
|
||||||
>
|
>
|
||||||
@ -527,7 +527,7 @@ export default {
|
|||||||
groupSort: null,
|
groupSort: null,
|
||||||
},
|
},
|
||||||
nurseStationshow: false,
|
nurseStationshow: false,
|
||||||
stationidIndex:'',
|
stationidIndex: "",
|
||||||
editopen: false,
|
editopen: false,
|
||||||
imgsurl: { pictureUrlList: [] },
|
imgsurl: { pictureUrlList: [] },
|
||||||
imgone: "",
|
imgone: "",
|
||||||
@ -615,16 +615,18 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//护理站页面 =》选择护理站
|
//护理站页面 =》选择护理站
|
||||||
choicestationid(item) {
|
choicestationid(item) {
|
||||||
this.stationidIndex = item.id
|
this.stationidIndex = item.id;
|
||||||
if (this.editopen) {
|
if (this.editopen) {
|
||||||
this.form.nurseStationName = item.nurseStationName;
|
this.form.nurseStationName = item.nurseStationName;
|
||||||
this.form.nurseStationId = item.id;
|
this.form.nurseStationId = item.id;
|
||||||
}
|
} else if (this.open) {
|
||||||
else if (this.open) {
|
// this.form.groupQrCodeInfoDTOList[0].nurseStationId = item.id;
|
||||||
this.form.groupQrCodeInfoDTOList[0].nurseStationId = item.id;
|
|
||||||
this.form.groupQrCodeInfoDTOList[0].nurseStationName =
|
this.form.groupQrCodeInfoDTOList[0].nurseStationName =
|
||||||
item.nurseStationName;
|
item.nurseStationName;
|
||||||
|
this.form.nurseStationId = item.id;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.nurseStationshow = false;
|
this.nurseStationshow = false;
|
||||||
this.stationcancel();
|
this.stationcancel();
|
||||||
},
|
},
|
||||||
@ -641,12 +643,11 @@ export default {
|
|||||||
this.nurseStationshow = false;
|
this.nurseStationshow = false;
|
||||||
},
|
},
|
||||||
//所属护理站页面
|
//所属护理站页面
|
||||||
ParamsStation() {
|
ParamsStation(item) {
|
||||||
|
console.log(item,this.form.nurseStationId,'打印this.queryParams.nurseStationId')
|
||||||
this.info();
|
this.info();
|
||||||
// console.log( this.form.nurseStationId,'打印 this.nurseStationId')
|
this.stationidIndex = this.form.nurseStationId ;
|
||||||
this.stationidIndex = this.form.nurseStationId;
|
|
||||||
this.nurseStationshow = true;
|
this.nurseStationshow = true;
|
||||||
|
|
||||||
},
|
},
|
||||||
//护理站list
|
//护理站list
|
||||||
info() {
|
info() {
|
||||||
@ -656,17 +657,16 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置修改的图片地址
|
// 设置修改的图片地址
|
||||||
setUpdateImgUrl(e){
|
setUpdateImgUrl(e) {
|
||||||
this.form.groupQrCodeUrl= e;
|
this.form.groupQrCodeUrl = e;
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
},
|
},
|
||||||
imgUrl(imgUrl) {
|
imgUrl(imgUrl) {
|
||||||
console.log(this.form)
|
console.log(this.form);
|
||||||
// this.$set(this.form,"groupQrCodeInfoDTOList",[])
|
// this.$set(this.form,"groupQrCodeInfoDTOList",[])
|
||||||
this.form.groupQrCodeInfoDTOList.forEach((e) => {
|
this.form.groupQrCodeInfoDTOList.forEach((e) => {
|
||||||
this.$set(e, "groupQrCodeUrl", imgUrl);
|
this.$set(e, "groupQrCodeUrl", imgUrl);
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
/** 查询在线客服列表 */
|
/** 查询在线客服列表 */
|
||||||
getList() {
|
getList() {
|
||||||
@ -758,11 +758,11 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
// this.form.nurseStationId = response.data.nurseStationId;
|
// this.form.nurseStationId = response.data.nurseStationId;
|
||||||
this.reset();
|
this.reset();
|
||||||
const id = row.id || this.ids;
|
const id = row.id || this.ids;
|
||||||
getGroupQrCodeInfo(id).then((response) => {
|
getGroupQrCodeInfo(id).then((response) => {
|
||||||
console.log(response.data)
|
console.log(response.data);
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
|
|
||||||
// this.form.nurseStationName = item.nurseStationName;
|
// this.form.nurseStationName = item.nurseStationName;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user