/*!
 *  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-147e2056"],{"1b26":function(e,t,a){e.exports={"menu-color":"hsla(0,0%,27%,.95)","menu-color-active":"hsla(208,100%,55%,.95)","menu-background":"#fff","gallery-second-menu-background":"#fff"}},a13a:function(e,t,a){"use strict";a.r(t);var n=a("f2bf");const o={class:"manage-container"};function r(e,t,a,r,l,c){const i=Object(n["resolveComponent"])("el-table-column"),s=Object(n["resolveComponent"])("el-table"),u=Object(n["resolveComponent"])("el-pagination");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,[Object(n["createVNode"])(s,{data:l.tableData,stripe:"",border:"",style:{width:"100%"}},{default:Object(n["withCtx"])(()=>[Object(n["createVNode"])(i,{prop:"username",label:e.$t("staff.yhm"),width:"350",align:"center"},null,8,["label"]),Object(n["createVNode"])(i,{prop:"name",label:e.$t("staff.xm"),width:"200",align:"center"},null,8,["label"]),Object(n["createVNode"])(i,{prop:"phone",label:e.$t("staff.sjhm"),width:"200",align:"center"},null,8,["label"]),Object(n["createVNode"])(i,{prop:"email",label:e.$t("staff.yx"),align:"center"},null,8,["label"])]),_:1},8,["data"]),Object(n["createVNode"])(u,{background:l.background,"current-page":l.queryForm.page,layout:l.layout,"page-size":l.queryForm.size,total:l.total,style:{"text-align":"right"},onCurrentChange:c.handleCurrentChange,onSizeChange:c.handleSizeChange},null,8,["background","current-page","layout","page-size","total","onCurrentChange","onSizeChange"])])}var l=a("b4ea"),c={data(){return{tableData:[],lazy:!0,layout:"total, sizes, prev, pager, next, jumper",total:0,background:!0,listLoading:!1,elementLoadingText:"正在加载...",queryForm:{page:1,size:20,projectId:""}}},created(){this.queryForm.projectId=sessionStorage.getItem("projectId"),this.fetchData()},methods:{async fetchData(){this.listLoading=!0;const{data:e}=await Object(l["getList"])(this.queryForm);this.tableData=e,setTimeout(()=>{this.listLoading=!1},500)},handleQuery(){this.queryForm.page=1,this.fetchData()},handleSizeChange(e){this.queryForm.size=e,this.fetchData()},handleCurrentChange(e){this.queryForm.page=e,this.fetchData()}}},i=(a("ad01"),a("d959")),s=a.n(i);const u=s()(c,[["render",r]]);t["default"]=u},ad01:function(e,t,a){"use strict";a("1b26")},b4ea:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return o}));var n=a("b775");function o(e){return Object(n["default"])({url:"/addressBook/book?projectId="+e.projectId,method:"get",data:e})}}}]);