diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index bb1042b..0643736 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -69,6 +69,7 @@ v-loading="loading" :data="nurseStationlist" @selection-change="handleSelectionChange" + :element-loading-text="loadingtext" > diff --git a/src/views/system/station/stationjs.js b/src/views/system/station/stationjs.js index 788fcdd..5dfc2f4 100644 --- a/src/views/system/station/stationjs.js +++ b/src/views/system/station/stationjs.js @@ -181,7 +181,8 @@ export default { ], }, - checkedDataList: [] // 选择的护理机构分类 + checkedDataList: [],// 选择的护理机构分类 + loadingtext: "加载中" }; }, created() { @@ -191,13 +192,14 @@ export default { }, methods: { GenerateQRcode(row) { - this.loading = true + this.loadingtext = "生成中"; + this.loading = true; this.nurseStationFriendslist = row; nurseStationFriends(row.id).then(res => { this.nurseStationFriendslist.img = process.env.VUE_APP_BASE_API + res.msg; this.nurseStationFriendsshow = true; - this.loading = false + this.loading = false; }); }, imgs(item) { @@ -299,6 +301,7 @@ export default { }, // 表单重置 reset() { + this.loadingtext = "加载中"; this.nurseStationType2 = []; this.form = { id: null,