11 lines
3.3 KiB
JavaScript
11 lines
3.3 KiB
JavaScript
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/cluesManagement/cluesMore/relateInfo"],{4252:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("9523")),o=n("db68"),u=n("76dd"),r=n("0c59"),s={props:{kehuid:{type:Number,default:null},type:{type:Number,default:1}},data:function(){return{file_list:[],BASE_IMG_URL:r.BASE_IMG_URL}},created:function(){this.getFile()},methods:(0,a.default)({getFile:function(){var t=this,e={leads_id:this.kehuid};(0,o.netCluesFiles)(e).then((function(e){e.data.forEach((function(t){t.disabled=!0,t.focus=!1,t.url=t.file_path})),t.file_list=e.data}))},edit:function(t){var e=this.file_list[t];e.disabled=!1,e.focus=!0,this.file_list[t]=e},changeName:function(e){var n=this;console.log(e);e.detail.value;var i=e.currentTarget.dataset.index,a={id:this.file_list[i].id,name:this.file_list[i].name};(0,u.netEditFileName)(a).then((function(e){t.showToast({title:e.msg,icon:"none"}),setTimeout((function(){n.getFile()}),2e3)}))},operationList:function(){var t=this,e={relation_type:this.type,relation_id:this.kehuid};netOperationList(e).then((function(e){t.operation_list=e.data}))},toDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+e})},toPaymentDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contract/paymentDetail?id="+e.id})},toAddPayment:function(){t.navigateTo({url:"/pages/index/groupCompany/contract/addContractPayment?kehuid="+this.kehuid})},addCost:function(){t.navigateTo({url:"/pages/index/groupCompany/cost/addCost?kehuid="+this.kehuid})},toCostDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/cost/costDetail?id="+e})},toCreatCustomer:function(){t.navigateTo({url:"/pagesA/crm/createCustomer/createCustomer?id="+this.kehuid})}},"toDetail",(function(e){t.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+e.id})}))};e.default=s}).call(this,n("543d")["default"])},"5af5":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.file_list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},"5ef0":function(t,e,n){"use strict";var i=n("f758"),a=n.n(i);a.a},ef07:function(t,e,n){"use strict";n.r(e);var i=n("4252"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},f004:function(t,e,n){"use strict";n.r(e);var i=n("5af5"),a=n("ef07");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("5ef0");var u=n("f0c5"),r=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"73f14406",null,!1,i["a"],void 0);e["default"]=r.exports},f758:function(t,e,n){}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'pagesA/crm/cluesManagement/cluesMore/relateInfo-create-component',
|
|
{
|
|
'pagesA/crm/cluesManagement/cluesMore/relateInfo-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("f004"))
|
|
})
|
|
},
|
|
[['pagesA/crm/cluesManagement/cluesMore/relateInfo-create-component']]
|
|
]);
|