/*!
 *  build: vue-admin-beautiful 
 *  vue-admin-beautiful author: chuzhixin 1204505056@qq.com 
 *  vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756 
 *  time: 2024-10-10 11:14:28
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27f31964"],{a093:function(e,t,c){"use strict";c("d048")},a0b1:function(e,t,c){"use strict";c.r(t);var o=c("f2bf");const a={class:"manage-container"},n={class:"list"},r={class:"list-base"},s={class:"list-head"};function l(e,t,c,l,i,d){const j=Object(o["resolveComponent"])("el-image"),b=Object(o["resolveComponent"])("el-button"),p=Object(o["resolveComponent"])("el-col"),O=Object(o["resolveComponent"])("el-row");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",a,[Object(o["createVNode"])(O,{gutter:20},{default:Object(o["withCtx"])(()=>[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(i.projectData,(e,c)=>(Object(o["openBlock"])(),Object(o["createBlock"])(p,{key:c,span:6},{default:Object(o["withCtx"])(()=>[Object(o["createElementVNode"])("div",n,[Object(o["createElementVNode"])("div",r,[Object(o["createElementVNode"])("h1",s,Object(o["toDisplayString"])(e.name),1),Object(o["createVNode"])(j,{class:"list-image"}),Object(o["createVNode"])(b,{type:"primary",style:{width:"100%"},onClick:t=>d.projectDetail(e.id)},{default:Object(o["withCtx"])(()=>t[0]||(t[0]=[Object(o["createTextVNode"])(" 项目管理 ")])),_:2},1032,["onClick"])])])]),_:2},1024))),128))]),_:1})])}c("14d9");var i=c("c24f"),d={data(){return{projectData:[]}},created(){this.getUserInfo()},methods:{async getUserProject(e){const{data:t}=await Object(i["getProjectsByUserId"])({userId:e});this.projectData=t},async getUserInfo(){const{data:e}=await Object(i["getUserInfos"])();this.getUserProject(e.id)},projectDetail(e){sessionStorage.setItem("projectId",e),this.$router.push({name:"监控地图",path:"/monitor",query:{projectId:e}})}}},j=(c("a093"),c("d959")),b=c.n(j);const p=b()(d,[["render",l],["__scopeId","data-v-5f4e911f"]]);t["default"]=p},d048:function(e,t,c){}}]);