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

2 lines
6.3 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48e5cf42"],{3236:function(t,e,s){},8055:function(t,e,s){"use strict";s("3236")},"98e4":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"box-card"},[e("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[e("span",[t._v(t._s(t.$t("shopAudit.title")))]),e("el-button",{staticStyle:{float:"right","margin-left":"20px"},attrs:{type:"warning"},on:{click:t.goBack}},[t._v(" "+t._s(t.$t("shopAudit.back"))+" ")])],1),e("div",{staticClass:"card-body"},[e("el-form",{staticClass:"text-left",attrs:{model:t.shopAuditDetailInfo,"label-width":"120px"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.shopName")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.shopName))])])],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.shopDesc")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.shopDesc))])])],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.shopType")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.shopTypeName))])])],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.openType")}},[e("span",[t._v(t._s(t.openTypeName(t.shopAuditDetailInfo.openType)))])])],1),e("el-col",{attrs:{span:4}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.logo")}},[e("el-image",{staticStyle:{width:"60px",height:"60px","border-radius":"5px"},attrs:{src:t.shopAuditDetailInfo.shopLogo,fit:"cover"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.sendAddress")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.sendAddress))])])],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.areaName")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.areaName))])])],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.returnAddress")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.returnAddress))])])],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.returnPerson")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.returnPerson))])])],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.returnLink")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.returnLink))])])],1)],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.applyOpinion")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.applyOpinion))])])],1)],1),"003"===t.shopAuditDetailInfo.state?e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.auditOpinion")}},[e("span",[t._v(t._s(t.shopAuditDetailInfo.auditOpinion))])])],1)],1):t._e()],1)],1)]),"001"===t.shopAuditDetailInfo.state?e("el-card",{staticClass:"box-card"},[e("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[e("span",[t._v(t._s(t.$t("shopAudit.auditResult")))])]),e("div",{staticClass:"card-body"},[e("el-form",{attrs:{model:t.auditInfo,"label-width":"120px"}},[e("el-form-item",{attrs:{label:t.$t("shopAudit.auditStatus")}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("shopAudit.selectAuditStatus")},model:{value:t.auditInfo.state,callback:function(e){t.$set(t.auditInfo,"state",e)},expression:"auditInfo.state"}},[e("el-option",{attrs:{label:t.$t("shopAudit.agree"),value:"1100"}}),e("el-option",{attrs:{label:t.$t("shopAudit.reject"),value:"1200"}})],1)],1),e("el-form-item",{attrs:{label:t.$t("shopAudit.auditOpinion")}},[e("el-input",{attrs:{type:"textarea",placeholder:t.$t("shopAudit.auditOpinionPlaceholder"),rows:4},model:{value:t.auditInfo.auditOpinion,callback:function(e){t.$set(t.auditInfo,"auditOpinion",e)},expression:"auditInfo.auditOpinion"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.auditSubmit}},[t._v(" "+t._s(t.$t("shopAudit.submit"))+" ")]),e("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"warning"},on:{click:t.refreshShopAuditManageInfo}},[t._v(" "+t._s(t.$t("shopAudit.cancel"))+" ")])],1)],1)],1)]):t._e()],1)},i=[],o=s("be8d"),n={name:"ShopAuditDetail",data(){return{shopAuditDetailInfo:{auditId:"",shopId:"",shopLogo:"",storeId:"",shopName:"",shopDesc:"",mapX:"",mapY:"",sendAddress:"",returnAddress:"",shopTypeName:"",areaName:"",returnPerson:"",returnLink:"",state:"",shopType:"",openType:"",areaCode:"",auditOpinion:"",applyOpinion:"",statusCd:""},auditInfo:{state:"",auditOpinion:""}}},created(){this.shopAuditDetailInfo.auditId=this.$route.query.auditId,this.shopAuditDetailInfo.shopId=this.$route.query.shopId,this.loadShopAuditInfoData()},methods:{loadShopAuditInfoData(){const t={page:1,row:1,auditId:this.shopAuditDetailInfo.auditId};Object(o["b"])(t).then(t=>{Object.assign(this.shopAuditDetailInfo,t.data[0])}).catch(t=>{console.error("请求失败:",t)})},auditSubmit(){if(!this.auditValidate())return void this.$message.error(this.validateErrInfo);const t={state:this.auditInfo.state,auditOpinion:"1200"===this.auditInfo.state?"拒绝:"+this.auditInfo.auditOpinion:this.auditInfo.auditOpinion,shopId:this.shopAuditDetailInfo.shopId,storeId:this.shopAuditDetailInfo.storeId,auditId:this.shopAuditDetailInfo.auditId,remark:this.auditInfo.auditOpinion};Object(o["a"])(t).then(t=>{0===t.code?(this.$message.success("处理成功"),this.goBack()):this.$message.error(t.msg)}).catch(t=>{this.$message.error("处理失败:"+t)})},openTypeName(t){const e={1:this.$t("shopAudit.merchant"),2:this.$t("shopAudit.service"),3:this.$t("shopAudit.merchantAndService")};return e[t]||""},auditValidate(){return!0},goBack(){this.$router.go(-1)},refreshShopAuditManageInfo(){this.auditInfo={state:"",auditOpinion:""}}}},r=n,d=(s("8055"),s("2877")),l=Object(d["a"])(r,a,i,!1,null,"449776e4",null);e["default"]=l.exports},be8d:function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"a",(function(){return o}));var a=s("b775");function i(t){return new Promise((e,s)=>{Object(a["a"])({url:"/shopAudit.queryShopAudit",method:"get",params:t}).then(t=>{const s=t.data;e(s)}).catch(t=>{s(t)})})}function o(t){return new Promise((e,s)=>{Object(a["a"])({url:"/shop.auditEditShop",method:"post",data:t}).then(t=>{const s=t.data;e(s)}).catch(t=>{s(t)})})}}}]);
//# sourceMappingURL=chunk-48e5cf42.40b85912.js.map