This commit is contained in:
曹辉 2023-05-25 17:38:43 +08:00
parent acbced983a
commit 03fb466150
2 changed files with 7 additions and 3 deletions

View File

@ -69,6 +69,7 @@
v-loading="loading" v-loading="loading"
:data="nurseStationlist" :data="nurseStationlist"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:element-loading-text="loadingtext"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="护理站编号" align="center" prop="nurseStationCode" width="150" /> <el-table-column label="护理站编号" align="center" prop="nurseStationCode" width="150" />

View File

@ -181,7 +181,8 @@ export default {
], ],
}, },
checkedDataList: [] // 选择的护理机构分类 checkedDataList: [],// 选择的护理机构分类
loadingtext: "加载中"
}; };
}, },
created() { created() {
@ -191,13 +192,14 @@ export default {
}, },
methods: { methods: {
GenerateQRcode(row) { GenerateQRcode(row) {
this.loading = true this.loadingtext = "生成中";
this.loading = true;
this.nurseStationFriendslist = row; this.nurseStationFriendslist = row;
nurseStationFriends(row.id).then(res => { nurseStationFriends(row.id).then(res => {
this.nurseStationFriendslist.img = this.nurseStationFriendslist.img =
process.env.VUE_APP_BASE_API + res.msg; process.env.VUE_APP_BASE_API + res.msg;
this.nurseStationFriendsshow = true; this.nurseStationFriendsshow = true;
this.loading = false this.loading = false;
}); });
}, },
imgs(item) { imgs(item) {
@ -299,6 +301,7 @@ export default {
}, },
// 表单重置 // 表单重置
reset() { reset() {
this.loadingtext = "加载中";
this.nurseStationType2 = []; this.nurseStationType2 = [];
this.form = { this.form = {
id: null, id: null,