You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
4.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"0ac5":function(e,t,a){"use strict";var s=a("12ef"),n=a.n(s);n.a},"12ef":function(e,t,a){},"6f34":function(e,t,a){"use strict";(function(e){a("3364"),a("921b");s(a("66fd"));var t=s(a("d917"));function s(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,a("543d")["createPage"])},"79d2":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(a("c383"));function n(e){return e&&e.__esModule?e:{default:e}}var i={mixins:[s.default],data:function(){return{tabs:[{name:"全部",value:""},{name:"已发起",value:0},{name:"待处理",value:1},{name:"已处理",value:2}],tabIndex:0,page:{num:1,size:10},tableData:[],tableView:[],copyTable:[],TotalPage:0,totals:0,initiateNum:0,pendingNum:0,processedNum:0,copySendNum:0,createFixedTime:"",operatingStatus:"",codeOrName:"",TotalPageNum:1,status:!0}},onShow:function(){if(e.getStorageSync("token"))this.status=!0,this.upCallback(this.page);else{this.status=!1;e.showModal({title:"未登录",content:"是否跳转登录页?",success:function(t){t.confirm?(console.log("用户点击确定"),e.switchTab({url:"/pages/user/user"})):t.cancel&&console.log("用户点击取消")}})}},methods:{keywordSearch:function(e){var t=this;this.codeOrName=e.detail.value,this.tableView=this.copyTable,this.tableView=this.tableView.filter((function(e){return!t.codeOrName||e.clientName.toLowerCase().includes(t.codeOrName.toLowerCase())||e.applicant.toLowerCase().includes(t.codeOrName.toLowerCase())}))},downCallback:function(){this.mescroll.resetUpScroll()},upCallback:function(e){var t=this;e.num<=this.TotalPageNum?this.$http.post("/api-guarantee/guarantee/efficiency/personalEfficiencyList",{createFixedTime:this.createFixedTime,operatingStatus:this.operatingStatus}).then((function(a){1==e.num&&(t.tableView=[]),a.data.responseList.map((function(e){e.approveStatus=t.core.statusVal(e.approveStatus),e.businessStatus=t.core.businessType(e.businessStatus),e.operatingStatus=t.core.operationType(e.operatingStatus)})),t.tableData=a.data.responseList,t.TotalPage=a.data.responseList.length,t.TotalPageNum=Math.ceil(t.TotalPage/10),t.initiateNum=a.data.statistics.initiateNum,t.pendingNum=a.data.statistics.pendingNum,t.processedNum=a.data.statistics.processedNum,t.copySendNum=a.data.statistics.copySendNum;var s=(e.num-1)*e.size,n=t.tableData.slice(s,s+e.size);t.tableView=t.tableView.concat(n),t.copyTable=Object.assign([],t.tableView),t.mescroll.endSuccess(a.data.responseList)})).catch((function(){t.mescroll.endErr()})):this.mescroll.endSuccess(this.tableView)},test:function(){},tabChange:function(e){this.operatingStatus=this.tabs[e].value,this.codeOrName="",this.tableView=[],this.mescroll.resetUpScroll()},jumpToFrom:function(e){switch(e){case"业务申请":1;break;case"担保部调查":2;break;case"资产部调查":3;break;case"信息部调查":4;break;case"合规调查":5;break;case"工作会":6;break;case"贷审会":7;break;case"担保函":8;break;case"回款确认":9;break;case"放款通知":10;break;default:break}}}};t.default=i}).call(this,a("543d")["default"])},b005:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return s}));var s={meTabs:function(){return Promise.all([a.e("common/vendor"),a.e("components/me-tabs/me-tabs")]).then(a.bind(null,"e5fc"))}},n=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.status?e.upCallback:e.test})},i=[]},ca84:function(e,t,a){"use strict";a.r(t);var s=a("79d2"),n=a.n(s);for(var i in s)"default"!==i&&function(e){a.d(t,e,(function(){return s[e]}))}(i);t["default"]=n.a},d917:function(e,t,a){"use strict";a.r(t);var s=a("b005"),n=a("ca84");for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("0ac5");var c,o=a("f0c5"),u=Object(o["a"])(n["default"],s["b"],s["c"],!1,null,"9d0b5704",null,!1,s["a"],c);t["default"]=u.exports}},[["6f34","common/runtime","common/vendor"]]]);