From f488f82fb9dfa56cd6ec2f026b576cba0af093a5 Mon Sep 17 00:00:00 2001 From: lzh886 <15669091143@163.com> Date: Mon, 29 Jun 2020 23:11:54 +0800 Subject: [PATCH 001/166] =?UTF-8?q?[fix]=E6=96=B0=E5=A2=9E=E5=90=88?= =?UTF-8?q?=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.html | 2 +- dist/static/css/chunk-9419.dcaac4da.css | 1 - dist/static/js/chunk-9419.0acc7666.js | 1 - .../spaceBusiness/houseManage/addContract.vue | 57 +++---------------- 4 files changed, 10 insertions(+), 51 deletions(-) delete mode 100644 dist/static/css/chunk-9419.dcaac4da.css delete mode 100644 dist/static/js/chunk-9419.0acc7666.js diff --git a/dist/index.html b/dist/index.html index 1f0a258..c127d8a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -B管理后台
\ No newline at end of file +B管理后台
\ No newline at end of file diff --git a/dist/static/css/chunk-9419.dcaac4da.css b/dist/static/css/chunk-9419.dcaac4da.css deleted file mode 100644 index bc7131c..0000000 --- a/dist/static/css/chunk-9419.dcaac4da.css +++ /dev/null @@ -1 +0,0 @@ -.main-img{width:60px;height:60px;vertical-align:middle}.goods_url{cursor:pointer}.goods_url:hover{color:#409eff}.vip-num{margin-right:20px}.el-table .cell{text-align:center}.tags[data-v-01a2b50d]{margin-right:10px}.p-style[data-v-01a2b50d]{font-pageSize:14px}.box-card .box-card-h[data-v-01a2b50d]{font-pageSize:16px;font-weight:500}.collapse .el-collapse-item .el-collapse-item__header[data-v-01a2b50d]{color:#1e6abc} \ No newline at end of file diff --git a/dist/static/js/chunk-9419.0acc7666.js b/dist/static/js/chunk-9419.0acc7666.js deleted file mode 100644 index bca833e..0000000 --- a/dist/static/js/chunk-9419.0acc7666.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-9419"],{"2gq6":function(e,t,a){"use strict";var n=a("j4n/");a.n(n).a},"4CzS":function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"d",function(){return r}),a.d(t,"a",function(){return i}),a.d(t,"c",function(){return o}),a.d(t,"e",function(){return s});var n=a("t3Un");a("7Qib");function l(e){return Object(n.a)({url:"/api/contract",method:"POST",data:e})}function r(e){return Object(n.a)({url:"/api/user/tenant/login",method:"GET"})}function i(e){return Object(n.a)({url:"/api/contract-fee",method:"POST",data:e})}function o(e){return Object(n.a)({url:"/api/contract/"+e,method:"GET"})}function s(e,t){return Object(n.a)({url:"/api/contract/"+e,method:"PUT",data:t})}},AlM9:function(e,t,a){"use strict";var n={name:"TableView",props:{shoHeader:{type:Boolean,default:!0},filterlist:null,imglist:{},customText:{type:String,default:"操作"},customWidth:{type:String,default:"80"},selection:!1,index:!1,collect:!1,checkDetail:!1,statusOption:!1,editbtn:!1,editdel:!1,editlook:!1,editBtnMap:!1,height:[String,Number],loading:{type:Boolean,default:!1},loadingimg:{type:Boolean,default:!1},pageList:{type:Array,default:function(){return[]}},columns:{type:Array,default:[]},editBtnMapList:{type:Array,default:function(){return[]}},editBtnMapDisabledKey:{type:Array,default:function(){return[]}},indexMethod:{type:Function},templateDiv:{},customHeader:{},spanMethod:{type:Function}},data:function(){return{routename:"",dialogVisible:!1,imageUrl:""}},computed:{editBtnMapWidth:function(){return 110*this.editBtnMapList.length}},filters:{filterkey:function(e,t){var a={clientOs:{10:"全部",1:"安卓",2:"ios"},refundStatus:{1:"退款中",2:"退款成功",3:"退款失败"}};return e in a?a[e][t[e]]:t[e]},orderStatusFilter:function(e){return{0:"未发货",1:"待发货",2:"已发货",3:"已签收"}[e]},refundStatusFilter:function(e){return{0:"未退款",1:"退款中",2:"退款成功",3:"退款失败"}[e]}},methods:{filterTip:function(e){return e+1},handleImageUrl:function(e){return e.imageUrl||e.homeImage||e.image||e.mainImage||e.realiaImage},handlePreview:function(e){this.dialogVisible=!0,this.imageUrl=e},offlineclick:function(e,t){this.$emit("offline-click",e,t)},changeStatus:function(e,t){this.$emit("change-status",Number(e),t)},cellClick:function(e,t,a,n){this.$emit("cell-click",e,t,a)},tableSelectionChange:function(e){this.$emit("select-change",e)},selectRow:function(e,t){this.$emit("select-row",e,t)},sortChange:function(e){this.$emit("sort-change",e)},selectAll:function(e){this.$emit("select-all",e)},indexFn:function(e){return this.indexMethod&&this.indexMethod(e)||e+1},collectChange:function(e,t){this.$emit("collect-hange",t,e)},expandChange:function(e,t){this.$emit("expanded-rows",e,t)},editBtn:function(e,t){this.$emit("edit-btn",t,e)},editDel:function(e,t){this.$emit("edit-del",t,e)},editLook:function(e,t){this.$emit("edit-look",t,e)},editBtnClick:function(e,t,a){var n=this;switch(a){case"switchStatus":this.$confirm("确定"+(t.enable||t.enabled||t.publishStatus?"禁用":"启用")+"吗?是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.$emit("edit-btnclick",t,e,a)});break;case"delete":this.$confirm("确定删除吗?是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.$emit("edit-btnclick",t,e,a)});break;default:this.$emit("edit-btnclick",t,e,a)}}},components:{},created:function(){this.routename=this.$route.name||""},watch:{$route:function(e,t){this.routename=e.name||""}}},l=(a("2gq6"),a("KHd+")),r=Object(l.a)(n,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"eltable",staticStyle:{width:"100%"},attrs:{"show-header":e.shoHeader,data:e.pageList,height:e.height,selection:e.selection,stripe:"",border:"","highlight-pageNum-row":"","span-method":e.spanMethod},on:{"selection-change":e.tableSelectionChange,"expand-change":e.expandChange,select:e.selectRow,"select-all":e.selectAll,"cell-click":e.cellClick,"sort-change":e.sortChange}},[e.selection?a("el-table-column",{attrs:{type:"selection",width:"50"}}):e._e(),e._v(" "),e.index?a("el-table-column",{attrs:{label:"编号",width:"50",type:"index",index:e.indexFn}}):e._e(),e._v(" "),e.checkDetail?a("el-table-column",{attrs:{type:"expand","header-align":"center",label:"查看",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"order-list-item"},[a("table",{staticClass:"table-container",staticStyle:{"border-collapse":"collapse",width:"100%"},attrs:{align:"center"}},[a("tr",[a("td",[e._v("商品信息")]),e._v(" "),a("td",[e._v("订单商品状态")]),e._v(" "),a("td",[e._v("售后状态")]),e._v(" "),a("td",[e._v("数量")]),e._v(" "),a("td",[e._v("商品售价")]),e._v(" "),a("td",[e._v("实收金额")])]),e._v(" "),e._l(t.row.productOrderItems,function(t){return a("tr",[a("td",{staticStyle:{width:"300px"}},[a("el-row",[a("el-col",{attrs:{span:5}},[a("img",{staticClass:"item-image",attrs:{src:t.mainImage,alt:""}})]),e._v(" "),a("el-col",{staticClass:"item-title",attrs:{span:18}},[e._v(e._s(t.title))])],1)],1),e._v(" "),a("td",[e._v(e._s(e._f("orderStatusFilter")(t.shipStatus)))]),e._v(" "),a("td",[e._v(e._s(e._f("refundStatusFilter")(t.refundStatus)))]),e._v(" "),a("td",[e._v(" X"+e._s(t.productNum))]),e._v(" "),a("td",[e._v("¥"+e._s(t.productSalePrice))]),e._v(" "),a("td",[e._v("¥"+e._s(t.productAmount))])])})],2)])]}}])}):e._e(),e._v(" "),e._l(e.columns,function(t,n){return[t.field?[e.templateDiv&&e.templateDiv[t.field]?a("el-table-column",{key:t.field,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,"min-width":t.width,prop:t.field,sortable:t.sortable},scopedSlots:e._u([{key:"header",fn:function(n){return[a("span",{directives:[{name:"show",rawName:"v-show",value:t.addText,expression:"item.addText"}],style:{color:t.addTextColor}},[e._v(e._s(t.addText))]),e._v(e._s(t.label)+"\n ")]}},{key:"default",fn:function(a){return[e._t(t.field,null,{row:a.row,index:a.$index})]}}])}):e.customHeader&&e.customHeader[t.field]?a("el-table-column",{key:t.field+n,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"header",fn:function(n){return[e._v("\n "+e._s(t.label)+"\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.filterTip(t.field),placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])]}}])}):e.filterlist&&e.filterlist[t.field]?a("el-table-column",{key:t.field+n,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(a){return[e._t("default",[e._v(e._s(e._f("filterkey")(t.field,a.row)))])]}}])}):e.imglist&&e.imglist[t.field]?a("el-table-column",{key:t.field+n,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(t){return[e.handleImageUrl(t.row)?a("div",[a("img",{attrs:{width:"25",height:"25",src:e.handleImageUrl(t.row),alt:""}})]):a("span",[e._v("无")])]}}])}):"experienceCourse"===t.field?a("el-table-column",{key:t.field+n,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.monthAge)+"-"+e._s(t.row.endMonthAge)+"\n ")]}}])}):a("el-table-column",{key:"col"+n,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field,width:t.width,sortable:t.sortable},scopedSlots:e._u([{key:"default",fn:function(a){return[e._v("\n "+e._s("money"===t.type?"¥":"")+e._s(a.row[t.field]?a.row[t.field]:"-")+"\n ")]}}])})]:e._e()]}),e._v(" "),e.statusOption?a("el-table-column",{attrs:{"header-align":"center",label:"状态",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.hasOwnProperty("enabled")?a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(a){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.enabled,callback:function(a){e.$set(t.row,"enabled",a)},expression:"scope.row.enabled"}}):e._e(),e._v(" "),t.row.hasOwnProperty("enable")?a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(a){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.enable,callback:function(a){e.$set(t.row,"enable",a)},expression:"scope.row.enable"}}):e._e(),e._v(" "),t.row.hasOwnProperty("publishStatus")?a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(a){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.publishStatus,callback:function(a){e.$set(t.row,"publishStatus",a)},expression:"scope.row.publishStatus"}}):e._e()]}}])}):e._e(),e._v(" "),e.editbtn?a("el-table-column",{attrs:{"header-align":"center",label:"操作",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(a){e.editBtn(t.$index,t.row)}}},[e._v("编辑")])]}}])}):e._e(),e._v(" "),e.editlook?a("el-table-column",{attrs:{"header-align":"center",label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(a){e.editBtn(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{size:"mini",icon:"el-icon-view"},on:{click:function(a){e.editLook(t.$index,t.row)}}},[e._v("查看")])]}}])}):e._e(),e._v(" "),e.editBtnMap?a("el-table-column",{attrs:{"header-align":"center",label:"操作",width:e.editBtnMapWidth},scopedSlots:e._u([{key:"default",fn:function(t){return[-1!=e.editBtnMapList.indexOf("view")?a("el-button",{attrs:{size:"mini"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"view")}}},[e._v("查看\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("update")?a("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"update")}}},[e._v("编辑\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("reset")?a("el-button",{attrs:{size:"mini"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"reset")}}},[e._v("重置密码\n ")]):e._e(),e._v(" "),-1!==e.editBtnMapList.indexOf("offline")&&1==t.row.publishStatus?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"offline")}}},[e._v("下线\n ")]):e._e(),e._v(" "),-1!==e.editBtnMapList.indexOf("delete")?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"delete")}}},[e._v("删除\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("play")&&t.row.musicUrl?a("el-button",{attrs:{size:"mini",icon:"el-icon-video-play",type:"primary"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"play")}}},[e._v("播放\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("dispose")&&0==t.row.feedbackStatus?a("el-button",{attrs:{size:"mini",type:""},on:{click:function(a){e.editBtnClick(t.$index,t.row,"dispose")}}},[e._v("处理\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("follow")?a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"follow")}}},[e._v("备注\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("switchStatus")?a("el-button",{attrs:{size:"mini",type:t.row.enable||t.row.enabled||t.row.publishStatus||t.row.storeStatus?"danger":"primary"},on:{click:function(a){e.editBtnClick(t.$index,t.row,"switchStatus")}}},[e._v("\n "+e._s(t.row.enable||t.row.enabled||t.row.publishStatus||t.row.storeStatus?"禁用":"启用")+"\n ")]):e._e()]}}])}):e._e()],2),e._v(" "),a("el-dialog",{staticClass:"img-preview-dialog",attrs:{title:"预览",visible:e.dialogVisible,width:"60%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"tx-c"},[e.imageUrl?a("img",{staticClass:"preview",attrs:{src:e.imageUrl}}):e._e()])])],1)},[],!1,null,null,null);r.options.__file="index.vue";t.a=r.exports},Pgc1:function(e,t,a){"use strict";a.r(t);var n=a("gDS+"),l=a.n(n),r=a("P2sY"),i=a.n(r),o=a("AlM9"),s=a("4CzS"),c=a("xvSB"),u=a("KTTK"),d=a("qI96"),f={name:"add",components:{TableView:o.a},data:function(){return{tenantOptions:[],roomDetail:{},activeNameswyf:[],activeNameszj:[],userOptions:[],spaceOptions:[],contractLabels:[],dialogAddLabel:!1,tableContentbzj:[{field:"fee",label:"保证金"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"remark",label:" 保证金备注"}],columnDatabzj:[],tableContentzj:[{field:"periods",label:"期数"},{field:"startDate",label:"开始日期"},{field:"fee",label:"租金"},{field:"payDeadline",label:" 付款要求"},{field:"paymentCycle",label:"付款周期"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"delayDays",label:"滞纳天数"},{field:"remark",label:"合同备注"}],columnDatazj:[],tableContentwyf:[{field:"periods",label:"期数"},{field:"startDate",label:"开始日期"},{field:"fee",label:"租金"},{field:"payDeadline",label:" 付款要求"},{field:"paymentCycle",label:"付款周期"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"delayDays",label:"滞纳天数"},{field:"remark",label:"合同备注"}],columnDatawyf:[],formLabel:{labelName:"",labelType:""},rulesLabel:[{labelName:{required:!0,trigger:"blur",message:"名称不能为空"}}],form:{measureArea:"",contractFeeRule:{incrementalRuleUnit:"",incrementalRuleValue:"",incrementalRuleYear:"",paymentDeadline:"",paymentMonthes:"",paymentSecurityMonthes:"",price:"",priceUnit:"",remark:""},contractNo:"",followerId:"",labelIds:"",lesseeId:"",propertyCostsFeeRule:{paymentDeadline:"",paymentMonthes:"",price:"",priceUnit:"",remark:""},rentalDate:"",rentalDueDate:"",roomId:"",signedDate:""},rules:{followerId:[{required:!0,trigger:"blur",message:"跟进人不能为空"}],lesseeId:[{required:!0,trigger:"blur",message:"租户主体不能为空"}],signedDate:[{required:!0,trigger:"blur",message:"签订日不能为空"}],rentalDate:[{required:!0,trigger:"blur",message:"计租日不能为空"}],rentalDueDate:[{required:!0,trigger:"blur",message:"结束日不能为空"}],name:[{required:!0,trigger:"blur",message:"名称不能为空"},{min:1,max:20,message:"长度不能超过20个汉字"}],content:[{required:!0,trigger:"blur",message:"请填写内容"}]}}},methods:{addLabel:function(){this.formLabel={labelName:"",labelType:0},this.dialogAddLabel=!0},onSubmitLabel:function(){var e=this;u.a(this.formLabel).then(function(t){e.handleMessage(t),"200"===t.code&&(e.dialogAddLabel=!1,e.getAllLabel())})},handleRes:function(e){"200"===e.code?(this.$message.success(e.message),this.$router.go(-1)):this.$message.error(e.message)},onSubmit:function(){var e=this,t=i()({},e.form);t.labelIds=t.labelIds.join(","),e.$refs.form.validate(function(a){a&&s.b(t).then(function(t){e.handleRes(t)})})},backClick:function(){this.$router.go(-1)},getById:function(e){var t=this;s.c(e).then(function(e){setTimeout(function(){t.form=i()({},t.form,e.body)},0)})},getSpaceList:function(){var e=this;c.d().then(function(t){e.spaceOptions=t.body})},getAllLabel:function(){var e=this;u.b(0).then(function(t){e.contractLabels=t.body})},getUserList:function(){var e=this;s.d().then(function(t){e.userOptions=t.body})},contractFee:function(e){var t=this,a=JSON.parse(l()(this.form)),n={};(n="1"===e[0]?i()({},this.form.contractFeeRule):i()({},this.form.propertyCostsFeeRule)).measureArea=a.measureArea,n.rentalDate=a.rentalDate,n.rentalDueDate=a.rentalDueDate,s.a(n).then(function(a){"1"===e[0]?(t.columnDatabzj=[a.body.securityFee],t.columnDatazj=a.body.rent):t.columnDatawyf=a.body.rent})},getTenantList:function(){var e=this;d.d({pageSize:100}).then(function(t){e.tenantOptions=t.body.records})}},created:function(){var e=this.$route.query,t=e.id,a=e.roomDetail;a=JSON.parse(a),this.form.measureArea=a.measureArea,this.roomDetail=a,this.form.roomId=t,this.getAllLabel(),this.getUserList(),this.getTenantList()}},m=(a("aMfP"),a("KHd+")),p=Object(m.a)(f,function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("el-container",{staticClass:"app-container"},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"140px"}},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix box-card-h",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("合同信息")])]),t._v(" "),n("div",[n("el-row",{staticClass:"p-style"},[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"lesseeId",label:"所属办公空间:"}},[t._v("\n "+t._s(t.roomDetail.areaName)+"\n "),n("span",{staticClass:"p-r-15"},[t._v(t._s(t.roomDetail.buildingNo)+"幢"+t._s(t.roomDetail.buildingFloor)+"楼"+t._s(t.roomDetail.roomNo)+"室")])]),t._v(" "),n("el-form-item",{attrs:{prop:"area",label:"面积(m²):",placeholder:"租赁面积"}},[t._v("\n "+t._s(t.roomDetail.measureArea)+"\n ")]),t._v(" "),n("el-form-item",{attrs:{prop:"followerId",label:"跟进人:"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.followerId,callback:function(e){t.$set(t.form,"followerId",e)},expression:"form.followerId"}},t._l(t.userOptions,function(e){return n("el-option",{key:e.userId,attrs:{label:e.userName,value:e.userId}})}))],1),t._v(" "),n("el-form-item",{attrs:{prop:"lesseeId",label:"租户主体:"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.lesseeId,callback:function(e){t.$set(t.form,"lesseeId",e)},expression:"form.lesseeId"}},t._l(t.tenantOptions,function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1),t._v(" "),n("el-form-item",{attrs:{prop:"labelIds",label:"合同标签:"}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.form.labelIds,callback:function(e){t.$set(t.form,"labelIds",e)},expression:"form.labelIds"}},t._l(t.contractLabels,function(e,t){return n("el-option",{key:t,attrs:{label:e.labelName,value:e.id}})})),t._v(" "),n("el-button",{attrs:{type:"",size:"mini",icon:"el-icon-plus"},on:{click:t.addLabel}},[t._v("新增标签")])],1),t._v(" "),n("el-form-item",{attrs:{prop:"remark",label:"备注:"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入"},model:{value:t.form.contractFeeRule.remark,callback:function(e){t.$set(t.form.contractFeeRule,"remark","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.remark"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"contractNo",label:"合同编号:"}},[n("el-input",{attrs:{placeholder:"如不填写系统将自动生成"},model:{value:t.form.contractFeeRule.contractNo,callback:function(e){t.$set(t.form.contractFeeRule,"contractNo","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.contractNo"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"signedDate",label:"合同签订日:"}},[n("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.signedDate,callback:function(e){t.$set(t.form,"signedDate",e)},expression:"form.signedDate"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"rentalDate",label:"合同计租日:"}},[n("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.rentalDate,callback:function(e){t.$set(t.form,"rentalDate",e)},expression:"form.rentalDate"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"rentalDueDate",label:"合同结束日:"}},[n("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.rentalDueDate,callback:function(e){t.$set(t.form,"rentalDueDate",e)},expression:"form.rentalDueDate"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"price",label:"合同单价:"}},[n("el-input",{staticStyle:{width:"200px"},model:{value:t.form.contractFeeRule.price,callback:function(e){t.$set(t.form.contractFeeRule,"price","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.price"}}),t._v(" "),n("el-radio-group",{model:{value:t.form.contractFeeRule.priceUnit,callback:function(e){t.$set(t.form.contractFeeRule,"priceUnit",e)},expression:"form.contractFeeRule.priceUnit"}},[n("el-radio",{attrs:{label:1}},[t._v("元/㎡/天")]),t._v(" "),n("el-radio",{attrs:{label:2}},[t._v("元/月")])],1)],1),t._v(" "),n("el-form-item",{attrs:{prop:"paymentSecurityMonthes",label:"付款方式:"}},[t._v("\n 押\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentSecurityMonthes,callback:function(e){t.$set(t.form.contractFeeRule,"paymentSecurityMonthes","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentSecurityMonthes"}}),t._v("\n 付\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentMonthes,callback:function(e){t.$set(t.form.contractFeeRule,"paymentMonthes","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentMonthes"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"paymentDeadline",label:"付款要求:"}},[t._v("\n 前\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentDeadline,callback:function(e){t.$set(t.form.contractFeeRule,"paymentDeadline","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentDeadline"}}),t._v("\n 天,支付下一期租金\n ")],1),t._v(" "),n("el-form-item",{attrs:{prop:"incrementalRuleYear",label:"租金递增:"}},[t._v("\n 每\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.incrementalRuleYear,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleYear","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.incrementalRuleYear"}}),t._v("\n 年,递增\n "),n("el-input",{staticStyle:{width:"100px"},model:{value:t.form.contractFeeRule.incrementalRuleValue,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleValue","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.incrementalRuleValue"}}),t._v(" "),n("el-radio-group",{model:{value:t.form.contractFeeRule.incrementalRuleUnit,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleUnit",e)},expression:"form.contractFeeRule.incrementalRuleUnit"}},[n("el-radio",{attrs:{label:1}},[t._v("%")]),t._v(" "),n("el-radio",{attrs:{label:2}},[t._v("元")])],1)],1)],1)],1),t._v(" "),n("el-collapse",{staticClass:"collapse",on:{change:t.contractFee},model:{value:t.activeNameszj,callback:function(e){t.activeNameszj=e},expression:"activeNameszj"}},[n("el-collapse-item",{attrs:{title:"点击生成租金明细",name:"1"}},[n("h5",[t._v("保证金")]),t._v(" "),n("table-view",{attrs:{columns:t.tableContentbzj,pageList:t.columnDatabzj,templateDiv:{paymentStatus:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}}])}),t._v(" "),n("h5",[t._v("租金")]),t._v(" "),n("table-view",{attrs:{columns:t.tableContentzj,pageList:t.columnDatazj,templateDiv:{paymentStatus:!0,payDeadline:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}},{key:"payDeadline",fn:function(e){return[t._v("\n 提前"+t._s(e.row.paymentStatus)+"天\n ")]}}])})],1)],1)],1)]),t._v(" "),n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix box-card-h",attrs:{slot:"header"},slot:"header"},[n("span",[t._v("物业费")])]),t._v(" "),n("div",[n("el-row",{staticClass:"p-style"},[n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{prop:"paymentMonthes",label:"付款方式:"}},[t._v("\n 每\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.paymentMonthes,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"paymentMonthes","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.paymentMonthes"}}),t._v("\n 个月一付\n ")],1)],1),t._v(" "),n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{prop:"title",label:"付款要求:"}},[t._v("\n 前\n "),n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.paymentDeadline,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"paymentDeadline","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.paymentDeadline"}}),t._v("\n 天,支付下一期物业费\n ")],1)],1),t._v(" "),n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{prop:"title",label:"计费单价:"}},[n("el-input",{staticStyle:{width:"200px"},model:{value:t.form.propertyCostsFeeRule.price,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"price","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.price"}}),t._v(" "),n("el-radio-group",{model:{value:t.form.propertyCostsFeeRule.priceUnit,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"priceUnit",e)},expression:"form.propertyCostsFeeRule.priceUnit"}},[n("el-radio",{attrs:{label:1}},[t._v("元/㎡/天")]),t._v(" "),n("el-radio",{attrs:{label:2}},[t._v("元/月")])],1)],1),t._v(" "),n("el-form-item",{attrs:{prop:"title",label:"物业费备注:"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.remark,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"remark","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.remark"}})],1)],1)],1)],1),t._v(" "),n("el-collapse",{staticClass:"collapse",on:{change:t.contractFee},model:{value:t.activeNameswyf,callback:function(e){t.activeNameswyf=e},expression:"activeNameswyf"}},[n("el-collapse-item",{attrs:{title:"点击生成物业费明细",name:"2"}},[n("h5",[t._v("物业费")]),t._v(" "),n("table-view",{attrs:{columns:t.tableContentwyf,pageList:t.columnDatawyf,templateDiv:{paymentStatus:!0,payDeadline:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}},{key:"payDeadline",fn:function(e){return[t._v("\n 提前"+t._s(e.row.paymentStatus)+"天\n ")]}}])})],1)],1)],1),t._v(" "),n("el-card",{staticClass:"box-card"},[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("保存")]),t._v(" "),n("el-button",{on:{click:function(){e.$router.go(-1)}}},[t._v("取消")])],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"新增标签",visible:t.dialogAddLabel,width:"60%","destroy-on-close":!0},on:{"update:visible":function(e){t.dialogAddLabel=e}}},[n("el-form",{ref:"form",staticStyle:{width:"90%"},attrs:{model:t.formLabel,rules:t.rulesLabel,"label-width":"120px"}},[n("el-form-item",{attrs:{prop:"labelName",label:"标签名称:"}},[n("el-input",{model:{value:t.formLabel.labelName,callback:function(e){t.$set(t.formLabel,"labelName","string"==typeof e?e.trim():e)},expression:"formLabel.labelName"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitLabel}},[t._v("保存")])],1)],1)],1),t._v(" "),n("el-footer")],1)},[],!1,null,"01a2b50d",null);p.options.__file="addContract.vue";t.default=p.exports},Wrvc:function(e,t,a){},aMfP:function(e,t,a){"use strict";var n=a("Wrvc");a.n(n).a},"gDS+":function(e,t,a){e.exports={default:a("oh+g"),__esModule:!0}},"j4n/":function(e,t,a){},"oh+g":function(e,t,a){var n=a("WEpk"),l=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}},qI96:function(e,t,a){"use strict";a.d(t,"d",function(){return r}),a.d(t,"a",function(){return i}),a.d(t,"c",function(){return o}),a.d(t,"e",function(){return s}),a.d(t,"b",function(){return c});var n=a("t3Un"),l=a("7Qib");function r(e){return Object(n.a)({url:"/api/tenantry?"+Object(l.a)(e),method:"GET"})}function i(e){return Object(n.a)({url:"/api/tenantry",method:"POST",data:e})}function o(e){return Object(n.a)({url:"/api/tenantry/"+e,method:"GET"})}function s(e,t){return Object(n.a)({url:"/api/tenantry/"+e,method:"PUT",data:t})}function c(e){return Object(n.a)({url:"/api/tenantry/"+e,method:"DELETE"})}},xvSB:function(e,t,a){"use strict";a.d(t,"f",function(){return r}),a.d(t,"d",function(){return i}),a.d(t,"b",function(){return o}),a.d(t,"a",function(){return s}),a.d(t,"e",function(){return c}),a.d(t,"g",function(){return u}),a.d(t,"c",function(){return d});var n=a("t3Un"),l=a("7Qib");function r(e){return Object(n.a)({url:"/api/area?"+Object(l.a)(e),method:"GET"})}function i(e){return Object(n.a)({url:"/api/area/_all",method:"GET"})}function o(e){return Object(n.a)({url:"/api/area",method:"POST",data:e})}function s(e,t){return Object(n.a)({url:"/api/area/enable/"+e+"/"+t,method:"GET"})}function c(e){return Object(n.a)({url:"/api/area/"+e,method:"GET"})}function u(e,t){return Object(n.a)({url:"/api/area/"+e,method:"PUT",data:t})}function d(e){return Object(n.a)({url:"/api/area/"+e,method:"DELETE"})}}}]); \ No newline at end of file diff --git a/src/views/spaceBusiness/houseManage/addContract.vue b/src/views/spaceBusiness/houseManage/addContract.vue index 48a8411..d54ad71 100644 --- a/src/views/spaceBusiness/houseManage/addContract.vue +++ b/src/views/spaceBusiness/houseManage/addContract.vue @@ -9,7 +9,7 @@
- + {{roomDetail.areaName}} {{roomDetail.buildingNo}}幢{{roomDetail.buildingFloor}}楼{{roomDetail.roomNo}}室 @@ -39,14 +39,6 @@ - item)){ + let {paymentDeadline,paymentMonthes,price,priceUnit}= postData.propertyCostsFeeRule + if(!paymentDeadline||!paymentMonthes ||!price || !priceUnit){ + return _this.$message.error('物业费规则请填写完整') + } + }else{ + postData.propertyCostsFeeRule = null + } _this.$refs['form'].validate((valid) => { if (valid) { pageApi.create(postData).then((res) => { @@ -507,7 +469,6 @@ }) }, contractFee(val){ - let formCopy = JSON.parse(JSON.stringify(this.form)) let postData = {} if(val[0]==='1'){ -- Gitee From 9ac9faeb5d37c8da134e5174b3238e7cfdfd1177 Mon Sep 17 00:00:00 2001 From: lzh886 <15669091143@163.com> Date: Mon, 29 Jun 2020 23:12:04 +0800 Subject: [PATCH 002/166] =?UTF-8?q?[fix]=E6=96=B0=E5=A2=9E=E5=90=88?= =?UTF-8?q?=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/static/css/chunk-28e2.db166bcf.css | 1 + dist/static/js/{app.2ac461b4.js => app.49f5aef2.js} | 2 +- dist/static/js/chunk-28e2.b47b5234.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 dist/static/css/chunk-28e2.db166bcf.css rename dist/static/js/{app.2ac461b4.js => app.49f5aef2.js} (99%) create mode 100644 dist/static/js/chunk-28e2.b47b5234.js diff --git a/dist/static/css/chunk-28e2.db166bcf.css b/dist/static/css/chunk-28e2.db166bcf.css new file mode 100644 index 0000000..26323cf --- /dev/null +++ b/dist/static/css/chunk-28e2.db166bcf.css @@ -0,0 +1 @@ +.main-img{width:60px;height:60px;vertical-align:middle}.goods_url{cursor:pointer}.goods_url:hover{color:#409eff}.vip-num{margin-right:20px}.el-table .cell{text-align:center}.tags[data-v-c3c95836]{margin-right:10px}.p-style[data-v-c3c95836]{font-pageSize:14px}.box-card .box-card-h[data-v-c3c95836]{font-pageSize:16px;font-weight:500}.collapse .el-collapse-item .el-collapse-item__header[data-v-c3c95836]{color:#1e6abc} \ No newline at end of file diff --git a/dist/static/js/app.2ac461b4.js b/dist/static/js/app.49f5aef2.js similarity index 99% rename from dist/static/js/app.2ac461b4.js rename to dist/static/js/app.49f5aef2.js index 973caf7..c69dd43 100644 --- a/dist/static/js/app.2ac461b4.js +++ b/dist/static/js/app.49f5aef2.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+7Y9":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-arrowRightNext",use:"icon-arrowRightNext-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"+wos":function(e,t,n){"use strict";var i=n("xkKU");n.n(i).a},0:function(e,t,n){n("201c"),e.exports=n("Vtdi")},"0ifq":function(e,t,n){"use strict";var i=n("gRDN");n.n(i).a},"3LAI":function(e,t,n){"use strict";var i=n("y02K");n.n(i).a},"3PhE":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:''});o.a.add(c);t.default=c},"5mdD":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-advertisement",use:"icon-advertisement-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"6xvN":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"7Qib":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("GQeE"),s=n.n(i);n("EJiy"),n("Iab2");function a(e){var t=[];return s()(e).forEach(function(n){var i=e[n];void 0===i&&(i=""),t.push([n,encodeURIComponent(i)].join("="))}),t.join("&")}},"9TNf":function(e,t,n){"use strict";var i=n("ZDjS");n.n(i).a},"Bf+v":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-setting",use:"icon-setting-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},BkLX:function(e,t,n){},EqXK:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);t.default=c},GPBF:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},GkAA:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movedown",use:"icon-movedown-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},HBSq:function(e,t,n){"use strict";var i=n("pGui");n.n(i).a},HBdp:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-operation",use:"icon-operation-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},KTTK:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return c}),n.d(t,"c",function(){return r});var i=n("t3Un");n("7Qib"),n("l2ex");function s(e){return Object(i.a)({url:"/api/label/all?labelType="+e,method:"GET"})}function a(e){return Object(i.a)({url:"/api/label",method:"POST",data:e})}function o(){return Object(i.a)({url:"/api/area/getSysTime",method:"GET"})}function c(e){return Object(i.a)({url:"/api/qiniu/certification?fileName="+e,method:"GET"})}function r(e){return Object(i.a)({url:"/api/dict/getSysParams",method:"GET",params:e})}},Kj24:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},LdX1:function(e,t,n){"use strict";var i=n("aEhp");n.n(i).a},MMMJ:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},MUOc:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-moveup",use:"icon-moveup-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},OGGz:function(e){e.exports={}},Q2AE:function(e,t,n){"use strict";var i=n("Kw5r"),s=n("L2JU"),a=n("p46w"),o=n.n(a),c={state:{sidebar:{opened:!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){o.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},actions:{ToggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},ToggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)}}},r=n("X4fA"),l={state:{shopMenuList:[],needUpdate:!1},mutations:{SET_ShopMenuList:function(e,t){e.shopMenuList=t},SET_NeedUpdate:function(e,t){e.needUpdate=t}},actions:{getShopMenuList:function(e,t){var n=e.commit;Object(r.b)()&&n("SET_ShopMenuList",t)}}},u=n("QbLZ"),d=n.n(u),p={state:{list:[1,2,3]},mutations:{saveBulkList:function(e,t){t&&(e.list=d()({},t))}}},m={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},roles:function(e){return e.permission.roles},needUpdate:function(e){return e.permission.needUpdate},shopMenuList:function(e){return e.permission.shopMenuList},enums:function(e){return e.sysenums.enums},bulkShipment:function(e){return e.bulkShipment.list},sysTime:function(e){return e.sysTime.time}},h={state:{enums:{}},mutations:{saveSysEnums:function(e,t){t&&(e.enums=d()({},t))}}},v=n("KTTK"),w={state:{time:"2020-01-08 00:00:00"},mutations:{saveSysTime:function(e,t){t&&(e.time=t)}},actions:{getSysTime:function(e){var t=e.commit;Object(v.d)().then(function(e){t("saveSysTime",e.body)})}}};i.default.use(s.a);var f=new s.a.Store({modules:{app:c,permission:l,sysenums:h,bulkShipment:p,sysTime:w},getters:m});t.a=f},"R/8a":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"R/Hx":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},S8We:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-addone",use:"icon-addone-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},T9W4:function(e,t,n){},TfVu:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},TgQf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-service",use:"icon-service-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},UFU7:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1152 1024",content:''});o.a.add(c);t.default=c},"Uf/o":function(e,t,n){var i={"./add.svg":"wqOL","./addone.svg":"S8We","./advertisement.svg":"5mdD","./arrowRightNext.svg":"+7Y9","./education.svg":"rRz7","./example.svg":"MMMJ","./eye.svg":"TfVu","./form.svg":"6xvN","./goodsorder.svg":"jkUf","./link.svg":"GPBF","./main.svg":"pgJt","./message.svg":"R/8a","./movebottom.svg":"ZU2N","./movedown.svg":"GkAA","./movetop.svg":"qWxc","./moveup.svg":"MUOc","./nested.svg":"3PhE","./operation.svg":"HBdp","./orderlist.svg":"engH","./password.svg":"Kj24","./service.svg":"TgQf","./setting.svg":"Bf+v","./shopping.svg":"EqXK","./space.svg":"yUmL","./table.svg":"R/Hx","./tongji.svg":"nGDr","./tree.svg":"k80C","./user.svg":"s7Vf","./users.svg":"UFU7"};function s(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}s.keys=function(){return Object.keys(i)},s.resolve=a,e.exports=s,s.id="Uf/o"},Vtdi:function(e,t,n){"use strict";n.r(t);var i=n("Kw5r"),s=(n("9d8Q"),n("XJYT")),a=n.n(s),o=(n("D66Q"),n("sg+I"),n("KTTK"),n("X4fA")),c={name:"App",created:function(){Object(o.b)("token")},watch:{},methods:{}},r=n("KHd+"),l=Object(r.a)(c,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var u=l.exports,d=n("oYx3"),p=n("Q2AE"),m=n("vDqi"),h=n.n(m),v={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},w=(n("HBSq"),Object(r.a)(v,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"3196ee69",null));w.options.__file="index.vue";var f=w.exports;i.default.component("svg-icon",f);var g,b=n("Uf/o");(g=b).keys().map(g);n("QbLZ"),n("FyfS");var y=n("Mj6V"),A=n.n(y),x=(n("pdi6"),n("fe1z"),n("OGGz"),["/login"]);d.b.beforeEach(function(e,t,n){A.a.start(),Object(o.b)()?"/login"===e.path?(n({path:"/"}),A.a.done()):n():-1!==x.indexOf(e.path)?n():n("/login?redirect="+e.path)}),d.b.afterEach(function(){A.a.done()});var B={SHOP_ATTR:"shop_attr",SHOP_CHANNEL:"shop_channel",SHOP_MODEL:"shop_model",SHOP_TYPE:"shop_type",PLATFORM_TYPE:"platform_type",PLATFORM_FROM:"platform_from"},M=n("l2ex"),L={zsStatus:{0:"可租",1:"已预订",2:"已租"},zxStyle:{1:"毛坯",2:"简装",3:"精装",4:"其他"},priceUnit:{1:"元/㎡/天",2:"元/月"}};var C={install:function(e){e.prototype.$enum=B,e.prototype.$const=M.a,e.prototype.$filter=function(e,t){return L[e][t]}}};i.default.mixin({data:function(){return{collapseActiveName:"1",collapseTitle:"点击关闭搜索"}},methods:{handleMessage:function(e){"200"===e.code?this.$message.success("处理成功"):this.$message.error(e.message||"处理失败")},handleCollapseChange:function(e){e&&e.length>0?this.collapseTitle="点击关闭搜索":this.collapseTitle="点击展开搜索"}}}),i.default.use(a.a),i.default.prototype.$axios=h.a,i.default.config.productionTip=!1,i.default.use(C),new i.default({el:"#app",router:d.b,store:p.a,render:function(e){return e(u)}})},X4fA:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return r}),n.d(t,"e",function(){return l}),n.d(t,"d",function(){return u});var i=n("p46w"),s=n.n(i),a="token-B";function o(){return s.a.get(a)}function c(){return s.a.get("tokenType")}function r(){return s.a.get("account-B")}function l(e,t){return s.a.set(e,t)}function u(){return s.a.remove(a)}},Yfch:function(e,t,n){"use strict";function i(e){return/^(https?:|mailto:|tel:)/.test(e)}n.d(t,"a",function(){return i})},ZDjS:function(e,t,n){},ZU2N:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movebottom",use:"icon-movebottom-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},aEhp:function(e,t,n){},engH:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-orderlist",use:"icon-orderlist-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},fe1z:function(e,t,n){"use strict";var i=n("t3Un"),s=(n("7Qib"),n("p46w")),a=n.n(s).a.get("useId-B");t.a={login:function(e,t){return Object(i.a)({url:"/api/login?username="+e+"&password="+t+"&grant_type=password&client_id=4eoxAQmG3dZyEwp9aJmBR8BHUxyRHpRi&client_secret=vhzGUlK3cROaNQ1ZQ9bxZ70TvKYNUAptoBO05umsZE3zKYyGSNMwuN3NQjkrIVNY&project=B",method:"GET"})},getUserMess:function(){return Object(i.a)({url:"/api/tenant/"+a+"/detail",method:"GET"})},resetPassword:function(e){return Object(i.a)({url:"/api/login/resetPassword/",method:"POST",data:e})},sendSms:function(e){return Object(i.a)({url:"/api/login/sendSms/",method:"POST",data:e})},verifyCode:function(e,t){return Object(i.a)({url:"/api/login/verifyCode/"+e+"/"+t,method:"GET"})},getMenuList:function(){return Object(i.a)({url:"/api/adminUser/getCurrentUserMenus",method:"GET"})}}},gRDN:function(e,t,n){},hVtZ:function(e,t,n){"use strict";var i=n("BkLX");n.n(i).a},jkUf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-goodsorder",use:"icon-goodsorder-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},k80C:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},l2ex:function(e,t,n){"use strict";t.a={ZSOPTIONS:[{label:"可租",value:0},{label:"已预订",value:1},{label:"已租",value:2}],ZXOPTIONS:[{label:"毛坯",value:1},{label:"简装",value:2},{label:"精装",value:3},{label:"其他",value:4}],MONTH_OPTION:function(e,t){for(var n=[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;i<=e;i++)n.push({value:i,label:i});return"more"===t&&n.push({value:e+"以上",label:e+"以上"}),n},WEEK_OPTION:function(e){for(var t=[],n=1;n'});o.a.add(c);t.default=c},oYx3:function(e,t,n){"use strict";var i=n("Kw5r"),s=n("jE9Z"),a=n("GQeE"),o=n.n(a),c=n("QbLZ"),r=n.n(c),l=n("L2JU"),u={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter(function(e){return e.name});e[0],this.levelList=e}}},d=(n("0ifq"),n("KHd+")),p=Object(d.a)(u,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,function(t,i){return t.meta.title?n("el-breadcrumb-item",{key:t.path},["noredirect"===t.redirect||i==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("router-link",{attrs:{to:t.redirect||t.path}},[e._v(e._s(t.meta.title))])],1):e._e()}))],1)},[],!1,null,"ae870562",null);p.options.__file="index.vue";var m=p.exports,h={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},v=(n("hVtZ"),Object(d.a)(h,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[t("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));v.options.__file="index.vue";var w=v.exports,f=n("t3Un"),g=(n("7Qib"),n("p46w")),b=n.n(g),y=b.a.get("useId-B");var A=n("X4fA"),x=n("fe1z"),B=b.a.get("useId-B"),M={data:function(){var e=this;return{company:"",name:"",passwordDialogVisible:!1,passwordForm:{password:"",newPassword:"",confirm_password:""},passwordRules:{password:[{required:!0,message:"旧密码输入错误",trigger:"blur"}],newPassword:[{required:!0,message:"新密码输入错误",trigger:"blur"},{validator:function(e,t,n){var i=!0;if((null==t||t.length<6)&&(i=!1),!i)return n(new Error("密码长度不能小于6位"));n()},trigger:"blur"}],confirm_password:[{required:!0,message:"两次密码输入不一致",trigger:"blur"},{validator:function(t,n,i){var s=e.passwordForm;if(s.confirm_password!=s.newPassword)return i(new Error("两次密码输入不一致"));i()},trigger:"blur"}]}}},components:{Breadcrumb:m,Hamburger:w},computed:r()({},Object(l.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){Object(A.d)(),location.reload()},modifyPassword:function(){var e=this;o()(this.passwordForm).forEach(function(t,n){e.$set(e.passwordForm,t,"")}),this.passwordDialogVisible=!0},_updateAccountPassword:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;var n;(n=t.passwordForm,Object(f.a)({url:"/api/user/"+y+"/changePassword",method:"POST",data:n})).then(function(e){"200"===e.code&&(t.$message({type:"success",message:"修改成功"}),t.passwordDialogVisible=!1,t.logout())})})},closePasswordForm:function(){this.passwordDialogVisible=!1},getName:function(){this.name=Object(A.a)()}},created:function(){this.getName()},mounted:function(){var e=this;x.a.getUserMess(B).then(function(t){e.company=t.body[0].subject})}},L=(n("9TNf"),Object(d.a)(M,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),e._v(" "),n("breadcrumb"),e._v(" "),n("el-row",{staticClass:"header-company-name",on:{click:function(e){}}},[n("router-link",{attrs:{to:{name:"companyMess"}}},[e._v(e._s(e.company))])],1),e._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("svg-icon",{staticClass:"user-avatar",attrs:{"icon-class":"user"}}),e._v(" "),n("span",{staticClass:"hello-text"},[e._v("欢迎你,"+e._s(e.name))]),e._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})],1),e._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{staticStyle:{padding:"0"}},[n("span",{staticStyle:{display:"block",padding:"0 20px"},on:{click:e.modifyPassword}},[e._v("密码修改")])]),e._v(" "),n("el-dropdown-item",{staticStyle:{padding:"0"}},[n("span",{staticStyle:{display:"block",padding:"0 20px"},on:{click:e.logout}},[e._v("退出")])])],1)],1),e._v(" "),n("el-dialog",{attrs:{title:"密码修改",visible:e.passwordDialogVisible},on:{"update:visible":function(t){e.passwordDialogVisible=t}}},[n("el-form",{ref:"passwordForm",attrs:{model:e.passwordForm,inline:!1,rules:e.passwordRules}},[n("el-form-item",{attrs:{label:"旧密码",prop:"origin_password"}},[n("el-input",{attrs:{placeholder:"旧密码",type:"text"},model:{value:e.passwordForm.password,callback:function(t){e.$set(e.passwordForm,"password",t)},expression:"passwordForm.password"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[n("el-input",{attrs:{placeholder:"密码请同时包含字母和数字,且长度不能小于6位",type:"password"},model:{value:e.passwordForm.newPassword,callback:function(t){e.$set(e.passwordForm,"newPassword",t)},expression:"passwordForm.newPassword"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"确认密码",prop:"confirm_password"}},[n("el-input",{attrs:{placeholder:"确认密码",type:"password"},model:{value:e.passwordForm.confirm_password,callback:function(t){e.$set(e.passwordForm,"confirm_password",t)},expression:"passwordForm.confirm_password"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e._updateAccountPassword("passwordForm")}}},[e._v("确定")]),e._v(" "),n("el-button",{on:{click:e.closePasswordForm}},[e._v("取消")])],1)],1)],1)],1)},[],!1,null,"7024163e",null));L.options.__file="Navbar.vue";var C=L.exports,k=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fl image"},[t("img",{staticClass:"fl",attrs:{src:n("zwU1"),alt:""}})])}],z=n("33yf"),E=n.n(z),O=n("Yfch"),F={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,i=n.icon,s=n.title,a=[];return i&&a.push(e("svg-icon",{class:"sidebar-icon",attrs:{"icon-class":i}})),s&&a.push(e("span",{slot:"title"},[s])),a}},S=Object(d.a)(F,void 0,void 0,!1,null,null,null);S.options.__file="Item.vue";var I=S.exports,T={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(O.a)(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},R=Object(d.a)(T,function(){var e=this.$createElement;return(this._self._c||e)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);R.options.__file="Link.vue";var j={name:"SidebarItem",components:{Item:I,AppLink:R.exports},mixins:[],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments[1],i=t.filter(function(t){return!t.hidden&&(e.onlyOneChild=t,!0)});return 1===i.length||0===i.length&&(this.onlyOneChild=r()({},n,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(O.a)(e)?e:Object(O.a)(this.basePath)?this.basePath:E.a.resolve(this.basePath,e)}}},H=Object(d.a)(j,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._v(" "),e._l(e.item.children,function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})})],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},[],!1,null,null,null);H.options.__file="SidebarItem.vue";var V={components:{SidebarItem:H.exports},data:function(){return{showLogo:!1}},computed:r()({},Object(l.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}}),watch:{isCollapse:{handler:function(e){var t=this;e?t.showLogo=!1:setTimeout(function(){t.showLogo=!0},100)},immediate:!0},form:{handler:function(e){e.level1TypeId&&this.getByParentId(e.level1TypeId,2)},deep:!0}}},D=(n("tMEu"),Object(d.a)(V,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showLogo?n("div",{staticClass:"sidebar-logo clearfix"},[e._m(0),e._v(" "),n("h3",{staticClass:"title fl"},[e._v("空间云助手")])]):e._e(),e._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{staticClass:"el-menu-left-ul",attrs:{"unique-opened":"","show-timeout":200,"default-active":e.$route.path,collapse:e.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},e._l(e.routes,function(e){return n("sidebar-item",{key:e.name,attrs:{item:e,"base-path":e.path}})}))],1)],1)},k,!1,null,null,null));D.options.__file="index.vue";var Y=D.exports,P={name:"AppMain",computed:{}},_=(n("+wos"),Object(d.a)(P,function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("router-view")],1)],1)},[],!1,null,"72a353cb",null));_.options.__file="AppMain.vue";var G=_.exports,N=n("Q2AE"),Q=document.body,Z={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&N.a.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(N.a.dispatch("ToggleDevice","mobile"),N.a.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return Q.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var e=this.isMobile();N.a.dispatch("ToggleDevice",e?"mobile":"desktop"),e&&N.a.dispatch("CloseSideBar",{withoutAnimation:!0})}}}},U={name:"Layout",components:{Navbar:C,Sidebar:Y,AppMain:G},mixins:[Z],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},W=(n("3LAI"),Object(d.a)(U,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),n("sidebar",{staticClass:"sidebar-container"}),e._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),e._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));W.options.__file="Layout.vue";var J=W.exports,K={path:"/",name:"main",component:J,key:"main",alwaysShow:!0,meta:{title:"首页",icon:"main"},children:[{path:"companyMess",name:"companyMess",key:"companyMess",component:function(){return n.e("chunk-ae99").then(n.bind(null,"+SWR"))},meta:{title:"商户信息"}},{path:"userManage",key:"userManage",component:function(){return n.e("chunk-84f6").then(n.bind(null,"YPSz"))},meta:{title:"账号管理"}},{path:"roleManage",name:"roleManage",key:"roleManage",component:function(){return n.e("chunk-3afe").then(n.bind(null,"Nig2"))},meta:{title:"角色权限"}}]},q={name:"three",components:{AppMain:G},mixins:[Z],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},X=(n("LdX1"),Object(d.a)(q,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("app-main")],1)},[],!1,null,"f41ce5f8",null));X.options.__file="Three.vue";X.exports;var $={path:"/spaceBusiness",name:"spaceBusiness",key:"spaceBusiness",redirect:"/spaceBusiness/spaceManageList",component:J,meta:{title:"空间/企业",icon:"space"},children:[{path:"spaceManageList",name:"spaceManageList",key:"spaceManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-1269")]).then(n.bind(null,"hW0Y"))},meta:{title:"空间管理"}},{path:"houseManageList",name:"houseManageList",key:"houseManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-8d25")]).then(n.bind(null,"BLon"))},meta:{title:"房源管理"}},{path:"houseDetail",name:"houseDetail",key:"houseDetail",hidden:!0,component:function(){return n.e("chunk-6bae").then(n.bind(null,"AyqO"))},meta:{title:"房源详情"}},{path:"addContract",name:"addContract",key:"addContract",hidden:!0,component:function(){return n.e("chunk-9419").then(n.bind(null,"Pgc1"))},meta:{title:"新建合同"}},{path:"contractDetail",name:"contractDetail",key:"contractDetail",hidden:!0,component:function(){return n.e("chunk-415b").then(n.bind(null,"lEk2"))},meta:{title:"合同详情"}},{path:"tenantManageList",name:"tenantManageList",key:"tenantManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-4147")]).then(n.bind(null,"BXSC"))},meta:{title:"租户/企业管理"}},{path:"tenantListAdd",name:"tenantListAdd",key:"tenantListAdd",hidden:!0,component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7dcb")]).then(n.bind(null,"hPz7"))},meta:{title:"租户/企业管理"}}]},ee={path:"/",name:"welcome",component:J,key:"welcome",redirect:"/index",hidden:!0,meta:{title:"欢迎页"},children:[{path:"index",name:"welcomeIndex",key:"index",component:function(){return n.e("chunk-edd0").then(n.bind(null,"HksL"))},meta:{}}]};n.d(t,"a",function(){return ne}),i.default.use(s.a);var te=[ee,K,$,{path:"/login",name:"login",component:function(){return n.e("chunk-6dda").then(n.bind(null,"ntYl"))}},{path:"/404",name:"notFound",component:function(){return n.e("chunk-1ec3").then(n.bind(null,"jNvO"))}}],ne=[{path:"/login",name:"login",component:function(){return n.e("chunk-6dda").then(n.bind(null,"ntYl"))}},{path:"/404",name:"notFound",component:function(){return n.e("chunk-1ec3").then(n.bind(null,"jNvO"))}}];t.b=new s.a({mode:"history",scrollBehavior:function(){return{y:0}},routes:te})},pGui:function(e,t,n){},pgJt:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-main",use:"icon-main-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},qWxc:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movetop",use:"icon-movetop-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},rRz7:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);t.default=c},s7Vf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"sg+I":function(e,t,n){},t3Un:function(e,t,n){"use strict";var i=n("4d7F"),s=n.n(i),a=n("vDqi"),o=n.n(a),c=(n("Kw5r"),n("XJYT")),r=(n("Q2AE"),n("X4fA")),l=o.a.create({baseURL:"",timeout:15e3});l.interceptors.request.use(function(e){return Object(r.b)()&&(e.headers.Authorization=Object(r.c)()+" "+Object(r.b)()),e},function(e){s.a.reject(e)}),l.interceptors.response.use(function(e){return e.data},function(e){var t=e.response;return void 0===t?(c.Message.error(e.message),!1):(401!==t.status&&2100!=t.data.code||Object(r.d)(),c.Message.error({showClose:!0,dangerouslyUseHTMLString:!0,message:t.data.message||t.data.error_description||t.statusText,type:"warning"}),s.a.reject(e))}),t.a=l},tMEu:function(e,t,n){"use strict";var i=n("T9W4");n.n(i).a},wqOL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-add",use:"icon-add-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},xkKU:function(e,t,n){},y02K:function(e,t,n){},yUmL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-space",use:"icon-space-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},zwU1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAARWUlEQVR4Xu1da3QUR3a+t6dHIyzELgiQhB0QoLXEazTTbW988lhvds9xzokJYC9+e/1YrzEWOOFlDBjDLg+bDYZlbWOMNnGCY4hD8CPYzsnmxPvw8eYke7anpVEMko7Qw7GEJJBZiYfQTHffnBIzaz26pZHUPc+qv1NVU/e7X1fdunWrLgIvGY0AZrT0XHjgBMhwEnACcAJkOAIZLj6fATgBMhyBDBefzwCcABmOQIaLz2cAToAMRyDDxeczACdAhiOQ4eLzGYATIDMR8Pv9zyDik0x6IjqkquqPMhGJjJsB/H7/EkTch4jF/RVORPVEtF5V1ZOZRISMIYDX6y0RRfEwIt46nIKJ6CNN01YFg8HaTCBC2hNAluWvENEuRFwJAGKMStUA4BAAPKcoSleMbVKyWloTQJKk1Yj4QwCYYqGd6Lr/jMXvXxDR9kAg8EpKajeGQaclAfx+/zcEQTgMAKVmGBDR++FweE11dXUD+33RokVz3G73AUT8SwvMagzDeEJV1Y9jwDSlqqQVAZgis7Ky9gPAUitFEtGqQCDwc7PfJUn6FgC8hohfs2j/XigUWh8lTkpp2mKwaUEAr9eb43a7nyOitYiYNVhWIvodIm5XFOUgAOgjKE6UZXkVEf0AEb9q0lcvIh4Ih8M7g8Hg5VQnQaoTACV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BRECRJuhsR2QHTTAv7YNRu5fEQYGT3LTQDwsbC+rbj8VLkWP8nJQjAhCsqKsrOy8vbCADPAMB1JgLrRHQoVrfyWAjQdcOkKVeysncA4kpT9y3BFQRjT4HesRebgGUzSfqSMgToZx8UMv8AANxnge4XRLQtEAi8NpxbeTQE6HPfzi14khB+aOW+JaBj7rC+YVrzeZYrOWVKyhEgimxZWdnXXS4XyydUZoH2sG7lWAkwkvuWCBQ0oLywse03KaP1fgNNWQJEZEBJkh5BxOcBwDQxtZVbeSQCRNy37FHJZaaKJWoDwM0FZ9qOOHFMGy8ypToB+nBix85ut/s5dn6AiFmDwSOiXpZdRNf13cFgsC9fgBUB+ty3ubAVANeauW/ZMS2CcQAv4k4nj2k5AcaAwKJFi+ZkZWXtB4ClFs3PGoaxSVXVNwYToKC+Tehz3wLuAURmZwwpRPSeEKb1BZ91sO1nWpS0mAEGa0KSpG9F/AclFlr6nw+6Wv5wwG8EvwWEm8wVD7UCUHnBmfafp4XW08gGGE4fLkmSViLiDjAJvPigq2VEXRJAJwJsL6hvew3jFKgy4qBsrpCWM0B/jNixM4tGRrZ3B/h9KpjhCUAaEBzyUOi5RB3T2qxny+7SngBRySPHzocRsS/40pIARB+Jhr5qWuP5hASrxkvx0f/JGAJEBfb7/UsQcd+hSx3FMw3tS7yJ6hFhfUF9O8sukjEl4wgQ1ey+0jlv3mqE7pusa3Ba9BxbXNv83YzReoYYgZmoz1HLnLEzwKiRStMGnABpqthYxeIEiBWpNK3HCZCmio1VLE6AWJFK03qcAGmq2FjF4gSIFak0rccJkKaKjVUsToBYkUrTepwAaarYWMXiBIgVqTStxwmQpoqNVSxOgFiRStN6/w+Ft58IsunC1wAAAABJRU5ErkJggg=="}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+7Y9":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-arrowRightNext",use:"icon-arrowRightNext-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"+wos":function(e,t,n){"use strict";var i=n("xkKU");n.n(i).a},0:function(e,t,n){n("201c"),e.exports=n("Vtdi")},"0ifq":function(e,t,n){"use strict";var i=n("gRDN");n.n(i).a},"3LAI":function(e,t,n){"use strict";var i=n("y02K");n.n(i).a},"3PhE":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:''});o.a.add(c);t.default=c},"5mdD":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-advertisement",use:"icon-advertisement-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"6xvN":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"7Qib":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("GQeE"),s=n.n(i);n("EJiy"),n("Iab2");function a(e){var t=[];return s()(e).forEach(function(n){var i=e[n];void 0===i&&(i=""),t.push([n,encodeURIComponent(i)].join("="))}),t.join("&")}},"9TNf":function(e,t,n){"use strict";var i=n("ZDjS");n.n(i).a},"Bf+v":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-setting",use:"icon-setting-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},BkLX:function(e,t,n){},EqXK:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);t.default=c},GPBF:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},GkAA:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movedown",use:"icon-movedown-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},HBSq:function(e,t,n){"use strict";var i=n("pGui");n.n(i).a},HBdp:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-operation",use:"icon-operation-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},KTTK:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return c}),n.d(t,"c",function(){return r});var i=n("t3Un");n("7Qib"),n("l2ex");function s(e){return Object(i.a)({url:"/api/label/all?labelType="+e,method:"GET"})}function a(e){return Object(i.a)({url:"/api/label",method:"POST",data:e})}function o(){return Object(i.a)({url:"/api/area/getSysTime",method:"GET"})}function c(e){return Object(i.a)({url:"/api/qiniu/certification?fileName="+e,method:"GET"})}function r(e){return Object(i.a)({url:"/api/dict/getSysParams",method:"GET",params:e})}},Kj24:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},LdX1:function(e,t,n){"use strict";var i=n("aEhp");n.n(i).a},MMMJ:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},MUOc:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-moveup",use:"icon-moveup-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},OGGz:function(e){e.exports={}},Q2AE:function(e,t,n){"use strict";var i=n("Kw5r"),s=n("L2JU"),a=n("p46w"),o=n.n(a),c={state:{sidebar:{opened:!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){o.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},actions:{ToggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},ToggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)}}},r=n("X4fA"),l={state:{shopMenuList:[],needUpdate:!1},mutations:{SET_ShopMenuList:function(e,t){e.shopMenuList=t},SET_NeedUpdate:function(e,t){e.needUpdate=t}},actions:{getShopMenuList:function(e,t){var n=e.commit;Object(r.b)()&&n("SET_ShopMenuList",t)}}},u=n("QbLZ"),d=n.n(u),p={state:{list:[1,2,3]},mutations:{saveBulkList:function(e,t){t&&(e.list=d()({},t))}}},m={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},roles:function(e){return e.permission.roles},needUpdate:function(e){return e.permission.needUpdate},shopMenuList:function(e){return e.permission.shopMenuList},enums:function(e){return e.sysenums.enums},bulkShipment:function(e){return e.bulkShipment.list},sysTime:function(e){return e.sysTime.time}},h={state:{enums:{}},mutations:{saveSysEnums:function(e,t){t&&(e.enums=d()({},t))}}},v=n("KTTK"),w={state:{time:"2020-01-08 00:00:00"},mutations:{saveSysTime:function(e,t){t&&(e.time=t)}},actions:{getSysTime:function(e){var t=e.commit;Object(v.d)().then(function(e){t("saveSysTime",e.body)})}}};i.default.use(s.a);var f=new s.a.Store({modules:{app:c,permission:l,sysenums:h,bulkShipment:p,sysTime:w},getters:m});t.a=f},"R/8a":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"R/Hx":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},S8We:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-addone",use:"icon-addone-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},T9W4:function(e,t,n){},TfVu:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},TgQf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-service",use:"icon-service-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},UFU7:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1152 1024",content:''});o.a.add(c);t.default=c},"Uf/o":function(e,t,n){var i={"./add.svg":"wqOL","./addone.svg":"S8We","./advertisement.svg":"5mdD","./arrowRightNext.svg":"+7Y9","./education.svg":"rRz7","./example.svg":"MMMJ","./eye.svg":"TfVu","./form.svg":"6xvN","./goodsorder.svg":"jkUf","./link.svg":"GPBF","./main.svg":"pgJt","./message.svg":"R/8a","./movebottom.svg":"ZU2N","./movedown.svg":"GkAA","./movetop.svg":"qWxc","./moveup.svg":"MUOc","./nested.svg":"3PhE","./operation.svg":"HBdp","./orderlist.svg":"engH","./password.svg":"Kj24","./service.svg":"TgQf","./setting.svg":"Bf+v","./shopping.svg":"EqXK","./space.svg":"yUmL","./table.svg":"R/Hx","./tongji.svg":"nGDr","./tree.svg":"k80C","./user.svg":"s7Vf","./users.svg":"UFU7"};function s(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}s.keys=function(){return Object.keys(i)},s.resolve=a,e.exports=s,s.id="Uf/o"},Vtdi:function(e,t,n){"use strict";n.r(t);var i=n("Kw5r"),s=(n("9d8Q"),n("XJYT")),a=n.n(s),o=(n("D66Q"),n("sg+I"),n("KTTK"),n("X4fA")),c={name:"App",created:function(){Object(o.b)("token")},watch:{},methods:{}},r=n("KHd+"),l=Object(r.a)(c,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var u=l.exports,d=n("oYx3"),p=n("Q2AE"),m=n("vDqi"),h=n.n(m),v={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},w=(n("HBSq"),Object(r.a)(v,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"3196ee69",null));w.options.__file="index.vue";var f=w.exports;i.default.component("svg-icon",f);var g,b=n("Uf/o");(g=b).keys().map(g);n("QbLZ"),n("FyfS");var y=n("Mj6V"),A=n.n(y),x=(n("pdi6"),n("fe1z"),n("OGGz"),["/login"]);d.b.beforeEach(function(e,t,n){A.a.start(),Object(o.b)()?"/login"===e.path?(n({path:"/"}),A.a.done()):n():-1!==x.indexOf(e.path)?n():n("/login?redirect="+e.path)}),d.b.afterEach(function(){A.a.done()});var B={SHOP_ATTR:"shop_attr",SHOP_CHANNEL:"shop_channel",SHOP_MODEL:"shop_model",SHOP_TYPE:"shop_type",PLATFORM_TYPE:"platform_type",PLATFORM_FROM:"platform_from"},M=n("l2ex"),L={zsStatus:{0:"可租",1:"已预订",2:"已租"},zxStyle:{1:"毛坯",2:"简装",3:"精装",4:"其他"},priceUnit:{1:"元/㎡/天",2:"元/月"}};var C={install:function(e){e.prototype.$enum=B,e.prototype.$const=M.a,e.prototype.$filter=function(e,t){return L[e][t]}}};i.default.mixin({data:function(){return{collapseActiveName:"1",collapseTitle:"点击关闭搜索"}},methods:{handleMessage:function(e){"200"===e.code?this.$message.success("处理成功"):this.$message.error(e.message||"处理失败")},handleCollapseChange:function(e){e&&e.length>0?this.collapseTitle="点击关闭搜索":this.collapseTitle="点击展开搜索"}}}),i.default.use(a.a),i.default.prototype.$axios=h.a,i.default.config.productionTip=!1,i.default.use(C),new i.default({el:"#app",router:d.b,store:p.a,render:function(e){return e(u)}})},X4fA:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return r}),n.d(t,"e",function(){return l}),n.d(t,"d",function(){return u});var i=n("p46w"),s=n.n(i),a="token-B";function o(){return s.a.get(a)}function c(){return s.a.get("tokenType")}function r(){return s.a.get("account-B")}function l(e,t){return s.a.set(e,t)}function u(){return s.a.remove(a)}},Yfch:function(e,t,n){"use strict";function i(e){return/^(https?:|mailto:|tel:)/.test(e)}n.d(t,"a",function(){return i})},ZDjS:function(e,t,n){},ZU2N:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movebottom",use:"icon-movebottom-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},aEhp:function(e,t,n){},engH:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-orderlist",use:"icon-orderlist-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},fe1z:function(e,t,n){"use strict";var i=n("t3Un"),s=(n("7Qib"),n("p46w")),a=n.n(s).a.get("useId-B");t.a={login:function(e,t){return Object(i.a)({url:"/api/login?username="+e+"&password="+t+"&grant_type=password&client_id=4eoxAQmG3dZyEwp9aJmBR8BHUxyRHpRi&client_secret=vhzGUlK3cROaNQ1ZQ9bxZ70TvKYNUAptoBO05umsZE3zKYyGSNMwuN3NQjkrIVNY&project=B",method:"GET"})},getUserMess:function(){return Object(i.a)({url:"/api/tenant/"+a+"/detail",method:"GET"})},resetPassword:function(e){return Object(i.a)({url:"/api/login/resetPassword/",method:"POST",data:e})},sendSms:function(e){return Object(i.a)({url:"/api/login/sendSms/",method:"POST",data:e})},verifyCode:function(e,t){return Object(i.a)({url:"/api/login/verifyCode/"+e+"/"+t,method:"GET"})},getMenuList:function(){return Object(i.a)({url:"/api/adminUser/getCurrentUserMenus",method:"GET"})}}},gRDN:function(e,t,n){},hVtZ:function(e,t,n){"use strict";var i=n("BkLX");n.n(i).a},jkUf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-goodsorder",use:"icon-goodsorder-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},k80C:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},l2ex:function(e,t,n){"use strict";t.a={ZSOPTIONS:[{label:"可租",value:0},{label:"已预订",value:1},{label:"已租",value:2}],ZXOPTIONS:[{label:"毛坯",value:1},{label:"简装",value:2},{label:"精装",value:3},{label:"其他",value:4}],MONTH_OPTION:function(e,t){for(var n=[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;i<=e;i++)n.push({value:i,label:i});return"more"===t&&n.push({value:e+"以上",label:e+"以上"}),n},WEEK_OPTION:function(e){for(var t=[],n=1;n'});o.a.add(c);t.default=c},oYx3:function(e,t,n){"use strict";var i=n("Kw5r"),s=n("jE9Z"),a=n("GQeE"),o=n.n(a),c=n("QbLZ"),r=n.n(c),l=n("L2JU"),u={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter(function(e){return e.name});e[0],this.levelList=e}}},d=(n("0ifq"),n("KHd+")),p=Object(d.a)(u,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,function(t,i){return t.meta.title?n("el-breadcrumb-item",{key:t.path},["noredirect"===t.redirect||i==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("router-link",{attrs:{to:t.redirect||t.path}},[e._v(e._s(t.meta.title))])],1):e._e()}))],1)},[],!1,null,"ae870562",null);p.options.__file="index.vue";var m=p.exports,h={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},v=(n("hVtZ"),Object(d.a)(h,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[t("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));v.options.__file="index.vue";var w=v.exports,f=n("t3Un"),g=(n("7Qib"),n("p46w")),b=n.n(g),y=b.a.get("useId-B");var A=n("X4fA"),x=n("fe1z"),B=b.a.get("useId-B"),M={data:function(){var e=this;return{company:"",name:"",passwordDialogVisible:!1,passwordForm:{password:"",newPassword:"",confirm_password:""},passwordRules:{password:[{required:!0,message:"旧密码输入错误",trigger:"blur"}],newPassword:[{required:!0,message:"新密码输入错误",trigger:"blur"},{validator:function(e,t,n){var i=!0;if((null==t||t.length<6)&&(i=!1),!i)return n(new Error("密码长度不能小于6位"));n()},trigger:"blur"}],confirm_password:[{required:!0,message:"两次密码输入不一致",trigger:"blur"},{validator:function(t,n,i){var s=e.passwordForm;if(s.confirm_password!=s.newPassword)return i(new Error("两次密码输入不一致"));i()},trigger:"blur"}]}}},components:{Breadcrumb:m,Hamburger:w},computed:r()({},Object(l.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){Object(A.d)(),location.reload()},modifyPassword:function(){var e=this;o()(this.passwordForm).forEach(function(t,n){e.$set(e.passwordForm,t,"")}),this.passwordDialogVisible=!0},_updateAccountPassword:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;var n;(n=t.passwordForm,Object(f.a)({url:"/api/user/"+y+"/changePassword",method:"POST",data:n})).then(function(e){"200"===e.code&&(t.$message({type:"success",message:"修改成功"}),t.passwordDialogVisible=!1,t.logout())})})},closePasswordForm:function(){this.passwordDialogVisible=!1},getName:function(){this.name=Object(A.a)()}},created:function(){this.getName()},mounted:function(){var e=this;x.a.getUserMess(B).then(function(t){e.company=t.body[0].subject})}},L=(n("9TNf"),Object(d.a)(M,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),e._v(" "),n("breadcrumb"),e._v(" "),n("el-row",{staticClass:"header-company-name",on:{click:function(e){}}},[n("router-link",{attrs:{to:{name:"companyMess"}}},[e._v(e._s(e.company))])],1),e._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("svg-icon",{staticClass:"user-avatar",attrs:{"icon-class":"user"}}),e._v(" "),n("span",{staticClass:"hello-text"},[e._v("欢迎你,"+e._s(e.name))]),e._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})],1),e._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{staticStyle:{padding:"0"}},[n("span",{staticStyle:{display:"block",padding:"0 20px"},on:{click:e.modifyPassword}},[e._v("密码修改")])]),e._v(" "),n("el-dropdown-item",{staticStyle:{padding:"0"}},[n("span",{staticStyle:{display:"block",padding:"0 20px"},on:{click:e.logout}},[e._v("退出")])])],1)],1),e._v(" "),n("el-dialog",{attrs:{title:"密码修改",visible:e.passwordDialogVisible},on:{"update:visible":function(t){e.passwordDialogVisible=t}}},[n("el-form",{ref:"passwordForm",attrs:{model:e.passwordForm,inline:!1,rules:e.passwordRules}},[n("el-form-item",{attrs:{label:"旧密码",prop:"origin_password"}},[n("el-input",{attrs:{placeholder:"旧密码",type:"text"},model:{value:e.passwordForm.password,callback:function(t){e.$set(e.passwordForm,"password",t)},expression:"passwordForm.password"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[n("el-input",{attrs:{placeholder:"密码请同时包含字母和数字,且长度不能小于6位",type:"password"},model:{value:e.passwordForm.newPassword,callback:function(t){e.$set(e.passwordForm,"newPassword",t)},expression:"passwordForm.newPassword"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"确认密码",prop:"confirm_password"}},[n("el-input",{attrs:{placeholder:"确认密码",type:"password"},model:{value:e.passwordForm.confirm_password,callback:function(t){e.$set(e.passwordForm,"confirm_password",t)},expression:"passwordForm.confirm_password"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e._updateAccountPassword("passwordForm")}}},[e._v("确定")]),e._v(" "),n("el-button",{on:{click:e.closePasswordForm}},[e._v("取消")])],1)],1)],1)],1)},[],!1,null,"7024163e",null));L.options.__file="Navbar.vue";var C=L.exports,k=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fl image"},[t("img",{staticClass:"fl",attrs:{src:n("zwU1"),alt:""}})])}],z=n("33yf"),E=n.n(z),O=n("Yfch"),F={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,i=n.icon,s=n.title,a=[];return i&&a.push(e("svg-icon",{class:"sidebar-icon",attrs:{"icon-class":i}})),s&&a.push(e("span",{slot:"title"},[s])),a}},S=Object(d.a)(F,void 0,void 0,!1,null,null,null);S.options.__file="Item.vue";var I=S.exports,T={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(O.a)(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},R=Object(d.a)(T,function(){var e=this.$createElement;return(this._self._c||e)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);R.options.__file="Link.vue";var j={name:"SidebarItem",components:{Item:I,AppLink:R.exports},mixins:[],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments[1],i=t.filter(function(t){return!t.hidden&&(e.onlyOneChild=t,!0)});return 1===i.length||0===i.length&&(this.onlyOneChild=r()({},n,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(O.a)(e)?e:Object(O.a)(this.basePath)?this.basePath:E.a.resolve(this.basePath,e)}}},H=Object(d.a)(j,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._v(" "),e._l(e.item.children,function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})})],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},[],!1,null,null,null);H.options.__file="SidebarItem.vue";var V={components:{SidebarItem:H.exports},data:function(){return{showLogo:!1}},computed:r()({},Object(l.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}}),watch:{isCollapse:{handler:function(e){var t=this;e?t.showLogo=!1:setTimeout(function(){t.showLogo=!0},100)},immediate:!0},form:{handler:function(e){e.level1TypeId&&this.getByParentId(e.level1TypeId,2)},deep:!0}}},D=(n("tMEu"),Object(d.a)(V,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showLogo?n("div",{staticClass:"sidebar-logo clearfix"},[e._m(0),e._v(" "),n("h3",{staticClass:"title fl"},[e._v("空间云助手")])]):e._e(),e._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{staticClass:"el-menu-left-ul",attrs:{"unique-opened":"","show-timeout":200,"default-active":e.$route.path,collapse:e.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},e._l(e.routes,function(e){return n("sidebar-item",{key:e.name,attrs:{item:e,"base-path":e.path}})}))],1)],1)},k,!1,null,null,null));D.options.__file="index.vue";var Y=D.exports,P={name:"AppMain",computed:{}},_=(n("+wos"),Object(d.a)(P,function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("router-view")],1)],1)},[],!1,null,"72a353cb",null));_.options.__file="AppMain.vue";var G=_.exports,N=n("Q2AE"),Q=document.body,Z={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&N.a.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(N.a.dispatch("ToggleDevice","mobile"),N.a.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return Q.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var e=this.isMobile();N.a.dispatch("ToggleDevice",e?"mobile":"desktop"),e&&N.a.dispatch("CloseSideBar",{withoutAnimation:!0})}}}},U={name:"Layout",components:{Navbar:C,Sidebar:Y,AppMain:G},mixins:[Z],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},W=(n("3LAI"),Object(d.a)(U,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),n("sidebar",{staticClass:"sidebar-container"}),e._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),e._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));W.options.__file="Layout.vue";var J=W.exports,K={path:"/",name:"main",component:J,key:"main",alwaysShow:!0,meta:{title:"首页",icon:"main"},children:[{path:"companyMess",name:"companyMess",key:"companyMess",component:function(){return n.e("chunk-ae99").then(n.bind(null,"+SWR"))},meta:{title:"商户信息"}},{path:"userManage",key:"userManage",component:function(){return n.e("chunk-84f6").then(n.bind(null,"YPSz"))},meta:{title:"账号管理"}},{path:"roleManage",name:"roleManage",key:"roleManage",component:function(){return n.e("chunk-3afe").then(n.bind(null,"Nig2"))},meta:{title:"角色权限"}}]},q={name:"three",components:{AppMain:G},mixins:[Z],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},X=(n("LdX1"),Object(d.a)(q,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("app-main")],1)},[],!1,null,"f41ce5f8",null));X.options.__file="Three.vue";X.exports;var $={path:"/spaceBusiness",name:"spaceBusiness",key:"spaceBusiness",redirect:"/spaceBusiness/spaceManageList",component:J,meta:{title:"空间/企业",icon:"space"},children:[{path:"spaceManageList",name:"spaceManageList",key:"spaceManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-1269")]).then(n.bind(null,"hW0Y"))},meta:{title:"空间管理"}},{path:"houseManageList",name:"houseManageList",key:"houseManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-8d25")]).then(n.bind(null,"BLon"))},meta:{title:"房源管理"}},{path:"houseDetail",name:"houseDetail",key:"houseDetail",hidden:!0,component:function(){return n.e("chunk-6bae").then(n.bind(null,"AyqO"))},meta:{title:"房源详情"}},{path:"addContract",name:"addContract",key:"addContract",hidden:!0,component:function(){return n.e("chunk-28e2").then(n.bind(null,"Pgc1"))},meta:{title:"新建合同"}},{path:"contractDetail",name:"contractDetail",key:"contractDetail",hidden:!0,component:function(){return n.e("chunk-415b").then(n.bind(null,"lEk2"))},meta:{title:"合同详情"}},{path:"tenantManageList",name:"tenantManageList",key:"tenantManageList",component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7f84"),n.e("chunk-4147")]).then(n.bind(null,"BXSC"))},meta:{title:"租户/企业管理"}},{path:"tenantListAdd",name:"tenantListAdd",key:"tenantListAdd",hidden:!0,component:function(){return Promise.all([n.e("zqLv"),n.e("chunk-7dcb")]).then(n.bind(null,"hPz7"))},meta:{title:"租户/企业管理"}}]},ee={path:"/",name:"welcome",component:J,key:"welcome",redirect:"/index",hidden:!0,meta:{title:"欢迎页"},children:[{path:"index",name:"welcomeIndex",key:"index",component:function(){return n.e("chunk-edd0").then(n.bind(null,"HksL"))},meta:{}}]};n.d(t,"a",function(){return ne}),i.default.use(s.a);var te=[ee,K,$,{path:"/login",name:"login",component:function(){return n.e("chunk-6dda").then(n.bind(null,"ntYl"))}},{path:"/404",name:"notFound",component:function(){return n.e("chunk-1ec3").then(n.bind(null,"jNvO"))}}],ne=[{path:"/login",name:"login",component:function(){return n.e("chunk-6dda").then(n.bind(null,"ntYl"))}},{path:"/404",name:"notFound",component:function(){return n.e("chunk-1ec3").then(n.bind(null,"jNvO"))}}];t.b=new s.a({mode:"history",scrollBehavior:function(){return{y:0}},routes:te})},pGui:function(e,t,n){},pgJt:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-main",use:"icon-main-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},qWxc:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-movetop",use:"icon-movetop-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},rRz7:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);t.default=c},s7Vf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},"sg+I":function(e,t,n){},t3Un:function(e,t,n){"use strict";var i=n("4d7F"),s=n.n(i),a=n("vDqi"),o=n.n(a),c=(n("Kw5r"),n("XJYT")),r=(n("Q2AE"),n("X4fA")),l=o.a.create({baseURL:"",timeout:15e3});l.interceptors.request.use(function(e){return Object(r.b)()&&(e.headers.Authorization=Object(r.c)()+" "+Object(r.b)()),e},function(e){s.a.reject(e)}),l.interceptors.response.use(function(e){return e.data},function(e){var t=e.response;return void 0===t?(c.Message.error(e.message),!1):(401!==t.status&&2100!=t.data.code||Object(r.d)(),c.Message.error({showClose:!0,dangerouslyUseHTMLString:!0,message:t.data.message||t.data.error_description||t.statusText,type:"warning"}),s.a.reject(e))}),t.a=l},tMEu:function(e,t,n){"use strict";var i=n("T9W4");n.n(i).a},wqOL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-add",use:"icon-add-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},xkKU:function(e,t,n){},y02K:function(e,t,n){},yUmL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),s=n.n(i),a=n("IaFt"),o=n.n(a),c=new s.a({id:"icon-space",use:"icon-space-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);t.default=c},zwU1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAARWUlEQVR4Xu1da3QUR3a+t6dHIyzELgiQhB0QoLXEazTTbW988lhvds9xzokJYC9+e/1YrzEWOOFlDBjDLg+bDYZlbWOMNnGCY4hD8CPYzsnmxPvw8eYke7anpVEMko7Qw7GEJJBZiYfQTHffnBIzaz26pZHUPc+qv1NVU/e7X1fdunWrLgIvGY0AZrT0XHjgBMhwEnACcAJkOAIZLj6fATgBMhyBDBefzwCcABmOQIaLz2cAToAMRyDDxeczACdAhiOQ4eLzGYATIDMR8Pv9zyDik0x6IjqkquqPMhGJjJsB/H7/EkTch4jF/RVORPVEtF5V1ZOZRISMIYDX6y0RRfEwIt46nIKJ6CNN01YFg8HaTCBC2hNAluWvENEuRFwJAGKMStUA4BAAPKcoSleMbVKyWloTQJKk1Yj4QwCYYqGd6Lr/jMXvXxDR9kAg8EpKajeGQaclAfx+/zcEQTgMAKVmGBDR++FweE11dXUD+33RokVz3G73AUT8SwvMagzDeEJV1Y9jwDSlqqQVAZgis7Ky9gPAUitFEtGqQCDwc7PfJUn6FgC8hohfs2j/XigUWh8lTkpp2mKwaUEAr9eb43a7nyOitYiYNVhWIvodIm5XFOUgAOgjKE6UZXkVEf0AEb9q0lcvIh4Ih8M7g8Hg5VQnQaoTACVJegQRnweAAhNlM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TTAv7YNRu5fEQYGT3LTQDwsbC+rbj8VLkWP8nJQjAhCsqKsrOy8vbCADPAMB1JgLrRHQoVrfyWAjQdcOkKVeysncA4kpT9y3BFQRjT4HesRebgGUzSfqSMgToZx8UMv8AANxnge4XRLQtEAi8NpxbeTQE6HPfzi14khB+aOW+JaBj7rC+YVrzeZYrOWVKyhEgimxZWdnXXS4XyydUZoH2sG7lWAkwkvuWCBQ0oLywse03KaP1fgNNWQJEZEBJkh5BxOcBwDQxtZVbeSQCRNy37FHJZaaKJWoDwM0FZ9qOOHFMGy8ypToB+nBix85ut/s5dn6AiFmDwSOiXpZdRNf13cFgsC9fgBUB+ty3ubAVANeauW/ZMS2CcQAv4k4nj2k5AcaAwKJFi+ZkZWXtB4ClFs3PGoaxSVXVNwYToKC+Tehz3wLuAURmZwwpRPSeEKb1BZ91sO1nWpS0mAEGa0KSpG9F/AclFlr6nw+6Wv5wwG8EvwWEm8wVD7UCUHnBmfafp4XW08gGGE4fLkmSViLiDjAJvPigq2VEXRJAJwJsL6hvew3jFKgy4qBsrpCWM0B/jNixM4tGRrZ3B/h9KpjhCUAaEBzyUOi5RB3T2qxny+7SngBRySPHzocRsS/40pIARB+Jhr5qWuP5hASrxkvx0f/JGAJEBfb7/UsQcd+hSx3FMw3tS7yJ6hFhfUF9O8sukjEl4wgQ1ey+0jlv3mqE7pusa3Ba9BxbXNv83YzReoYYgZmoz1HLnLEzwKiRStMGnABpqthYxeIEiBWpNK3HCZCmio1VLE6AWJFK03qcAGmq2FjF4gSIFak0rccJkKaKjVUsToBYkUrTepwAaarYWMXiBIgVqTStxwmQpoqNVSxOgFiRStN6/w+Ft58IsunC1wAAAABJRU5ErkJggg=="}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/chunk-28e2.b47b5234.js b/dist/static/js/chunk-28e2.b47b5234.js new file mode 100644 index 0000000..5b98d2a --- /dev/null +++ b/dist/static/js/chunk-28e2.b47b5234.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-28e2"],{"/f1G":function(e,t,n){e.exports={default:n("nhzr"),__esModule:!0}},"0qrP":function(e,t,n){"use strict";var a=n("OPPZ");n.n(a).a},"2gq6":function(e,t,n){"use strict";var a=n("j4n/");n.n(a).a},"4CzS":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"d",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"e",function(){return s});var a=n("t3Un");n("7Qib");function l(e){return Object(a.a)({url:"/api/contract",method:"POST",data:e})}function r(e){return Object(a.a)({url:"/api/user/tenant/login",method:"GET"})}function i(e){return Object(a.a)({url:"/api/contract-fee",method:"POST",data:e})}function o(e){return Object(a.a)({url:"/api/contract/"+e,method:"GET"})}function s(e,t){return Object(a.a)({url:"/api/contract/"+e,method:"PUT",data:t})}},AlM9:function(e,t,n){"use strict";var a={name:"TableView",props:{shoHeader:{type:Boolean,default:!0},filterlist:null,imglist:{},customText:{type:String,default:"操作"},customWidth:{type:String,default:"80"},selection:!1,index:!1,collect:!1,checkDetail:!1,statusOption:!1,editbtn:!1,editdel:!1,editlook:!1,editBtnMap:!1,height:[String,Number],loading:{type:Boolean,default:!1},loadingimg:{type:Boolean,default:!1},pageList:{type:Array,default:function(){return[]}},columns:{type:Array,default:[]},editBtnMapList:{type:Array,default:function(){return[]}},editBtnMapDisabledKey:{type:Array,default:function(){return[]}},indexMethod:{type:Function},templateDiv:{},customHeader:{},spanMethod:{type:Function}},data:function(){return{routename:"",dialogVisible:!1,imageUrl:""}},computed:{editBtnMapWidth:function(){return 110*this.editBtnMapList.length}},filters:{filterkey:function(e,t){var n={clientOs:{10:"全部",1:"安卓",2:"ios"},refundStatus:{1:"退款中",2:"退款成功",3:"退款失败"}};return e in n?n[e][t[e]]:t[e]},orderStatusFilter:function(e){return{0:"未发货",1:"待发货",2:"已发货",3:"已签收"}[e]},refundStatusFilter:function(e){return{0:"未退款",1:"退款中",2:"退款成功",3:"退款失败"}[e]}},methods:{filterTip:function(e){return e+1},handleImageUrl:function(e){return e.imageUrl||e.homeImage||e.image||e.mainImage||e.realiaImage},handlePreview:function(e){this.dialogVisible=!0,this.imageUrl=e},offlineclick:function(e,t){this.$emit("offline-click",e,t)},changeStatus:function(e,t){this.$emit("change-status",Number(e),t)},cellClick:function(e,t,n,a){this.$emit("cell-click",e,t,n)},tableSelectionChange:function(e){this.$emit("select-change",e)},selectRow:function(e,t){this.$emit("select-row",e,t)},sortChange:function(e){this.$emit("sort-change",e)},selectAll:function(e){this.$emit("select-all",e)},indexFn:function(e){return this.indexMethod&&this.indexMethod(e)||e+1},collectChange:function(e,t){this.$emit("collect-hange",t,e)},expandChange:function(e,t){this.$emit("expanded-rows",e,t)},editBtn:function(e,t){this.$emit("edit-btn",t,e)},editDel:function(e,t){this.$emit("edit-del",t,e)},editLook:function(e,t){this.$emit("edit-look",t,e)},editBtnClick:function(e,t,n){var a=this;switch(n){case"switchStatus":this.$confirm("确定"+(t.enable||t.enabled||t.publishStatus?"禁用":"启用")+"吗?是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.$emit("edit-btnclick",t,e,n)});break;case"delete":this.$confirm("确定删除吗?是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.$emit("edit-btnclick",t,e,n)});break;default:this.$emit("edit-btnclick",t,e,n)}}},components:{},created:function(){this.routename=this.$route.name||""},watch:{$route:function(e,t){this.routename=e.name||""}}},l=(n("2gq6"),n("KHd+")),r=Object(l.a)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"eltable",staticStyle:{width:"100%"},attrs:{"show-header":e.shoHeader,data:e.pageList,height:e.height,selection:e.selection,stripe:"",border:"","highlight-pageNum-row":"","span-method":e.spanMethod},on:{"selection-change":e.tableSelectionChange,"expand-change":e.expandChange,select:e.selectRow,"select-all":e.selectAll,"cell-click":e.cellClick,"sort-change":e.sortChange}},[e.selection?n("el-table-column",{attrs:{type:"selection",width:"50"}}):e._e(),e._v(" "),e.index?n("el-table-column",{attrs:{label:"编号",width:"50",type:"index",index:e.indexFn}}):e._e(),e._v(" "),e.checkDetail?n("el-table-column",{attrs:{type:"expand","header-align":"center",label:"查看",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"order-list-item"},[n("table",{staticClass:"table-container",staticStyle:{"border-collapse":"collapse",width:"100%"},attrs:{align:"center"}},[n("tr",[n("td",[e._v("商品信息")]),e._v(" "),n("td",[e._v("订单商品状态")]),e._v(" "),n("td",[e._v("售后状态")]),e._v(" "),n("td",[e._v("数量")]),e._v(" "),n("td",[e._v("商品售价")]),e._v(" "),n("td",[e._v("实收金额")])]),e._v(" "),e._l(t.row.productOrderItems,function(t){return n("tr",[n("td",{staticStyle:{width:"300px"}},[n("el-row",[n("el-col",{attrs:{span:5}},[n("img",{staticClass:"item-image",attrs:{src:t.mainImage,alt:""}})]),e._v(" "),n("el-col",{staticClass:"item-title",attrs:{span:18}},[e._v(e._s(t.title))])],1)],1),e._v(" "),n("td",[e._v(e._s(e._f("orderStatusFilter")(t.shipStatus)))]),e._v(" "),n("td",[e._v(e._s(e._f("refundStatusFilter")(t.refundStatus)))]),e._v(" "),n("td",[e._v(" X"+e._s(t.productNum))]),e._v(" "),n("td",[e._v("¥"+e._s(t.productSalePrice))]),e._v(" "),n("td",[e._v("¥"+e._s(t.productAmount))])])})],2)])]}}])}):e._e(),e._v(" "),e._l(e.columns,function(t,a){return[t.field?[e.templateDiv&&e.templateDiv[t.field]?n("el-table-column",{key:t.field,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,"min-width":t.width,prop:t.field,sortable:t.sortable},scopedSlots:e._u([{key:"header",fn:function(a){return[n("span",{directives:[{name:"show",rawName:"v-show",value:t.addText,expression:"item.addText"}],style:{color:t.addTextColor}},[e._v(e._s(t.addText))]),e._v(e._s(t.label)+"\n ")]}},{key:"default",fn:function(n){return[e._t(t.field,null,{row:n.row,index:n.$index})]}}])}):e.customHeader&&e.customHeader[t.field]?n("el-table-column",{key:t.field+a,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"header",fn:function(a){return[e._v("\n "+e._s(t.label)+"\n "),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.filterTip(t.field),placement:"top-start"}},[n("i",{staticClass:"el-icon-question"})])]}}])}):e.filterlist&&e.filterlist[t.field]?n("el-table-column",{key:t.field+a,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(n){return[e._t("default",[e._v(e._s(e._f("filterkey")(t.field,n.row)))])]}}])}):e.imglist&&e.imglist[t.field]?n("el-table-column",{key:t.field+a,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(t){return[e.handleImageUrl(t.row)?n("div",[n("img",{attrs:{width:"25",height:"25",src:e.handleImageUrl(t.row),alt:""}})]):n("span",[e._v("无")])]}}])}):"experienceCourse"===t.field?n("el-table-column",{key:t.field+a,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.monthAge)+"-"+e._s(t.row.endMonthAge)+"\n ")]}}])}):n("el-table-column",{key:"col"+a,attrs:{"header-align":t.headerAlign||"center",label:t.label,align:t.align,prop:t.field,width:t.width,sortable:t.sortable},scopedSlots:e._u([{key:"default",fn:function(n){return[e._v("\n "+e._s("money"===t.type?"¥":"")+e._s(n.row[t.field]?n.row[t.field]:"-")+"\n ")]}}])})]:e._e()]}),e._v(" "),e.statusOption?n("el-table-column",{attrs:{"header-align":"center",label:"状态",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.hasOwnProperty("enabled")?n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(n){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.enabled,callback:function(n){e.$set(t.row,"enabled",n)},expression:"scope.row.enabled"}}):e._e(),e._v(" "),t.row.hasOwnProperty("enable")?n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(n){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.enable,callback:function(n){e.$set(t.row,"enable",n)},expression:"scope.row.enable"}}):e._e(),e._v(" "),t.row.hasOwnProperty("publishStatus")?n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(n){e.changeStatus(arguments[0],t.row)}},model:{value:t.row.publishStatus,callback:function(n){e.$set(t.row,"publishStatus",n)},expression:"scope.row.publishStatus"}}):e._e()]}}])}):e._e(),e._v(" "),e.editbtn?n("el-table-column",{attrs:{"header-align":"center",label:"操作",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){e.editBtn(t.$index,t.row)}}},[e._v("编辑")])]}}])}):e._e(),e._v(" "),e.editlook?n("el-table-column",{attrs:{"header-align":"center",label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){e.editBtn(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),n("el-button",{attrs:{size:"mini",icon:"el-icon-view"},on:{click:function(n){e.editLook(t.$index,t.row)}}},[e._v("查看")])]}}])}):e._e(),e._v(" "),e.editBtnMap?n("el-table-column",{attrs:{"header-align":"center",label:"操作",width:e.editBtnMapWidth},scopedSlots:e._u([{key:"default",fn:function(t){return[-1!=e.editBtnMapList.indexOf("view")?n("el-button",{attrs:{size:"mini"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"view")}}},[e._v("查看\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("update")?n("el-button",{attrs:{size:"mini",icon:"el-icon-edit"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"update")}}},[e._v("编辑\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("reset")?n("el-button",{attrs:{size:"mini"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"reset")}}},[e._v("重置密码\n ")]):e._e(),e._v(" "),-1!==e.editBtnMapList.indexOf("offline")&&1==t.row.publishStatus?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"offline")}}},[e._v("下线\n ")]):e._e(),e._v(" "),-1!==e.editBtnMapList.indexOf("delete")?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"delete")}}},[e._v("删除\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("play")&&t.row.musicUrl?n("el-button",{attrs:{size:"mini",icon:"el-icon-video-play",type:"primary"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"play")}}},[e._v("播放\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("dispose")&&0==t.row.feedbackStatus?n("el-button",{attrs:{size:"mini",type:""},on:{click:function(n){e.editBtnClick(t.$index,t.row,"dispose")}}},[e._v("处理\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("follow")?n("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"follow")}}},[e._v("备注\n ")]):e._e(),e._v(" "),-1!=e.editBtnMapList.indexOf("switchStatus")?n("el-button",{attrs:{size:"mini",type:t.row.enable||t.row.enabled||t.row.publishStatus||t.row.storeStatus?"danger":"primary"},on:{click:function(n){e.editBtnClick(t.$index,t.row,"switchStatus")}}},[e._v("\n "+e._s(t.row.enable||t.row.enabled||t.row.publishStatus||t.row.storeStatus?"禁用":"启用")+"\n ")]):e._e()]}}])}):e._e()],2),e._v(" "),n("el-dialog",{staticClass:"img-preview-dialog",attrs:{title:"预览",visible:e.dialogVisible,width:"60%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"tx-c"},[e.imageUrl?n("img",{staticClass:"preview",attrs:{src:e.imageUrl}}):e._e()])])],1)},[],!1,null,null,null);r.options.__file="index.vue";t.a=r.exports},E8gZ:function(e,t,n){var a=n("jmDH"),l=n("w6GO"),r=n("NsO/"),i=n("NV0k").f;e.exports=function(e){return function(t){for(var n,o=r(t),s=l(o),c=s.length,u=0,d=[];c>u;)n=s[u++],a&&!i.call(o,n)||d.push(e?[n,o[n]]:o[n]);return d}}},OPPZ:function(e,t,n){},Pgc1:function(e,t,n){"use strict";n.r(t);var a=n("gDS+"),l=n.n(a),r=n("/f1G"),i=n.n(r),o=n("P2sY"),s=n.n(o),c=n("AlM9"),u=n("4CzS"),d=n("xvSB"),f=n("KTTK"),p=n("qI96"),m={name:"add",components:{TableView:c.a},data:function(){return{tenantOptions:[],roomDetail:{},activeNameswyf:[],activeNameszj:[],userOptions:[],spaceOptions:[],contractLabels:[],dialogAddLabel:!1,tableContentbzj:[{field:"fee",label:"保证金"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"remark",label:" 保证金备注"}],columnDatabzj:[],tableContentzj:[{field:"periods",label:"期数"},{field:"startDate",label:"开始日期"},{field:"fee",label:"租金"},{field:"payDeadline",label:" 付款要求"},{field:"paymentCycle",label:"付款周期"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"delayDays",label:"滞纳天数"},{field:"remark",label:"合同备注"}],columnDatazj:[],tableContentwyf:[{field:"periods",label:"期数"},{field:"startDate",label:"开始日期"},{field:"fee",label:"租金"},{field:"payDeadline",label:" 付款要求"},{field:"paymentCycle",label:"付款周期"},{field:"paymentStatus",label:"付款状态"},{field:"paymentDate",label:" 付款日期"},{field:"delayDays",label:"滞纳天数"},{field:"remark",label:"合同备注"}],columnDatawyf:[],formLabel:{labelName:"",labelType:""},rulesLabel:[{labelName:{required:!0,trigger:"blur",message:"名称不能为空"}}],form:{measureArea:"",contractFeeRule:{incrementalRuleUnit:"",incrementalRuleValue:"",incrementalRuleYear:"",paymentDeadline:"",paymentMonthes:"",paymentSecurityMonthes:"",price:"",priceUnit:"",remark:""},contractNo:"",followerId:"",labelIds:"",lesseeId:"",propertyCostsFeeRule:{paymentDeadline:"",paymentMonthes:"",price:"",priceUnit:"",remark:""},rentalDate:"",rentalDueDate:"",roomId:"",signedDate:""},rules:{followerId:[{required:!0,trigger:"blur",message:"跟进人不能为空"}],lesseeId:[{required:!0,trigger:"blur",message:"租户主体不能为空"}],signedDate:[{required:!0,trigger:"blur",message:"签订日不能为空"}],rentalDate:[{required:!0,trigger:"blur",message:"计租日不能为空"}],rentalDueDate:[{required:!0,trigger:"blur",message:"结束日不能为空"}],name:[{required:!0,trigger:"blur",message:"名称不能为空"},{min:1,max:20,message:"长度不能超过20个汉字"}],content:[{required:!0,trigger:"blur",message:"请填写内容"}]}}},methods:{addLabel:function(){this.formLabel={labelName:"",labelType:0},this.dialogAddLabel=!0},onSubmitLabel:function(){var e=this;f.a(this.formLabel).then(function(t){e.handleMessage(t),"200"===t.code&&(e.dialogAddLabel=!1,e.getAllLabel())})},handleRes:function(e){"200"===e.code?(this.$message.success(e.message),this.$router.go(-1)):this.$message.error(e.message)},onSubmit:function(){var e=this,t=s()({},e.form);if(t.labelIds=t.labelIds.join(","),i()(t.propertyCostsFeeRule).some(function(e){return e})){var n=t.propertyCostsFeeRule,a=n.paymentDeadline,l=n.paymentMonthes,r=n.price,o=n.priceUnit;if(!(a&&l&&r&&o))return e.$message.error("物业费规则请填写完整")}else t.propertyCostsFeeRule=null;e.$refs.form.validate(function(n){n&&u.b(t).then(function(t){e.handleRes(t)})})},backClick:function(){this.$router.go(-1)},getById:function(e){var t=this;u.c(e).then(function(e){setTimeout(function(){t.form=s()({},t.form,e.body)},0)})},getSpaceList:function(){var e=this;d.d().then(function(t){e.spaceOptions=t.body})},getAllLabel:function(){var e=this;f.b(0).then(function(t){e.contractLabels=t.body})},getUserList:function(){var e=this;u.d().then(function(t){e.userOptions=t.body})},contractFee:function(e){var t=this,n=JSON.parse(l()(this.form)),a={};(a="1"===e[0]?s()({},this.form.contractFeeRule):s()({},this.form.propertyCostsFeeRule)).measureArea=n.measureArea,a.rentalDate=n.rentalDate,a.rentalDueDate=n.rentalDueDate,u.a(a).then(function(n){"1"===e[0]?(t.columnDatabzj=[n.body.securityFee],t.columnDatazj=n.body.rent):t.columnDatawyf=n.body.rent})},getTenantList:function(){var e=this;p.d({pageSize:100}).then(function(t){e.tenantOptions=t.body.records})}},created:function(){var e=this.$route.query,t=e.id,n=e.roomDetail;n=JSON.parse(n),this.form.measureArea=n.measureArea,this.roomDetail=n,this.form.roomId=t,this.getAllLabel(),this.getUserList(),this.getTenantList()}},b=(n("0qrP"),n("KHd+")),h=Object(b.a)(m,function(){var e=this,t=this,n=t.$createElement,a=t._self._c||n;return a("el-container",{staticClass:"app-container"},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"140px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix box-card-h",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("合同信息")])]),t._v(" "),a("div",[a("el-row",{staticClass:"p-style"},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"areaName",label:"所属办公空间:"}},[t._v("\n "+t._s(t.roomDetail.areaName)+"\n "),a("span",{staticClass:"p-r-15"},[t._v(t._s(t.roomDetail.buildingNo)+"幢"+t._s(t.roomDetail.buildingFloor)+"楼"+t._s(t.roomDetail.roomNo)+"室")])]),t._v(" "),a("el-form-item",{attrs:{prop:"area",label:"面积(m²):",placeholder:"租赁面积"}},[t._v("\n "+t._s(t.roomDetail.measureArea)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{prop:"followerId",label:"跟进人:"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.followerId,callback:function(e){t.$set(t.form,"followerId",e)},expression:"form.followerId"}},t._l(t.userOptions,function(e){return a("el-option",{key:e.userId,attrs:{label:e.userName,value:e.userId}})}))],1),t._v(" "),a("el-form-item",{attrs:{prop:"lesseeId",label:"租户主体:"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:t.form.lesseeId,callback:function(e){t.$set(t.form,"lesseeId",e)},expression:"form.lesseeId"}},t._l(t.tenantOptions,function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1),t._v(" "),a("el-form-item",{attrs:{prop:"labelIds",label:"合同标签:"}},[a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.form.labelIds,callback:function(e){t.$set(t.form,"labelIds",e)},expression:"form.labelIds"}},t._l(t.contractLabels,function(e,t){return a("el-option",{key:t,attrs:{label:e.labelName,value:e.id}})})),t._v(" "),a("el-button",{attrs:{type:"",size:"mini",icon:"el-icon-plus"},on:{click:t.addLabel}},[t._v("新增标签")])],1),t._v(" "),a("el-form-item",{attrs:{prop:"remark",label:"备注:"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入"},model:{value:t.form.contractFeeRule.remark,callback:function(e){t.$set(t.form.contractFeeRule,"remark","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.remark"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"contractNo",label:"合同编号:"}},[a("el-input",{attrs:{placeholder:"如不填写系统将自动生成"},model:{value:t.form.contractFeeRule.contractNo,callback:function(e){t.$set(t.form.contractFeeRule,"contractNo","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.contractNo"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"signedDate",label:"合同签订日:"}},[a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.signedDate,callback:function(e){t.$set(t.form,"signedDate",e)},expression:"form.signedDate"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"rentalDate",label:"合同计租日:"}},[a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.rentalDate,callback:function(e){t.$set(t.form,"rentalDate",e)},expression:"form.rentalDate"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"rentalDueDate",label:"合同结束日:"}},[a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.form.rentalDueDate,callback:function(e){t.$set(t.form,"rentalDueDate",e)},expression:"form.rentalDueDate"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"price",label:"合同单价:"}},[a("el-input",{staticStyle:{width:"200px"},model:{value:t.form.contractFeeRule.price,callback:function(e){t.$set(t.form.contractFeeRule,"price","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.price"}}),t._v(" "),a("el-radio-group",{model:{value:t.form.contractFeeRule.priceUnit,callback:function(e){t.$set(t.form.contractFeeRule,"priceUnit",e)},expression:"form.contractFeeRule.priceUnit"}},[a("el-radio",{attrs:{label:1}},[t._v("元/㎡/天")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("元/月")])],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"paymentSecurityMonthes",label:"付款方式:"}},[t._v("\n 押\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentSecurityMonthes,callback:function(e){t.$set(t.form.contractFeeRule,"paymentSecurityMonthes","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentSecurityMonthes"}}),t._v("\n 付\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentMonthes,callback:function(e){t.$set(t.form.contractFeeRule,"paymentMonthes","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentMonthes"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"paymentDeadline",label:"付款要求:"}},[t._v("\n 前\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.paymentDeadline,callback:function(e){t.$set(t.form.contractFeeRule,"paymentDeadline","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.paymentDeadline"}}),t._v("\n 天,支付下一期租金\n ")],1),t._v(" "),a("el-form-item",{attrs:{prop:"incrementalRuleYear",label:"租金递增:"}},[t._v("\n 每\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.contractFeeRule.incrementalRuleYear,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleYear","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.incrementalRuleYear"}}),t._v("\n 年,递增\n "),a("el-input",{staticStyle:{width:"100px"},model:{value:t.form.contractFeeRule.incrementalRuleValue,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleValue","string"==typeof e?e.trim():e)},expression:"form.contractFeeRule.incrementalRuleValue"}}),t._v(" "),a("el-radio-group",{model:{value:t.form.contractFeeRule.incrementalRuleUnit,callback:function(e){t.$set(t.form.contractFeeRule,"incrementalRuleUnit",e)},expression:"form.contractFeeRule.incrementalRuleUnit"}},[a("el-radio",{attrs:{label:1}},[t._v("%")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("元")])],1)],1)],1)],1),t._v(" "),a("el-collapse",{staticClass:"collapse",on:{change:t.contractFee},model:{value:t.activeNameszj,callback:function(e){t.activeNameszj=e},expression:"activeNameszj"}},[a("el-collapse-item",{attrs:{title:"点击生成租金明细",name:"1"}},[a("h5",[t._v("保证金")]),t._v(" "),a("table-view",{attrs:{columns:t.tableContentbzj,pageList:t.columnDatabzj,templateDiv:{paymentStatus:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}}])}),t._v(" "),a("h5",[t._v("租金")]),t._v(" "),a("table-view",{attrs:{columns:t.tableContentzj,pageList:t.columnDatazj,templateDiv:{paymentStatus:!0,payDeadline:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}},{key:"payDeadline",fn:function(e){return[t._v("\n 提前"+t._s(e.row.paymentStatus)+"天\n ")]}}])})],1)],1)],1)]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix box-card-h",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("物业费")])]),t._v(" "),a("div",[a("el-row",{staticClass:"p-style"},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"paymentMonthes",label:"付款方式:"}},[t._v("\n 每\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.paymentMonthes,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"paymentMonthes","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.paymentMonthes"}}),t._v("\n 个月一付\n ")],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"title",label:"付款要求:"}},[t._v("\n 前\n "),a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.paymentDeadline,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"paymentDeadline","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.paymentDeadline"}}),t._v("\n 天,支付下一期物业费\n ")],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"title",label:"计费单价:"}},[a("el-input",{staticStyle:{width:"200px"},model:{value:t.form.propertyCostsFeeRule.price,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"price","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.price"}}),t._v(" "),a("el-radio-group",{model:{value:t.form.propertyCostsFeeRule.priceUnit,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"priceUnit",e)},expression:"form.propertyCostsFeeRule.priceUnit"}},[a("el-radio",{attrs:{label:1}},[t._v("元/㎡/天")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("元/月")])],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"title",label:"物业费备注:"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入"},model:{value:t.form.propertyCostsFeeRule.remark,callback:function(e){t.$set(t.form.propertyCostsFeeRule,"remark","string"==typeof e?e.trim():e)},expression:"form.propertyCostsFeeRule.remark"}})],1)],1)],1)],1),t._v(" "),a("el-collapse",{staticClass:"collapse",on:{change:t.contractFee},model:{value:t.activeNameswyf,callback:function(e){t.activeNameswyf=e},expression:"activeNameswyf"}},[a("el-collapse-item",{attrs:{title:"点击生成物业费明细",name:"2"}},[a("h5",[t._v("物业费")]),t._v(" "),a("table-view",{attrs:{columns:t.tableContentwyf,pageList:t.columnDatawyf,templateDiv:{paymentStatus:!0,payDeadline:!0}},scopedSlots:t._u([{key:"paymentStatus",fn:function(e){return[t._v("\n "+t._s({0:"未付款",1:"已付款"}[e.row.paymentStatus])+"\n ")]}},{key:"payDeadline",fn:function(e){return[t._v("\n 提前"+t._s(e.row.paymentStatus)+"天\n ")]}}])})],1)],1)],1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("保存")]),t._v(" "),a("el-button",{on:{click:function(){e.$router.go(-1)}}},[t._v("取消")])],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"新增标签",visible:t.dialogAddLabel,width:"60%","destroy-on-close":!0},on:{"update:visible":function(e){t.dialogAddLabel=e}}},[a("el-form",{ref:"form",staticStyle:{width:"90%"},attrs:{model:t.formLabel,rules:t.rulesLabel,"label-width":"120px"}},[a("el-form-item",{attrs:{prop:"labelName",label:"标签名称:"}},[a("el-input",{model:{value:t.formLabel.labelName,callback:function(e){t.$set(t.formLabel,"labelName","string"==typeof e?e.trim():e)},expression:"formLabel.labelName"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitLabel}},[t._v("保存")])],1)],1)],1),t._v(" "),a("el-footer")],1)},[],!1,null,"c3c95836",null);h.options.__file="addContract.vue";t.default=h.exports},fW1p:function(e,t,n){var a=n("Y7ZC"),l=n("E8gZ")(!1);a(a.S,"Object",{values:function(e){return l(e)}})},"gDS+":function(e,t,n){e.exports={default:n("oh+g"),__esModule:!0}},"j4n/":function(e,t,n){},nhzr:function(e,t,n){n("fW1p"),e.exports=n("WEpk").Object.values},"oh+g":function(e,t,n){var a=n("WEpk"),l=a.JSON||(a.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}},qI96:function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"e",function(){return s}),n.d(t,"b",function(){return c});var a=n("t3Un"),l=n("7Qib");function r(e){return Object(a.a)({url:"/api/tenantry?"+Object(l.a)(e),method:"GET"})}function i(e){return Object(a.a)({url:"/api/tenantry",method:"POST",data:e})}function o(e){return Object(a.a)({url:"/api/tenantry/"+e,method:"GET"})}function s(e,t){return Object(a.a)({url:"/api/tenantry/"+e,method:"PUT",data:t})}function c(e){return Object(a.a)({url:"/api/tenantry/"+e,method:"DELETE"})}},xvSB:function(e,t,n){"use strict";n.d(t,"f",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return s}),n.d(t,"e",function(){return c}),n.d(t,"g",function(){return u}),n.d(t,"c",function(){return d});var a=n("t3Un"),l=n("7Qib");function r(e){return Object(a.a)({url:"/api/area?"+Object(l.a)(e),method:"GET"})}function i(e){return Object(a.a)({url:"/api/area/_all",method:"GET"})}function o(e){return Object(a.a)({url:"/api/area",method:"POST",data:e})}function s(e,t){return Object(a.a)({url:"/api/area/enable/"+e+"/"+t,method:"GET"})}function c(e){return Object(a.a)({url:"/api/area/"+e,method:"GET"})}function u(e,t){return Object(a.a)({url:"/api/area/"+e,method:"PUT",data:t})}function d(e){return Object(a.a)({url:"/api/area/"+e,method:"DELETE"})}}}]); \ No newline at end of file -- Gitee From 1c31c09997b72ce8b8878f2828b6dacca03da892 Mon Sep 17 00:00:00 2001 From: lzh886 <15669091143@163.com> Date: Sat, 4 Jul 2020 14:41:38 +0800 Subject: [PATCH 003/166] =?UTF-8?q?[dev]=E6=8A=A5=E4=BF=AE=E5=8D=95?= =?UTF-8?q?=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/baseOption/serviceMember/index.js | 26 +- src/api/baseOption/tagsManage/index.js | 77 ++++- src/api/dailyService/paymentBill/index.js | 2 +- src/api/operation/newsInfo/index.js | 7 - .../Tinymce/components/EditorImage.vue | 88 +++++- src/components/Tinymce/index.vue | 18 +- src/components/Tinymce/plugins.js | 6 +- src/components/Tinymce/toolbar.js | 2 +- src/router/modules/baseOption.js | 38 ++- src/utils/qiniu.js | 2 +- .../{tagsManage => contractLabel}/list.vue | 73 ++--- .../baseOption/paymentSlipLabel/list.vue | 193 ++++++++++++ .../baseOption/repairFailureLabel/list.vue | 192 ++++++++++++ src/views/baseOption/serviceLabel/list.vue | 192 ++++++++++++ src/views/baseOption/serviceMember/list.vue | 59 ++-- src/views/dailyService/paymentBill/list.vue | 125 +++++--- src/views/operation/newsInfo/list.vue | 143 +++++---- src/views/operation/newsInfoCate/list.vue | 291 +++--------------- src/views/spaceBusiness/spaceManage/list.vue | 1 + 19 files changed, 1029 insertions(+), 506 deletions(-) rename src/views/baseOption/{tagsManage => contractLabel}/list.vue (66%) create mode 100644 src/views/baseOption/paymentSlipLabel/list.vue create mode 100644 src/views/baseOption/repairFailureLabel/list.vue create mode 100644 src/views/baseOption/serviceLabel/list.vue diff --git a/src/api/baseOption/serviceMember/index.js b/src/api/baseOption/serviceMember/index.js index cd351cd..1f8dec2 100644 --- a/src/api/baseOption/serviceMember/index.js +++ b/src/api/baseOption/serviceMember/index.js @@ -4,15 +4,7 @@ import {encodeParams} from '@/utils' // 列表 export function getList(data) { return request({ - url: `/api/area?${encodeParams(data)}`, - method: 'GET', - }) -} - -// 列表 -export function getAreaAll(data) { - return request({ - url: `/api/area/_all`, + url: `/api/settings/B/customer`, method: 'GET', }) } @@ -26,13 +18,6 @@ export function create(data) { }) } -//启用禁用 -export function changeEnable(id, enable) { - return request({ - url: `/api/area/enable/${id}/${enable}`, - method: 'GET', - }) -} //根据id查询 export function getById(id) { @@ -45,17 +30,10 @@ export function getById(id) { //更新area export function update(id,data) { return request({ - url: `/api/area/${id}`, + url: `/api/settings/B/customer/${id}`, method: 'PUT', data }) } -//更新area -export function deleteIt(id) { - return request({ - url: `/api/area/${id}`, - method: 'DELETE', - }) -} diff --git a/src/api/baseOption/tagsManage/index.js b/src/api/baseOption/tagsManage/index.js index 9f14fd1..fb0627b 100644 --- a/src/api/baseOption/tagsManage/index.js +++ b/src/api/baseOption/tagsManage/index.js @@ -18,14 +18,74 @@ export function getAreaAll(data) { }) } -//添加 -export function create(data) { +//添加合同标签 +export function createContract(data) { return request({ - url: '/api/area', + url: '/api/label/B/contract', method: 'POST', data }) } +//更新 +export function updateContract(id,data) { + return request({ + url: `/api/label/B/contract/${id}`, + method: 'PUT', + data + }) +} + +//添加服务标签 +export function createService(data) { + return request({ + url: '/api/label/B/service', + method: 'POST', + data + }) +} +//更新 +export function updateService(id,data) { + return request({ + url: `/api/label/B/service/${id}`, + method: 'PUT', + data + }) +} + + +//添加缴费单标签 +export function createPaymentSlip(data) { + return request({ + url: '/api/label/B/paymentSlip', + method: 'POST', + data + }) +} +//更新 +export function updatePaymentSlip(id,data) { + return request({ + url: `/api/label/B/paymentSlip/${id}`, + method: 'PUT', + data + }) +} + +//添加报修故障标签 +export function createRepairFailure(data) { + return request({ + url: '/api/label/B/repairFailure', + method: 'POST', + data + }) +} +//更新 +export function updateRepairFailure(id,data) { + return request({ + url: `/api/label/B/repairFailure/${id}`, + method: 'PUT', + data + }) +} //启用禁用 export function changeEnable(id, enable) { @@ -43,19 +103,12 @@ export function getById(id) { }) } -//更新area -export function update(id,data) { - return request({ - url: `/api/area/${id}`, - method: 'PUT', - data - }) -} + //更新area export function deleteIt(id) { return request({ - url: `/api/area/${id}`, + url: `/api/label/B/${id}`, method: 'DELETE', }) } diff --git a/src/api/dailyService/paymentBill/index.js b/src/api/dailyService/paymentBill/index.js index cd351cd..96fea35 100644 --- a/src/api/dailyService/paymentBill/index.js +++ b/src/api/dailyService/paymentBill/index.js @@ -4,7 +4,7 @@ import {encodeParams} from '@/utils' // 列表 export function getList(data) { return request({ - url: `/api/area?${encodeParams(data)}`, + url: `/api/payment-order?${encodeParams(data)}`, method: 'GET', }) } diff --git a/src/api/operation/newsInfo/index.js b/src/api/operation/newsInfo/index.js index cd351cd..a7611f0 100644 --- a/src/api/operation/newsInfo/index.js +++ b/src/api/operation/newsInfo/index.js @@ -26,13 +26,6 @@ export function create(data) { }) } -//启用禁用 -export function changeEnable(id, enable) { - return request({ - url: `/api/area/enable/${id}/${enable}`, - method: 'GET', - }) -} //根据id查询 export function getById(id) { diff --git a/src/components/Tinymce/components/EditorImage.vue b/src/components/Tinymce/components/EditorImage.vue index bac51bf..c1147f4 100644 --- a/src/components/Tinymce/components/EditorImage.vue +++ b/src/components/Tinymce/components/EditorImage.vue @@ -1,13 +1,14 @@ @@ -48,20 +54,63 @@ type: String, default: '' }, + multiple:{ + type: Boolean, + default: true + }, accept: { type: String, default: '.jpg,.jpeg,.png,.gif,.bmp,.JPG,.JPEG,.PBG,.GIF,.BMP,' }, + btnText:{ + type: String, + default: '上传' + }, + btnSize:{ + type: String, + default: 'mini' + }, }, data() { return { dialogVisible: false, listObj: {}, fileList: [], - limit: 10 + limit: 10, + totalProgress:0 + } + }, + /*watch: { + newListObj: { + handler: function (val, oldVal) { + debugger + const objKeyArr = Object.keys(val) + let curTotalPercent = 0 + for (let i = 0, len = objKeyArr.length; i < len; i++) { + curTotalPercent += Number(this.listObj[objKeyArr[i]].percent) + } + this.totalProgress = Math.floor(curTotalPercent / Object.keys(val).length) + }, + deep: true } }, + computed:{ + newListObj(){ + return JSON.parse(JSON.stringify(this.listObj)) + } + },*/ methods: { + handleAddImages(){ + this.dialogVisible = true + }, + handleTotalProgress(){ + const objKeyArr = Object.keys(this.listObj) + let curTotalPercent = 0 + for (let i = 0, len = objKeyArr.length; i < len; i++) { + curTotalPercent += Number(this.listObj[objKeyArr[i]].percent) + } + this.totalProgress = Math.floor(curTotalPercent / Object.keys(this.listObj).length) + }, uploads(file) { const upload = { mediaType:'image', @@ -70,10 +119,22 @@ uploadType:'normal', callback:{ success:this.handleSuccess, + progress:this.handleProgress } } qnUpload.upload(upload) }, + handleProgress(val,file){ + const uid = file.uid + const objKeyArr = Object.keys(this.listObj) + for (let i = 0, len = objKeyArr.length; i < len; i++) { + if (this.listObj[objKeyArr[i]].uid === uid) { + this.listObj[objKeyArr[i]].percent = val.percent + + } + } + this.handleTotalProgress() + }, checkAllSuccess() { //debugger return Object.keys(this.listObj).every(item => this.listObj[item].hasSuccess) @@ -124,7 +185,8 @@ hasSuccess: false, uid: file.uid, width: this.width, - height: this.height + height: this.height, + percent:0 } } resolve(true) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 09aa577..d63a58e 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -1,7 +1,7 @@