Files
PropertyDeployment/resources/Web/MicroCommunityMallWeb/html/js/chunk-55805202.43cec906.js
Anfioo adfd019d2d 江门
1
2026-02-01 15:37:55 +08:00

2 lines
4.4 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55805202","chunk-fcd760a4"],{"4fbf":function(t,s,e){"use strict";e("7fa8")},"7fa8":function(t,s,e){},9418:function(t,s,e){"use strict";e("cd80")},c962:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t._self._c;return s("el-card",{staticClass:"list-selector"},[s("ul",{staticClass:"list-selector-list"},["Y"==t.showAll?s("li",{class:{selected:""===t.adminShopInfo.shopId},on:{click:function(s){return t.swatchAdminShopId({shopId:"",shopName:"全部"})}}},[t._v(" "+t._s(t.$t("common.all"))+" ")]):t._e(),t._l(t.adminShopInfo.shops,(function(e,a){return s("li",{key:a,class:{selected:t.adminShopInfo.shopId===e.shopId},on:{click:function(s){return t.swatchAdminShopId(e)}}},[t._v(" "+t._s(e.shopName)+" ")])}))],2)])},o=[],n=e("7323"),i={name:"AdminShop",data(){return{adminShopInfo:{shops:[],shopId:""}}},props:{showAll:{type:String,default:"Y"}},created(){this._listAdminShops()},methods:{async _listAdminShops(){try{const t=await Object(n["k"])({page:1,row:100});this.adminShopInfo.shops=t.data,"N"==this.showAll&&this.adminShopInfo.shops.length>0&&this.swatchAdminShopId(this.adminShopInfo.shops[0])}catch(t){console.error("获取店铺列表失败:",t)}},swatchAdminShopId(t){this.adminShopInfo.shopId=t.shopId,this.$emit("shop-change",t)}}},l=i,h=(e("9418"),e("2877")),p=Object(h["a"])(l,a,o,!1,null,"177c0c26",null);s["default"]=p.exports},cd80:function(t,s,e){},f1cb:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t._self._c;return s("div",[s("el-row",{attrs:{gutter:20}},[s("el-col",{staticClass:"padding-r-0",attrs:{span:4}},[s("admin-shop",{on:{"shop-change":t.handleShopChange}})],1),s("el-col",{attrs:{span:20}},[s("el-card",[s("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[s("span",[t._v(t._s(t.$t("shopSmsDetail.queryCondition")))])]),s("el-form",{staticClass:"flex justify-start",attrs:{inline:!0,model:t.aShopSmsDetailInfo.conditions}},[s("el-form-item",[s("el-input",{attrs:{placeholder:t.$t("shopSmsDetail.phonePlaceholder"),clearable:""},model:{value:t.aShopSmsDetailInfo.conditions.link,callback:function(s){t.$set(t.aShopSmsDetailInfo.conditions,"link",s)},expression:"aShopSmsDetailInfo.conditions.link"}})],1),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:t._queryAShopSmsDetailMethod}},[t._v(" "+t._s(t.$t("shopSmsDetail.query"))+" ")])],1)],1)],1),s("el-card",{staticClass:"margin-top"},[s("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[s("span",[t._v(t._s(t.$t("shopSmsDetail.sendRecords")))])]),s("el-table",{staticStyle:{width:"100%"},attrs:{data:t.aShopSmsDetailInfo.details,border:"",stripe:""}},[s("el-table-column",{attrs:{prop:"detailId",label:t.$t("shopSmsDetail.detailId"),align:"center"}}),s("el-table-column",{attrs:{prop:"shopName",label:t.$t("shopSmsDetail.shopName"),align:"center"}}),s("el-table-column",{attrs:{prop:"smsContent",label:t.$t("shopSmsDetail.smsContent"),align:"center"}}),s("el-table-column",{attrs:{prop:"link",label:t.$t("shopSmsDetail.phoneNumber"),align:"center"}}),s("el-table-column",{attrs:{prop:"createTime",label:t.$t("shopSmsDetail.sendTime"),align:"center"}})],1),s("el-pagination",{attrs:{"current-page":t.aShopSmsDetailInfo.conditions.page,"page-size":t.aShopSmsDetailInfo.conditions.row,layout:"total, prev, pager, next",total:t.aShopSmsDetailInfo.total},on:{"current-change":t.handleCurrentChange}})],1)],1)],1)],1)},o=[],n=e("b775");function i(t){return new Promise((s,e)=>{Object(n["a"])({url:"/shopSms.listAShopSmsDetail",method:"get",params:t}).then(t=>{const e=t.data;s(e)}).catch(t=>{e(t)})})}var l=e("c962"),h={components:{AdminShop:l["default"]},data(){return{aShopSmsDetailInfo:{details:[],total:0,conditions:{link:"",shopId:"",page:1,row:10}}}},created(){this._listAShopSmsDetails()},methods:{handleShopChange(t){this.aShopSmsDetailInfo.conditions.shopId=t.shopId,this._listAShopSmsDetails()},handleCurrentChange(t){this.aShopSmsDetailInfo.conditions.page=t,this._listAShopSmsDetails()},async _listAShopSmsDetails(){try{const t=await i(this.aShopSmsDetailInfo.conditions);this.aShopSmsDetailInfo.details=t.data,this.aShopSmsDetailInfo.total=t.total}catch(t){console.error("获取店铺短信详情失败:",t)}},_queryAShopSmsDetailMethod(){this.aShopSmsDetailInfo.conditions.page=1,this._listAShopSmsDetails()}}},p=h,r=(e("4fbf"),e("2877")),c=Object(r["a"])(p,a,o,!1,null,"4b9858f9",null);s["default"]=c.exports}}]);
//# sourceMappingURL=chunk-55805202.43cec906.js.map