(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36e654da"],{"0cb2":function(e,t,n){var r=n("7b0b"),a=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,o,l,u){var f=n+e.length,d=o.length,h=s;return void 0!==l&&(l=r(l),h=c),i.call(u,h,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":c=l[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>d){var u=a(s/10);return 0===u?r:u<=d?void 0===o[u-1]?i.charAt(1):o[u-1]+i.charAt(1):r}c=o[s-1]}return void 0===c?"":c}))}},"107c":function(e,t,n){var r=n("d039");e.exports=r((function(){var e=RegExp("(?b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1276:function(e,t,n){"use strict";var r=n("d784"),a=n("44e7"),i=n("825a"),c=n("1d80"),s=n("4840"),o=n("8aa5"),l=n("50c4"),u=n("14c3"),f=n("9263"),d=n("9f7f"),h=n("d039"),p=d.UNSUPPORTED_Y,v=[].push,g=Math.min,x=4294967295,m=!h((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(c(this)),i=void 0===n?x:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,i);var s,o,l,u=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,p=new RegExp(e.source,d+"g");while(s=f.call(p,r)){if(o=p.lastIndex,o>h&&(u.push(r.slice(h,s.index)),s.length>1&&s.index=i))break;p.lastIndex===s.index&&p.lastIndex++}return h===r.length?!l&&p.test("")||u.push(""):u.push(r.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=c(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,a,n):r.call(String(a),t,n)},function(e,a){var c=n(r,this,e,a,r!==t);if(c.done)return c.value;var f=i(this),d=String(e),h=s(f,RegExp),v=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(p?"g":"y"),b=new h(p?"^(?:"+f.source+")":f,m),k=void 0===a?x:a>>>0;if(0===k)return[];if(0===d.length)return null===u(b,d)?[d]:[];var w=0,y=0,I=[];while(y")}));r("replace",(function(e,t,n){var r=m?"$":"$0";return[function(e,n){var r=o(this),a=void 0==e?void 0:e[h];return void 0!==a?a.call(e,r,n):t.call(String(r),e,n)},function(e,a){if("string"===typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var o=n(t,this,e,a);if(o.done)return o.value}var d=i(this),h=String(e),x="function"===typeof a;x||(a=String(a));var m=d.global;if(m){var b=d.unicode;d.lastIndex=0}var k=[];while(1){var w=f(d,h);if(null===w)break;if(k.push(w),!m)break;var y=String(w[0]);""===y&&(d.lastIndex=l(h,c(d.lastIndex),b))}for(var I="",E=0,R=0;R=E&&(I+=h.slice(E,$)+j,E=$+S.length)}return I+h.slice(E)}]}),!b||!x||m)},"841c":function(e,t,n){"use strict";var r=n("d784"),a=n("825a"),i=n("1d80"),c=n("129f"),s=n("14c3");r("search",(function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,this,e);if(r.done)return r.value;var i=a(this),o=String(e),l=i.lastIndex;c(l,0)||(i.lastIndex=0);var u=s(i,o);return c(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},8521:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.show?n("div",[n("van-nav-bar",{attrs:{title:"领导信箱","left-arrow":""},on:{"click-left":e.onClickLeft}})],1):e._e(),n("div",{staticClass:"inputAll"},[n("form",{on:{submit:function(t){return t.preventDefault(),e.submit(e.staff_num)}}},[n("div",{staticClass:"input-name"},[n("span",{staticClass:"span-name"},[e._v("姓名:")]),n("input",{staticClass:"input-border",attrs:{type:"text",name:"姓名",placeholder:"请输入姓名",readonly:""},domProps:{value:e.username}}),n("div",[n("van-checkbox",{attrs:{shape:"square"},on:{change:e.userNameChange},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},[e._v("匿名")])],1)]),n("div",{staticClass:"input-message"},[n("van-field",{attrs:{rows:"5",colon:"true",name:"留言",label:"留言",type:"textarea",placeholder:"请输入留言"},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1),e._m(0)])])])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-button"},[n("input",{attrs:{type:"submit",value:"提交"}})])}],i=(n("ac1f"),n("5319"),n("b0c0"),n("9340")),c={data:function(){return{checked:0,content:"",username:"",staff_num:"",token:sessionStorage.getItem("mytoken")?sessionStorage.getItem("mytoken"):"",show:!0,gettoken:""}},methods:{submit:function(e){""==this.username||""==this.content?this.$toast("请填写内容"):(this.$http.post("/api/workbench/leader_mailbox/add",{staff_num:e,status:this.checked,content:this.content,name:this.username}).then((function(e){console.log(e)})),this.$toast("建议已提交"))},userNameChange:function(){if(1==this.checked){var e=this.username;e=e.replace(/./g,"*"),this.username=e}else this.username},onClickLeft:function(){window.history.back()},getxinxi:function(){var e=this;this.$http.post("http://xixuan.nxjiewei.com:8011/api/user/info").then((function(t){if(e.staff_num=t.data.data.staff_num,e.username=t.data.data.name,1==e.checked){var n=e.username;n=n.replace(/./g,"*"),e.username=n,0==e.checked&&(e.username=t.data.data.name)}}))}},mounted:function(){this.gettoken=Object(i["a"])(window.location.href).token,this.token="Bearer ".concat(this.gettoken),sessionStorage.setItem("mytoken",this.token),this.show=Boolean(Object(i["a"])(window.location.href).tabber),this.getxinxi()}},s=c,o=(n("b391"),n("2877")),l=Object(o["a"])(s,r,a,!1,null,null,null);t["default"]=l.exports},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9263:function(e,t,n){"use strict";var r=n("ad6d"),a=n("9f7f"),i=n("5692"),c=n("7c73"),s=n("69f3").get,o=n("fce3"),l=n("107c"),u=RegExp.prototype.exec,f=i("native-string-replace",String.prototype.replace),d=u,h=function(){var e=/a/,t=/b*/g;return u.call(e,"a"),u.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,v=void 0!==/()??/.exec("")[1],g=h||v||p||o||l;g&&(d=function(e){var t,n,a,i,o,l,g,x=this,m=s(x),b=m.raw;if(b)return b.lastIndex=x.lastIndex,t=d.call(b,e),x.lastIndex=b.lastIndex,t;var k=m.groups,w=p&&x.sticky,y=r.call(x),I=x.source,E=0,R=e;if(w&&(y=y.replace("y",""),-1===y.indexOf("g")&&(y+="g"),R=String(e).slice(x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&"\n"!==e[x.lastIndex-1])&&(I="(?: "+I+")",R=" "+R,E++),n=new RegExp("^(?:"+I+")",y)),v&&(n=new RegExp("^"+I+"$(?!\\s)",y)),h&&(a=x.lastIndex),i=u.call(w?n:x,R),w?i?(i.input=i.input.slice(E),i[0]=i[0].slice(E),i.index=x.lastIndex,x.lastIndex+=i[0].length):x.lastIndex=0:h&&i&&(x.lastIndex=x.global?i.index+i[0].length:a),v&&i&&i.length>1&&f.call(i[0],n,(function(){for(o=1;o