crm_second_opening_mini/pagesA/crm/salesTarget/history_detail.js

1 line
2.1 KiB
JavaScript

require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/salesTarget/history_detail"],{"0193":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},5078:function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("8886");a(n("66fd"));var i=a(n("6aba"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"5ee3":function(t,e,n){"use strict";var a=n("7b34"),i=n.n(a);i.a},"6aba":function(t,e,n){"use strict";n.r(e);var a=n("0193"),i=n("a2fa");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("5ee3");var u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"2b0fb8d4",null,!1,a["a"],void 0);e["default"]=c.exports},"7b34":function(t,e,n){},a2fa:function(t,e,n){"use strict";n.r(e);var a=n("c397"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},c397:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("76dd"),i=n("dc92"),o=n("0c59"),u={components:{approvalStatus:function(){n.e("components/approvalStatus").then(function(){return resolve(n("b975"))}.bind(null,n)).catch(n.oe)}},data:function(){return{id:"",info:{},payment_approval:{},BASE_IMG_URL:o.BASE_IMG_URL}},onLoad:function(t){this.id=t.id},onShow:function(){this.getDetail(),this.getApprovalList()},methods:{getDetail:function(){var t=this;(0,a.netGetRecordDetail)({id:this.id}).then((function(e){t.info=e.data}))},getApprovalList:function(){var t=this,e={type:"achievement",relation_id:this.id};(0,i.netApprovalDetail)(e).then((function(e){t.payment_approval=e.data}))},toPass:function(){t.navigateTo({url:"/pages/examine/examine?id="+this.id+"&type=achievement&status=1"})},toRefuse:function(){t.navigateTo({url:"/pages/examine/examine?id="+this.id+"&type=achievement&status=2"})}}};e.default=u}).call(this,n("543d")["default"])}},[["5078","common/runtime","common/vendor"]]]);