(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ab964d88"],{"10c7":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:e.loadingFull,expression:"loadingFull",modifiers:{fullscreen:!0,lock:!0}}]}),e._v(" "),a("div",{staticClass:"top-search"},[a("el-input",{staticStyle:{width:"250px"},attrs:{placeholder:"请输入代理公司昵称/手机号"},model:{value:e.search_content,callback:function(t){e.search_content=t},expression:"search_content"}}),e._v(" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.search}},[e._v(" 查询 ")])],1),e._v(" "),a("el-table",{staticClass:"tableBorder",attrs:{data:e.stockList.list,"header-cell-style":{background:"#f8fbfc"},border:"",stripe:""}},[a("el-table-column",{attrs:{prop:"nickname",label:"昵称",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"realname",label:"真实姓名",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"所属战区",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n        "+e._s(a.warea&&a.warea.name)+"\n      ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"mobile",label:"手机号",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"最近出库时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n        "+e._s(a.get_out_storage&&a.get_out_storage[0]&&a.get_out_storage[0].out_time)+"\n      ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){return e.cancelRemand(1,n)}}},[e._v("取消提醒")])]}}])})],1),e._v(" "),a("div",{staticClass:"batch-container"},[a("pagination",{staticStyle:{"margin-top":"0"},attrs:{total:e.tableTotal,limit:e.searchParams.page_size,page:e.searchParams.page_index},on:{pagination:e.changePagination,"update:limit":e.changePagination}})],1)],1)},i=[],r=(a("96cf"),a("1da1")),s=a("b775");function c(e){return Object(s["a"])({url:"/storage/StorageRemind",method:"Get",params:e})}function l(e){return Object(s["a"])({url:"/storage/CancelRemind",method:"Get",params:e})}var o={data:function(){return{search_content:"",dialogSku:{vis:!1,list:[]},searchParams:{page_index:1,page_size:10},stockList:"",tableTotal:0,loadingFull:!1,cancelId:""}},created:function(){this.stockRemind()},methods:{stockRemind:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loadingFull=!0,t={page_index:this.searchParams.page_index,page_size:this.searchParams.page_size,search_content:this.search_content},e.next=4,c(t);case 4:a=e.sent,n=a.data,console.log(n),this.stockList=n,this.tableTotal=n.total,this.loadingFull=!1;case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.stockRemind()},cancelRemand:function(e,t){console.log(t,"event"),this.id=t.id,this.cancelRemind()},cancelRemind:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t={user_id:this.id},this.$confirm("此操作将取消短信提醒, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){l(t).then((function(e){a.stockRemind()}))})).catch((function(){a.$message({type:"info",message:"操作取消"})}));case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),changePagination:function(e){this.loadingFull=!0;var t=e.page,a=e.limit;this.searchParams.page_size=a,this.searchParams.page_index=t,this.stockRemind(),this.loadingFull=!1}}},u=o,d=(a("143b"),a("2877")),h=Object(d["a"])(u,n,i,!1,null,"4b24f0d6",null);t["default"]=h.exports},"143b":function(e,t,a){"use strict";var n=a("b8df"),i=a.n(n);i.a},b8df:function(e,t,a){}}]);