From f49c0670150c0c274b6c4425dcb068d3f60869b1 Mon Sep 17 00:00:00 2001 From: youngS Date: Sun, 7 Nov 2021 12:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BB=A3=E7=A0=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/App.vue | 154 +- fir_client/src/Download.vue | 128 +- fir_client/src/components/FirBase.vue | 230 +- fir_client/src/components/FirDownload.vue | 3433 +++++++-------- fir_client/src/components/FirFooter.vue | 92 +- fir_client/src/components/FirHeader.vue | 371 +- fir_client/src/components/FirLogin.vue | 818 ++-- fir_client/src/components/FirRegist.vue | 752 ++-- fir_client/src/components/FirResetPwd.vue | 488 +-- fir_client/src/components/ShortDownload.vue | 3730 +++++++++-------- .../src/components/apps/FirAppInfosBase.vue | 772 ++-- .../components/apps/FirAppInfosbaseinfo.vue | 522 +-- .../src/components/apps/FirAppInfoscombo.vue | 696 +-- .../components/apps/FirAppInfosdevices.vue | 96 +- .../components/apps/FirAppInfossecurity.vue | 646 +-- .../components/apps/FirAppInfossupersign.vue | 418 +- .../components/apps/FirAppInfostimeline.vue | 931 ++-- fir_client/src/components/apps/FirApps.vue | 3338 +++++++-------- fir_client/src/components/base/BackToTop.vue | 201 +- fir_client/src/components/base/BindDomain.vue | 584 +-- .../src/components/index/FirContact.vue | 100 +- .../src/components/index/FirIndexBody.vue | 478 +-- .../src/components/index/FirIndexTem.vue | 200 +- fir_client/src/components/index/FirNews.vue | 400 +- .../src/components/index/FirService.vue | 288 +- .../src/components/user/FirSuperSignBase.vue | 2113 +++++----- .../src/components/user/FirSuperSignHelp.vue | 66 +- .../src/components/user/FirUserAdvert.vue | 784 ++-- .../src/components/user/FirUserDomain.vue | 474 +-- .../src/components/user/FirUserOrders.vue | 961 ++--- .../components/user/FirUserProfileBase.vue | 368 +- .../user/FirUserProfileCertification.vue | 926 ++-- .../user/FirUserProfileChangePwd.vue | 158 +- .../components/user/FirUserProfileInfo.vue | 1272 +++--- .../src/components/user/FirUserStorage.vue | 1068 ++--- fir_client/src/main.short.js | 12 +- 36 files changed, 14048 insertions(+), 14020 deletions(-) diff --git a/fir_client/src/App.vue b/fir_client/src/App.vue index ee34f78..aca996b 100644 --- a/fir_client/src/App.vue +++ b/fir_client/src/App.vue @@ -1,87 +1,87 @@ diff --git a/fir_client/src/Download.vue b/fir_client/src/Download.vue index ea2122a..6f56e55 100644 --- a/fir_client/src/Download.vue +++ b/fir_client/src/Download.vue @@ -1,75 +1,75 @@ diff --git a/fir_client/src/components/FirBase.vue b/fir_client/src/components/FirBase.vue index e1a8952..e0de402 100644 --- a/fir_client/src/components/FirBase.vue +++ b/fir_client/src/components/FirBase.vue @@ -1,129 +1,129 @@ diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index 5f51c1f..bec5d7b 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -1,110 +1,111 @@ - - - - diff --git a/fir_client/src/components/FirFooter.vue b/fir_client/src/components/FirFooter.vue index f4da089..8a564d2 100644 --- a/fir_client/src/components/FirFooter.vue +++ b/fir_client/src/components/FirFooter.vue @@ -1,61 +1,61 @@ diff --git a/fir_client/src/components/FirHeader.vue b/fir_client/src/components/FirHeader.vue index dc7ce58..1d31a6c 100644 --- a/fir_client/src/components/FirHeader.vue +++ b/fir_client/src/components/FirHeader.vue @@ -1,203 +1,204 @@ diff --git a/fir_client/src/components/FirLogin.vue b/fir_client/src/components/FirLogin.vue index a48b916..bb3cebd 100644 --- a/fir_client/src/components/FirLogin.vue +++ b/fir_client/src/components/FirLogin.vue @@ -1,424 +1,424 @@ diff --git a/fir_client/src/components/FirRegist.vue b/fir_client/src/components/FirRegist.vue index e55e9c5..c56bf20 100644 --- a/fir_client/src/components/FirRegist.vue +++ b/fir_client/src/components/FirRegist.vue @@ -1,389 +1,389 @@ diff --git a/fir_client/src/components/FirResetPwd.vue b/fir_client/src/components/FirResetPwd.vue index f98a8e0..ebc0ccd 100644 --- a/fir_client/src/components/FirResetPwd.vue +++ b/fir_client/src/components/FirResetPwd.vue @@ -1,277 +1,277 @@ diff --git a/fir_client/src/components/ShortDownload.vue b/fir_client/src/components/ShortDownload.vue index 83f17f1..dd72986 100644 --- a/fir_client/src/components/ShortDownload.vue +++ b/fir_client/src/components/ShortDownload.vue @@ -1,127 +1,126 @@ diff --git a/fir_client/src/components/apps/FirApps.vue b/fir_client/src/components/apps/FirApps.vue index 795c21c..d520772 100644 --- a/fir_client/src/components/apps/FirApps.vue +++ b/fir_client/src/components/apps/FirApps.vue @@ -1,1731 +1,1739 @@ - - diff --git a/fir_client/src/components/base/BackToTop.vue b/fir_client/src/components/base/BackToTop.vue index 73fe53e..78e071b 100644 --- a/fir_client/src/components/base/BackToTop.vue +++ b/fir_client/src/components/base/BackToTop.vue @@ -1,114 +1,115 @@ diff --git a/fir_client/src/components/base/BindDomain.vue b/fir_client/src/components/base/BindDomain.vue index 5c36c1e..b1aa893 100644 --- a/fir_client/src/components/base/BindDomain.vue +++ b/fir_client/src/components/base/BindDomain.vue @@ -1,314 +1,314 @@ diff --git a/fir_client/src/components/index/FirContact.vue b/fir_client/src/components/index/FirContact.vue index a3e24e3..4dcaa49 100644 --- a/fir_client/src/components/index/FirContact.vue +++ b/fir_client/src/components/index/FirContact.vue @@ -1,69 +1,69 @@ diff --git a/fir_client/src/components/index/FirIndexBody.vue b/fir_client/src/components/index/FirIndexBody.vue index ef931bc..6affc71 100644 --- a/fir_client/src/components/index/FirIndexBody.vue +++ b/fir_client/src/components/index/FirIndexBody.vue @@ -1,255 +1,255 @@ diff --git a/fir_client/src/components/index/FirIndexTem.vue b/fir_client/src/components/index/FirIndexTem.vue index aae365d..5acdf94 100644 --- a/fir_client/src/components/index/FirIndexTem.vue +++ b/fir_client/src/components/index/FirIndexTem.vue @@ -1,120 +1,120 @@ diff --git a/fir_client/src/components/index/FirNews.vue b/fir_client/src/components/index/FirNews.vue index 909a032..ef260db 100644 --- a/fir_client/src/components/index/FirNews.vue +++ b/fir_client/src/components/index/FirNews.vue @@ -1,213 +1,213 @@ diff --git a/fir_client/src/components/index/FirService.vue b/fir_client/src/components/index/FirService.vue index 5730afe..77fdf28 100644 --- a/fir_client/src/components/index/FirService.vue +++ b/fir_client/src/components/index/FirService.vue @@ -1,155 +1,155 @@ diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index 91a26bb..40047b6 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -1,1073 +1,1080 @@ diff --git a/fir_client/src/components/user/FirSuperSignHelp.vue b/fir_client/src/components/user/FirSuperSignHelp.vue index 927c28a..d341e14 100644 --- a/fir_client/src/components/user/FirSuperSignHelp.vue +++ b/fir_client/src/components/user/FirSuperSignHelp.vue @@ -1,43 +1,43 @@ diff --git a/fir_client/src/components/user/FirUserAdvert.vue b/fir_client/src/components/user/FirUserAdvert.vue index b6f16cf..f0e5786 100644 --- a/fir_client/src/components/user/FirUserAdvert.vue +++ b/fir_client/src/components/user/FirUserAdvert.vue @@ -1,430 +1,430 @@ diff --git a/fir_client/src/components/user/FirUserDomain.vue b/fir_client/src/components/user/FirUserDomain.vue index 631629f..6344e26 100644 --- a/fir_client/src/components/user/FirUserDomain.vue +++ b/fir_client/src/components/user/FirUserDomain.vue @@ -1,248 +1,250 @@ diff --git a/fir_client/src/components/user/FirUserOrders.vue b/fir_client/src/components/user/FirUserOrders.vue index 4f17753..9d29cc6 100644 --- a/fir_client/src/components/user/FirUserOrders.vue +++ b/fir_client/src/components/user/FirUserOrders.vue @@ -1,507 +1,508 @@ diff --git a/fir_client/src/components/user/FirUserProfileBase.vue b/fir_client/src/components/user/FirUserProfileBase.vue index 5ce0838..42d2872 100644 --- a/fir_client/src/components/user/FirUserProfileBase.vue +++ b/fir_client/src/components/user/FirUserProfileBase.vue @@ -1,205 +1,205 @@ + - + + - diff --git a/fir_client/src/components/user/FirUserProfileCertification.vue b/fir_client/src/components/user/FirUserProfileCertification.vue index 3825e7e..490564e 100644 --- a/fir_client/src/components/user/FirUserProfileCertification.vue +++ b/fir_client/src/components/user/FirUserProfileCertification.vue @@ -1,475 +1,475 @@ diff --git a/fir_client/src/components/user/FirUserProfileChangePwd.vue b/fir_client/src/components/user/FirUserProfileChangePwd.vue index 0cc8970..9c9e986 100644 --- a/fir_client/src/components/user/FirUserProfileChangePwd.vue +++ b/fir_client/src/components/user/FirUserProfileChangePwd.vue @@ -1,98 +1,98 @@ diff --git a/fir_client/src/components/user/FirUserProfileInfo.vue b/fir_client/src/components/user/FirUserProfileInfo.vue index f990274..ab4c79b 100644 --- a/fir_client/src/components/user/FirUserProfileInfo.vue +++ b/fir_client/src/components/user/FirUserProfileInfo.vue @@ -1,657 +1,657 @@ + }, { + "methods": "GET", + "data": {} + }); + }, + + saveUsername() { + if (this.userinfo.username.toString().length < 6) { + this.$message.error("密码至少6位"); + return + } + this.updateUserInfo({"methods": 'PUT', 'data': {username: this.userinfo.username}}); + this.changeUsernameValue() + }, + saveDomain() { + this.updateUserInfo({"methods": 'PUT', 'data': {domain_name: this.userinfo.domain_name}}); + this.changeDomainValue() + }, + savePositionValue() { + this.updateUserInfo({"methods": 'PUT', 'data': {job: this.userinfo.job}}); + this.changePositionValue() + }, + authinfo() { + return { + auth_token: this.userinfo.auth_token, + auth_key: this.userinfo.auth_key, + captcha_key: this.userinfo.captcha_key, + authcode: this.userinfo.authcode, + }; + }, + saveemail() { + let data = this.authinfo(); + data.email = this.userinfo.email; + data.act = 'email'; + this.updateUserInfo({"methods": 'PUT', 'data': data}); + this.changeemailValue() + }, + savePhone() { + let data = this.authinfo(); + data.mobile = this.userinfo.mobile; + data.act = 'sms'; + this.updateUserInfo({"methods": 'PUT', 'data': data}); + this.changePhoneValue() + }, + + updateUserInfo(datainfo) { + userinfos(data => { + if (data.code === 1000) { + this.userinfo = data.data; + this.$store.dispatch("doUserinfo", data.data); + this.orguserinfo = deepCopy(data.data); + if (datainfo.data) { + this.$message.success("更新成功") + } + + } else { + this.$message.error("更新失败 " + data.msg); + this.$store.dispatch('doUserinfo', this.orguserinfo); - diff --git a/fir_client/src/components/user/FirUserStorage.vue b/fir_client/src/components/user/FirUserStorage.vue index 247f51f..497b818 100644 --- a/fir_client/src/components/user/FirUserStorage.vue +++ b/fir_client/src/components/user/FirUserStorage.vue @@ -1,547 +1,547 @@ diff --git a/fir_client/src/main.short.js b/fir_client/src/main.short.js index 7f29d30..16228d0 100644 --- a/fir_client/src/main.short.js +++ b/fir_client/src/main.short.js @@ -5,20 +5,20 @@ import router from "@/router/download"; import 'element-ui/lib/theme-chalk/index.css' import { Button, + Col, Container, Divider, + Form, + FormItem, + Header, Input, Link, Main, Message, - Select, + Notification, Option, - Header, - Form, - FormItem, Row, - Col, - Notification + Select } from "element-ui"; import VueLazyload from 'vue-lazyload'