修改
This commit is contained in:
parent
a06efe45be
commit
9c63477c5b
@ -213,8 +213,6 @@
|
|||||||
>
|
>
|
||||||
<template>
|
<template>
|
||||||
<el-button
|
<el-button
|
||||||
type
|
|
||||||
|
|
||||||
@click="ParamsStation(false)"
|
@click="ParamsStation(false)"
|
||||||
style="
|
style="
|
||||||
width: 225px;
|
width: 225px;
|
||||||
@ -421,7 +419,7 @@
|
|||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
circle
|
circle
|
||||||
@click="choicestationid(scope.row)"
|
@click="choicestationid(scope.row)"
|
||||||
v-if="stationid == scope.row.id"
|
v-if="stationidIndex == scope.row.id"
|
||||||
></el-button>
|
></el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
@ -529,7 +527,7 @@ export default {
|
|||||||
groupSort: null,
|
groupSort: null,
|
||||||
},
|
},
|
||||||
nurseStationshow: false,
|
nurseStationshow: false,
|
||||||
stationid: "",
|
stationidIndex:'',
|
||||||
editopen: false,
|
editopen: false,
|
||||||
imgsurl: { pictureUrlList: [] },
|
imgsurl: { pictureUrlList: [] },
|
||||||
imgone: "",
|
imgone: "",
|
||||||
@ -615,13 +613,14 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//护理站页面 =》选择护理站
|
//护理站页面 =》选择护理站
|
||||||
choicestationid(item) {
|
choicestationid(item) {
|
||||||
|
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) {
|
}
|
||||||
this.stationid = item.id;
|
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;
|
||||||
@ -642,15 +641,12 @@ export default {
|
|||||||
this.nurseStationshow = false;
|
this.nurseStationshow = false;
|
||||||
},
|
},
|
||||||
//所属护理站页面
|
//所属护理站页面
|
||||||
ParamsStation(item) {
|
ParamsStation() {
|
||||||
this.info();
|
this.info();
|
||||||
|
// console.log( this.form.nurseStationId,'打印 this.nurseStationId')
|
||||||
|
this.stationidIndex = this.form.nurseStationId;
|
||||||
this.nurseStationshow = true;
|
this.nurseStationshow = true;
|
||||||
this.homenumber = item;
|
|
||||||
if (this.homenumber) {
|
|
||||||
this.stationid = this.queryParams.nurseStationId;
|
|
||||||
} else {
|
|
||||||
this.stationid = this.form.nurseStationId;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//护理站list
|
//护理站list
|
||||||
info() {
|
info() {
|
||||||
@ -762,13 +758,17 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
|
// 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)
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
|
|
||||||
|
// this.form.nurseStationName = item.nurseStationName;
|
||||||
|
// this.form.nurseStationId = item.id;
|
||||||
this.imgone = this.form.groupQrCodeUrl;
|
this.imgone = this.form.groupQrCodeUrl;
|
||||||
this.form.nurseStationId = response.data.nurseStationId;
|
|
||||||
|
|
||||||
this.editopen = true;
|
this.editopen = true;
|
||||||
this.title = "修改在线客服";
|
this.title = "修改在线客服";
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user