xiangmuprogress.js
6.1 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/xiangmuprogress/xiangmuprogress"],{"0875":function(t,e,n){"use strict";var o,a=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},"0aa0":function(t,e,n){"use strict";var o=n("1604"),a=n.n(o);a.a},"0c9c":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},post:function(e,n,o){var a=this,i=new Promise((function(i,r){var c=t.getStorageSync("token"),u={token:c||""};t.request({url:a.globalData.baseUrl+e,data:n,method:o,header:u,success:function(t){200==t.statusCode?i(t):r(t.data)},fail:function(t){console.log(t),r("网络出错"),wx.hideNavigationBarLoading()},complete:function(t){}})}));return i},globalData:{userInfo:null,baseUrl:"https://www.bjzha.net/api/"}};e.default=n}).call(this,n("543d")["default"])},1604:function(t,e,n){},"1f18":function(t,e,n){"use strict";n.r(e);var o=n("0c9c"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},2810:function(t,e,n){"use strict";n.r(e);var o=n("381e"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},"30b9":function(t,e,n){"use strict";n.r(e);var o=n("1f18");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("0aa0");var i,r,c,u,f=n("f0c5"),s=Object(f["a"])(o["default"],i,r,!1,null,null,null,!1,c,u);e["default"]=s.exports},"381e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("30b9")),a=i(n("079c"));function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=c(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,i=!0,r=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return i=t.done,t},e:function(t){r=!0,a=t},f:function(){try{i||null==o.return||o.return()}finally{if(r)throw a}}}}function c(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var f={data:function(){return{selshow:!1,statusBarH:this.statusBar,customBarH:this.customBar,item:"",projectjiejian:[],pingshenlist:[],projectbaogaolist:[],advice:""}},onLoad:function(t){var e=JSON.parse(t.item);e.fsubmitfindate=e.fsubmitfindate.split("T"),e.fsubmitfindate=e.fsubmitfindate[0],this.item=e;var n=this.item;n.ftoauditamt=a.default.change(n.ftoauditamt),n.fditoauditamt=a.default.change(n.fditoauditamt),n.fauditamount=a.default.change(n.fauditamount),n.fshenjianmoney=a.default.change(n.fshenjianmoney),n.fextoauditamt=a.default.change(n.fextoauditamt),n.fexauditamount=a.default.change(n.fexauditamount),n.fexshenjianmoney=a.default.change(n.fexshenjianmoney),this.item=n,console.log("数据显示",this.item),this.project(),this.pingshenproject(),this.projectbaogao(),this.getadvice()},onShow:function(){},onLaunch:function(){},methods:{selectxuan:function(){console.log(888),this.selshow=!this.selshow},getadvice:function(){var t=this;console.log(9988776655,t.item.fid);var e="project/Get_Processedtimedoc",n={fid:t.item.fid};o.default.post(e,n,"get").then((function(e){console.log("专家意见",e),t.advice=e.data,console.log(t.advice)})).catch((function(t){console.log(t)}))},project:function(){var t=this;console.log(9988776655,t.item.fid);var e="project/Get_bd_prjcomponentlv",n={fid:t.item.fid,fname:"项目接件"};o.default.post(e,n,"get").then((function(e){console.log(e),t.projectjiejian=e.data;var n,o=t.projectjiejian,a=r(o);try{for(a.s();!(n=a.n()).done;){var i=n.value;i.fprocessmemotime=i.fprocessmemotime.split("T"),i.fprocessmemotime=i.fprocessmemotime[0]}}catch(c){a.e(c)}finally{a.f()}t.projectjiejian=o,console.log(t.projectjiejian.length)})).catch((function(t){console.log(t)}))},pingshenproject:function(){var t=this;console.log(9988776655,t.item.fid);var e="project/Get_bd_prjcomponentlv",n={fid:t.item.fid,fname:"评审过程"};o.default.post(e,n,"get").then((function(e){t.pingshenlist=e.data,console.log("评审过程",e);var n,o=t.pingshenlist,a=r(o);try{for(a.s();!(n=a.n()).done;){var i=n.value;i.fprocessmemotime1=i.fprocessmemotime1.split("T"),i.fprocessmemotime1=i.fprocessmemotime1[0]}}catch(c){a.e(c)}finally{a.f()}t.pingshenlist=o})).catch((function(t){console.log(t)}))},projectbaogao:function(){var t=this;console.log(9988776655,t.item.fid);var e="project/Get_bd_prjcomponentlv",n={fid:t.item.fid,fname:"评审报告"};o.default.post(e,n,"get").then((function(e){t.projectbaogaolist=e.data;var n,o=t.projectbaogaolist,a=r(o);try{for(a.s();!(n=a.n()).done;){var i=n.value;i.fprocessmemotime3=i.fprocessmemotime3.split("T"),i.fprocessmemotime3=i.fprocessmemotime3[0]}}catch(c){a.e(c)}finally{a.f()}t.projectbaogaolist=o,console.log("评审报告",t.projectbaogaolist)})).catch((function(t){console.log(t)}))}}};e.default=f},"6d2f":function(t,e,n){},af60:function(t,e,n){"use strict";var o=n("6d2f"),a=n.n(o);a.a},bdbe:function(t,e,n){"use strict";n.r(e);var o=n("0875"),a=n("2810");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("af60");var r,c=n("f0c5"),u=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);e["default"]=u.exports},cc95:function(t,e,n){"use strict";(function(t){n("a237"),n("921b");o(n("66fd"));var e=o(n("bdbe"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["cc95","common/runtime","common/vendor"]]]);