Edit D:\xinhaisoft\crisis_new\m\vant\js\chunk-d1fd2760.35b02733.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d1fd2760"],{"318f":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"title",rawName:"v-title",value:"??????",expression:"'??????'"}]},[i("NavBar",{attrs:{title:t.user.realname,"left-arrow":""},on:{"click-left":function(e){return t.$router.push(t.root)}}}),i("CellGroup",{staticClass:"list",attrs:{title:"??????"}},t._l(t.list,(function(e){return i("Cell",{key:e.id,attrs:{clickable:""},on:{click:function(i){return t.start(e.id)}}},[i("div",[i("img",{attrs:{src:e.picture||"img/mht.png"}})]),i("div",{staticClass:"info"},[i("h2",[t._v(t._s(e.name_fr||e.name_ch))]),i("p",{staticClass:"van-multi-ellipsis--l2"},[t._v(t._s(e.intro2))])])])})),1),i("Popup",{attrs:{position:"bottom","close-on-click-overlay":!1},model:{value:t.license.show,callback:function(e){t.$set(t.license,"show",e)},expression:"license.show"}},[i("Divider",[t._v(t._s(t.user.realname)+"??"+t._s(t.user.number)+"??")]),i("div",{staticClass:"license-content",domProps:{innerHTML:t._s(t.license.content)}}),i("div",{staticClass:"gap"},[i("Button",{attrs:{type:"primary",block:""},on:{click:t.agreeLicense}},[t._v("??????????????")]),i("Button",{staticStyle:{"margin-top":"5px"},attrs:{block:""},on:{click:function(e){return t.$router.push(t.root)}}},[t._v("??????")])],1)],1)],1)},s=[],r=i("6b41"),o=i("7744"),a=i("34e9"),c=i("e41f"),l=i("b650"),u=i("9ed2"),h=i("a78e"),d=i.n(h),f=i("5a0c"),p=i.n(f),g={name:"Puce",components:{NavBar:r["a"],Cell:o["a"],CellGroup:a["a"],Popup:c["a"],Button:l["a"],Divider:u["a"]},data(){return{user:this.$store("user"),root:"/school/student",school:{},list:[],license:{show:!1,content:""},id:0}},mounted(){this.getSchoolSetting()},methods:{getSchoolSetting(){const t=t=>{t.expiredate&&t.expiredate<=p()().format("YYYY-MM-DD")?this.$dialog.alert({title:"??????",message:"????????????????????"+t.expiredate+"???????",showConfirmButton:!1}):(this.school=Object.freeze(t),this.checkUserInfo())},e=this.$store("school");e&&e.id===this.user.member_type_top?t(e):(this.$loading.show(),this.$http.get("/school/"+this.$number.encrypt(this.user.member_type_top)+"/setting").then(e=>{0===e.code&&(this.$loading.hide(),this.$store("school",e.data),this.$i18n.locale=String(e.data.type),t(e.data))}))},checkUserInfo(){this.school.complete_info&&(this.user.realname+""===""||this.user.age<6||!this.$global.MobileValidateReg.test(this.user.mobile))?this.school.modinfo?this.$dialog.alert({title:"??????",message:"?????????????????????????????"}).then(()=>window.location="/m/school/student/my_edit.asp?redirect=/m/vant/#/school/student/puce"):this.$dialog.alert({title:"??????",message:"?????????????????????????????????????????????????????"}).then(()=>this.$router.push(this.root)):this.checkCrisisTest()},checkCrisisTest(){if(this.school.crisis&&this.school.crisislb){const t=[121,111,160];[1,2,16].includes(this.school.type)?t[0]=159:[4,5,6,10,11].includes(this.school.type)?(t[0]=190,t[1]=178,t[2]=191):[7,13].includes(this.school.type)&&(t[0]=164,t[1]=178,t[2]=179),this.$loading.show(),this.$http.get("/member/0/tested",{lb:t[0],valid:1,mini:1,top:2}).then(e=>{0===e.code&&(this.$loading.hide(),e.data.length?this.getList():(this.id=t[0],this.showLicense()))})}else this.getList()},getList(){this.$loading.show(),this.$http.get("/member/0/totestlist").then(t=>{0===t.code&&(this.$loading.hide(),t.data.length?(this.list=t.data,this.showLicense()):this.$toast({message:"????????????",onClose:()=>this.$router.push(this.root)}))})},showLicense(){1!==this.$store.session("agree-puce-license")&&this.school.testintro?(this.license.content="<p>"+this.school.testintro.replace(/\r\n/g,"</p><p>")+"</p>",this.license.show=!0):this.id&&this.start()},agreeLicense(){this.$store.session("agree-puce-license",1),this.license.show=!1,this.id&&this.start()},start(t){t?d.a.set("TestList",this.list.map(t=>t.id).join()):d.a.remove("TestList"),d.a.set("TestRedirect","/m/vant/#/school/student/puce"),this.$router.push("/test-start/"+(t||this.id))}}},v=g,$=(i("6392"),i("2877")),m=Object($["a"])(v,n,s,!1,null,"33033fc6",null);e["default"]=m.exports},"34e9":function(t,e,i){"use strict";var n=i("2638"),s=i.n(n),r=i("d282"),o=i("ba31"),a=i("b1d2"),c=Object(r["a"])("cell-group"),l=c[0],u=c[1];function h(t,e,i,n){var r,c=t("div",s()([{class:[u(),(r={},r[a["f"]]=e.border,r)]},Object(o["b"])(n,!0)]),[null==i.default?void 0:i.default()]);return e.title||i.title?t("div",{key:n.data.key},[t("div",{class:u("title")},[i.title?i.title():e.title]),c]):c}h.props={title:String,border:{type:Boolean,default:!0}},e["a"]=l(h)},"3f5a":function(t,e,i){},"5a0c":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){"use strict";var t=1e3,e=6e4,i=36e5,n="millisecond",s="second",r="minute",o="hour",a="day",c="week",l="month",u="quarter",h="year",d="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},$=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},m={s:$,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),s=i%60;return(e<=0?"+":"-")+$(n,2,"0")+":"+$(s,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var n=12*(i.year()-e.year())+(i.month()-e.month()),s=e.clone().add(n,l),r=i-s<0,o=e.clone().add(n+(r?-1:1),l);return+(-(n+(i-s)/(r?s-o:o-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:h,w:c,d:a,D:d,h:o,m:r,s:s,ms:n,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",y={};y[b]=v;var w=function(t){return t instanceof C},S=function(t,e,i){var n;if(!t)return b;if("string"==typeof t)y[t]&&(n=t),e&&(y[t]=e,n=t);else{var s=t.name;y[s]=t,n=s}return!i&&n&&(b=n),n||!i&&b},x=function(t,e){if(w(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new C(i)},k=m;k.l=S,k.i=w,k.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t)}var $=v.prototype;return $.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var s=n[2]-1||0,r=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},$.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},$.$utils=function(){return k},$.isValid=function(){return!(this.$d.toString()===f)},$.isSame=function(t,e){var i=x(t);return this.startOf(e)<=i&&i<=this.endOf(e)},$.isAfter=function(t,e){return x(t)<this.startOf(e)},$.isBefore=function(t,e){return this.endOf(e)<x(t)},$.$g=function(t,e,i){return k.u(t)?this[e]:this.set(i,t)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(t,e){var i=this,n=!!k.u(e)||e,u=k.p(t),f=function(t,e){var s=k.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return n?s:s.endOf(a)},p=function(t,e){return k.w(i.toDate()[t].apply(i.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},g=this.$W,v=this.$M,$=this.$D,m="set"+(this.$u?"UTC":"");switch(u){case h:return n?f(1,0):f(31,11);case l:return n?f(1,v):f(0,v+1);case c:var b=this.$locale().weekStart||0,y=(g<b?g+7:g)-b;return f(n?$-y:$+(6-y),v);case a:case d:return p(m+"Hours",0);case o:return p(m+"Minutes",1);case r:return p(m+"Seconds",2);case s:return p(m+"Milliseconds",3);default:return this.clone()}},$.endOf=function(t){return this.startOf(t,!1)},$.$set=function(t,e){var i,c=k.p(t),u="set"+(this.$u?"UTC":""),f=(i={},i[a]=u+"Date",i[d]=u+"Date",i[l]=u+"Month",i[h]=u+"FullYear",i[o]=u+"Hours",i[r]=u+"Minutes",i[s]=u+"Seconds",i[n]=u+"Milliseconds",i)[c],p=c===a?this.$D+(e-this.$W):e;if(c===l||c===h){var g=this.clone().set(d,1);g.$d[f](p),g.init(),this.$d=g.set(d,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},$.set=function(t,e){return this.clone().$set(t,e)},$.get=function(t){return this[k.p(t)]()},$.add=function(n,u){var d,f=this;n=Number(n);var p=k.p(u),g=function(t){var e=x(f);return k.w(e.date(e.date()+Math.round(t*n)),f)};if(p===l)return this.set(l,this.$M+n);if(p===h)return this.set(h,this.$y+n);if(p===a)return g(1);if(p===c)return g(7);var v=(d={},d[r]=e,d[o]=i,d[s]=t,d)[p]||1,$=this.$d.getTime()+n*v;return k.w($,this)},$.subtract=function(t,e){return this.add(-1*t,e)},$.format=function(t){var e=this;if(!this.isValid())return f;var i=t||"YYYY-MM-DDTHH:mm:ssZ",n=k.z(this),s=this.$locale(),r=this.$H,o=this.$m,a=this.$M,c=s.weekdays,l=s.months,u=function(t,n,s,r){return t&&(t[n]||t(e,i))||s[n].substr(0,r)},h=function(t){return k.s(r%12||12,t,"0")},d=s.meridiem||function(t,e,i){var n=t<12?"AM":"PM";return i?n.toLowerCase():n},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:k.s(a+1,2,"0"),MMM:u(s.monthsShort,a,l,3),MMMM:u(l,a),D:this.$D,DD:k.s(this.$D,2,"0"),d:String(this.$W),dd:u(s.weekdaysMin,this.$W,c,2),ddd:u(s.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:k.s(r,2,"0"),h:h(1),hh:h(2),a:d(r,o,!0),A:d(r,o,!1),m:String(o),mm:k.s(o,2,"0"),s:String(this.$s),ss:k.s(this.$s,2,"0"),SSS:k.s(this.$ms,3,"0"),Z:n};return i.replace(g,(function(t,e){return e||p[t]||n.replace(":","")}))},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(n,d,f){var p,g=k.p(d),v=x(n),$=(v.utcOffset()-this.utcOffset())*e,m=this-v,b=k.m(this,v);return b=(p={},p[h]=b/12,p[l]=b,p[u]=b/3,p[c]=(m-$)/6048e5,p[a]=(m-$)/864e5,p[o]=m/i,p[r]=m/e,p[s]=m/t,p)[g]||m,f?b:k.a(b)},$.daysInMonth=function(){return this.endOf(l).$D},$.$locale=function(){return y[this.$L]},$.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),n=S(t,e,!0);return n&&(i.$L=n),i},$.clone=function(){return k.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},v}(),D=C.prototype;return x.prototype=D,[["$ms",n],["$s",s],["$m",r],["$H",o],["$W",a],["$M",l],["$y",h],["$D",d]].forEach((function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),x.extend=function(t,e){return t.$i||(t(e,C,x),t.$i=!0),x},x.locale=S,x.isDayjs=w,x.unix=function(t){return x(1e3*t)},x.en=y[b],x.Ls=y,x.p={},x}))},6392:function(t,e,i){"use strict";i("3f5a")},"6b41":function(t,e,i){"use strict";var n=i("d282"),s=i("b1d2"),r=i("ad06"),o=Object(n["a"])("nav-bar"),a=o[0],c=o[1];e["a"]=a({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(r["a"],{class:c("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:c("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:c("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[c({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),(t={},t[s["b"]]=this.border,t)]},[e("div",{class:c("content")},[this.hasLeft()&&e("div",{class:c("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[c("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:c("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:c("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}})},7744:function(t,e,i){"use strict";var n=i("c31d"),s=i("2638"),r=i.n(s),o=i("d282"),a=i("a142"),c=i("ba31"),l=i("48f4"),u=i("dfaf"),h=i("ad06"),d=Object(o["a"])("cell"),f=d[0],p=d[1];function g(t,e,i,n){var s,o=e.icon,u=e.size,d=e.title,f=e.label,g=e.value,v=e.isLink,$=i.title||Object(a["c"])(d);function m(){var n=i.label||Object(a["c"])(f);if(n)return t("div",{class:[p("label"),e.labelClass]},[i.label?i.label():f])}function b(){if($)return t("div",{class:[p("title"),e.titleClass],style:e.titleStyle},[i.title?i.title():t("span",[d]),m()])}function y(){var n=i.default||Object(a["c"])(g);if(n)return t("div",{class:[p("value",{alone:!$}),e.valueClass]},[i.default?i.default():t("span",[g])])}function w(){return i.icon?i.icon():o?t(h["a"],{class:p("left-icon"),attrs:{name:o,classPrefix:e.iconPrefix}}):void 0}function S(){var n=i["right-icon"];if(n)return n();if(v){var s=e.arrowDirection;return t(h["a"],{class:p("right-icon"),attrs:{name:s?"arrow-"+s:"arrow"}})}}function x(t){Object(c["a"])(n,"click",t),Object(l["a"])(n)}var k=null!=(s=e.clickable)?s:v,C={clickable:k,center:e.center,required:e.required,borderless:!e.border};return u&&(C[u]=u),t("div",r()([{class:p(C),attrs:{role:k?"button":null,tabindex:k?0:null},on:{click:x}},Object(c["b"])(n)]),[w(),b(),y(),S(),null==i.extra?void 0:i.extra()])}g.props=Object(n["a"])({},u["a"],l["c"]),e["a"]=f(g)},"9ed2":function(t,e,i){"use strict";var n=i("2638"),s=i.n(n),r=i("d282"),o=i("ba31"),a=Object(r["a"])("divider"),c=a[0],l=a[1];function u(t,e,i,n){var r;return t("div",s()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:l((r={dashed:e.dashed,hairline:e.hairline},r["content-"+e.contentPosition]=i.default,r))},Object(o["b"])(n,!0)]),[i.default&&i.default()])}u.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}},e["a"]=c(u)},a78e:function(t,e,i){var n,s; /*! * JavaScript Cookie v2.2.1 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */(function(r){var o;if(n=r,s="function"===typeof n?n.call(e,i,e,t):n,void 0===s||(t.exports=s),o=!0,t.exports=r(),o=!0,!o){var a=window.Cookies,c=window.Cookies=r();c.noConflict=function(){return window.Cookies=a,c}}})((function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(n){function s(){}function r(e,i,r){if("undefined"!==typeof document){r=t({path:"/"},s.defaults,r),"number"===typeof r.expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var o=JSON.stringify(i);/^[\{\[]/.test(o)&&(i=o)}catch(l){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var c in r)r[c]&&(a+="; "+c,!0!==r[c]&&(a+="="+r[c].split(";")[0]));return document.cookie=e+"="+i+a}}function o(t,i){if("undefined"!==typeof document){for(var s={},r=document.cookie?document.cookie.split("; "):[],o=0;o<r.length;o++){var a=r[o].split("="),c=a.slice(1).join("=");i||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var l=e(a[0]);if(c=(n.read||n)(c,l)||e(c),i)try{c=JSON.parse(c)}catch(u){}if(s[l]=c,t===l)break}catch(u){}}return t?s[t]:s}}return s.set=r,s.get=function(t){return o(t,!1)},s.getJSON=function(t){return o(t,!0)},s.remove=function(e,i){r(e,"",t(i,{expires:-1}))},s.defaults={},s.withConverter=i,s}return i((function(){}))}))},dfaf:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null}}}}]);
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de