"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BB7fFseo.cjs"),a=l=>(e.pushScopeId("data-v-c9b619dc"),l=l(),e.popScopeId(),l),r={class:"check-entry-setting"},u={class:"item-setting"},v={class:"setting-left"},_=a(()=>e.createBaseVNode("div",{class:"title"},"无需检查项",-1)),p=a(()=>e.createBaseVNode("i",{class:"iconfont icon-form-question"},null,-1)),h={class:"setting-right"},V={class:"item-setting"},f={class:"setting-left"},m=a(()=>e.createBaseVNode("div",{class:"title"},"一键打勾",-1)),g=a(()=>e.createBaseVNode("i",{class:"iconfont icon-form-question"},null,-1)),N={class:"setting-right"},B={class:"requirement"},E={class:"requirement-title"},b=a(()=>e.createBaseVNode("div",{class:"title"},"检查要求说明",-1)),C=a(()=>e.createBaseVNode("i",{class:"iconfont icon-form-question"},null,-1)),w=e.defineComponent({__name:"CheckEntrySetting",setup(l){const c=e.ref("");e.watch(e.activeWidgetAttrs,()=>{const t=e.activeWidgetAttrs.value.list.find(s=>s.isActive);c.value=t==null?void 0:t.desc},{deep:!0});const i=e.computed({get:()=>e.activeWidgetAttrs.value.globalEnabled,set:t=>{e.setWidgetAttrs({attr:"globalEnabled",value:t})}}),n=e.computed({get:()=>e.activeWidgetAttrs.value.allChecked,set:t=>{e.setWidgetAttrs({attr:"allChecked",value:t})}}),d=t=>{const s=e.activeWidgetAttrs.value.list.find(o=>o.isActive);s.desc=t};return(t,s)=>(e.openBlock(),e.createElementBlock("div",r,[e.createBaseVNode("div",u,[e.createBaseVNode("div",v,[_,e.createVNode(e.unref(e.ElTooltip),{placement:"top",content:"开启后，将新增「/」选项，适用于部分巡检内容无需检查的场景。"},{default:e.withCtx(()=>[p]),_:1})]),e.createBaseVNode("div",h,[e.createVNode(e.unref(e.ElSwitch),{class:"switch","active-value":!0,"inactive-value":!1,modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=o=>i.value=o)},null,8,["modelValue"])])]),e.createBaseVNode("div",V,[e.createBaseVNode("div",f,[m,e.createVNode(e.unref(e.ElTooltip),{placement:"top",content:`开启后，填表人可一键将所有检查项变为「√」，提升填表效率。\r
`},{default:e.withCtx(()=>[g]),_:1})]),e.createBaseVNode("div",N,[e.createVNode(e.unref(e.ElSwitch),{class:"switch","active-value":!0,"inactive-value":!1,modelValue:n.value,"onUpdate:modelValue":s[1]||(s[1]=o=>n.value=o)},null,8,["modelValue"])])]),e.createBaseVNode("div",B,[e.createBaseVNode("div",E,[b,e.createVNode(e.unref(e.ElTooltip),{placement:"top",content:`输入检查要求，巡检时可查看每项检查的具体要求，方便作业。\r
`},{default:e.withCtx(()=>[C]),_:1})]),e.createVNode(e.unref(e.ElInput),{modelValue:c.value,"onUpdate:modelValue":s[2]||(s[2]=o=>c.value=o),onInput:d},null,8,["modelValue"])])]))}}),A=e._export_sfc(w,[["__scopeId","data-v-c9b619dc"]]);exports.default=A;
