(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0448ad27"],{"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),h=Math.min,f=[].push,d="split",p="length",v="lastIndex",m=4294967295,g=!l(function(){RegExp(m,"y")});n("214f")("split",2,function(t,e,n,l){var y;return y="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,d=void 0===e?m:e>>>0,g=new RegExp(t.source,l+"g");while(o=u.call(g,i)){if(a=g[v],a>h&&(c.push(i.slice(h,o.index)),o[p]>1&&o.index=d))break;g[v]===o.index&&g[v]++}return h===i[p]?!s&&g.test("")||c.push(""):c.push(i.slice(h)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(t,e){var r=l(y,t,this,e,y!==n);if(r.done)return r.value;var u=i(t),f=String(this),d=o(u,RegExp),p=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(g?"y":"g"),w=new d(g?u:"^(?:"+u.source+")",v),b=void 0===e?m:e>>>0;if(0===b)return[];if(0===f.length)return null===c(w,f)?[f]:[];var L=0,$=0,x=[];while($1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(f);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(e=c(f.length),n=new d(e);e>g;g++)u(n,g,m?v(f[g],g):f[g]);else for(h=y.call(f),n=new d;!(i=h.next()).done;g++)u(n,g,m?a(h,v,[i.value,g],!0):i.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",c="week",u="month",l="quarter",h="year",f="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,m={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("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},g=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function t(e,n){if(e.date()1)return t(a[0])}else{var s=e.name;b[s]=e,i=s}return!r&&i&&(w=i),i||!r&&w},x=function(t,e){if(L(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},D=y;D.l=$,D.i=L,D.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function m(t){this.$L=$(t.locale,null,!0),this.parse(t)}var g=m.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(D.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},g.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()},g.$utils=function(){return D},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(t,e){var n=x(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return x(t)=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},c8bb:function(t,e,n){t.exports=n("54a1")},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},eaf2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"enterpriseReporting"},[n("div",{staticClass:"mtitle"},[n("div",{class:1===t.select?"selected":"",on:{click:t.newTb}},[t._v("最新填报")]),n("div",{class:2===t.select?"selected":"",on:{click:t.tbTask}},[t._v("\n 填报任务\n ")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:2===t.select,expression:"select === 2"}],staticClass:"enterpriseList"},[n("van-pull-refresh",{attrs:{"success-text":"加载成功"},on:{refresh:t.onDownRefresh},model:{value:t.isDownLoading,callback:function(e){t.isDownLoading=e},expression:"isDownLoading"}},[n("van-list",{ref:"vanList",attrs:{finished:t.upFinished,"immediate-check":!1,offset:10,"finished-text":"加载完成"},on:{load:t.onLoadList},model:{value:t.isUpLoading,callback:function(e){t.isUpLoading=e},expression:"isUpLoading"}},t._l(t.dataList,function(e){return n("div",{key:e.id,staticClass:"enterpriseListItem",on:{click:function(n){return t.itemClick(e)}}},[n("div",{staticClass:"enterpriseTit"},[n("span",[t._v(t._s(e.temName))]),n("div",{class:0==e.saveType?"ytb":"wtb"},[t._v("\n "+t._s(0==e.saveType?"已填报":"未填报")+"\n ")])]),n("div",{staticStyle:{display:"flex"}},[n("div",{staticClass:"enterpriseTime"},[n("span",[t._v("归属月份:")]),n("span",[t._v("要求完成日期:")])]),n("div",{staticClass:"enterpriseTime"},[n("span",[t._v(t._s(e.belongDate))]),n("span",[t._v(t._s(e.requireFinishTime))])])])])}),0)],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:1===t.select,expression:"select === 1"}],staticClass:"addEnterprise"},[n("div",{staticClass:"addEnterpriseTit"},[n("div",[t._v("\n 尊敬的"),n("span",{staticStyle:{color:"#1d18bc"}},[t._v(" "+t._s(t.qyName)+" ")]),t._v("企业用户,你好!\n ")]),n("div",{staticClass:"line"}),n("div",[t._v("\n 为了更好地为企业提供相关服务,请协助完成相关数据的填报,感谢配合!\n ")])]),n("div",{staticClass:"addEnterpriseBody"},[n("ul",[n("li",{staticClass:"bodyLi"},[n("div",{staticClass:"bodyLiTit"},[t._v("模板名称:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.infoFrom.temName,expression:"infoFrom.temName"}],attrs:{type:"text",readonly:"",placeholder:"规上企业每月固定填报"},domProps:{value:t.infoFrom.temName},on:{input:function(e){e.target.composing||t.$set(t.infoFrom,"temName",e.target.value)}}})]),n("li",{staticClass:"bodyLi"},[n("div",{staticClass:"bodyLiTit"},[t._v("归属月份:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.infoFrom.belongDate,expression:"infoFrom.belongDate"}],attrs:{type:"text",placeholder:"请选择",readonly:""},domProps:{value:t.infoFrom.belongDate},on:{input:function(e){e.target.composing||t.$set(t.infoFrom,"belongDate",e.target.value)}}})]),n("li",{staticClass:"bodyLi"},[n("div",{staticClass:"bodyLiTit"},[t._v("要求完成日期:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.infoFrom.requireFinishTime,expression:"infoFrom.requireFinishTime"}],staticStyle:{width:"225px"},attrs:{type:"text",placeholder:"请选择",readonly:""},domProps:{value:t.infoFrom.requireFinishTime},on:{input:function(e){e.target.composing||t.$set(t.infoFrom,"requireFinishTime",e.target.value)}}})]),n("li",{staticClass:"bodyLi"},[n("div",{staticClass:"bodyLiTit"},[t._v("上报日期:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.infoFrom.fillTime,expression:"infoFrom.fillTime"}],staticStyle:{width:"225px"},attrs:{type:"text",placeholder:"自动生成",readonly:""},domProps:{value:t.infoFrom.fillTime},on:{input:function(e){e.target.composing||t.$set(t.infoFrom,"fillTime",e.target.value)}}})]),t._l(t.optionList,function(e,r){return n("li",{key:e,staticClass:"bodyLi"},[n("div",{staticClass:"bodyLiTit"},[n("span",{staticStyle:{color:"red"}},[t._v("*")]),t._v(" "+t._s(e)+":\n ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.contentList[r],expression:"contentList[index]"}],attrs:{type:"text",placeholder:"请填写"},domProps:{value:t.contentList[r]},on:{input:function(e){e.target.composing||t.$set(t.contentList,r,e.target.value)}}})])})],2)]),n("div",{staticClass:"buttonBox"},[n("button",{on:{click:function(e){return t.commit("2")}}},[t._v("保存")]),n("button",{on:{click:function(e){return t.commit("0")}}},[t._v("提交")])])])])},i=[],o=n("f499"),a=n.n(o),s=(n("28a5"),n("75fc")),c=(n("96cf"),n("3b8d")),u=(n("5a0c"),n("3089")),l=n("85cc"),h=n("5cab"),f={name:"EnterpriseReporting",data:function(){return{qyName:h["a"].currUser().qymc,select:1,currentDate:new Date,minDate:new Date,maxDate:new Date(2025,10,1),selectMonth:"",show:!1,isUpLoading:!1,isDownLoading:!1,upFinished:!1,total:0,FinishDate:"",dateShow:!1,optionList:[],contentList:[],infoFrom:{},dataList:[],pages:{pageNum:1,pageSize:10,fillUserId:h["a"].currUser().id},enterObj:{FillSaveVo:{id:"",optionList:[],saveType:0,userId:h["a"].currUser().id},FillSaveItemVo:{name:"",value:""}}}},mounted:function(){this.getInfoByRecently(),this.getList()},methods:{newTb:function(){this.getInfoByRecently(),this.select=1},tbTask:function(){this.select=2,this.getInfoByRecently(),this.dataList=[],this.getList()},selectPlanDate:function(t){var e=n("5a0c");this.selectMonth=e(t).format("YYYY-MM"),this.show=!1},selectFinishDate:function(t){var e=n("5a0c");this.FinishDate=e(t).format("YYYY-MM-DD"),this.dateShow=!1},getList:function(){var t=Object(c["a"])(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(l["d"])(this.pages).then(function(t){var n;t.rows.length?(e.isDownLoading=!1,(n=e.dataList).push.apply(n,Object(s["a"])(t.rows)),e.isUpLoading=!1,e.dataList.length==t.total&&(e.upFinished=!0)):426==t.errno?(Object(u["Toast"])(t.errmsg),e.$router.push("/login")):(e.dataList=[],e.isDownLoading=!1,e.isUpLoading=!1,e.upFinished=!0)});case 2:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getInfoByRecently:function(){var t=this,e={id:h["a"].currUser().id};this.optionList=[],Object(l["b"])(e).then(function(e){e.data&&(t.infoFrom=e.data,t.$set(t.infoFrom,"fillTime",t.$common.formatDate("yyyy-MM-dd hh:mm:ss",new Date)),e.data.options&&(t.optionList=e.data.options.split(",")),e.data.content&&(t.contentList=[],t.contentList=e.data.content.split(",")))})},commit:function(t){var e=this;if(!this.infoFrom.id)return Object(u["Toast"])("您暂时没有需要提交的信息!"),!1;for(var n=!1,r=[],i=0;i