PageSourceSearch

https://mail.www.gov.cn/nsmail/static/js/661-legacy.56025209.js

js www.gov.cn collected 2026-10-02 02:14:31 UTC 4,950 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkweb_mail"]=self["webpackChunkweb_mail"]||[]).push([[661],{20661:function(e,t,i){i.r(t),i.d(t,{default:function(){return o}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"automaticreply mail-setting"},[t("div",{staticClass:"formlist"},[t("h2",[e._v(e._s(e.$t("message.setting.autoforword")))]),t("div",{staticClass:"div-margin-bottom"},[t("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(e.$t("message.setting.autofwd1")))]),t("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:e.sieve_enable,callback:function(t){e.sieve_enable=t},expression:"sieve_enable"}})],1),t("div",{class:"0"==e.sieve_enable?"sieve-enable-no":""},[t("div",{staticClass:"div-margin-bottom"},[t("el-checkbox",{attrs:{disabled:"0"==e.sieve_enable},model:{value:e.specify_time,callback:function(t){e.specify_time=t},expression:"specify_time"}}),t("span",{staticStyle:{"margin-left":"5px"}},[e._v(e._s(e.$t("message.setting.autofwd2")))])],1),t("div",{staticClass:"div-margin-bottom"},[t("el-row",[t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$t("message.setting.autoreply4"),disabled:"0"==e.sieve_enable},model:{value:e.start_time,callback:function(t){e.start_time=t},expression:"start_time"}}),t("span",{staticStyle:{width:"50px","text-align":"center",display:"inline-block"}},[e._v("至")]),t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$t("message.setting.autoreply5"),disabled:"0"==e.sieve_enable},model:{value:e.end_time,callback:function(t){e.end_time=t},expression:"end_time"}})],1)],1),t("div",{staticClass:"div-margin-bottom"},[t("span",[e._v(e._s(e.$t("message.setting.autofwd3")))])]),t("div",{staticClass:"div-margin-bottom"},e._l(e.mail,(function(i,s){return t("el-row",{key:s},[t("el-col",{attrs:{span:19}},[t("el-input",{staticStyle:{width:"608px","margin-bottom":"10px"},attrs:{type:"text",placeholder:e.$t("message.setting.autofwd4",{num:s+1+":"}),disabled:"0"==e.sieve_enable},model:{value:i.address,callback:function(t){e.$set(i,"address",t)},expression:"item.address"}})],1)],1)})),1),t("div",{staticClass:"div-margin-bottom"},[t("el-checkbox",{attrs:{disabled:"0"==e.sieve_enable},model:{value:e.save,callback:function(t){e.save=t},expression:"save"}}),t("span",{staticStyle:{"margin-left":"5px"}},[e._v(e._s(e.$t("message.setting.autofwd5")))])],1)])]),t("p",{staticClass:"bootom-line"}),t("div",{staticClass:"btns"},[t("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.onSubmit}}
1,[e._v(e._s(e.$t("message.btnText.save")))])],1)])},a=[],n=i(55230),l={data:function(){var e=this;return{startTimePickerOptions:{disabledDate:function(t){return e.end_time?t.getTime()>new Date(e.end_time).getTime()||t.getTime()<Date.now()-864e5:t.getTime()<new Date((new Date).toLocaleDateString()).getTime()}},endTimePickerOptions:{disabledDate:function(t){if(e.start_time){var i=864e5;return t.getTime()<new Date(e.start_time).getTime()||t.getTime()>new Date(e.start_time).getTime()+365*i}return t.getTime()<new Date((new Date).toLocaleDateString()).getTime()}},mail:[{address:""},{address:""},{address:""},{address:""},{address:""}],sieve_enable:"0",start_time:"",end_time:"",save:!1,specify_time:!1}},mounted:function(){this.getDetails()},methods:{onSubmit:function(){var e=this;if(this.specify_time&&(!this.start_time||!this.end_time))return this.$message({type:"error",message:this.$t("message.setting.autofwd6")});if(this.start_time>this.end_time)return this.$message({type:"error",message:this.$t("message.setting.autofwd7")});if("1"===this.sieve_enable){var t=!1;if(this.mail.forEach((function(e){e.address&&(t=!0)})),!t)return this.$message({type:"error",message:this.$t("message.setting.autofwd8")})}var i=[];this.mail.forEach((function(e){i.push(e.address)})),i=i.toString();var s={module:"filter",require:{action:"update",sieve_id:"redirect",data:{sieve:{specify_time:this.specify_time?"1":"0",save:this.save?"0":"1",start_time:this.start_time,end_time:this.end_time,mail:i},sieve_enable:this.sieve_enable}}};this.$axios.post(this.$apiData.mail,{req:(0,n.Z)(s)}).then((function(t){e.$message({type:"success",message:e.$t("message.setting.saveinfo")})}))},getDetails:function(){var e=this,t={module:"filter",require:{action:"get",sieve_id:"redirect"}};this.$axios.post(this.$apiData.mail,{req:(0,n.Z)(t)}).then((function(t){var i=t.result;if("[]"!==JSON.stringify(i)){e.sieve_enable=i.sieve_enable,e.sieve_enable=e.sieve_enable.toString(),e.start_time=i.sieve.start_time,e.end_time=i.sieve.end_time,e.specify_time="1"===i.sieve.specify_time,e.save="0"===i.sieve.save;var s=i.sieve.mail.split(",");s.length>0&&(e.mail=[],s.forEach((function(t){e.mail.push({address:t})})))}}))}}},r=l,m=i(43736),d=(0,m.Z)(r,s,a,!1,null,"3c85dddc",null),o=d.exports}}]);
2//# sourceMappingURL=661-legacy.56025209.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.