"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[2108],{20378:function(e,l,a){a.r(l),a.d(l,{default:function(){return h}});var t=a(66252);const u={class:"left-panel"},n={class:"right-panel"},i={class:"right-panel-search"},r=(0,t.Uk)("查看"),s=(0,t.Uk)("编辑"),p=(0,t.Uk)("删除");function o(e,l,a,o,d,m){const c=(0,t.up)("el-tab-pane"),b=(0,t.up)("el-tabs"),h=(0,t.up)("el-header"),f=(0,t.up)("sc-select-filter"),w=(0,t.up)("el-button"),W=(0,t.up)("el-input"),g=(0,t.up)("el-table-column"),y=(0,t.up)("el-button-group"),v=(0,t.up)("scTable"),k=(0,t.up)("el-main"),_=(0,t.up)("el-container");return(0,t.wg)(),(0,t.j4)(_,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{class:"header-tabs"},{default:(0,t.w5)((()=>[(0,t.Wm)(b,{type:"card",modelValue:d.groupId,"onUpdate:modelValue":l[0]||(l[0]=e=>d.groupId=e),onTabChange:m.tabChange},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{label:"所有",name:"0"}),(0,t.Wm)(c,{label:"未完成",name:"1"}),(0,t.Wm)(c,{label:"已退回",name:"2"}),(0,t.Wm)(c,{label:"已关闭",name:"3"}),(0,t.Wm)(c,{label:"已完成",name:"4"})])),_:1},8,["modelValue","onTabChange"])])),_:1}),(0,t.Wm)(h,{style:{height:"auto"}},{default:(0,t.w5)((()=>[(0,t.Wm)(f,{data:d.filterData,"label-width":80,onOnChange:m.filterChange},null,8,["data","onOnChange"])])),_:1}),(0,t.Wm)(h,null,{default:(0,t.w5)((()=>[(0,t._)("div",u,[(0,t.Wm)(w,{type:"primary",icon:"el-icon-plus"}),(0,t.Wm)(w,{type:"danger",plain:"",icon:"el-icon-delete"})]),(0,t._)("div",n,[(0,t._)("div",i,[(0,t.Wm)(W,{modelValue:d.search.keyword,"onUpdate:modelValue":l[1]||(l[1]=e=>d.search.keyword=e),placeholder:"关键词",clearable:""},null,8,["modelValue"]),(0,t.Wm)(w,{type:"primary",icon:"el-icon-search",onClick:m.upsearch},null,8,["onClick"])])])])),_:1}),(0,t.Wm)(k,{class:"nopadding"},{default:(0,t.w5)((()=>[(0,t.Wm)(v,{ref:"table",apiObj:d.list.apiObj,"row-key":"id",stripe:""},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{type:"selection",width:"50"}),(0,t.Wm)(g,{label:"姓名",prop:"name",width:"150"}),(0,t.Wm)(g,{label:"性别",prop:"sex",width:"150"}),(0,t.Wm)(g,{label:"邮箱",prop:"email",width:"250"}),(0,t.Wm)(g,{label:"评分",prop:"num",width:"150"}),(0,t.Wm)(g,{label:"注册时间",prop:"datetime",width:"150",sortable:""}),(0,t.Wm)(g,{label:"操作",fixed:"right",align:"right",width:"160"},{default:(0,t.w5)((()=>[(0,t.Wm)(y,null,{default:(0,t.w5)((()=>[(0,t.Wm)(w,{text:"",type:"primary",size:"small"},{default:(0,t.w5)((()=>[r])),_:1}),(0,t.Wm)(w,{text:"",type:"primary",size:"small"},{default:(0,t.w5)((()=>[s])),_:1}),(0,t.Wm)(w,{text:"",type:"primary",size:"small"},{default:(0,t.w5)((()=>[p])),_:1})])),_:1})])),_:1})])),_:1},8,["apiObj"])])),_:1})])),_:1})}var d=a(75526),m={name:"cusSeats",components:{scSelectFilter:d.Z},data(){return{groupId:"0",filterData:[{title:"所属行业",key:"type",multiple:!0,options:[{label:"全部",value:""},{label:"汽车",value:"1"},{label:"智能信息",value:"4"},{label:"新材料",value:"6"},{label:"高端装备",value:"7"},{label:"其他行业",value:"99"}]},{title:"所属区域",key:"area",options:[{label:"全部",value:""},{label:"华东",value:"HD"},{label:"华北",value:"HB"},{label:"华南",value:"HN"},{label:"华中",value:"HZ"},{label:"华西南",value:"HXN"},{label:"东北",value:"DB"}]}],list:{apiObj:this.$API.msgservice.cusMag.cusSeats},search:{keyword:""}}},methods:{upsearch(){this.$refs.table.upData(this.search)},tabChange(e){const l={groupId:e};this.$refs.table.reload(l)},filterChange(e){this.$refs.table.upData(e)}}},c=a(83744);const b=(0,c.Z)(m,[["render",o]]);var h=b}}]);