启程易购后端代码
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.
 
 
 
 
 
 
qicheng_shop_backend/public/system/js/chunk-2544e1df.51b9dd1d.js

1 lines
4.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2544e1df"],{"5bf3":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{attrs:{inline:"",size:"small"}},[a("el-form-item",{attrs:{label:"商户名称:"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){t.getList(1),t.getCardList()}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[a("el-table-column",{attrs:{label:"序号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mer_name",label:"商户名称","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"copy_product_num",label:"复制商品剩余次数","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"export_dump_num",label:"电子面单剩余次数","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"购买时间","min-width":"150"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},i=[],n=a("90e7"),s=a("c4c8"),r=a("e572"),o={name:"serviceSetting",data:function(){return{smsAccount:"tangkai",imgUrl:a("c7de"),headeNum:[{type:1,title:"平台购买记录"},{type:2,title:"商户购买记录"}],purchaseList:[{name:"短信",type:1},{name:"电子面单",type:2},{name:"商品采集",type:3},{name:"物流查询",type:4}],merSelect:[],listLoading:!0,tableData:{data:[],total:0},fromList:r["a"],timeVal:[],fullscreenLoading:!1,tableFrom:{page:1,limit:20,way:"1",type:"",mer_id:"",keyword:"",date:""}}},mounted:function(){this.getList(""),this.getMerSelect()},methods:{selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList(1)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(n["C"])(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(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)},getMerSelect:function(){var t=this;Object(s["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))}}},c=o,m=(a("dbd4"),a("2877")),d=Object(m["a"])(c,l,i,!1,null,"6d13e13a",null);e["default"]=d.exports},c7de:function(t,e,a){t.exports=a.p+"system/img/ren.c7bc0d99.png"},dbd4:function(t,e,a){"use strict";a("f4b6")},e572:function(t,e,a){"use strict";a.d(e,"c",(function(){return l})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n}));var l=[{label:"开启",value:1},{label:"关闭",value:0}],i={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},n={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}},f4b6:function(t,e,a){}}]);