1 |
- (function(e){function t(t){for(var r,a,c=t[0],i=t[1],s=t[2],d=0,l=[];d<c.length;d++)a=c[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&l.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);f&&f(t);while(l.length)l.shift()();return u.push.apply(u,s||[]),n()}function n(){for(var e,t=0;t<u.length;t++){for(var n=u[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(u.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},a={app:0},o={app:0},u=[];function c(e){return i.p+"assets/js/"+({}[e]||e)+"."+{"chunk-0114244c":"4bd4b853","chunk-112a5f05":"5c57047a","chunk-2aee1aec":"adc45189","chunk-35d793bd":"39672fad","chunk-36ccf8bb":"0c0901bf","chunk-56709ff8":"b61736c6","chunk-6a9d078c":"797d692c","chunk-5e6a9531":"4b245526","chunk-9034e49a":"2e51a1df","chunk-38038528":"0211d84e","chunk-de9d7e78":"d434f566","chunk-365e410d":"936e04a6","chunk-4b7eaff4":"0fd2ab8d","chunk-27182164":"5dbfc57c","chunk-4518345e":"d7ef7aa0","chunk-89d9fea6":"440b3fa3","chunk-79010b56":"ca3e0b69","chunk-df5dcd14":"697ebf5b"}[e]+".js"}function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-0114244c":1,"chunk-112a5f05":1,"chunk-2aee1aec":1,"chunk-36ccf8bb":1,"chunk-6a9d078c":1,"chunk-5e6a9531":1,"chunk-9034e49a":1,"chunk-38038528":1,"chunk-de9d7e78":1,"chunk-365e410d":1,"chunk-4b7eaff4":1,"chunk-4518345e":1,"chunk-89d9fea6":1,"chunk-79010b56":1,"chunk-df5dcd14":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise((function(t,n){for(var r="assets/css/"+({}[e]||e)+"."+{"chunk-0114244c":"cd869134","chunk-112a5f05":"12b9eb77","chunk-2aee1aec":"371149aa","chunk-35d793bd":"31d6cfe0","chunk-36ccf8bb":"ebb457ee","chunk-56709ff8":"31d6cfe0","chunk-6a9d078c":"b0636696","chunk-5e6a9531":"8124d58d","chunk-9034e49a":"e12151f2","chunk-38038528":"184a9999","chunk-de9d7e78":"c2ae39e4","chunk-365e410d":"799825ad","chunk-4b7eaff4":"669de69d","chunk-27182164":"31d6cfe0","chunk-4518345e":"efbd2014","chunk-89d9fea6":"d00416aa","chunk-79010b56":"2ca775d3","chunk-df5dcd14":"1037b964"}[e]+".css",o=i.p+r,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var s=u[c],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===r||d===o))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){s=l[c],d=s.getAttribute("data-href");if(d===r||d===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var r=t&&t.target&&t.target.src||o,u=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=r,delete a[e],f.parentNode.removeChild(f),n(u)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){a[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var u=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=u);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=c(e);var l=new Error;s=function(t){d.onerror=d.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,n[1](l)}o[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(t)},i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var f=d;u.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"1ea1":function(e,t,n){"use strict";var r=n("705a"),a=n.n(r);a.a},2395:function(e,t,n){},"312c":function(e,t,n){"use strict";n.r(t);var r=n("e017"),a=n.n(r),o=n("21a1"),u=n.n(o),c=new a.a({id:"icon-close",use:"icon-close-usage",viewBox:"0 0 23 25",content:'<symbol viewBox="0 0 23 25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-close">\r\n <title>close</title>\r\n <g id="icon-close_页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>\r\n</symbol>'});u.a.add(c);t["default"]=c},3324:function(e,t,n){"use strict";n.d(t,"n",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"z",(function(){return p})),n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"J",(function(){return k})),n.d(t,"g",(function(){return w})),n.d(t,"m",(function(){return y})),n.d(t,"k",(function(){return P})),n.d(t,"q",(function(){return A})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return C})),n.d(t,"N",(function(){return x})),n.d(t,"A",(function(){return I})),n.d(t,"F",(function(){return j})),n.d(t,"C",(function(){return M})),n.d(t,"r",(function(){return D})),n.d(t,"K",(function(){return T})),n.d(t,"x",(function(){return S})),n.d(t,"s",(function(){return O})),n.d(t,"I",(function(){return $})),n.d(t,"L",(function(){return N})),n.d(t,"h",(function(){return U})),n.d(t,"t",(function(){return _})),n.d(t,"c",(function(){return B})),n.d(t,"o",(function(){return F})),n.d(t,"w",(function(){return L})),n.d(t,"E",(function(){return q})),n.d(t,"v",(function(){return R})),n.d(t,"G",(function(){return H})),n.d(t,"B",(function(){return z})),n.d(t,"O",(function(){return V})),n.d(t,"a",(function(){return Z})),n.d(t,"H",(function(){return J})),n.d(t,"u",(function(){return X})),n.d(t,"y",(function(){return G})),n.d(t,"b",(function(){return W})),n.d(t,"D",(function(){return Y})),n.d(t,"M",(function(){return K})),n.d(t,"p",(function(){return Q}));n("d3b7"),n("e7e5");var r=n("d399"),a=n("bc3a"),o=n.n(a),u=(n("4360"),n("56d7")),c=n("f121");console.log(c["baseApi"]);var i,s=o.a.create({baseURL:c["baseApi"],timeout:1e4});function d(){i=r["a"].loading({message:"加载中...",forbidClick:!0})}function l(){i.clear()}s.interceptors.request.use((function(e){return console.log(e),e.headers["Content-Type"]="application/json;charset=UTF-8",d(),e}),(function(e){return Promise.reject(e)})),s.interceptors.response.use((function(e){return 401===e.data.code?u["default"].$dialog({message:"登录状态已过期,您可以继续留在该页面,或者重新登录",showCancelButton:!0,confirmButtonText:"重新登录",cancelButtonText:"取消"}).then((function(){u["default"].$store.dispatch("login/getUser",{}),u["default"].$router.push({path:"/"})})):200!==e.data.code&&u["default"].$notify({type:"danger",message:e.data.msg,duration:1e3}),l(),e}),(function(e){u["default"].$notify({type:"danger",message:e.response.data.msg,duration:1e3}),l()}));var f=s;function h(e){return f({url:"/constructionPda/contractor/getProject",method:"get",params:e})}function m(e){return f({url:"/constructionPda/queryPlatformByAdministrationCenter",method:"get",params:e})}function p(e){return f({url:"/constructionPda/queryUserByPlatformId",method:"get",params:e})}function g(e){return f({url:"/constructionPda/complement/getContractorBacklogNumber",method:"get",params:e})}function v(e){return f({url:"/constructionPda/complement/getCompletionReportDetail",method:"get",params:e})}function b(e){return f({url:"/constructionPda/getBuilderList",method:"get",params:e})}function k(e){return f({url:"/constructionPda/suspensionConstruction",method:"get",params:e})}function w(e){return f({url:"/constructionPda/getConstructionAttebdabce",method:"get",params:e})}function y(e){return f({url:"/constructionPda/complement/getPreConstructionInspection",method:"get",params:e})}function P(e){return f({url:"/constructionPda/complement/getContractorMessageCount",method:"get",params:e})}function A(e){return f({url:"/constructionPda/complement/messageRead",method:"get",params:e})}function E(e){return f({url:"/constructionPda/complement/getContractorMessage",method:"get",params:e})}function C(e){return f({url:"/minio/getImageOfMinio?fileName=".concat(e),method:"post"})}function x(e){return f({url:"/minio/upload",method:"post",data:e})}function I(e){return f({url:"/constructionPda/contractor/saveCompletionReport",method:"post",data:e})}function j(e){return f({url:"/constructionPda/complement/savePreConstructionInspection",method:"post",data:e})}function M(e){return f({url:"/constructionPda/saveConstructionEducation?startId=".concat(e.startId),method:"post",data:e.list})}function D(e){return f({url:"/constructionPda/modifyAttendance",method:"post",data:e})}function T(e){return f({url:"/constructionPda/updateAttebdabceDetail",method:"post",data:e})}function S(e){return f({url:"/constructionPda/queryEducationCompletionStatus",method:"get",params:e})}function O(e){return f({url:"/constructionPda/queryConstructionEducation",method:"get",params:e})}function $(e){return f({url:"/constructionPda/submitConstructionEducationPersonList",method:"get",params:e})}function N(e){return f({url:"/constructionPda/updateConstructionEducationDetail",method:"post",data:e})}function U(e){return f({url:"/constructionPda/getConstructionEducationDetail",method:"get",params:e})}function _(e){return f({url:"/constructionPda/queryConstructionEducationPersonList",method:"get",params:e})}function B(e){return f({url:"/constructionPda/getAttendanceDetails",method:"get",params:e})}function F(e){return f({url:"/constructionPda/contractor/getProjectPlan",method:"get",params:e})}function L(e){return f({url:"/constructionPda/queryDailyListByProjectNo",method:"get",params:e})}function q(e){return f({url:"/constructionPda/saveDailyQuery",method:"get",params:e})}function R(e){return f({url:"/constructionPda/queryDailyById",method:"get",params:e})}function H(e){return f({url:"/constructionPda/contractor/saveProjectPlan",method:"post",data:e})}function z(e){return f({url:"/constructionPda/saveConstructionDailyReport",method:"post",data:e})}function V(e){return f({url:"/constructionPda/contractor/userInformation",method:"get",params:e})}function Z(e){return f({url:"/constructionPda/contractor/deleteContractorUser",method:"get",params:e})}function J(e){return f({url:"/constructionPda/contractor/startProject",method:"get",params:e})}function X(e){return f({url:"/constructionPda/contractor/queryConstructionStartFlowLog",method:"get",params:e})}function G(e){return f({url:"/constructionPda/contractor/queryEvaluationStart",method:"get",params:e})}function W(e){return f({url:"/constructionPda/contractor/evaluationStart",method:"get",params:e})}function Y(e){return f({url:"/constructionPda/contractor/saveContractorUser",method:"post",data:e})}function K(e){return f({url:"/constructionPda/contractor/updateContractorUser",method:"post",data:e})}function Q(e){return f({url:"/constructionPda/contractor/login",method:"post",data:e})}},4360:function(e,t,n){"use strict";var r=n("2b0e"),a=n("2f62"),o={namespaced:!0,state:{user:{}},mutations:{GETUSER:function(e,t){console.log(e),e.user=t}},actions:{getUser:function(e,t){var n=e.commit;n("GETUSER",t)}},getters:{}},u=o,c={namespaced:!0,state:{num:{num:0}},mutations:{GETNUM:function(e,t){console.log(e,t),e.num=t}},actions:{getNum:function(e,t){var n=e.commit;n("GETNUM",t)}},getters:{}},i=c,s=n("0e44");r["a"].use(a["a"]);t["a"]=new a["a"].Store({modules:{login:u,num:i},plugins:[Object(s["a"])()]})},"4dcb":function(e,t,n){},"4ee2":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("4de4"),n("4160"),n("b64b"),n("159b"),n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("2b0e"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("layout")],1)},o=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.$route.meta.hidden?n("div",[n("div",{staticClass:"main"},[e.$route.meta.keepAlive?e._e():n("router-view"),n("keep-alive",[e.$route.meta.keepAlive?n("router-view"):e._e()],1)],1),n("div",{staticClass:"foot"},[n("ul",{staticClass:"footer"},[n("router-link",{attrs:{tag:"li","active-class":"active",to:"/home"}},[n("van-icon",{attrs:{name:"wap-home-o"}}),n("span",[e._v("首页")])],1),n("router-link",{attrs:{tag:"li","active-class":"active",to:"/news"}},[n("van-icon",{attrs:{name:"chat-o",badge:this.num.num}}),n("span",[e._v("消息")])],1)],1)])]):n("div",[n("div",[e.$route.meta.keepAlive?e._e():n("router-view"),n("keep-alive",[e.$route.meta.keepAlive?n("router-view"):e._e()],1)],1)])])},c=[],i=n("5530"),s=(n("3324"),n("2f62")),d={name:"VueCli4VantIndex",data:function(){return{bubble:{},information:"",tabIndex:!0}},computed:Object(i["a"])({},Object(s["b"])("login",["user"]),{},Object(s["b"])("num",["num"])),mounted:function(){},updated:function(){},methods:{foot:function(){}}},l=d,f=(n("9616"),n("2877")),h=Object(f["a"])(l,u,c,!1,null,"b9f7a198",null),m=h.exports,p={name:"App",components:{Layout:m}},g=p,v=(n("7c55"),Object(f["a"])(g,a,o,!1,null,null,null)),b=v.exports,k=(n("d3b7"),n("8c4f"));r["a"].use(k["a"]);var w=[{path:"/",name:"login",component:function(){return n.e("chunk-79010b56").then(n.bind(null,"1364"))},meta:{title:"登录",keepAlive:!1,hidden:!1}},{path:"/login",name:"login",component:function(){return n.e("chunk-79010b56").then(n.bind(null,"1364"))},meta:{title:"登录",keepAlive:!1,hidden:!1}},{path:"/home",name:"home",component:function(){return n.e("chunk-0114244c").then(n.bind(null,"7abe"))},meta:{title:"首页",keepAlive:!1,hidden:!0}},{path:"/education",name:"education",component:function(){return n.e("chunk-365e410d").then(n.bind(null,"6dbe"))},meta:{title:"安全教育",keepAlive:!1,hidden:!1}},{path:"/edit",name:"edit",component:function(){return Promise.all([n.e("chunk-35d793bd"),n.e("chunk-9034e49a"),n.e("chunk-38038528")]).then(n.bind(null,"2392"))},meta:{title:"安全教育提示",keepAlive:!1,hidden:!1}},{path:"/entering",name:"entering",component:function(){return n.e("chunk-2aee1aec").then(n.bind(null,"ee6f"))},meta:{title:"承包商录入",keepAlive:!1,hidden:!1}},{path:"/projectStart",name:"projectStart",component:function(){return Promise.all([n.e("chunk-35d793bd"),n.e("chunk-56709ff8"),n.e("chunk-6a9d078c")]).then(n.bind(null,"684d"))},meta:{title:"项目启动",keepAlive:!1,hidden:!1}},{path:"/projectPlan",name:"projectPlan",component:function(){return Promise.all([n.e("chunk-56709ff8"),n.e("chunk-27182164"),n.e("chunk-89d9fea6")]).then(n.bind(null,"1453"))},meta:{title:"项目计划",keepAlive:!1,hidden:!1}},{path:"/think",name:"think",component:function(){return Promise.all([n.e("chunk-35d793bd"),n.e("chunk-9034e49a"),n.e("chunk-de9d7e78")]).then(n.bind(null,"3342"))},meta:{title:"五想五不干",keepAlive:!1,hidden:!1}},{path:"/dailyPaper",name:"dailyPaper",component:function(){return Promise.all([n.e("chunk-56709ff8"),n.e("chunk-27182164"),n.e("chunk-4518345e")]).then(n.bind(null,"9519"))},meta:{title:"施工日报",keepAlive:!1,hidden:!1}},{path:"/checking",name:"checking",component:function(){return Promise.all([n.e("chunk-35d793bd"),n.e("chunk-36ccf8bb")]).then(n.bind(null,"ec05"))},meta:{title:"考勤",keepAlive:!1,hidden:!1}},{path:"/doc",name:"doc",meta:{title:"文档",keepAlive:!1,hidden:!1}},{path:"/editCheck",name:"editCheck",component:function(){return n.e("chunk-4b7eaff4").then(n.bind(null,"2c2f"))},meta:{title:"考勤详情",keepAlive:!1,hidden:!1}},{path:"/evaluate",name:"evaluate",component:function(){return n.e("chunk-112a5f05").then(n.bind(null,"2c2d"))},meta:{title:"施工评价",keepAlive:!1,hidden:!1}},{path:"/report",name:"report",component:function(){return Promise.all([n.e("chunk-35d793bd"),n.e("chunk-5e6a9531")]).then(n.bind(null,"f382"))},meta:{title:"完工报告",keepAlive:!1,hidden:!1}},{path:"/news",name:"news",component:function(){return n.e("chunk-df5dcd14").then(n.bind(null,"7c64"))},meta:{title:"消息",keepAlive:!1,hidden:!0}}],y=new k["a"]({routes:w,scrollBehavior:function(){return{y:0}}}),P=y,A=n("4360"),E=n("13bf"),C=(n("4ee2"),n("4dcb"),n("695d"),n("c975"),n("ac1f"),n("466d"),n("fe3c")),x=n.n(C),I=navigator.userAgent,j=!!I.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);x.a.prototype.focus=function(e){var t;j&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t),e.focus()):e.focus()},x.a.attach(document.body);n("157a");var M=function(e,t){if(e){var n=new Date(1e3*e),r=n.getFullYear(),a=n.getMonth()+1,o=n.getDate(),u=n.getHours(),c=n.getMinutes();return a=a>=10?a:"0"+a,o=o>=10?o:"0"+o,u=u>=10?u:"0"+u,c=c>=10?c:"0"+c,t?r+"-"+a+"-"+o+" "+u+":"+c:r+"-"+a+"-"+o}},D={formatTimer:M},T=n("3a34"),S=n.n(T),O=(new S.a,n("4d63"),n("25f0"),n("5319"),n("841c"),n("1276"),{install:function(e,t){e.prototype.util={getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(t);return null!=n?unescape(n[2]):null},isIOS:function(){return!!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)},testMobileType:function(){var e=navigator.userAgent,t=e.indexOf("Android")>-1||e.indexOf("Adr")>-1,n=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return t?"android":n?"ios":"pc"},isPhone:function(e){var t=/^(((1[3456789][0-9]{1})|(15[0-9]{1}))+\d{8})$/;return!(!t.test(e)||""===e)},isCarNum:function(e){var t=/^([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1})$/,n=/^([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF])|([DF]([A-HJ-NP-Z0-9])[0-9]{4})))$/;return!(!t.test(e)&&!n.test(e))},isVehicle:function(e){var t=/^[A-HJ-NP-Za-hj-np-z0-9]+$/;return!(!t.test(e)||""===e)},isSfz:function(e){var t,n,r,a,o,u,c=[1,"身份证号码位数不对","出生日期错误","身份证号码错误","身份证地区非法"],i={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"xinjiang",71:"台湾",81:"香港",82:"澳门",91:"国外"},s=[];if(s=e.split(""),null==i[parseInt(e.substr(0,2))])return u=c[4],u;switch(e.length){case 15:return o=(parseInt(e.substr(6,2))+1900)%4===0||(parseInt(e.substr(6,2))+1900)%100===0&&(parseInt(e.substr(6,2))+1900)%4===0?/^[1-9][0-9]{5}[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:/^[1-9][0-9]{5}[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,u=o.test(e)?c[0]:c[2],u;case 18:return o=parseInt(e.substr(6,4))%4===0||parseInt(e.substr(6,4))%100===0&&parseInt(e.substr(6,4))%4===0?/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,o.test(e)?(r=7*(parseInt(s[0])+parseInt(s[10]))+9*(parseInt(s[1])+parseInt(s[11]))+10*(parseInt(s[2])+parseInt(s[12]))+5*(parseInt(s[3])+parseInt(s[13]))+8*(parseInt(s[4])+parseInt(s[14]))+4*(parseInt(s[5])+parseInt(s[15]))+2*(parseInt(s[6])+parseInt(s[16]))+1*parseInt(s[7])+6*parseInt(s[8])+3*parseInt(s[9]),t=r%11,a="F",n="10X98765432",a=n.substr(t,1),u=a===s[17]?c[0]:c[3]):u=c[2],u;default:return u=c[1],u}},isEmojiCharacter:function(e){for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n>=55296&&n<=56319){if(e.length>1){var r=e.charCodeAt(t+1),a=1024*(n-55296)+(r-56320)+65536;if(a>=118784&&a<=128895)return!0}}else if(e.length>1){var o=e.charCodeAt(t+1);if(8419===o)return!0}else{if(n>=8448&&n<=10239)return!0;if(n>=11013&&n<=11015)return!0;if(n>=10548&&n<=10549)return!0;if(n>=12951&&n<=12953)return!0;if(169===n||174===n||12349===n||12336===n||11093===n||11036===n||11035===n||11088===n)return!0}}},dateFormat:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var r in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return t},TimeFormat:function(e,t){if(!e)return"";t&&(e*=1e3);var n=new Date(e),r=n.getFullYear(),a=n.getMonth()+1,o=n.getDate(),u=n.getHours(),c=n.getMinutes(),i=n.getSeconds();return a=a<10?"0"+a:a,o=o<10?"0"+o:o,u=u<10?"0"+u:u,c=c<10?"0"+c:c,i=i<10?"0"+i:i,r+"-"+a+"-"+o+" "+u+":"+c+":"+i},getDate:function(e){var t=new Date;t.setDate(t.getDate()+e);var n=t.getFullYear(),r=t.getMonth()+1,a=t.getDate();return r=r<10?"0"+r:r,a=a<10?"0"+a:a,n+"-"+r+"-"+a},formatMomey:function(e){return Math.round(100*e)/100},dealImage:function(e,t,n){var r=new Image;r.src=e,r.onload=function(){var e=this,r=e.width,a=e.height,o=r/a;r=t.width||r,a=t.height||r/o;var u=.5,c=document.createElement("canvas"),i=c.getContext("2d"),s=document.createAttribute("width");s.nodeValue=r;var d=document.createAttribute("height");d.nodeValue=a,c.setAttributeNode(s),c.setAttributeNode(d),i.drawImage(e,0,0,r,a),t.quality&&t.quality<=1&&t.quality>0&&(u=t.quality);var l=c.toDataURL("image/jpeg",u);n(l)}},getImgData:function(e,t,n){var r=new Image;r.onload=function(){var e,r,a,o,u=0;e=this.naturalWidth,r=this.naturalHeight;var c=document.createElement("canvas");c.width=a=e,c.height=o=r;var i=c.getContext("2d");switch(t){case 3:u=180,e=-a,r=-o;break;case 6:c.width=o,c.height=a,u=90,e=a,r=-o;break;case 8:c.width=o,c.height=a,u=270,e=-a,r=o;break}i.rotate(u*Math.PI/180),i.drawImage(this,0,0,e,r),n(c.toDataURL("image/jpeg",.8))},r.src=e},_debounce:function(e,t){var n,r=t||200;return function(){var t=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(t,a)}),r)}},_throttle:function(e,t){var n,r,a=t||200;return function(){var o=this,u=arguments,c=+new Date;n&&c-n<t?(clearTimeout(r),r=setTimeout((function(){n=c,e.apply(o,u)}),a)):(n=c,e.apply(o,u))}}}}}),$=n("4941"),N=n.n($),U=n("1c67"),_=n.n(U),B=(n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":e.iconName}})])}),F=[],L={name:"SvgIcon",props:{iconClass:{type:String,required:!0}},computed:{iconName:function(){return"#icon-".concat(this.iconClass)}}},q=L,R=(n("1ea1"),Object(f["a"])(q,B,F,!1,null,"3a5aee85",null)),H=R.exports;r["a"].component("svg-icon",H);var z=function(e){return e.keys().map(e)},V=n("da18");z(V);var Z=n("bc3a"),J=n.n(Z),X=n("f121"),G=J.a.create({baseURL:X["baseApi"],timeout:5e3});function W(e,t,n){return new Promise((function(t,n){G.get(e).then((function(e){t(e.data)}),(function(e){n(e)})).catch((function(e){n(e)}))}))}function Y(e,t,n){return new Promise((function(r,a){G.post(e,t,{loading:n}).then((function(e){r(e.data)}),(function(e){a(e)})).catch((function(e){a(e)}))}))}G.interceptors.request.use((function(e){return e.headers["Content-Type"]="application/json;charset=UTF-8",e.headers.timestamp=Math.floor((new Date).getTime()/1e3),e.headers.token=sessionStorage.getItem("token")||"",!0===e.loading&&(Oe.$loading.hide(),Oe.$loading.show()),e}),(function(e){return Oe.$loading.hide(),Promise.reject(e)})),G.interceptors.response.use((function(e){return Oe.$loading.hide(),e}),(function(e){return Oe.$loading.hide(),Promise.reject(e)}));n("2994");var K=n("2bdd"),Q=(n("f1dc"),n("6e47")),ee=(n("4ddd"),n("9f14")),te=(n("a44c"),n("e27c")),ne=(n("ab71"),n("58e6")),re=(n("e930"),n("8f80")),ae=(n("e17f"),n("2241")),oe=(n("e7e5"),n("d399")),ue=(n("c3a6"),n("ad06")),ce=(n("5246"),n("6b41")),ie=(n("8a58"),n("e41f")),se=(n("9a83"),n("f564")),de=(n("66b9"),n("b650")),le=(n("be7f"),n("565f")),fe=(n("38d5"),n("772a")),he=(n("bda7"),n("5e46")),me=(n("da3c"),n("0b33")),pe=(n("ac1e"),n("543e")),ge=(n("5f5f"),n("f253")),ve=(n("61ae"),n("d314")),be=(n("09d3"),n("2d6d")),ke=(n("6d73"),n("473d")),we=(n("c194"),n("7744")),ye=(n("a52c"),n("2ed4")),Pe=(n("537a"),n("ac28")),Ae=(n("46de"),n("a822")),Ee=(n("4467"),n("c36e")),Ce=(n("18e9"),n("471a")),xe=(n("5d17"),n("f9bd")),Ie=(n("342a"),n("1437")),je=(n("a909"),n("3acc")),Me=(n("0653"),n("34e9")),De=(n("3c32"),n("417e")),Te=(n("d82d"),n("7278"));function Se(){var e=window.screen.availWidth>750?2:window.screen.availWidth/375;window.document.documentElement.style.fontSize="".concat(100*e,"px")}r["a"].use(Te["a"]),r["a"].use(De["a"]),r["a"].use(Me["a"]),r["a"].use(je["a"]),r["a"].use(Ie["a"]),r["a"].use(xe["a"]),r["a"].use(Ce["a"]),r["a"].use(Ee["a"]),r["a"].use(Ae["a"]),r["a"].use(Pe["a"]),r["a"].use(ye["a"]),r["a"].use(we["a"]),r["a"].use(ke["a"]),r["a"].use(be["a"]),r["a"].use(ve["a"]),r["a"].use(ge["a"]),r["a"].use(pe["a"]),r["a"].use(me["a"]),r["a"].use(he["a"]),r["a"].use(fe["a"]),r["a"].use(le["a"]),r["a"].use(de["a"]),r["a"].use(se["a"]),r["a"].use(ie["a"]),r["a"].use(ce["a"]),r["a"].use(ue["a"]),r["a"].use(oe["a"]),r["a"].use(ae["a"]),r["a"].use(re["a"]),r["a"].use(ne["a"]),r["a"].use(te["a"]),r["a"].use(ee["a"]),r["a"].use(Q["a"]),r["a"].use(K["a"]),r["a"].use(N.a),r["a"].use(_.a),r["a"].use(O),r["a"].use(E["a"]),r["a"].prototype.$http={get:W,post:Y,http:G},Object.keys(D).forEach((function(e){r["a"].filter(e,D[e])})),x.a.attach(document.body),window.addEventListener("resize",(function(){Se()})),r["a"].config.productionTip=!1,P.beforeEach((function(e,t,n){console.log(e),document.title=e.meta.title,e.meta.title?n():n("/")}));var Oe=t["default"]=new r["a"]({el:"#app",router:P,store:A["a"],render:function(e){return e(b)}})},"695d":function(e,t){function n(){var e=window.screen.availWidth>750?2:window.screen.availWidth/375;window.document.documentElement.style.fontSize="".concat(100*e,"px")}n(),window.addEventListener("resize",(function(){n(),"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName||window.setTimeout((function(){"scrollIntoView"in document.activeElement?document.activeElement.scrollIntoView(!1):document.activeElement.scrollIntoViewIfNeeded(!1)}),0)})),document.addEventListener("focusout",(function(){setTimeout((function(){var e=document.documentElement.scrollTop||document.body.scrollTop;window.scrollTo(0,e+1)}),20)}))},"6e8b":function(e,t,n){},"705a":function(e,t,n){},"7c55":function(e,t,n){"use strict";var r=n("2395"),a=n.n(r);a.a},9616:function(e,t,n){"use strict";var r=n("6e8b"),a=n.n(r);a.a},a44d:function(e,t,n){"use strict";n.r(t);var r=n("e017"),a=n.n(r),o=n("21a1"),u=n.n(o),c=new a.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-home"><defs><style type="text/css"></style></defs><path d="M512.0192 189.525333l256 179.157334v484.693333H256.0192V368.64z" fill="#CED9FD" p-id="2172" /><path d="M426.685867 896h170.666666v-170.666667H426.685867v170.666667z m426.666666-426.666667a42.666667 42.666667 0 0 0-42.666666 42.666667v384h-128v-213.333333a42.666667 42.666667 0 0 0-42.666667-42.666667H384.0192a42.666667 42.666667 0 0 0-42.666667 42.666667v213.333333H213.352533v-384a42.666667 42.666667 0 0 0-85.333333 0v426.666667a42.666667 42.666667 0 0 0 42.666667 42.666666h682.666666a42.666667 42.666667 0 0 0 42.666667-42.666666V512a42.666667 42.666667 0 0 0-42.666667-42.666667zM963.133867 349.013333l-426.666667-298.666666a42.666667 42.666667 0 0 0-48.896 0l-426.666667 298.666666a42.666667 42.666667 0 0 0 48.896 69.973334L512.0192 137.386667l402.218667 281.6a42.538667 42.538667 0 0 0 59.392-10.538667 42.666667 42.666667 0 0 0-10.496-59.392" fill="#597EF7" p-id="2173" /></symbol>'});u.a.add(c);t["default"]=c},da18:function(e,t,n){var r={"./admin.svg":"f77f","./close.svg":"312c","./home.svg":"a44d"};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="da18"},f121:function(e,t,n){var r=n("f1e0");console.log(r),e.exports=r},f1e0:function(e,t){e.exports={baseUrl:"",baseApi:"/apps/niujie-shigong"}},f77f:function(e,t,n){"use strict";n.r(t);var r=n("e017"),a=n.n(r),o=n("21a1"),u=n.n(o),c=new a.a({id:"icon-admin",use:"icon-admin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-admin">\r\n <defs>\r\n <style type="text/css"></style>\r\n </defs>\r\n <path d="M128.00256 981.333333a384 384 0 0 1 768 0H128.00256z" fill="#CED9FD" p-id="2299" />\r\n <path d="M511.959893 469.333333a149.76 149.76 0 0 0 146.346667-119.509333 42.666667 42.666667 0 1 0-83.626667-16.981333A64.170667 64.170667 0 0 1 511.959893 384c-30.293333 0-56.661333-21.504-62.72-51.072a42.666667 42.666667 0 1 0-83.584 17.109333A149.802667 149.802667 0 0 0 512.00256 469.333333" fill="#597EF7" p-id="2300" />\r\n <path d="M511.959893 85.333333c129.365333 0 234.666667 105.301333 234.666667 234.666667 0 129.408-105.301333 234.666667-234.666667 234.666667a234.922667 234.922667 0 0 1-234.666666-234.666667c0-129.365333 105.301333-234.666667 234.666666-234.666667m0 554.666667c176.426667 0 320-143.530667 320-320S688.429227 0 511.959893 0s-320 143.573333-320 320c0 176.469333 143.573333 320 320 320" fill="#597EF7" p-id="2301" />\r\n <path d="M771.71456 642.816a42.666667 42.666667 0 1 0-52.010667 67.669333A338.773333 338.773333 0 0 1 850.69056 938.666667H173.229227a338.944 338.944 0 0 1 130.986666-228.181334 42.666667 42.666667 0 0 0-52.053333-67.669333A423.978667 423.978667 0 0 0 85.335893 981.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h767.957333a42.666667 42.666667 0 0 0 42.666667-42.666667 423.936 423.936 0 0 0-166.912-338.517333" fill="#597EF7" p-id="2302" />\r\n</symbol>'});u.a.add(c);t["default"]=c}});
|