PageSourceSearch

https://mail.www.gov.cn/nsmail/static/js/988.8087d464.js

js www.gov.cn collected 2026-10-02 02:14:14 UTC 5,429 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkweb_mail"]=self["webpackChunkweb_mail"]||[]).push([[988],{77988:function(s,t,e){e.r(t),e.d(t,{default:function(){return u}});var a=function(){var s=this,t=s._self._c;return t("div",{staticClass:"setting-Password mail-setting"},[t("h1",[s._v(s._s(s.$t("message.setting.mailmove")))]),t("h2",{staticClass:"moving-left"},[s._v(s._s(s.$t("message.setting.mailmove1"))),t("span",{staticClass:"text-color"},[s._v(s._s(s.mapText[0]))]),s._v(s._s(s.$t("message.setting.mailmove2"))+","+s._s(s.$t("message.setting.mailmove3"))),t("span",{staticClass:"text-color"},[s._v(s._s(s.mapText[1]))]),s._v("。")]),t("el-form",{ref:"weakForm",staticClass:"weakForm",staticStyle:{width:"500px"},attrs:{model:s.form,rules:s.rules,"label-position":"left","label-width":s.formLabelWidth}},[t("el-form-item",{attrs:{label:s.$t("message.setting.mailmove4")}},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.sync_user,expression:"form.sync_user"}],staticClass:"noelInput",attrs:{type:"text"},domProps:{value:s.form.sync_user},on:{input:function(t){t.target.composing||s.$set(s.form,"sync_user",t.target.value)}}})]),t("el-form-item",{attrs:{label:s.$t("message.setting.mailmove5")}},[t("div",{staticClass:"showPass showPassHeight"},[t("div",{directives:[{name:"show",rawName:"v-show",value:s.tips1,expression:"tips1"}],staticClass:"tips"},[t("div",{domProps:{innerHTML:s._s(s.error_html)}})]),s.eyes1?t("p",[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.sync_password,expression:"form.sync_password"}],staticClass:"password noelInput",attrs:{autocomplete:"off"},domProps:{value:s.form.sync_password},on:{input:[function(t){t.target.composing||s.$set(s.form,"sync_password",t.target.value)},s.setPwdCover]}}),t("span",{on:{click:function(t){return s.showPwd(!1,"eyes1")}}},[t("svg-icon",{attrs:{"icon-class":"showPassword"}})],1)]):t("p",[t("input",{directives:[{name:"model",rawName:"v-model",value:s.pwdCover1,expression:"pwdCover1"}],staticClass:"password noelInput",attrs:{autocomplete:"off"},domProps:{value:s.pwdCover1},on:{keydown:s.handlerKeydown,input:[function(t){t.target.composing||(s.pwdCover1=t.target.value)},s.setPassword]}}),t("span",{on:{click:function(t){return s.showPwd(!0,"eyes1")}}},[t("svg-icon",{attrs:{"icon-class":"hidePassword"}})],1)])])])],1),t("p",{staticClass:"txt_ts"},[s._v(s._s(s.$t("message.setting.mailmove6"))),t("br"),s._v(" "+s._s(s.$t("message.setting.mailmove7")))]),t("p",{staticClass:"bootom-line"}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(t){return s.submitForm("weakForm")}}}
1,[s._v(s._s(s.$t("message.btnText.save")))])],1)],1)},o=[],i=e(697),r=e(55230),n=e(22648),m={data:function(){return{eyes1:!1,cursorStart1:0,cursorEnd1:0,pwdCover1:"",tips1:!1,form:{sync_user:this.$store.state.app.settingInfo.move_mail_from,sync_password:""},formLabelWidth:"english"===localStorage.getItem("lang")?"250px":"156px",rules:{sync_password:[{required:!0,message:this.$t("message.setting.err1"),trigger:"blur"}]},error_html:"",mapText:[this.$t("message.setting.mailmove8"),this.$t("message.setting.mailmove9")]}},created:function(){},mounted:function(){this.get_pass_policy(),1===this.$store.state.app.settingInfo.move_mail_type?this.mapText=[this.$t("message.setting.mailmove8"),this.$t("message.setting.mailmove9")]:2===this.$store.state.app.settingInfo.move_mail_type?this.mapText=[this.$t("message.setting.mailmove10"),this.$t("message.setting.mailmove11")]:3===this.$store.state.app.settingInfo.move_mail_type&&(this.mapText=[this.$t("message.setting.mailmove12"),this.$t("message.setting.mailmove13")])},methods:{get_pass_policy:function(){var s=this,t={module:"mail",require:{action:"get_pass_policy"}};this.$axios.post(this.$apiData.get_pass_policy,{req:(0,r.Z)(t)}).then((function(t){s.error_html=n.oc.password_error_html(t.result.min_pass_lenth,t.result.max_pass_lenth,t.result.pass_filt,1===t.result.old_pass_same?"不能":"能",1===t.result.user_pass_same?"不能":"能",localStorage.getItem("lang"))}))},showPwd:function(s,t){"eyes1"===t&&(this.eyes1=!!s,this.pwdCover1=this.pwdCover1.slice(0,this.form.sync_password.length))},handlerKeydown:function(s){this.cursorStart1=s.target.selectionStart,this.cursorEnd1=s.target.selectionEnd},setPassword:function(s){if(/.*[\u4e00-\u9fa5]+.*$/.test(s.target.value))this.pwdCover1=this.pwdCover1.replace(/[\u4e00-\u9fa5]/g,"");else{var t=new i.h0(s,this.pwdCover1,this.form.sync_password,this.cursorStart1,this.cursorEnd1);this.pwdCover1=t.toValue()[0],this.form.sync_password=t.toValue()[1]}},setPwdCover:function(s){if(/.*[\u4e00-\u9fa5]+.*$/.test(s.target.value))this.pwdCover1=this.pwdCover1.replace(/[\u4e00-\u9fa5]/g,"");else{var t=new i.$H(this.pwdCover1,this.form.sync_password);this.pwdCover1=t.toValue()}},submitForm:function(s){var t=this,e={module:"user",require:{action:"dosyncmail",data:{sync_user:this.form.sync_user,sync_password:new i.mX(this.form.sync_user,this.form.sync_password).toValue()}}};this.$axios.post(this.$apiData.mail,{req:(0,r.Z)(e)}).then((function(s){t.$message.success(t.$t("message.login.setsuccess")),t.$store.state.app.settingInfo.move_mail_from=t.form.sync_user,t.$store.commit("app/SETTING_INFO",t.$store.state.app.settingInfo)}))}}},l=m,p=e(43736),c=(0,p.Z)(l,a,o,!1,null,"4026ba90",null),u=c.exports}}]);
2//# sourceMappingURL=988.8087d464.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.