Commit 7412c8ac authored by chenjundi's avatar chenjundi

dist

parent dff6e289
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([31],{AMA9:function(t,e,a){var s=a("gMXV");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("FIqI")("5406cbc0",s,!1,{})},Pcxm:function(t,e,a){var s=a("qPVl");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("FIqI")("617c690c",s,!1,{})},gMXV:function(t,e,a){(t.exports=a("UTlt")(!0)).push([t.i,"\n.f-c >.cell div{\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n","",{version:3,sources:["D:/project/admin/src/components/smsRecord/index.vue"],names:[],mappings:";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B",file:"index.vue",sourcesContent:["\n.f-c >.cell div{\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n"],sourceRoot:""}])},qPVl:function(t,e,a){(t.exports=a("UTlt")(!0)).push([t.i,"\n.sms[data-v-94b03da6] {\n padding: 20px 0;\n}\n.avatar[data-v-94b03da6] {\n width: 50px;\n min-width: 50px;\n height: 50px;\n border-radius: 50%;\n}\n","",{version:3,sources:["D:/project/admin/src/components/smsRecord/index.vue"],names:[],mappings:";AACA;EACE,gBAAgB;CACjB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,mBAAmB;CACpB",file:"index.vue",sourcesContent:["\n.sms[data-v-94b03da6] {\n padding: 20px 0;\n}\n.avatar[data-v-94b03da6] {\n width: 50px;\n min-width: 50px;\n height: 50px;\n border-radius: 50%;\n}\n"],sourceRoot:""}])},"qjS+":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("kmJW"),n=a("CCn6"),o={name:"smsRecord",components:{page:s.a},data:function(){return{nowPage:1,total:0,limit:10,useTypeList:[{status:0,value:"发送成功"},{status:1,value:"发送失败"}],TypeList:[{status:1,value:"注册验证码"}],searchFrom:{type:"",mobile:"",status:"-1"},list:[]}},filters:{filterStatus:function(t){return 0===t?"发送成功":"发送失败"}},mounted:function(){this.getList()},methods:{onPageChange:function(t){this.nowPage=t,this.getList()},onSizeChange:function(t){this.nowPage=1,this.limit=t,this.getList()},getList:function(){var t=this,e={limit:this.limit,page:this.nowPage};this.searchFrom.type&&(e.type=this.searchFrom.type),"-1"!==this.searchFrom.status&&(e.status=this.searchFrom.status),this.searchFrom.mobile&&(e.mobile=this.searchFrom.mobile),Object(n._165)(e).then(function(e){t.total=e.total,t.list=e.list?e.list:[]})}}},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sms"},[a("el-form",{ref:"searchFrom",attrs:{model:t.searchFrom,"label-width":"100px",inline:""}},[a("el-form-item",{attrs:{label:"类型"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:t.getList},model:{value:t.searchFrom.type,callback:function(e){t.$set(t.searchFrom,"type",e)},expression:"searchFrom.type"}},t._l(t.TypeList,function(t){return a("el-option",{key:t.status,attrs:{label:t.value,value:t.status}})}),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"短信手机号"}},[a("el-input",{on:{change:t.getList},model:{value:t.searchFrom.mobile,callback:function(e){t.$set(t.searchFrom,"mobile",e)},expression:"searchFrom.mobile"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.getList}},[t._v("搜索")])],1)],1),t._v(" "),a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":t.getList},model:{value:t.searchFrom.status,callback:function(e){t.$set(t.searchFrom,"status",e)},expression:"searchFrom.status"}},[a("el-tab-pane",{attrs:{label:"全部",name:"-1"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"发送成功",name:"0"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"发送失败",name:"1"}})],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.list}},[a("el-table-column",{attrs:{className:"f-c",label:"用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.user_id?a("div",[a("img",{staticClass:"avatar",attrs:{src:e.row.avatar}}),t._v(" "+t._s(e.row.nickname)+"(ID:"+t._s(e.row.user_id)+") "),a("br"),t._v("手机:"+t._s(e.row.user_mobile)+"\n ")]):t._e(),t._v(" "),e.row.user_id?t._e():a("div",[t._v("\n 未绑定用户信息\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mobile",label:"短信手机号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sms_code",label:"短信验证码"}}),t._v(" "),a("el-table-column",{attrs:{label:"发送结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?a("div",[t._v("\n "+t._s(t._f("filterStatus")(e.row.status))+"\n ")]):t._e(),t._v(" "),0!=e.row.status?a("div",[t._v("\n "+t._s(t._f("filterStatus")(e.row.status))+" / "+t._s(e.row.result)+"\n ")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"created_at",label:"发送时间",sortable:""}})],1),t._v(" "),a("page",{attrs:{nowPage:t.nowPage,total:t.total},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}})],1)};r._withStripped=!0;var i={render:r,staticRenderFns:[]},l=i;var c=!1;var m=a("C7Lr")(o,l,!1,function(t){c||(a("Pcxm"),a("AMA9"))},"data-v-94b03da6",null);m.options.__file="src/components/smsRecord/index.vue";e.default=m.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([76],{KdS4:function(n,e,t){(n.exports=t("UTlt")(!0)).push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","",{version:3,sources:[],names:[],mappings:"",file:"upload.vue",sourceRoot:""}])},NoAY:function(n,e,t){var i=t("KdS4");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("FIqI")("d53a90f4",i,!1,{})},iPJD:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),o={name:"upload",data:function(){return{fileList:[]}},methods:{uploadFileVideo1Banner:function(n){var e=this;Object(i._241)({file:n.file,type:"local"}).then(function(n){n.url="https://cdn.singsingenglish.com/"+n.url,e.fileList.push(n)})}}},l=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("el-upload",{staticClass:"upload-demo",attrs:{action:"/api/public/upload","http-request":n.uploadFileVideo1Banner,"list-type":"picture-card",multiple:""}}),n._v(" "),t("pre",[n._v(" <p>\n ")]),n._v(" "),n._l(n.fileList,function(e){return t("pre",[n._v(' <img src="'+n._s(e.url)+'" style="display:block">\n ')])}),n._v(" "),t("pre",[n._v(" </p>\n ")])],2)};l._withStripped=!0;var r={render:l,staticRenderFns:[]},s=r;var a=!1;var u=t("C7Lr")(o,s,!1,function(n){a||t("NoAY")},"data-v-1a99637c",null);u.options.__file="src/components/framework/upload.vue";e.default=u.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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