Commit e97a4f21 by 无尘

fix: 修改话务任务批量删除

parent 7c865c0d
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.d759f86b555028421619019d7eecf605.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.3ccd535f24be2bb725ff.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.d759f86b555028421619019d7eecf605.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.fc4cee855a65ff355fa1.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file
webpackJsonp([65],{SBUJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("fZjL"),o=n.n(a),i=n("Ggl+"),r=n("LRn8"),s=n("P9l9"),l=n("PI0u"),c=n("3E4D"),d=n("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",a).then(function(t){var n=t.data;if(1==n.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]),t.loadingBtn=!0;var n={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:String(t.selectRadio)};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",n).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var n=new Blob([e.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="话务任务视图详情门店报表.csv",a.style.display="none",a.href=URL.createObjectURL(n),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={ecmId:e.$route.query.ecmId,search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/store-task-list",a).then(function(t){var n=t.data;if(e.loading=!1,1==n.errorCode)return e.tableData=n.result.list||[],e.total=n.result.pageInfo.total,!1;d.a.errorMsg(n)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=a<10?"0"+a:a,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(l<10?"0"+l:l)+"-"+c,n+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","12"),t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:r.a}},p={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"daily-set-wrap task-view-detail"},[n("div",{staticClass:"daily-set-content border-box"},[n("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),n("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),n("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),n("div",{staticClass:"table-condition-right"},[n("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),n("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[n("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),n("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[n("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[n("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{attrs:{command:"0"}},[n("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),n("el-dropdown-item",{attrs:{command:"1"}},[n("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),n("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),n("multiple-del",{attrs:{showDialog:t.showDialog,showTab:!1,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var g=n("VU/8")(u,p,!1,function(t){n("wgl7")},"data-v-409ddbd2",null);e.default=g.exports},wgl7:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{SBUJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("fZjL"),o=n.n(a),i=n("Ggl+"),r=n("LRn8"),s=n("P9l9"),l=n("PI0u"),c=n("3E4D"),d=n("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",a).then(function(t){var n=t.data;if(1==n.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]),t.loadingBtn=!0;var n={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:String(t.selectRadio)};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",n).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var n=new Blob([e.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="话务任务视图详情门店报表.csv",a.style.display="none",a.href=URL.createObjectURL(n),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={ecmId:e.$route.query.ecmId,search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/store-task-list",a).then(function(t){var n=t.data;if(e.loading=!1,1==n.errorCode)return e.tableData=n.result.list||[],e.total=n.result.pageInfo.total,!1;d.a.errorMsg(n)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=a<10?"0"+a:a,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(l<10?"0"+l:l)+"-"+c,n+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","12"),t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:r.a}},p={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"daily-set-wrap task-view-detail"},[n("div",{staticClass:"daily-set-content border-box"},[n("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),n("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),n("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),n("div",{staticClass:"table-condition-right"},[n("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),n("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[n("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),n("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[n("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[n("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{attrs:{command:"0"}},[n("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),n("el-dropdown-item",{attrs:{command:"1"}},[n("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),n("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),n("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var g=n("VU/8")(u,p,!1,function(t){n("wgl7")},"data-v-409ddbd2",null);e.default=g.exports},wgl7:function(t,e){}});
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},a={88:0};function d(f){if(c[f])return c[f].exports;var a=c[f]={i:f,l:!1,exports:{}};return e[f].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var f=a[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var c=new Promise(function(c,d){f=a[e]=[c,d]});f[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"b380d8df7fde2c9fea88",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"7861570207bedd0259e7",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"ad5b84e2dda434b89811",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"4ce3f984fc7e370431cd",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"69e521889866a29bc37f",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"511e35d6f37dbdc93308",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"c8ce1dfa90c90cc4caf2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"2d30b9bbce773919de3c",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=a[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,f,c){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var c={},d={88:0};function a(f){if(c[f])return c[f].exports;var d=c[f]={i:f,l:!1,exports:{}};return e[f].call(d.exports,d,d.exports,a),d.l=!0,d.exports}a.e=function(e){var f=d[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var c=new Promise(function(c,a){f=d[e]=[c,a]});f[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"b380d8df7fde2c9fea88",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"7861570207bedd0259e7",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"ad5b84e2dda434b89811",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"4ce3f984fc7e370431cd",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"69e521889866a29bc37f",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"511e35d6f37dbdc93308",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"2d30b9bbce773919de3c",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=d[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},a.m=e,a.c=c,a.d=function(e,f,c){a.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:c})},a.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(f,"a",f),f},a.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-11-05 15:08:02
* @LastEditTime: 2020-11-05 15:26:00
-->
<!--
<taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail>
......@@ -68,7 +68,7 @@ import taskViewDetail from '@/components/app/taskViewDetail.vue';
</div>
</div>
<multiple-del :showDialog="showDialog" :showTab="false" :detailFlag="false" @hideDialog="hideDialog"> </multiple-del>
<multiple-del :showDialog="showDialog" :detailFlag="false" @hideDialog="hideDialog"> </multiple-del>
</div>
</template>
<script>
......@@ -257,7 +257,7 @@ export default {
startDate: that.conditionObj.dateRange[0] || '',
endDate: that.conditionObj.dateRange[1] || '',
enterpriseId: that.activeBrand, // 品牌 id
// delTaskStatus: obj.delOptFlag, // 0:仅删除逾期任务,1:删除所有待完成任务
delTaskStatus: obj.delOptFlag, // 0:仅删除逾期任务,1:删除所有待完成任务
reason: obj.reason, // 备注
isAll: that.selectRadio // 1:当页,1:所有
// taskType: 1 //0不良评价,1话务任务
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment