From 504b27831d75959fbb58bae9b98e19b26f1e8a53 Mon Sep 17 00:00:00 2001 From: youngS Date: Mon, 15 Mar 2021 12:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/FirHeader.vue | 2 +- .../src/components/FirSuperSignBase.vue | 3 - .../src/components/FirUserProfileBase.vue | 19 +- ...rProfileStorage.vue => FirUserStorage.vue} | 163 +++++++++++++++--- fir_client/src/router/index.js | 23 ++- fir_ser/api/utils/utils.py | 4 + fir_ser/api/views/storage.py | 16 +- 7 files changed, 183 insertions(+), 47 deletions(-) rename fir_client/src/components/{FirUserProfileStorage.vue => FirUserStorage.vue} (74%) diff --git a/fir_client/src/components/FirHeader.vue b/fir_client/src/components/FirHeader.vue index 4e38d46..bd1d9d2 100644 --- a/fir_client/src/components/FirHeader.vue +++ b/fir_client/src/components/FirHeader.vue @@ -98,7 +98,7 @@ } else if (command === 'chpasswd') { this.$router.push({name: 'FirUserProfileChangePwd'}) } else if (command === 'storage') { - this.$router.push({name: 'FirUserProfileStorage'}) + this.$router.push({name: 'FirUserStorage', params: {act: "change"}}) } else if (command === 'supersign') { this.$store.dispatch('doucurrentapp', {}); this.$router.push({"name": 'FirSuperSignBase', params: {act: "iosdeveloper"}}) diff --git a/fir_client/src/components/FirSuperSignBase.vue b/fir_client/src/components/FirSuperSignBase.vue index 849acca..52a80ea 100644 --- a/fir_client/src/components/FirSuperSignBase.vue +++ b/fir_client/src/components/FirSuperSignBase.vue @@ -615,9 +615,6 @@ // this.dialogaddDeveloperVisible=true; } else if (tabname === "iosdeveloper") { this.iosdeveloperFun({"methods": "GET", "data": data}) - } else if (tabname === "goback") { - alert('goback') - this.$router.go(-1); } }, // eslint-disable-next-line no-unused-vars diff --git a/fir_client/src/components/FirUserProfileBase.vue b/fir_client/src/components/FirUserProfileBase.vue index 049c900..d87356b 100644 --- a/fir_client/src/components/FirUserProfileBase.vue +++ b/fir_client/src/components/FirUserProfileBase.vue @@ -39,15 +39,15 @@ - - + + + + + + + - + @@ -131,7 +131,8 @@ this.$store.dispatch('doucurrentapp', {}); this.imageUrl = data.data.head_img; if (this.userinfo.storage_active) { - this.tspan = 6 + // this.tspan = 6 + this.tspan = 9 } if (datainfo.data) { this.$message.success("更新成功") diff --git a/fir_client/src/components/FirUserProfileStorage.vue b/fir_client/src/components/FirUserStorage.vue similarity index 74% rename from fir_client/src/components/FirUserProfileStorage.vue rename to fir_client/src/components/FirUserStorage.vue index 27be1f0..e8aded5 100644 --- a/fir_client/src/components/FirUserProfileStorage.vue +++ b/fir_client/src/components/FirUserStorage.vue @@ -1,5 +1,5 @@