You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm/static/js/chunk-74c5.71650bf9.js

1 line
123 KiB

3 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-74c5","chunk-371b"],{"/Qhs":function(e,t,i){"use strict";var s=i("7F5A");i.n(s).a},"/TkR":function(e,t,i){},"0IZ6":function(e,t,i){"use strict";var s=i("bmyS");i.n(s).a},"2uQb":function(e,t,i){"use strict";i.r(t);var s=i("5lrv"),a=i("yPq4"),n=i("5QVi"),o={name:"VisitIndex",components:{VisitCreate:s.a,CRMAllDetail:a.a},mixins:[n.a],data:function(){return{crmType:"visit",createShow:!1}},computed:{},mounted:function(){},methods:{cellClassName:function(e){e.row;var t=e.column;e.rowIndex,e.columnIndex;return"number"===t.property||"customer_name"===t.property||"contract_num"===t.property||"contract_number"===t.property||"contacts_name"===t.property?"can-visit--underline":""},headerCellClassName:function(e){e.row;var t=e.column;e.rowIndex,e.columnIndex;return"visitNumber"===t.property?"header-can-visit-backgroud":""},createClick:function(){this.createShow=!0}}},l=(i("aMd6"),i("KHd+")),c=Object(l.a)(o,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("c-r-m-list-head",{attrs:{search:e.search,"crm-type":e.crmType,"create-fun":e.createClick,"show-search":!1,title:"回访管理",placeholder:"请输入回访名称","main-title":"新建回访"},on:{"update:search":function(t){e.search=t},"on-handle":e.listHeadHandle,"on-search":e.crmSearch,"on-export":e.exportInfos}}),e._v(" "),i("div",{directives:[{name:"empty",rawName:"v-empty",value:!e.crm.visit.index,expression:"!crm.visit.index"}],staticClass:"crm-container",attrs:{"xs-empty-icon":"nopermission","xs-empty-text":"暂无权限"}},[i("c-r-m-table-head",{ref:"crmTableHead",attrs:{"crm-type":e.crmType,"sort-data":e.sortData},on:{filter:e.handleFilter,handle:e.handleHandle,scene:e.handleScene}}),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"n-table--border",staticStyle:{width:"100%"},attrs:{id:"crm-table","row-height":40,data:e.list,height:e.tableHeight,"cell-class-name":e.cellClassName,"header-cell-class-name":e.headerCellClassName,"use-virtual":"",stripe:"",border:"","highlight-current-row":""},on:{"row-click":e.handleRowClick,"sort-change":e.sortChange,"header-dragend":e.handleHeaderDragend,"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{"show-overflow-tooltip":"",type:"selection",align:"center",width:"55"}}),e._v(" "),e._l(e.fieldList,function(t,s){return i("el-table-column",{key:s,attrs:{fixed:0==s,prop:t.prop,label:t.label,width:t.width,formatter:e.fieldFormatter,sortable:"custom","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(s){var a=s.row,n=s.column;return s.$index,[i("wk-field-view",{attrs:{props:t,form_type:t.form_type,value:a[n.property]},scopedSlots:e._u([{key:"default",fn:function(i){return i.data,[e._v("\n "+e._s(e.fieldFormatter(a,n,a[n.property],t))+"\n ")]}}])})]}}])})}),e._v(" "),i("el-table-column"),e._v(" "),i("el-table-column",{attrs:{resizable:!1,fixed:"right",width:"40"},scopedSlots:e._u([{key:"header",fn:function(t){return[i("field-set",{attrs:{"crm-type":e.crmType},on:{change:e.setSave}})]}}])}),e._v(" "),i("wk-empty",{attrs:{slot:"empty",props:{buttonTitle:"新建回访",showButton:e.saveAuth}},on:{click:e.createClick},slot:"empty"})],2),e._v(" "),i("div",{staticClass:"p-contianer"},[i("el-pagination",{staticClass:"p-bar",attrs:{"current-page":e.currentPage,"page-sizes":e.pageSizes,"page-size":e.pageSize,total:e.total,"pager-count":5,background:"",layout:"prev, pager, next, sizes, total, jumper"},on:{"update:pageSize":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),e._v(" "),i("c-r-m-all-detail",{staticClass:"d-view",attrs:{visible:e.showDview,"crm-type":e.rowType,id:e.rowID,"page-list":e.crmType==e.rowType?e.list:[],"page-index":e.rowIndex},on:{"update:visible":function(t){e.showDview=t},"update:id":function(t){e.rowID=t},"update:pageIndex":function(t){e.rowIndex=t},handle:e.handleHandle}}),e._v(" "),e.createShow?i("visit-create",{on:{close:function(t){e.createS