This commit is contained in:
闫晓茹 2023-03-01 15:19:52 +08:00
parent a06efe45be
commit 9c63477c5b

View File

@ -213,8 +213,6 @@
>
<template>
<el-button
type
@click="ParamsStation(false)"
style="
width: 225px;
@ -421,7 +419,7 @@
style="width: 15px; height: 15px"
circle
@click="choicestationid(scope.row)"
v-if="stationid == scope.row.id"
v-if="stationidIndex == scope.row.id"
></el-button>
<el-button
@ -529,7 +527,7 @@ export default {
groupSort: null,
},
nurseStationshow: false,
stationid: "",
stationidIndex:'',
editopen: false,
imgsurl: { pictureUrlList: [] },
imgone: "",
@ -615,13 +613,14 @@ export default {
this.getList();
},
methods: {
// =
// =
choicestationid(item) {
this.stationidIndex = item.id
if (this.editopen) {
this.form.nurseStationName = item.nurseStationName;
this.form.nurseStationId = item.id;
} else if (this.open) {
this.stationid = item.id;
}
else if (this.open) {
this.form.groupQrCodeInfoDTOList[0].nurseStationId = item.id;
this.form.groupQrCodeInfoDTOList[0].nurseStationName =
item.nurseStationName;
@ -642,15 +641,12 @@ export default {
this.nurseStationshow = false;
},
//
ParamsStation(item) {
ParamsStation() {
this.info();
// console.log( this.form.nurseStationId,' this.nurseStationId')
this.stationidIndex = this.form.nurseStationId;
this.nurseStationshow = true;
this.homenumber = item;
if (this.homenumber) {
this.stationid = this.queryParams.nurseStationId;
} else {
this.stationid = this.form.nurseStationId;
}
},
//list
info() {
@ -762,13 +758,17 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
// this.form.nurseStationId = response.data.nurseStationId;
this.reset();
const id = row.id || this.ids;
getGroupQrCodeInfo(id).then((response) => {
console.log(response.data)
this.form = response.data;
// this.form.nurseStationName = item.nurseStationName;
// this.form.nurseStationId = item.id;
this.imgone = this.form.groupQrCodeUrl;
this.form.nurseStationId = response.data.nurseStationId;
this.editopen = true;
this.title = "修改在线客服";
});