| 1 |
- {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-4d63cad8\"],{\"049b\":function(t,e,r){\"use strict\";r.r(e),r.d(e,\"getTempCustomerData\",(function(){return n})),r.d(e,\"updateCustomerCheckStatus\",(function(){return o})),r.d(e,\"addCustomer\",(function(){return a})),r.d(e,\"getCustomerInfo\",(function(){return d})),r.d(e,\"editCustomer\",(function(){return s})),r.d(e,\"CustomerInitialsSearch\",(function(){return m})),r.d(e,\"getAllCustomer\",(function(){return i})),r.d(e,\"customerExport\",(function(){return l})),r.d(e,\"updateCustomerStatus\",(function(){return c})),r.d(e,\"addCustomerTag\",(function(){return f})),r.d(e,\"delCustomerTag\",(function(){return C})),r.d(e,\"addCustomerContact\",(function(){return p})),r.d(e,\"searchCustomer\",(function(){return g})),r.d(e,\"getCustomerLocation\",(function(){return h})),r.d(e,\"batchEditCustomer\",(function(){return b})),r.d(e,\"addShippingAddress\",(function(){return O})),r.d(e,\"deleteShippingAddress\",(function(){return j})),r.d(e,\"updateShippingAddress\",(function(){return D})),r.d(e,\"getShippingAddressInfo\",(function(){return A})),r.d(e,\"getAllShippingAddress\",(function(){return S})),r.d(e,\"query\",(function(){return v})),r.d(e,\"getAllCustomerCommunication\",(function(){return T})),r.d(e,\"addCustomerCommunication\",(function(){return y})),r.d(e,\"delCustomerCommunication\",(function(){return I})),r.d(e,\"updateCustomerCommunication\",(function(){return L})),r.d(e,\"getAllCustomerTagLib\",(function(){return _})),r.d(e,\"addCustomerTagLib\",(function(){return w})),r.d(e,\"delCustomerTagLib\",(function(){return k})),r.d(e,\"getCustomerTagLibInfo\",(function(){return z})),r.d(e,\"editCustomerTagLib\",(function(){return B})),r.d(e,\"getAllCustomerdemand\",(function(){return x})),r.d(e,\"getCustomerdemandInfo\",(function(){return V})),r.d(e,\"updateCustomerTagLibById\",(function(){return $})),r.d(e,\"searchCustomerBuyLog\",(function(){return M})),r.d(e,\"exportsearchCustomerBuyLog\",(function(){return E})),r.d(e,\"getAllCustomerVisitsLog\",(function(){return N})),r.d(e,\"getAllMemberBalanceDetail\",(function(){return F})),r.d(e,\"getAllCustomerIntegralDesc\",(function(){return P})),r.d(e,\"updateCustomerIntegral\",(function(){return R})),r.d(e,\"noOrderCustomer\",(function(){return q})),r.d(e,\"intervalNoOrderCustomer\",(function(){return J})),r.d(e,\"rechargeMemberBalance\",(function(){return Q})),r.d(e,\"recommenderStatic\",(function(){return G})),r.d(e,\"customerImport\",(function(){return H})),r.d(e,\"getAllDriver\",(function(){return K})),r.d(e,\"delDriver\",(function(){return U})),r.d(e,\"addDriver\",(function(){return W})),r.d(e,\"editDriver\",(function(){return X})),r.d(e,\"getDriverInfo\",(function(){return Y})),r.d(e,\"getAllOpenDriver\",(function(){return Z})),r.d(e,\"getAllCustomerVisit\",(function(){return tt})),r.d(e,\"getCustomerCallOnReportForm\",(function(){return et})),r.d(e,\"getCustomerVisitInfo\",(function(){return rt})),r.d(e,\"getAllDepartment\",(function(){return ut})),r.d(e,\"getCustomerNoVisit\",(function(){return nt})),r.d(e,\"getCustomerDistributed\",(function(){return ot})),r.d(e,\"setCustomerType\",(function(){return at})),r.d(e,\"delCustomer\",(function(){return dt}));var u=r(\"b775\");function n(t){return Object(u[\"default\"])({url:\"/Customer/Customer/getTempData\",method:\"get\",data:t})}function o(t){return Object(u[\"default\"])({url:\"/Customer/Customer/updateCustomerCheckStatus\",method:\"post\",data:t})}function a(t){return Object(u[\"default\"])({url:\"/Customer/Customer/addCustomer\",method:\"post\",data:t})}function d(t,e){return Object(u[\"default\"])({url:\"/Customer/Customer/getCustomerInfo/\"+t,method:\"get\",data:e})}function s(t,e){return Object(u[\"default\"])({url:\"/Customer/Customer/editCustomer/\"+t,method:\"post\",data:e})}function m(t){return Object(u[\"default\"])({url:\"/Customer/Customer/initialsSearch\",method:\"post\",data:t})}function i(t){return Object(u[\"default\"])({url:\"/Customer/Customer/getAllCustomer\",method:\"post\",data:t})}function l(t){return Object(u[\"default\"])({url:\"/Customer/Customer/export\",method:\"post\",responseType:\"blob\",data:t})}function c(t){return Object(u[\"default\"])({url:\"/Customer/Customer/updateCustomerStatus\",method:\"post\",data:t})}function f(t){return Object(u[\"default\"])({url:\"/Customer/Customer/addCustomerTag\",method:\"post\",data:t})}function C(t){return Object(u[\"default\"])({url:\"/Customer/Customer/delCustomerTag\",method:\"post\",data:t})}function p(t){return Object(u[\"default\"])({url:\"/Customer/CustomerContact/addCustomerContact\",method:\"post\",data:t})}function g(t){return Object(u[\"default\"])({url:\"/Customer/Customer/search\",method:\"post\",data:t})}function h(t){return Object(u[\"default\"])({url:\"/Customer/Customer/getCustomerLocation\",method:\"post\",data:t})}function b(t){return Object(u[\"default\"])({url:\"/Customer/Customer/batchEditCustomer\",method:\"post\",data:t})}function O(t){return Object(u[\"default\"])({url:\"/Customer/ShippingAddress/addShippingAddress\",method:\"post\",data:t})}function j(t,e){return Object(u[\"default\"])({url:\"/Customer/ShippingAddress/deleteShippingAddress/\"+t,method:\"delete\",data:e})}function D(t){return Object(u[\"default\"])({url:\"/Customer/ShippingAddress/updateShippingAddress\",method:\"put\",data:t})}function A(t,e){return Object(u[\"default\"])({url:\"/Customer/ShippingAddress/getShippingAddressInfo/\"+t,method:\"get\",data:e})}function S(t,e){return Object(u[\"default\"])({url:\"/Customer/ShippingAddress/getAllShippingAddress/\"+t,method:\"post\",data:e})}function v(t){return Object(u[\"default\"])({url:\"/Customer/Customer/query\",method:\"post\",data:t})}function T(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/getAllCustomerCommunication\",method:\"post\",data:t})}function y(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/addCustomerCommunication\",method:\"post\",data:t})}function I(t,e){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/delCustomerCommunication/\"+t,method:\"delete\",data:e})}function L(t,e){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/updateCustomerCommunication/\"+t,method:\"put\",data:e})}function _(t){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/getAllCustomerTagLib\",method:\"get\",data:t})}function w(t){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/addCustomerTagLib\",method:\"post\",data:t})}function k(t){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/delCustomerTagLib\",method:\"post\",data:t})}function z(t,e){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/getCustomerTagLibInfo/\"+t,method:\"post\",data:e})}function B(t){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/editCustomerTagLib\",method:\"post\",data:t})}function x(t){return Object(u[\"default\"])({url:\"/Customer/CustomerDemand/getAllCustomerdemand\",method:\"post\",data:t})}function V(t,e){return Object(u[\"default\"])({url:\"/Customer/CustomerDemand/getCustomerdemandInfo/\"+t,method:\"get\",data:e})}function $(t){return Object(u[\"default\"])({url:\"Customer/CustomerTagLib/updateCustomerTagLibById\",method:\"post\",data:t})}function M(t){return Object(u[\"default\"])({url:\"Customer/Customer/searchCustomerBuyLog\",method:\"post\",data:t})}function E(t){return Object(u[\"default\"])({url:\"Customer/Customer/searchCustomerBuyLog\",method:\"post\",responseType:\"blob\",data:t})}function N(t){return Object(u[\"default\"])({url:\"Customer/CustomerVisitsLog/getAllCustomerVisitsLog\",method:\"post\",data:t})}function F(t){return Object(u[\"default\"])({url:\"Customer/MemberBalanceDetail/getAllMemberBalanceDetail\",method:\"post\",data:t})}function P(t){return Object(u[\"default\"])({url:\"Customer/Customer/getAllCustomerIntegralDesc\",method:\"post\",data:t})}function R(t){return Object(u[\"default\"])({url:\"Customer/Customer/updateCustomerIntegral\",method:\"post\",data:t})}function q(t){return Object(u[\"default\"])({url:\"Customer/Customer/noOrderCustomer\",method:\"post\",data:t})}function J(t){return Object(u[\"default\"])({url:\"Customer/Customer/intervalNoOrderCustomer\",method:\"post\",data:t})}function Q(t){return Object(u[\"default\"])({url:\"Customer/Customer/rechargeMemberBalance\",method:\"post\",data:t})}function G(t){return Object(u[\"default\"])({url:\"Customer/Customer/recommenderStatic\",method:\"post\",data:t})}function H(t){return Object(u[\"default\"])({url:\"Customer/Customer/customerImport\",method:\"post\",data:t})}function K(t){return Object(u[\"default\"])({url:\"/System/Driver/getAllDriver\",method:\"put\",data:t})}function U(t,e){return Object(u[\"default\"])({url:\"System/Driver/delDriver/\"+t,method:\"put\",data:e})}function W(t){return Object(u[\"default\"])({url:\"System/Driver/addDriver\",method:\"put\",data:t})}function X(t){return Object(u[\"default\"])({url:\"System/Driver/editDriver\",method:\"put\",data:t})}function Y(t,e){return Object(u[\"default\"])({url:\"System/Driver/getDriverInfo/\"+t,method:\"put\",data:e})}function Z(t){return Object(u[\"default\"])({url:\"System/Driver/getAllOpenDriver\",method:\"post\",data:t})}function tt(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/getAllCustomerVisit\",method:\"post\",data:t})}function et(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerCallOnReportForm\",method:\"post\",data:t})}function rt(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerVisitInfo\",method:\"post\",data:t})}function ut(t){return Object(u[\"default\"])({url:\"Department/Department/getAllDepartment\",method:\"post\",data:t})}function nt(t){return Object(u[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerNoVisit\",method:\"post\",data:t})}function ot(t){return Object(u[\"default\"])({url:\"Customer/Customer/getCustomerDistributed\",method:\"post\",data:t})}function at(t){return Object(u[\"default\"])({url:\"Customer/Customer/setCustomerType\",method:\"post\",data:t})}function dt(t){return Object(u[\"default\"])({url:\"Customer/Customer/delCustomer\",method:\"post\",data:t})}},\"6e4c\":function(t,e,r){\"use strict\";r.r(e);var u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(\"ContainerQuery\",[r(\"div\",{attrs:{slot:\"more\"},slot:\"more\"},[r(\"el-form\",{attrs:{inline:!0,size:\"small\"}},[r(\"el-form-item\",[r(\"el-date-picker\",{attrs:{clearable:\"\",type:\"daterange\",\"value-format\":\"timestamp\",\"range-separator\":\"-\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\"},on:{change:t.timeChange},model:{value:t.searchDate.time,callback:function(e){t.$set(t.searchDate,\"time\",e)},expression:\"searchDate.time\"}})],1)],1)],1),r(\"el-table\",{staticStyle:{width:\"100%\"},attrs:{data:t.tableData}},[r(\"el-table-column\",{attrs:{prop:\"id\",label:\"ID\",\"min-width\":\"100\"}}),r(\"el-table-column\",{attrs:{prop:\"name\",label:\"客户\",\"min-width\":\"180\"}}),r(\"el-table-column\",{attrs:{prop:\"demand\",label:\"需求\",\"min-width\":\"180\"}}),r(\"el-table-column\",{attrs:{prop:\"address\",label:\"时间\",\"min-width\":\"180\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(t.$_common.formatDate(e.row.createTime))+\" \")]}}])}),r(\"el-table-column\",{attrs:{prop:\"address\",label:\"操作\",\"min-width\":\"180\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[r(\"el-button\",{attrs:{type:\"text\"},on:{click:function(r){return t.getInfoDemand(e.row.id)}}},[t._v(\" 查看 \")])]}}])})],1),r(\"FooterPage\",{attrs:{\"page-size\":t.pageSize,\"total-page\":t.total,\"current-page\":t.page},on:{\"update:totalPage\":function(e){t.total=e},\"update:total-page\":function(e){t.total=e},\"update:currentPage\":function(e){t.page=e},\"update:current-page\":function(e){t.page=e},pageChange:t.pageChange,sizeChange:t.sizeChange}}),r(\"el-dialog\",{attrs:{title:\"需求查看\",visible:t.demand_istrue,width:\"30%\"},on:{\"update:visible\":function(e){t.demand_istrue=e}}},[r(\"el-form\",{attrs:{size:\"small\",\"label-width\":\"80px\"}},[r(\"el-form-item\",{attrs:{label:\"客户\"}},[r(\"el-input\",{staticStyle:{width:\"90%\"},model:{value:t.demand_form.name,callback:function(e){t.$set(t.demand_form,\"name\",e)},expression:\"demand_form.name\"}})],1),r(\"el-form-item\",{attrs:{label:\"需求\"}},[r(\"el-input\",{staticStyle:{width:\"90%\"},attrs:{type:\"textarea\",rows:2},model:{value:t.demand_form.demand,callback:function(e){t.$set(t.demand_form,\"demand\",e)},expression:\"demand_form.demand\"}})],1)],1),r(\"span\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[r(\"el-button\",{on:{click:function(e){t.demand_istrue=!1}}},[t._v(\"取 消\")]),r(\"el-button\",{attrs:{type:\"primary\"},on:{click:function(e){t.demand_istrue=!1}}},[t._v(\" 确 定 \")])],1)],1)],1)},n=[],o=r(\"049b\"),a={name:\"DemandReporting\",data(){return{searchDate:{time:[],start:\"\",end:\"\"},tableData:[{}],total:0,page:1,pageSize:10,demand_istrue:!1,demand_form:{}}},created(){this.getAllCustomerdemand()},activated(){this.$_isInit()||this.getAllCustomerdemand()},methods:{timeChange(t){t&&t.length?(this.searchDate.start=parseInt(t[0]/1e3),this.searchDate.end=parseInt(t[1]/1e3)+86399):(this.searchDate.start=\"\",this.searchDate.end=\"\"),this.pageChange(1)},pageChange(t){this.page=t,this.getAllCustomerdemand()},sizeChange(t){this.pageSize=t,this.pageChange(1)},async getInfoDemand(t){this.demand_istrue=!0;const e=await Object(o[\"getCustomerdemandInfo\"])(t);this.demand_form=e.data},async getAllCustomerdemand(){const t=await Object(o[\"getAllCustomerdemand\"])({page:this.page,pageSize:this.pageSize,beginTime:this.searchDate.start,endTime:this.searchDate.end});this.tableData=t.data,this.total=t.pageTotal}}},d=a,s=r(\"2877\"),m=Object(s[\"a\"])(d,u,n,!1,null,\"cb5fb72e\",null);e[\"default\"]=m.exports}}]);","extractedComments":[]}
|