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'