1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/cluesManagement/cluesMore/editInfo"],{"40b8":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("9523")),o=n("dc92"),c=(n("d47e"),n("76dd"),n("db68"));n("c7eb");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var u={components:{formItem:function(){Promise.all([n.e("common/vendor"),n.e("components/form/formitem")]).then(function(){return resolve(n("d7bf"))}.bind(null,n)).catch(n.oe)}},data:function(){return{noClick:!0,id:"",info:{},source_list:[],sourceIndex:null,industry_list:[],industryIndex:null,remindList:["准时提醒","5分钟前","15分钟前","30分钟前","一个小时前","两个小时前","一天前","两天前","一周前"],remindIndex:null,dateTimeArray:null,dateTime:null,dateArr:null,listForm:[]}},onLoad:function(t){this.id=t.id,this.getinfo()},onShow:function(){},methods:{getForm:function(){var t=this;(0,o.netSetForm)({type:"leads"}).then((function(e){var n=e.data.data;n.forEach((function(e){e.value=t.info[e.id]})),t.listForm=n}))},getinfo:function(){var t=this;(0,c.netCluesDetail)({id:this.id}).then((function(e){e=e.data,t.info=e,t.getForm()}))},changeData:function(t,e,n){var i=this,r=this.listForm;r.forEach((function(t,r){t.id==n.id&&(t.value=e,i.$set(i.listForm,r,t))}))},changeIs:function(){this.is_event=!this.is_event},changeRemind:function(t){this.remindIndex=t.detail.value,this.remindtype=this.remindList[t.detail.value]},subSave:function(){var e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({id:this.id},this.checkCommonForm(this.listForm));e&&(0,c.netEditClues)(e).then((function(e){t.showToast({title:e.msg,icon:"none"}),setTimeout((function(){t.navigateBack({delta:1})}),2e3)}))}}};e.default=u}).call(this,n("543d")["default"])},"543a":function(t,e,n){"use strict";var i=n("b763"),r=n.n(i);r.a},"85c6":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var r=i(n("a4ea"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"9f70":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},r=[]},a4ea:function(t,e,n){"use strict";n.r(e);var i=n("9f70"),r=n("ff59");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("543a");var c=n("f0c5"),a=Object(c["a"])(r["default"],i["b"],i["c"],!1,null,"0e048ed4",null,!1,i["a"],void 0);e["default"]=a.exports},b763:function(t,e,n){},ff59:function(t,e,n){"use strict";n.r(e);var i=n("40b8"),r=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"]=r.a}},[["85c6","common/runtime","common/vendor"]]]); |