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.
crmeb_php/public/system/js/chunk-58e56a60.aacf8446.js

1 line
27 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-58e56a60"],{"0e9f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"divBox"},[e.isShowList?n("table-list"):e._e()],1)},i=[],s=(n("a481"),n("c80c")),o=(n("96cf"),n("3b8d")),a=n("db72"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"filter-container mb20"},[n("div",{staticClass:"demo-input-suffix"},[n("span",{staticClass:"seachTiele"},[e._v("短信状态:")]),e._v(" "),n("el-radio-group",{attrs:{size:"small"},on:{change:e.getList},model:{value:e.tableFrom.type,callback:function(t){e.$set(e.tableFrom,"type",t)},expression:"tableFrom.type"}},[n("el-radio-button",{attrs:{label:""}},[e._v("全部")]),e._v(" "),n("el-radio-button",{attrs:{label:"100"}},[e._v("成功")]),e._v(" "),n("el-radio-button",{attrs:{label:"130"}},[e._v("失败")]),e._v(" "),n("el-radio-button",{attrs:{label:"131"}},[e._v("空号")]),e._v(" "),n("el-radio-button",{attrs:{label:"132"}},[e._v("停机")]),e._v(" "),n("el-radio-button",{attrs:{label:"133"}},[e._v("关机")]),e._v(" "),n("el-radio-button",{attrs:{label:"134"}},[e._v("无状态")])],1)],1)]),e._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData.data,size:"mini","highlight-current-row":""}},[n("el-table-column",{attrs:{prop:"sms_record_id",label:"ID","min-width":"50"}}),e._v(" "),n("el-table-column",{attrs:{prop:"phone",label:"手机号","min-width":"120"}}),e._v(" "),n("el-table-column",{attrs:{prop:"content",label:"模板内容","min-width":"500"}}),e._v(" "),n("el-table-column",{attrs:{prop:"template",label:"模板ID","min-width":"100"}}),e._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"发送时间","min-width":"150"}})],1),e._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":e.tableFrom.limit,"current-page":e.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.pageChange}})],1)],1)],1)},l=[],u=n("b61d"),f={name:"TableList",data:function(){return{listLoading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:20,type:""}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(u["i"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(e){this.tableFrom.page=e,this.getList()},handleSizeChange:function(e){this.tableFrom.limit=e,this.getList()}}},d=f,m=n("2877"),p=Object(m["a"])(d,c,l,!1,null,"0e2bb1c5",null),h=p.exports,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"login-container"},[n("el-row",{attrs:{type:"flex"}},[n("el-col",{attrs:{span:24}},[n("el-form",{ref:"formInline",staticClass:"login-form",attrs:{size:"small",model:e.formInline,rules:e.ruleInline,autocomplete:"on","label-position":"left"}},[n("div",{staticClass:"title-container"},[n("h3",{staticClass:"title"},[e._v("短信账户登录")])]),e._v(" "),n("el-form-item",{attrs:{prop:"account"}},[n("el-input",{ref:"account",attrs:{placeholder:"用户名","prefix-icon":"el-icon-user",name:"username",type:"text",tabindex:"1",autocomplete:"off"},model:{value:e.formInline.account,callback:function(t){e.$set(e.formInline,"account",t)},expression:"formInline.account"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:"密码",name:"password",tabindex:"2","auto-complete":"off","prefix-icon":"el-icon-lock"},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}}),e._v(" "),n("span",{staticClass:"show-pwd",on:{click:e