import{_ as b,P as v}from"./page-content.e0c7af12.js";import{u as E}from"./use-page-search.0f272301.js";import{h as R,_ as S}from"./edit-dialog.vue_vue_type_script_setup_true_lang.9584d09a.js";import{u as w}from"./usePermission.8064505c.js";import{a as A,r as N,b as i,c as n,j as p,h as o,f as s,u as e,x as _,l as V,m as $,e as D,i as L,p as j,F as I}from"./index.4d061c66.js";import"./remote-select.36ee67a3.js";import"./useAsync.df7387ce.js";import"./useNav.5e73c372.js";import"./image.e35d846c.js";import"./hooks.9f8f44e2.js";/* empty css                                                              */import"./image.4c97dbe3.js";/* empty css                                                              */import"./index.e63aea62.js";import"./responseHandle.fe68d5aa.js";import"./Video.vue_vue_type_script_setup_true_lang.07ce870d.js";import"./remoteSelect.403add72.js";import"./ComCard.vue_vue_type_script_setup_true_lang.ad550102.js";import"./btnList.6c44b4ef.js";const O={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start_date",endProp:"end_date",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}},{field:"company_title",type:"input",placeholder:"\u4F01\u4E1A\u540D\u79F0"},{field:"card_title",type:"input",placeholder:"\u5361\u7C7B\u578B"},{field:"code",type:"input",placeholder:"\u7F16\u7801"}]},h=O,T=[{type:"selection",width:55,hide:({checkList:u})=>!u.includes("\u52FE\u9009\u5217")},{type:"expand",slot:"expand"},{prop:"code",label:"\u8BB0\u5F55\u7F16\u7801"},{prop:"company_title",label:"\u516C\u53F8\u540D\u79F0"},{prop:"card_title",label:"\u5361\u7C7B\u578B"},{prop:"addtime",label:"\u521B\u5EFA\u65F6\u95F4"}],W={title:"\u6279\u91CF\u8BBE\u7F6E\u89C6\u9891",columns:T,apis:{httpList:R}},q=W,z={style:{padding:"5px 0 0 60px"}},ue=A({__name:"index",setup(u){const{pageContentRef:l,handleResetClick:C,handleSearchClick:g}=E(void 0,void 0,h),c="batchSetVideo",m=N(null),{hasPermissionWithCode:F,permissions:B}=w(c);function y(d,t,a){m.value.show(d,t,a)}return(d,t)=>{const a=i("el-button"),k=i("el-tag"),x=i("PageAuth");return n(),p(x,{pageName:c},{default:o(()=>[s(e(b),{"form-config":e(h),onSearchBtnClick:e(g),onResetBtnClick:e(C)},{action:o(()=>[e(F)("002")?(n(),p(a,{key:0,type:"primary",onClick:t[0]||(t[0]=r=>y({},"","create"))},{default:o(()=>[_(" \u65B0\u589E ")]),_:1})):V("",!0)]),_:1},8,["form-config","onSearchBtnClick","onResetBtnClick"]),s(e(v),{ref_key:"pageContentRef",ref:l,powers:e(B),"content-config":e(q)},{expand:o(r=>[$("div",z,[(n(!0),D(I,null,L(r.video_name,(f,P)=>(n(),p(k,{style:{margin:"0 5px 5px 0"},key:f+P},{default:o(()=>[_(j(f),1)]),_:2},1024))),128))])]),_:1},8,["powers","content-config"]),s(S,{ref_key:"modelRef",ref:m,onReload:t[1]||(t[1]=r=>e(l).onSearch())},null,512)]),_:1})}}});export{ue as default};
