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

2 lines
9.7 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65551738"],{"336e":function(e,t,o){},"63ab":function(e,t,o){"use strict";o("336e")},7082:function(e,t,o){"use strict";o("8882")},8882:function(e,t,o){},b1b5:function(e,t,o){"use strict";o.r(t);var s=function(){var e=this,t=e._self._c;return t("div",["shopAuditManage"===e.componentShow?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("div",[e._v("查询条件")])]),t("div",{},[t("el-form",{staticClass:"flex justify-start",attrs:{inline:!0,model:e.conditions}},[t("el-form-item",[t("el-input",{attrs:{placeholder:"请输入店铺名称",clearable:""},model:{value:e.conditions.shopName,callback:function(t){e.$set(e.conditions,"shopName",t)},expression:"conditions.shopName"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:"请输入退货联系人",clearable:""},model:{value:e.conditions.returnPerson,callback:function(t){e.$set(e.conditions,"returnPerson",t)},expression:"conditions.returnPerson"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:"请输入退货联系电话",clearable:""},model:{value:e.conditions.returnLink,callback:function(t){e.$set(e.conditions,"returnLink",t)},expression:"conditions.returnLink"}})],1),t("el-form-item",[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择审核状态"},model:{value:e.conditions.state,callback:function(t){e.$set(e.conditions,"state",t)},expression:"conditions.state"}},[t("el-option",{attrs:{label:"请选择审核状态",value:""}}),t("el-option",{attrs:{label:"待审核",value:"001"}}),t("el-option",{attrs:{label:"审核通过",value:"002"}}),t("el-option",{attrs:{label:"审核不通过",value:"003"}})],1)],1),t("el-form-item",[t("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.queryShopAuditMethod}},[e._v(" 查询 ")])],1)],1)],1)])],1)],1):e._e(),"shopAuditManage"===e.componentShow?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-card",{staticClass:"margin-top-sm"},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("div",[e._v("店铺审核")])]),t("div",{},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.shopAudits,border:""}},[t("el-table-column",{attrs:{prop:"auditId",label:"审核ID",align:"center"}}),t("el-table-column",{attrs:{prop:"shopName",label:"名称",align:"center"}}),t("el-table-column",{attrs:{prop:"sendAddress",label:"发货地址",align:"center"}}),t("el-table-column",{attrs:{prop:"returnPerson",label:"退货联系人",align:"center"}}),t("el-table-column",{attrs:{prop:"returnLink",label:"退货联系电话",align:"center"}}),t("el-table-column",{attrs:{prop:"state",label:"审核状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.auditState(t.row.state))+" ")]}}],null,!1,3405404529)}),t("el-table-column",{attrs:{label:"操作",align:"center",width:"120"},scopedSlots:e._u([{key:"default",fn:function(o){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.openAuditOpenShopModel(o.row)}}},[e._v(" 查看 ")])]}}],null,!1,2458155578)})],1),t("el-pagination",{attrs:{"current-page":e.page,"page-size":e.rows,total:e.total,layout:"total, prev, pager, next"},on:{"current-change":e.handlePageChange}})],1)])],1)],1):e._e(),"viewShopAuditInfo"===e.componentShow?t("view-shop-audit-info",{ref:"viewShopAuditInfo",on:{refresh:e.refreshShopAuditManageInfo}}):e._e()],1)},a=[],n=o("b775");function i(e){return new Promise((t,o)=>{Object(n["a"])({url:"/shopAudit.queryShopAudit",method:"get",params:e}).then(e=>{const o=e.data;t(o)}).catch(e=>{o(e)})})}function r(e){return new Promise((t,o)=>{Object(n["a"])({url:"/shop.queryShop",method:"get",params:e}).then(e=>{const o=e.data;t(o)}).catch(e=>{o(e)})})}var p=function(){var e=this,t=e._self._c;return t("el-row",[t("el-col",{attrs:{span:24}},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[t("h5",[e._v("店铺审核信息")]),t("div",{staticClass:"float-right"},[t("el-button",{attrs:{type:"primary"},on:{click:e.refreshShopAuditManageInfo}},[e._v(" 返回 ")])],1)]),t("div",{staticClass:"card-body"},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"店铺名称:"}},[e.viewShopAuditInfo.shopName==e.preShopInfo.shopName||"002"==e.viewShopAuditInfo.state?t("span",[e._v(" "+e._s(e.viewShopAuditInfo.shopName)+" ")]):t("span",[e._v(" "+e._s(e.preShopInfo.shopName)+" 变更为: "),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.viewShopAuditInfo.shopName))])])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"店铺描述:"}},[e.viewShopAuditInfo.shopDesc==e.preShopInfo.shopDesc||"002"==e.viewShopAuditInfo.state?t("span",[e._v(" "+e._s(e.viewShopAuditInfo.shopDesc)+" ")]):t("span",[e._v(" "+e._s(e.preShopInfo.shopDesc)+" 变更为: "),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.viewShopAuditInfo.shopDesc))])])])],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"店铺类型:"}},[e.viewShopAuditInfo.shopType==e.preShopInfo.shopType||"002"==e.viewShopAuditInfo.state?t("span",[e._v(" "+e._s(e.viewShopAuditInfo.shopTypeName)+" ")]):t("span",[e._v(" "+e._s(e.preShopInfo.shopTypeName)+" 变更为: "),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.viewShopAuditInfo.shopTypeName))])])])],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"开店类型:"}},[e.viewShopAuditInfo.openType==e.preShopInfo.openType||"002"==e.viewShopAuditInfo.state?t("span",[e._v(" "+e._s(e.openTypeName(e.viewShopAuditInfo.openType))+" ")]):t("span",[e._v(" "+e._s(e.openTypeName(e.preShopInfo.openType))+" 变更为: "),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.openTypeName(e.viewShopAuditInfo.openType)))])])])],1),t("el-col",{attrs:{span:4}},[t("el-form-item",{attrs:{label:"店铺logo"}},[e.viewShopAuditInfo.shopLogo==e.preShopInfo.shopLogo||"002"==e.viewShopAuditInfo.state?t("div",[t("el-image",{staticStyle:{width:"60px",height:"60px","border-radius":"5px"},attrs:{src:e.viewShopAuditInfo.shopLogo,fit:"cover"}})],1):t("div",[t("el-image",{staticStyle:{width:"60px",height:"60px","border-radius":"5px"},attrs:{src:e.preShopInfo.shopLogo,fit:"cover"}}),e._v(" 变更为: "),t("el-image",{staticStyle:{width:"60px",height:"60px","border-radius":"5px"},attrs:{src:e.viewShopAuditInfo.shopLogo,fit:"cover"}})],1)])],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"发货地址:"}},[e.viewShopAuditInfo.sendAddress==e.preShopInfo.sendAddress||"002"==e.viewShopAuditInfo.state?t("span",[e._v(" "+e._s(e.viewShopAuditInfo.sendAddress)+" ")]):t("span",[e._v(" "+e._s(e.viewShopAuditInfo.sendAddress)+" 变更为: "),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.preShopInfo.sendAddress))])])])],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"地域编码:"}},[e._v(" "+e._s(e.viewShopAuditInfo.areaName)+" ")])],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"退货地址:"}},[e._v(" "+e._s(e.viewShopAuditInfo.returnAddress)+" ")])],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"退货联系人:"}},[e._v(" "+e._s(e.viewShopAuditInfo.returnPerson)+" ")])],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"退货联系电话:"}},[e._v(" "+e._s(e.viewShopAuditInfo.returnLink)+" ")])],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:16}},[t("el-form-item",{attrs:{label:"申请原因:"}},[e._v(" "+e._s(e.viewShopAuditInfo.applyOpinion)+" ")])],1)],1),"003"==e.viewShopAuditInfo.state?t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:16}},[t("el-form-item",{attrs:{label:"不通过意见:"}},[e._v(" "+e._s(e.viewShopAuditInfo.auditOpinion)+" ")])],1)],1):e._e()],1)])],1)],1)},l=[],d={name:"ViewShopAuditInfo",data(){return{viewShopAuditInfo:{auditId:"",shopId:"",shopLogo:"",storeId:"",shopName:"",shopDesc:"",sendAddress:"",returnAddress:"",shopTypeName:"",areaName:"",returnPerson:"",returnLink:"",state:"",shopType:"",openType:"",areaCode:"",auditOpinion:"",applyOpinion:""},preShopInfo:{shopId:"",shopName:"",shopLogo:"",shopType:"",openType:"",shopDesc:"",sendAddress:"",storeId:"",returnPerson:"",returnLink:"",returnAddress:"",applyOpinion:"",state:"",areaCode:""}}},methods:{open(e){Object.assign(this.viewShopAuditInfo,e),this.getPreShopInfo(e.shopId)},getPreShopInfo(e){r({shopId:e,page:1,row:1}).then(e=>{e.data&&e.data.length>0&&(this.preShopInfo=e.data[0])})},openTypeName(e){return"1"==e?"商家":"2"==e?"服务":"3"==e?"商家和服务":""},refreshShopAuditManageInfo(){this.$emit("refresh")}}},h=d,u=(o("7082"),o("2877")),c=Object(u["a"])(h,p,l,!1,null,"8186cf3c",null),f=c.exports,m={name:"ShopAuditManage",components:{ViewShopAuditInfo:f},data(){return{componentShow:"shopAuditManage",shopAudits:[],total:0,page:1,rows:10,conditions:{auditId:"",storeId:"",returnLink:"",returnPerson:"",shopName:"",shopId:"",state:""}}},created(){let e=this.getShopId();this.shopId=e,this.listShopAudits()},methods:{listShopAudits(){const e={...this.conditions,page:this.page,row:this.rows,shopId:this.shopId};i(e).then(e=>{this.shopAudits=e.data,this.total=e.total})},openAuditOpenShopModel(e){console.log(e),this.componentShow="viewShopAuditInfo",this.$refs.viewShopAuditInfo.open(e)},auditState(e){return"001"===e?"待审核":"002"===e?"审核通过":"003"===e?"审核不通过":""},queryShopAuditMethod(){this.page=1,this.listShopAudits()},handlePageChange(e){this.page=e,this.listShopAudits()},refreshShopAuditManageInfo(){this.componentShow="shopAuditManage",this.listShopAudits()}}},v=m,S=(o("63ab"),Object(u["a"])(v,s,a,!1,null,"343615dc",null));t["default"]=S.exports}}]);
//# sourceMappingURL=chunk-65551738.8ae605bd.js.map