PageSourceSearch

https://www.ghbank.com.cn/bank-product-mobile/static/js/370-legacy.59e19904.js

js ghbank.com.cn collected 2026-10-07 07:36:48 UTC 11,170 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkfinancial_product"]=self["webpackChunkfinancial_product"]||[]).push([[370],{24370:function(t,r,e){e.r(r),e.d(r,{default:function(){return w}});var n=function(){var t=this,r=t._self._c;return r("div",{staticClass:"calculationDetail"},[t._m(0),r("div",{staticClass:"summary font14"},[r("div",{staticClass:"mb10 top-money"},[t._v("¥"+t._s(t.$tools._toFixed(t.amount,2)))]),r("div",{staticClass:"mb30 lixi"},[r("p",[t._v("本金(元):"+t._s(t.form.aslnAmt))]),r("p",[t._v("利息(元):"+t._s(t.$tools._toFixed(t.interest,2)))])]),r("div",[r("p",{staticClass:"message"},[t._v("年利率:"+t._s(t.$tools._toFixed(t.form.bankRate))+"%")]),r("p",{staticClass:"message"},[t._v(t._s(t.form.rpayMth))]),r("p",{staticClass:"message"},[t._v("可提前还款")])])]),r("ul",{staticClass:"repay_list font14"},t._l(t.tableList,(function(e){return r("li",{key:e.id},[r("div",{staticClass:"repay-top"},[r("p",[t._v("¥"+t._s(e.termRfnAmt))]),r("p",[t._v(t._s(e.decCnt)+"/"+t._s(t.ttlPeriod)+"期")])]),r("div",{staticClass:"repay-other"},[r("span",{staticStyle:{"padding-right":"10px"}},[t._v("本金:"+t._s(e.lnBal))]),r("span",[t._v("利息:"+t._s(e.intAll))])]),r("div",{staticClass:"repay-other"},[r("p",[t._v("还款日期:"+t._s(t.$tools.date2Str(e.rpayDat,"YYYY-MM-DD")))])])])})),0)])},o=[function(){var t=this,r=t._self._c;return r("div",{staticClass:"repaymentPlan_bck"},[r("img",{attrs:{src:e(23833),alt:""}})])}],i=(e(52675),e(89463),e(66412),e(2259),e(45700),e(78125),e(2008),e(50113),e(23792),e(34782),e(89572),e(62010),e(4731),e(60479),e(2892),e(83851),e(81278),e(40875),e(79432),e(10287),e(26099),e(3362),e(27495),e(47764),e(71761),e(23500),e(62953),e(82024)),a=function(t){return(0,i.A)("/product/getRepaymentPlan",{},"GET",t)};function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return r};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{f({},"")}catch(t){f=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var i=r&&r.prototype instanceof b?r:b,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:k(t,e,c)}),a}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var y="suspendedStart",v="suspendedYield",m="executing",d="completed",g={};function b(){}function w(){}function _(){}var x={};f(x,a,(function(){return this}));var O=Object.getPrototypeOf,L=O&&O(O(M([])));L&&L!==e&&n.call(L,a)&&(x=L);var j=_.prototype=b.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(r){f(t,r,(function(t){return this._invoke(r,t)}))}))}function P(t,r){function e(o,i,a,u){var s=p(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==c(f)&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):r.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return e("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new r((function(r,o){e(t,n,r,o)}))}return i=i?i.then(o,o):o()}})}function k(r,e,n){var o=y;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=p(r,e,n);if("normal"===s.type){if(o=n.done?d:v,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function S(r,e){var n=e.method,o=r.iterator[n];if(o===t)return e.delegate=null,"throw"===n&&r.iterator.return&&
vendor: 1,930 bytes, line 1
1(e.method="return",e.arg=t,S(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function C(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function D(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function M(r){if(r||""===r){var e=r[a];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,i=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return i.next=i}}throw new TypeError(c(r)+" is not iterable")}return w.prototype=_,o(j,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:w,configurable:!0}),w.displayName=f(_,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===w||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,f(t,l,"GeneratorFunction")),t.prototype=Object.create(j),t},r.awrap=function(t){return{__await:t}},E(P.prototype),f(P.prototype,s,(function(){return this})),r.AsyncIterator=P,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new P(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),f(j,l,"Generator"),f(j,a,(function(){return this})),f(j,"toString",(function(){return"[object Generator]"}
vendor: 2,811 bytes, line 1
1)),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=M,N.prototype={constructor:N,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function o(n,o){return c.type="throw",c.arg=r,e.next=n,o&&(e.method="next",e.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),D(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;D(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:M(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function s(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?s(Object(e),!0).forEach((function(r){f(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEac
1h((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function f(t,r,e){return r=h(r),r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function h(t){var r=p(t,"string");return"symbol"==c(r)?r:r+""}function p(t,r){if("object"!=c(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,r||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}function y(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void e(s)}c.done?r(u):Promise.resolve(u).then(n,o)}function v(t){return function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}var m={data:function(){return{tableList:[],ttlPeriod:0,amount:0,interest:0,form:{aslnAmt:1e4,intDay:"21",bankRate:"10",term:6,termType:"M",rpayMth:2},repayMthOptions:[{value:"4",text:"按月付息、到期还本"},{value:"1",text:"等额本息"},{value:"2",text:"等额本金"}]}},created:function(){this.calculate()},methods:{calculate:function(){var t=this;return v(u().mark((function r(){var e,n;return u().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.form=t.$route.query,e=l({},t.form),null!=t.form.rpayMth&&(e.rpayMth=t.repayMthOptions.find((function(r){return r.text===t.form.rpayMth})).value),e.term=-1!==t.form.term.indexOf("月")?parseInt(t.form.term):12*parseInt(t.form.term),e.intDay=t.form.intDay.match(/\d+/)[0],r.next=7,a(e);case 7:n=r.sent,n&&n.list&&n.list.length>0&&(t.tableList=n.list,t.ttlPeriod=n.ttlPeriod,t.interest=n.intTmttl,t.amount=Number(t.interest)+Number(t.form.aslnAmt),console.log(t.amount));case 9:case"end":return r.stop()}}),r)})))()}}},d=m,g=e(845),b=(0,g.A)(d,n,o,!1,null,"03d1bc92",null),w=b.exports},23833:function(t,r,e){t.exports=e.p+"static/img/default-calculator-jiekuan.0d4a5ef6.png"}}]);
2//# sourceMappingURL=370-legacy.59e19904.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.