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