chunk-374d5a18.f4e41d84.js 10 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-374d5a18"],{8446:function(t,a,s){},"8e56":function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"app-container"},[t.isEdit?s("div",[s("p",{staticStyle:{"font-weight":"700"}},[t._v(" 基本信息 "),s("el-button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:t.edit}},[t._v("编 辑")])],1),s("el-row",[s("el-col",{attrs:{span:8}},[s("ul",[s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 诊所名称: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.clinicName)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 诊所联系人: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.clinicLinkName)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 绑定手机号: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.clinicLinkPhone)+" ")])])])]),s("el-col",{attrs:{span:8}},[s("ul",[s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 创建时间: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.createDate)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 所在地区: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.province)+" "+t._s(t.tableData.city)+" "),s("span",[t._v(" "+t._s(t.tableData.county)+" ")]),s("span",[t._v(" "+t._s(t.tableData.area)+" ")])])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 详细地址: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.detailedAddress)+" ")])])])]),s("el-col",{attrs:{span:8}},[t.tableData.logoPic?s("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.baseUrl+t.tableData.logoPic,"preview-src-list":(t.baseUrl+t.tableData.logoPic).split()}}):s("div",{staticStyle:{width:"100px",color:"#c0c4cc","background-color":"#f5f7fa",height:"100px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")])],1)],1),s("p",{staticStyle:{"font-weight":"700","margin-top":"20px"}},[t._v("诊所介绍")]),s("el-row",[s("el-col",{attrs:{span:12}},[s("ul",[s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 营业执照名称: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.businessLicenseName)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 营业执照编码: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.businessLicenseCode)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 医疗机构编码: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.medicalInstitutionCode)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 诊所编号标识: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.clinicCode)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 营业时间: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.businessStartTime)+" ~ "+t._s(t.tableData.businessEndTime)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 诊所工作日: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.clinicWorkingDays)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 经营年限: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.operatingYears)+" 年 ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 牙椅数量: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.dentalChairsNum)+" 台 ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 门店面积: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.storeArea)+" m² ")])])])]),s("el-col",{staticStyle:{display:"flex"},attrs:{span:12}},[s("div",{staticClass:"right_Pic"},[t.tableData.medicalInstitutionOccupationalLicense?s("el-image",{staticClass:"img_pic",attrs:{src:t.baseUrl+t.tableData.medicalInstitutionOccupationalLicense,"preview-src-list":(t.baseUrl+t.tableData.medicalInstitutionOccupationalLicense).split()}}):s("div",{staticClass:"img_pic",staticStyle:{width:"250px",color:"#c0c4cc","background-color":"#f5f7fa",height:"150px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")]),s("p",[t._v("医疗机构职业许可证")])],1),s("div",{staticClass:"right_Pic",staticStyle:{"margin-left":"20px"}},[t.tableData.scannedCopyBusinessLicense?s("el-image",{staticClass:"img_pic",attrs:{src:t.baseUrl+t.tableData.scannedCopyBusinessLicense,"preview-src-list":(t.baseUrl+t.tableData.scannedCopyBusinessLicense).split()}}):s("div",{staticClass:"img_pic",staticStyle:{width:"250px",color:"#c0c4cc","background-color":"#f5f7fa",height:"150px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")]),s("p",[t._v("营业执照扫描件")])],1)])],1),s("el-row",[s("el-col",{attrs:{span:24}},[s("ul",[s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 门店介绍: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.storeIntroduction)+" ")])]),s("li",{staticClass:"li_box_special"},[s("span",{staticClass:"width_fixed"},[t._v(" banner图: ")]),t.tableData.bannerPic1?s("el-image",{staticClass:"img_box",attrs:{src:t.baseUrl+t.tableData.bannerPic1,"preview-src-list":(t.baseUrl+t.tableData.bannerPic1).split()}}):s("div",{staticClass:"img_box",staticStyle:{width:"300px",color:"#c0c4cc","background-color":"#f5f7fa",height:"150px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")]),t.tableData.bannerPic2?s("el-image",{staticClass:"img_box",attrs:{src:t.baseUrl+t.tableData.bannerPic2,"preview-src-list":(t.baseUrl+t.tableData.bannerPic2).split()}}):s("div",{staticClass:"img_box",staticStyle:{width:"300px",color:"#c0c4cc","background-color":"#f5f7fa",height:"150px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")]),t.tableData.bannerPic3?s("el-image",{staticClass:"img_box",attrs:{src:t.baseUrl+t.tableData.bannerPic3,"preview-src-list":(t.baseUrl+t.tableData.bannerPic3).split()}}):s("div",{staticStyle:{width:"300px","margin-left":"20px",color:"#c0c4cc","background-color":"#f5f7fa",height:"150px",display:"flex","justify-content":"center","align-items":"center"}},[t._v(" 暂无图片 ")])],1)])])],1),t._m(0),s("el-row",[s("el-col",{attrs:{span:24}},[s("ul",[s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 版本信息: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.versionRefer)+" "),s("el-button",{attrs:{type:"primary",disabled:t.isdisabled},on:{click:function(a){return t.identifyTheUpgrade()}}},[t._v("升 级")])],1)]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 创建时间: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.creatTime)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 到期时间: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.tableData.expireTime)+" ")])]),s("li",{staticClass:"li_box"},[s("span",{staticClass:"width_fixed"},[t._v(" 诊所状态: ")]),s("span",{staticStyle:{flex:"1"}},[t._v(" "+t._s("1"===t.tableData.statusInt?"免费版":"正式版")+" ")])])])])],1)],1):s("div",{staticStyle:{position:"relative"}},[t.isEdit?t._e():s("edit",{ref:"editRef",attrs:{ruleFormParent:t.ruleFormParent},on:{cancel:t.cancel}})],1)])},i=[function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("p",{staticStyle:{"font-weight":"700","margin-top":"20px"}},[t._v(" 付费信息 "),s("span",{staticStyle:{color:"#acaeac","font-weight":"normal","font-size":"15px"}},[t._v(" (付费有疑问?请联系运营顾问138123454678) ")])])}],l=s("c7eb"),c=s("1da1"),n=s("462b"),r=s("4360"),o=s("943d"),_={name:"EitcErmPcIndex",components:{edit:n["default"]},data:function(){return{isEdit:!0,ruleFormParent:{},baseUrl:"http://106.74.15.131:80/api",tableData:{},isdisabled:!0}},mounted:function(){var t=this;this.initList(),setInterval(Object(c["a"])(Object(l["a"])().mark((function a(){var s;return Object(l["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(o["lb"])();case 2:s=a.sent,200===s.code&&(1===s.data||2===s.data)&&(t.isdisabled=!1),console.log(s,88888888888);case 5:case"end":return a.stop()}}),a)}))),2e4)},methods:{initList:function(){var t=this;return Object(c["a"])(Object(l["a"])().mark((function a(){var s;return Object(l["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(o["p"])();case 2:s=a.sent,console.log(s),200===s.code?t.tableData=s.data:(t.$message.error("系统已到期,请及时续费,3秒之后将跳转到登录页!"),setTimeout((function(){r["a"].dispatch("LogOut").then((function(){location.href="/index"}))}),3e3));case 5:case"end":return a.stop()}}),a)})))()},identifyTheUpgrade:function(){var t=this;this.$confirm("此操作将升级系统,会有5分钟左右系统访问丢失, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(c["a"])(Object(l["a"])().mark((function a(){return Object(l["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(o["nb"])();case 2:t.$message({type:"success",message:"正在升级!"});case 3:case"end":return a.stop()}}),a)})))).catch((function(){t.$message({type:"info",message:"取消升级"})}))},edit:function(){var t=this;this.ruleFormParent=this.tableData,console.log(this.tableData,"this.tableData"),this.ruleFormParent.bannerPic1&&r["a"].commit("SET_banner1",this.baseUrl+this.ruleFormParent.bannerPic1),this.ruleFormParent.bannerPic2&&r["a"].commit("SET_banner2",this.baseUrl+this.ruleFormParent.bannerPic2),this.ruleFormParent.bannerPic3&&r["a"].commit("SET_banner3",this.baseUrl+this.ruleFormParent.bannerPic3),this.$nextTick((function(){t.isEdit=!1}))},cancel:function(){this.isEdit=!0,this.initList()}}},b=_,p=(s("f6e6"),s("2877")),d=Object(p["a"])(b,e,i,!1,null,"80e516a4",null);a["default"]=d.exports},f6e6:function(t,a,s){"use strict";s("8446")}}]);