Browse Source

fix: 设置页面调接口添加loading

develop
song 4 years ago
parent
commit
e777321f94
  1. 1
      CHANGELOG.md
  2. 1
      src/pagesProject/project/components/ConfigInfo/components/Caregiver.vue
  3. 1
      src/pagesProject/project/components/ConfigInfo/components/Family.vue
  4. 1
      src/pagesProject/project/components/ConfigInfo/components/Medicine.vue

1
CHANGELOG.md

@ -211,6 +211,7 @@
- | 绘图背景图显示及路径绘制 | [964e41e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/964e41e) - | 绘图背景图显示及路径绘制 | [964e41e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/964e41e)
- | 缓存基本信息 | [d160dad](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d160dad) - | 缓存基本信息 | [d160dad](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d160dad)
- | 药物使用记录修改 | [d8eb422](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d8eb422) - | 药物使用记录修改 | [d8eb422](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d8eb422)
- | 药物使用记录对齐输入框 | [97a6fb5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/97a6fb5)
- | 角色显示状态修改 | [7d3b906](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7d3b906) - | 角色显示状态修改 | [7d3b906](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7d3b906)
- | 角色栏修改 | [19228d6](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/19228d6) - | 角色栏修改 | [19228d6](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/19228d6)
- | 解决error | [00d96c4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/00d96c4) - | 解决error | [00d96c4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/00d96c4)

1
src/pagesProject/project/components/ConfigInfo/components/Caregiver.vue

@ -112,6 +112,7 @@ export default {
*/ */
async queryZaritList() { async queryZaritList() {
try { try {
this.$t.ui.showLoading();
const params = { projectId: this.projectId }; const params = { projectId: this.projectId };
const date = await this.$u.api.queryZaritList(params); const date = await this.$u.api.queryZaritList(params);
if (!date.length) { if (!date.length) {

1
src/pagesProject/project/components/ConfigInfo/components/Family.vue

@ -78,6 +78,7 @@ export default {
*/ */
async queryFamilyList() { async queryFamilyList() {
try { try {
this.$t.ui.showLoading();
const params = { projectId: this.projectId }; const params = { projectId: this.projectId };
const date = await this.$u.api.queryFamilyList(params); const date = await this.$u.api.queryFamilyList(params);
if (!date.length) { if (!date.length) {

1
src/pagesProject/project/components/ConfigInfo/components/Medicine.vue

@ -92,6 +92,7 @@ export default {
*/ */
async queryMedicine() { async queryMedicine() {
try { try {
this.$t.ui.showLoading();
const params = { projectId: this.projectId }; const params = { projectId: this.projectId };
const date = await this.$u.api.queryMedicine(params); const date = await this.$u.api.queryMedicine(params);
if (!date.length) { if (!date.length) {

Loading…
Cancel
Save