PageSourceSearch

https://mieruca-connect.com/app/edit-DlUzbhYF.js

js mieruca-connect.com collected 2026-10-04 14:50:08 UTC 1,443 bytes, 1 lines download raw bytes

1import{_ as k,o as b,q as v,h as x,j as p,r as e,x as C,l as d,u as y,s as V,b as i,g as n}from"./index-Ggniz4sK.js";import{S as w}from"./StaffForm-BSjBWA5P.js";import{A as h}from"./AccountLock-BkpSp-lE.js";import"./cropper-BISbyTcV.js";const B={components:{StaffForm:w,AccountLock:h},layout:"staff",setup(){const c=V(),o=y(),a=d({}),t=C(()=>c.query.staff_id),r=d(null);return p.get(`/api/staff/staffs/${t.value}`).then(s=>{a.value=s.data.staff}),{staff:a,error:r,update:async()=>{if((await p.post(`/api/staff/staffs/${t.value}`,a.value)).data.error){r.value="既に登録されたメールアドレスです";return}o.push("/staff/staffs/")},back:()=>{o.push("/staff/staffs/")}}}},g={class:"flex justify-content-center"};function j(c,o,a,t,r,m){const l=e("staff-form"),s=e("account-lock"),u=e("pv-button"),_=e("pv-card");return b(),v(_,null,{content:x(()=>[o[2]||(o[2]=i("h5",{class:"card-title text-center"}," スタッフ編集 ",-1)),n(l,{modelValue:t.staff,"onUpdate:modelValue":o[0]||(o[0]=f=>t.staff=f),"show-password":!1,error:t.error},null,8,["modelValue","error"]),n(s,{account:t.staff,"onUpdate:account":o[1]||(o[1]=f=>t.staff=f),type:"staffs"},null,8,["account"]),i("div",g,[n(u,{class:"p-button-text p-button-raised mt-2 ml-2",label:"戻る",onClick:t.back},null,8,["onClick"]),n(u,{class:"p-button-raised mt-2 ml-2",label:"更新",onClick:t.update},null,8,["onClick"])])]),_:1})}const S=k(B,[["render",j]]);export{S as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.