"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[396],{5265:function(e,l,a){a.r(l),a.d(l,{default:function(){return h}});var t=a(66252);const u={class:"left-panel"},i={class:"right-panel"},n={class:"right-panel-search"},r=(0,t.Uk)("查看"),p=(0,t.Uk)("编辑"),s=(0,t.Uk)("删除");function d(e,l,a,d,o,m){const b=(0,t.up)("el-tab-pane"),c=(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"),v=(0,t.up)("el-table-column"),g=(0,t.up)("el-button-group"),y=(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)(c,{type:"card",modelValue:o.groupId,"onUpdate:modelValue":l[0]||(l[0]=e=>o.groupId=e),onTabChange:m.tabChange},{default:(0,t.w5)((()=>[(0,t.Wm)(b,{label:"所有",name:"0"}),(0,t.Wm)(b,{label:"未完成",name:"1"}),(0,t.Wm)(b,{label:"已退回",name:"2"}),(0,t.Wm)(b,{label:"已关闭",name:"3"}),(0,t.Wm)(b,{label:"已完成",name:"4"})])),_:1},8,["modelValue","onTabChange"])])),_:1}),(0,t.Wm)(h,{style:{height:"auto"}},{default:(0,t.w5)((()=>[(0,t.Wm)(f,{data:o.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",i,[(0,t._)("div",n,[(0,t.Wm)(W,{modelValue:o.search.keyword,"onUpdate:modelValue":l[1]||(l[1]=e=>o.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)(y,{ref:"table",apiObj:o.list.apiObj,"row-key":"id",stripe:""},{default:(0,t.w5)((()=>[(0,t.Wm)(v,{type:"selection",width:"50"}),(0,t.Wm)(v,{label:"姓名",prop:"name",width:"150"}),(0,t.Wm)(v,{label:"性别",prop:"sex",width:"150"}),(0,t.Wm)(v,{label:"邮箱",prop:"email",width:"250"}),(0,t.Wm)(v,{label:"评分",prop:"num",width:"150"}),(0,t.Wm)(v,{label:"注册时间",prop:"datetime",width:"150",sortable:""}),(0,t.Wm)(v,{label:"操作",fixed:"right",align:"right",width:"160"},{default:(0,t.w5)((()=>[(0,t.Wm)(g,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)((()=>[p])),_:1}),(0,t.Wm)(w,{text:"",type:"primary",size:"small"},{default:(0,t.w5)((()=>[s])),_:1})])),_:1})])),_:1})])),_:1},8,["apiObj"])])),_:1})])),_:1})}var o=a(75526),m={name:"listTab",components:{scSelectFilter:o.Z},data(){return{groupId:"0",filterData:[{title:"所属行业",key:"type",multiple:!0,options:[{label:"全部",value:""},{label:"汽车",value:"1"},{label:"大健康",value:"2"},{label:"节能环保",value:"3"},{label:"智能信息",value:"4"},{label:"文化旅游",value:"5"},{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.demo.list},search:{keyword:""}}},methods:{upsearch(){this.$refs.table.upData(this.search)},tabChange(e){var l={groupId:e};this.$refs.table.reload(l)},filterChange(e){this.$refs.table.upData(e)}}},b=a(83744);const c=(0,b.Z)(m,[["render",d]]);var h=c}}]);