修改
This commit is contained in:
parent
a06efe45be
commit
9c63477c5b
@ -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 = "修改在线客服";
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user