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

2 lines
40 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-426d50ad"],{"0214":function(e,t,a){},1726:function(e,t,a){"use strict";a.d(t,"e",(function(){return i})),a.d(t,"l",(function(){return o})),a.d(t,"f",(function(){return n})),a.d(t,"i",(function(){return r})),a.d(t,"c",(function(){return l})),a.d(t,"g",(function(){return d})),a.d(t,"a",(function(){return u})),a.d(t,"h",(function(){return c})),a.d(t,"k",(function(){return h})),a.d(t,"d",(function(){return m})),a.d(t,"b",(function(){return p})),a.d(t,"j",(function(){return f}));var s=a("b775");function i(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product.queryProduct",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function o(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product.updateProduct",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function n(e){return new Promise((t,a)=>{Object(s["a"])({url:"/productCategory.queryProductCategory",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function r(e){return new Promise((t,a)=>{Object(s["a"])({url:"/shopHouse.queryShopHouse",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function l(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingType.queryHousekeepingType",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function d(e){return new Promise((t,a)=>{Object(s["a"])({url:"/productH5Menu.listProductH5Menu",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function u(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product.deleteProduct",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function c(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product/queryProductSpec",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function h(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product/saveProductLabel",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function m(e){return new Promise((t,a)=>{Object(s["a"])({url:"/label/queryLabel",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function p(e){return new Promise((t,a)=>{Object(s["a"])({url:"/export.exportData",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function f(e){return new Promise((t,a)=>{Object(s["a"])({url:"/product.saveProduct",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}},"3f1c":function(e,t,a){},5267:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"d",(function(){return o})),a.d(t,"a",(function(){return n}));var s=a("b775");function i(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingServ.queryHousekeepingServ",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function o(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingServ.saveHousekeepingServ",method:"post",data:e}).then(e=>{const s=e.data;0===s.code?t(s):a(s.msg)}).catch(e=>{a(e)})})}function n(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingServ.deleteHousekeepingServ",method:"post",data:{servId:e}}).then(e=>{const s=e.data;0===s.code?t(s):a(s.msg)}).catch(e=>{a(e)})})}},"55ba":function(e,t,a){},"5e31":function(e,t,a){"use strict";var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"upload-image-container"},[e._l(e.photos,(function(a,s){return t("div",{key:s,staticClass:"image-item"},[t("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a,fit:"cover","preview-src-list":e.photos}}),t("i",{staticClass:"el-icon-delete delete-icon",on:{click:function(t){return e.removeImage(s)}}})],1)})),e.photos.length<e.imageCount?t("div",{staticClass:"upload-button",on:{click:e.triggerUpload}},[t("i",{staticClass:"el-icon-plus"})]):e._e(),t("input",{ref:"fileInput",attrs:{type:"file",accept:"image/*",hidden:""},on:{change:e.handleFileChange}})],2)},i=[],o=a("3549"),n={name:"UploadImageUrl",props:{imageCount:{type:Number,default:1}},data(){return{photos:[],photosUrl:[]}},methods:{triggerUpload(){this.$refs.fileInput.click()},async handleFileChange(e){const t=e.target.files[0];if(!t)return;if(t.size>2097152)return void this.$message.error("图片大小不能超过2MB");const a=new FileReader;a.onload=e=>{this.photos.push(e.target.result)},a.readAsDataURL(t);try{const e=new FormData;e.append("uploadFile",t),e.append("communityId","-1");const{data:a}=await Object(o["b"])(e);this.photosUrl.push(a.url),this.$emit("notifyUploadCoverImage",this.photosUrl)}catch(s){this.$message.error(s.message||"上传失败")}e.target.value=null},removeImage(e){this.photos.splice(e,1),this.photosUrl.splice(e,1),this.$emit("notifyUploadCoverImage",this.photosUrl)},clearImages(){this.photos=[],this.photosUrl=[]},setImages(e){this.clearImages(),e.forEach(e=>{if(!(e.indexOf("base64,")>-1))return e.indexOf("http")>-1?(this.photos.push(e),void this.photosUrl.push(e)):void this.photosUrl.push(e);this.photos.push(e)})}}},r=n,l=(a("e457"),a("2877")),d=Object(l["a"])(r,s,i,!1,null,"c3e7566c",null);t["a"]=d.exports},"68e1":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"d",(function(){return n})),a.d(t,"a",(function(){return r}));var s=a("b775");function i(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingType.queryHousekeepingType",method:"get",params:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function o(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingType.saveHousekeepingType",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function n(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingType.updateHousekeepingType",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function r(e){return new Promise((t,a)=>{Object(s["a"])({url:"/housekeepingType.deleteHousekeepingType",method:"post",data:e}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}},"7def":function(e,t,a){"use strict";a("0214")},cea0:function(e,t,a){"use strict";a("3f1c")},e457:function(e,t,a){"use strict";a("55ba")},e69c:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:3}},[t("el-card",{staticClass:"list-selector"},[t("ul",{staticClass:"list-selector-list"},e._l(e.skipTypes,(function(a){return t("li",{key:a.value,class:{selected:e.selectedSkipType===a.value},on:{click:function(t){return e.handleTypeSelect(a.value)}}},[e._v(" "+e._s(a.label)+" ")])})),0)])],1),t("el-col",{attrs:{span:21}},[t("el-card",[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("indexMenu.search.title")))])]),t("el-form",{staticClass:"demo-form-inline text-left",attrs:{inline:!0}},[t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("indexMenu.search.name"),clearable:""},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}})],1),t("el-form-item",[t("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:e.$t("indexMenu.search.isShow")},model:{value:e.searchForm.isShow,callback:function(t){e.$set(e.searchForm,"isShow",t)},expression:"searchForm.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1),t("el-form-item",[t("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleSearch}},[e._v(" "+e._s(e.$t("common.search"))+" ")]),t("el-button",{attrs:{type:"primary",icon:"el-icon-refresh"},on:{click:e.handleReset}},[e._v(" "+e._s(e.$t("common.reset"))+" ")])],1)],1)],1),t("el-card",{staticStyle:{"margin-top":"20px"}},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("indexMenu.list.title"))+" - "+e._s(e.getCurrentTypeLabel()))]),t("div",[t("el-button-group",[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.openAddHouseKeepMenu}},[t("i",{staticClass:"el-icon-plus"}),e._v(" "+e._s(e.$t("indexMenu.button.addHouseKeep"))+" ")]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.openAddServiceMenu}},[t("i",{staticClass:"el-icon-plus"}),e._v(" "+e._s(e.$t("indexMenu.button.addService"))+" ")]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.openAddCategoryMenu}},[t("i",{staticClass:"el-icon-plus"}),e._v(" "+e._s(e.$t("indexMenu.button.addCategory"))+" ")]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.openAddShopMenu}},[t("i",{staticClass:"el-icon-plus"}),e._v(" "+e._s(e.$t("indexMenu.button.addShop"))+" ")]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.openAddMenu}},[t("i",{staticClass:"el-icon-plus"}),e._v(" "+e._s(e.$t("indexMenu.button.addMenu"))+" ")])],1)],1)]),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.filteredTableData,border:"",stripe:""}},[t("el-table-column",{attrs:{prop:"menuIcon",label:e.$t("indexMenu.table.logo"),align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(e){return[t("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{src:e.row.menuIcon,fit:"contain"}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("img",{staticStyle:{width:"50px",height:"50px"},attrs:{src:"/img/noPhoto.jpg"}})])])]}}])}),t("el-table-column",{attrs:{prop:"name",label:e.$t("indexMenu.table.name"),align:"center"}}),t("el-table-column",{attrs:{prop:"seq",label:e.$t("indexMenu.table.seq"),align:"center"}}),t("el-table-column",{attrs:{prop:"isShow",label:e.$t("indexMenu.table.isShow"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("Y"===t.row.isShow?e.$t("common.yes"):e.$t("common.no"))+" ")]}}])}),t("el-table-column",{attrs:{prop:"createTime",label:e.$t("indexMenu.table.createTime"),align:"center"}}),t("el-table-column",{attrs:{label:e.$t("common.operation"),align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.handleEdit(a.row)}}},[e._v(" "+e._s(e.$t("common.edit"))+" ")]),t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(a.row)}}},[e._v(" "+e._s(e.$t("common.delete"))+" ")])]}}])})],1),t("el-pagination",{staticStyle:{"margin-top":"20px","text-align":"right"},attrs:{"current-page":e.pagination.current,"page-sizes":[10,20,30,50],"page-size":e.pagination.size,layout:"total, sizes, prev, pager, next, jumper",total:e.filteredTotal},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1),t("add-index-menu",{ref:"addIndexMenu",on:{success:e.handleSuccess}}),t("add-house-keep-menu",{ref:"addHouseKeepMenu",on:{success:e.handleSuccess}}),t("add-service-menu",{ref:"addServiceMenu",on:{success:e.handleSuccess}}),t("add-shop-menu",{ref:"addShopMenu",on:{success:e.handleSuccess}}),t("add-category-menu",{ref:"addCategoryMenu",on:{success:e.handleSuccess}}),t("edit-index-menu",{ref:"editIndexMenu",on:{success:e.handleSuccess}}),t("delete-index-menu",{ref:"deleteIndexMenu",on:{success:e.handleSuccess}})],1)},i=[],o=a("b775"),n=a("7323");function r(e){return new Promise((t,a)=>{Object(o["a"])({url:"/shopMenu.listShopMenu",method:"get",params:{...e,shopId:Object(n["f"])()}}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function l(e){return new Promise((t,a)=>{Object(o["a"])({url:"/shopMenu.saveShopMenu",method:"post",data:{...e,shopId:Object(n["f"])()}}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function d(e){return new Promise((t,a)=>{Object(o["a"])({url:"/shopMenu.updateShopMenu",method:"post",data:{...e,shopId:Object(n["f"])()}}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}function u(e){return new Promise((t,a)=>{Object(o["a"])({url:"/shopMenu.deleteShopMenu",method:"post",data:{...e,shopId:Object(n["f"])()}}).then(e=>{const a=e.data;t(a)}).catch(e=>{a(e)})})}var c=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.add.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.url"),prop:"pageUrl"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.urlPlaceholder")},model:{value:e.formData.pageUrl,callback:function(t){e.$set(e.formData,"pageUrl",t)},expression:"formData.pageUrl"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},h=[],m=a("5e31"),p={name:"AddIndexMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{name:"",menuIcon:"",pageUrl:"",seq:"",isShow:"",skipType:"5",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}]},isShowOptions:[],shopId:""}},methods:{open(){this.shopId=Object(n["f"])(),this.getDictData(),this.visible=!0,this.$nextTick(()=>{this.$refs.form&&this.$refs.form.resetFields(),this.$refs.uploadImage&&this.$refs.uploadImage.clearImages()})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,this.formData.shopId=this.shopId,await l(this.formData),this.$message.success(this.$t("indexMenu.add.success")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("indexMenu.add.error"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},f=p,g=a("2877"),b=Object(g["a"])(f,c,h,!1,null,null,null),v=b.exports,$=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.addHouseKeep.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.housekeepingType"),prop:"hktId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.housekeepingTypePlaceholder")},model:{value:e.formData.hktId,callback:function(t){e.$set(e.formData,"hktId",t)},expression:"formData.hktId"}},e._l(e.housekeepingTypes,(function(e){return t("el-option",{key:e.hktId,attrs:{label:e.hktName,value:e.hktId}})})),1)],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},x=[],y=a("68e1"),I={name:"AddHouseKeepMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{name:"",menuIcon:"",hktId:"",seq:"",isShow:"",skipType:"3",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],hktId:[{required:!0,message:this.$t("indexMenu.validate.housekeepingTypeRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}]},isShowOptions:[],housekeepingTypes:[],shopId:""}},methods:{open(){this.shopId=Object(n["f"])(),this.getDictData(),this.getHousekeepingTypes(),this.visible=!0,this.$nextTick(()=>{this.$refs.form&&this.$refs.form.resetFields(),this.$refs.uploadImage&&this.$refs.uploadImage.clearImages()})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},async getHousekeepingTypes(){try{const e={page:1,row:100,typeCd:1001,shopId:this.shopId},{data:t}=await Object(y["b"])(e);this.housekeepingTypes=t}catch(e){console.error("获取家政类型失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,this.formData.shopId=this.shopId,this.formData.pageUrl=`/pages/homemaking/categoryServ?shopId=${this.shopId}&hktId=${this.formData.hktId}`,await l(this.formData),this.$message.success(this.$t("indexMenu.addHouseKeep.success")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("indexMenu.addHouseKeep.error"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},M=I,w=Object(g["a"])(M,$,x,!1,null,null,null),S=w.exports,k=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.addService.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.housekeepingService"),prop:"servId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.housekeepingServicePlaceholder")},model:{value:e.formData.servId,callback:function(t){e.$set(e.formData,"servId",t)},expression:"formData.servId"}},e._l(e.housekeepingServs,(function(e){return t("el-option",{key:e.servId,attrs:{label:e.servName,value:e.servId}})})),1)],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},D=[],q=a("5267"),_={name:"AddServiceMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{name:"",menuIcon:"",servId:"",seq:"",isShow:"",skipType:"4",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],servId:[{required:!0,message:this.$t("indexMenu.validate.housekeepingServiceRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}]},isShowOptions:[],housekeepingServs:[],shopId:""}},methods:{open(){this.shopId=Object(n["f"])(),this.getDictData(),this.getHousekeepingServs(),this.visible=!0,this.$nextTick(()=>{this.$refs.form&&this.$refs.form.resetFields(),this.$refs.uploadImage&&this.$refs.uploadImage.clearImages()})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},async getHousekeepingServs(){try{const e={page:1,row:100,shopId:this.shopId},{data:t}=await Object(q["b"])(e);this.housekeepingServs=t}catch(e){console.error("获取家政服务失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,this.formData.shopId=this.shopId,this.formData.pageUrl=`/pages/homemaking/detail?shopId=${this.shopId}&servId=${this.formData.servId}`,await l(this.formData),this.$message.success(this.$t("indexMenu.addService.success")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("indexMenu.addService.error"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},C=_,O=Object(g["a"])(C,k,D,!1,null,null,null),T=O.exports,j=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.addShop.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.product"),prop:"productId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.productPlaceholder")},model:{value:e.formData.productId,callback:function(t){e.$set(e.formData,"productId",t)},expression:"formData.productId"}},e._l(e.products,(function(e){return t("el-option",{key:e.productId,attrs:{label:e.prodName,value:e.productId}})})),1)],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},P=[],U=a("1726"),R={name:"AddShopMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{name:"",menuIcon:"",productId:"",seq:"",isShow:"",skipType:"2",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],productId:[{required:!0,message:this.$t("indexMenu.validate.productRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}]},isShowOptions:[],products:[],shopId:""}},methods:{open(){this.shopId=Object(n["f"])(),this.getDictData(),this.getProducts(),this.visible=!0,this.$nextTick(()=>{this.$refs.form&&this.$refs.form.resetFields(),this.$refs.uploadImage&&this.$refs.uploadImage.clearImages()})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},async getProducts(){try{const e={page:1,row:100,shopId:this.shopId},{data:t}=await Object(U["e"])(e);this.products=t}catch(e){console.error("获取商品列表失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,this.formData.shopId=this.shopId,this.formData.pageUrl=`/pages/goods/goods?shopId=${this.shopId}&productId=${this.formData.productId}`,await l(this.formData),this.$message.success(this.$t("indexMenu.addShop.success")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("indexMenu.addShop.error"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},F=R,A=Object(g["a"])(F,j,P,!1,null,null,null),H=A.exports,z=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.addCategory.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.category"),prop:"categoryId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.categoryPlaceholder")},model:{value:e.formData.categoryId,callback:function(t){e.$set(e.formData,"categoryId",t)},expression:"formData.categoryId"}},e._l(e.categories,(function(e){return t("el-option",{key:e.categoryId,attrs:{label:e.categoryName,value:e.categoryId}})})),1)],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},L=[],N={name:"AddCategoryMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{name:"",menuIcon:"",categoryId:"",seq:"",isShow:"",skipType:"1",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],categoryId:[{required:!0,message:this.$t("indexMenu.validate.categoryRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}]},isShowOptions:[],categories:[],shopId:""}},methods:{open(){this.shopId=Object(n["f"])(),this.getDictData(),this.getCategories(),this.visible=!0,this.$nextTick(()=>{this.$refs.form&&this.$refs.form.resetFields(),this.$refs.uploadImage&&this.$refs.uploadImage.clearImages()})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},async getCategories(){try{const e={page:1,row:100,shopId:this.shopId},{data:t}=await Object(U["f"])(e);this.categories=t}catch(e){console.error("获取商品分类失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,this.formData.shopId=this.shopId,this.formData.pageUrl=`/pages/index/category?shopId=${this.shopId}&categoryId=${this.formData.categoryId}`,await l(this.formData),this.$message.success(this.$t("common.submitSuccess")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("common.submitFailed"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},K=N,E=Object(g["a"])(K,z,L,!1,null,null,null),B=E.exports,J=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.edit.title"),visible:e.visible,width:"50%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("el-form",{ref:"form",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:e.$t("indexMenu.form.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.namePlaceholder")},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.logo"),prop:"menuIcon"}},[t("upload-image-url",{ref:"uploadImage",attrs:{"image-count":1,"initial-images":[e.formData.menuIcon]},on:{notifyUploadCoverImage:e.handleImageChange}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.seq"),prop:"seq"}},[t("el-input",{attrs:{placeholder:e.$t("indexMenu.form.seqPlaceholder")},model:{value:e.formData.seq,callback:function(t){e.$set(e.formData,"seq",t)},expression:"formData.seq"}})],1),t("el-form-item",{attrs:{label:e.$t("indexMenu.form.isShow"),prop:"isShow"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("indexMenu.form.isShowPlaceholder")},model:{value:e.formData.isShow,callback:function(t){e.$set(e.formData,"isShow",t)},expression:"formData.isShow"}},e._l(e.isShowOptions,(function(e){return t("el-option",{key:e.statusCd,attrs:{label:e.name,value:e.statusCd}})})),1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)],1)},Y=[],G={name:"EditIndexMenu",components:{UploadImageUrl:m["a"]},data(){return{visible:!1,loading:!1,formData:{menuId:"",name:"",menuIcon:"",seq:"",isShow:"",shopId:""},rules:{name:[{required:!0,message:this.$t("indexMenu.validate.nameRequired"),trigger:"blur"},{max:30,message:this.$t("indexMenu.validate.nameMaxLength"),trigger:"blur"}],menuIcon:[{required:!0,message:this.$t("indexMenu.validate.logoRequired"),trigger:"change"}],seq:[{required:!0,message:this.$t("indexMenu.validate.seqRequired"),trigger:"blur"},{type:"number",message:this.$t("indexMenu.validate.seqNumber"),trigger:"blur",transform:e=>Number(e)}],isShow:[{required:!0,message:this.$t("indexMenu.validate.isShowRequired"),trigger:"change"}],menuId:[{required:!0,message:this.$t("indexMenu.validate.menuIdRequired"),trigger:"blur"}]},isShowOptions:[],shopId:""}},methods:{open(e){this.shopId=Object(n["f"])(),this.getDictData(),this.formData={...e,shopId:this.shopId},this.visible=!0,this.$nextTick(()=>{this.$refs.uploadImage&&(this.$refs.uploadImage.clearImages(),e.menuIcon&&this.$refs.uploadImage.setImages([e.menuIcon]))})},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e.data}catch(e){console.error("获取字典数据失败:",e)}},handleImageChange(e){e&&e.length>0?this.formData.menuIcon=e[0]:this.formData.menuIcon=""},handleSubmit(){this.$refs.form.validate(async e=>{if(e)try{this.loading=!0,await d(this.formData),this.$message.success(this.$t("indexMenu.edit.success")),this.$emit("success"),this.visible=!1}catch(t){this.$message.error(this.$t("indexMenu.edit.error"))}finally{this.loading=!1}})},handleClose(){this.$refs.form.resetFields()}}},Q=G,V=Object(g["a"])(Q,J,Y,!1,null,null,null),W=V.exports,X=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("indexMenu.delete.title"),visible:e.visible,width:"30%"},on:{"update:visible":function(t){e.visible=t},close:e.handleClose}},[t("div",{staticClass:"delete-content"},[t("p",[e._v(e._s(e.$t("indexMenu.delete.confirmText")))])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(" "+e._s(e.$t("common.cancel"))+" ")]),t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleConfirm}},[e._v(" "+e._s(e.$t("common.confirm"))+" ")])],1)])},Z=[],ee={name:"DeleteIndexMenu",data(){return{visible:!1,loading:!1,menuId:"",shopId:""}},methods:{open(e){this.shopId=Object(n["f"])(),this.menuId=e.menuId,this.visible=!0},async handleConfirm(){try{this.loading=!0,await u({menuId:this.menuId,shopId:this.shopId}),this.$message.success(this.$t("indexMenu.delete.success")),this.$emit("success"),this.visible=!1}catch(e){this.$message.error(this.$t("indexMenu.delete.error"))}finally{this.loading=!1}},handleClose(){this.menuId=""}}},te=ee,ae=(a("cea0"),Object(g["a"])(te,X,Z,!1,null,"00aca1e8",null)),se=ae.exports,ie={name:"IndexMenuList",components:{AddIndexMenu:v,AddHouseKeepMenu:S,AddServiceMenu:T,AddShopMenu:H,AddCategoryMenu:B,EditIndexMenu:W,DeleteIndexMenu:se},data(){return{loading:!1,searchForm:{name:"",isShow:""},tableData:[],allTableData:[],pagination:{current:1,size:10,total:0},isShowOptions:[],shopId:"",selectedSkipType:"1",skipTypes:[{value:"1",label:"商品分类",icon:"el-icon-goods"},{value:"2",label:"商品菜单",icon:"el-icon-shopping-cart-2"},{value:"3",label:"家政类型菜单",icon:"el-icon-service"},{value:"4",label:"家政菜单",icon:"el-icon-tools"},{value:"5",label:"站外菜单",icon:"el-icon-link"}]}},computed:{filteredTableData(){if(!this.selectedSkipType)return this.allTableData;const e=this.allTableData.filter(e=>e.skipType===this.selectedSkipType),t=(this.pagination.current-1)*this.pagination.size,a=t+this.pagination.size;return e.slice(t,a)},filteredTotal(){return this.selectedSkipType?this.allTableData.filter(e=>e.skipType===this.selectedSkipType).length:this.allTableData.length}},created(){this.shopId=Object(n["f"])(),this.getList(),this.getDictData()},mounted(){this.skipTypes.length>0&&(this.selectedSkipType=this.skipTypes[0].value)},methods:{async getList(){try{this.loading=!0;const e={page:this.pagination.current,row:this.pagination.size,name:this.searchForm.name,isShow:this.searchForm.isShow,shopId:this.shopId},{data:t}=await r(e);this.allTableData=t||[]}catch(e){this.$message.error(this.$t("indexMenu.fetchError"))}finally{this.loading=!1}},async getDictData(){try{const e=await Object(n["e"])("housekeeping_type","is_show");this.isShowOptions=e}catch(e){console.error("获取字典数据失败:",e)}},handleSearch(){this.pagination.current=1,this.getList()},handleReset(){this.searchForm.name="",this.searchForm.isShow="",this.pagination.current=1,this.getList()},handleSizeChange(e){this.pagination.size=e,this.getList()},handleCurrentChange(e){this.pagination.current=e,this.getList()},openAddMenu(){this.$refs.addIndexMenu.open()},openAddHouseKeepMenu(){this.$refs.addHouseKeepMenu.open()},openAddServiceMenu(){this.$refs.addServiceMenu.open()},openAddShopMenu(){this.$refs.addShopMenu.open()},openAddCategoryMenu(){this.$refs.addCategoryMenu.open()},handleEdit(e){this.$refs.editIndexMenu.open(e)},handleDelete(e){this.$refs.deleteIndexMenu.open(e)},handleSuccess(){this.getList()},handleTypeSelect(e){this.selectedSkipType=e,this.pagination.current=1},getCurrentTypeLabel(){const e=this.skipTypes.find(e=>e.value===this.selectedSkipType);return e?e.label:""},openAddMenuByType(){switch(this.selectedSkipType){case"1":this.openAddCategoryMenu();break;case"2":this.openAddShopMenu();break;case"3":this.openAddHouseKeepMenu();break;case"4":this.openAddServiceMenu();break;case"5":this.openAddMenu();break;default:this.$message.warning("请先选择类型")}}}},oe=ie,ne=(a("7def"),Object(g["a"])(oe,s,i,!1,null,"bf472c1c",null));t["default"]=ne.exports}}]);
//# sourceMappingURL=chunk-426d50ad.ca88d0fb.js.map