import { m as h, __tla as __tla_0 } from "./columns-DY6kUOTk.js";
import { B as u } from "./Table-0PViRYCf.js";
import { d as S, r as a, h as y, o as A, j as m, l as o, F as g, ac as w, __tla as __tla_1 } from "./index-9PRMimni.js";
let N;
let __tla = Promise.all([
    (()=>{
        try {
            return __tla_0;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_1;
        } catch  {}
    })()
]).then(async ()=>{
    let v;
    v = {
        name: "MonthlyReport"
    };
    N = S({
        ...v,
        props: {
            readonly: {
                type: Boolean,
                default: !1
            }
        },
        setup (l, { expose: C }) {
            const e = a(), n = a(), p = l, { monthColumns: c, monthColumns2: f } = h(p), t = a([
                {
                    nameContent: "船员SEA未过期:",
                    nameContentEn: "Crew SEA Is Not Expired:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    remark: ""
                },
                {
                    nameContent: "部分船员SEA将在一个月内到期,并通知公司:(有多少船员?)",
                    nameContentEn: "Some Crew SEA To Be Expired Within One Month And Notify Company: (How Many Crew?)",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    remark: ""
                },
                {
                    nameContent: "一些船员SEA超过11个月并签署延期SEA:(有多少船员?)",
                    nameContentEn: "Some Crew SEA Over 11 Months And Sign Extend SEA: (How Many Crew?)",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    remark: ""
                },
                {
                    nameContent: "根据协议支付的所有船员工资和提交的工资单:",
                    nameContentEn: "All Crew Wage Paid As Per Agreement And Payroll Filed:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    remark: ""
                },
                {
                    nameContent: "正确检查和归档工作/休息时间记录:",
                    nameContentEn: "Work/Rest Hours Record Properly Checked And Filed:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    remark: ""
                }
            ]), i = a([
                {
                    nameContent: "检查日期 >>>",
                    nameContentEn: "Inspection Date >>>",
                    isDate: !0,
                    isInput: !0,
                    radio: "",
                    radio1: null,
                    radio2: null,
                    radio3: null,
                    radio4: null,
                    remark: ""
                },
                {
                    nameContent: "船员健康状况正常:",
                    nameContentEn: "Crew Health Condition In Normal:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "如果No.1为否，请立即向公司报告:",
                    nameContentEn: "If No.1 Is No, Report To Company Immediately:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "食物量是否足够:",
                    nameContentEn: "Food Quantity Is Enough:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "如果No.3为否，则补货计划",
                    nameContentEn: "If No.3 Is No, Replenishment Plan",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "食品质量好:",
                    nameContentEn: "Food Quality Is Good:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "船上有足够的淡水和饮用水:",
                    nameContentEn: "Fresh And Drinking Water Is Enough On Board:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "如果No.6为否，则补货计划",
                    nameContentEn: "If No.6 Is No, Replenishment Plan",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "淡水和饮用水箱在半年内检查和清洁:",
                    nameContentEn: "Fresh And Drinking Water Tanks Were Checked And Cleaned Within Half Year:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "淡水发生器状态良好:",
                    nameContentEn: "The Fresh Water Generator Is In Good Order:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "住宿（包括船员舱、船舶办公室、床上用品、卫生间、淋浴间、洗衣房、厨房、餐厅、娱乐室、会议室、阅览室、健身房等）由船员打扫干净，井然有序，拍照并提交给公司:",
                    nameContentEn: "Accommodation (Including Crew's Cabin,Ship Office,Bedding,Toilet,Shower Room,Laundry,Galley,Mess Room,Recreational Room,Meeting Room,Reading Room,Gymnasium Etc.)Are Cleaned By Crew And In Good Order, Take Photos And Submit To Company:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "娱乐设施是否完好:",
                    nameContentEn: "Recreational Facility Is In Good Order:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                },
                {
                    nameContent: "空调是否正常:",
                    nameContentEn: "The Air Conditioner Is In Good Order:",
                    isRadio: !0,
                    isInput: !0,
                    radio: "",
                    radio1: "",
                    radio2: "",
                    radio3: "",
                    radio4: "",
                    remark: ""
                }
            ]);
            function I() {
                return e.value?.getDataSource();
            }
            function R() {
                return n.value?.getDataSource();
            }
            function k() {
                e.value?.setBordered(!0), e.value?.setStriped(!1), n.value?.setBordered(!0), n.value?.setStriped(!1);
            }
            function E(d, s) {
                t.value = d, i.value = s, w(()=>{
                    e.value?.reload(), n.value?.reload(), e.value?.setBordered(!0), e.value?.setStriped(!1), n.value?.setBordered(!0), n.value?.setStriped(!1);
                });
            }
            return C({
                handleOpen: k,
                voList: I,
                voList2: R,
                listInfo: E
            }), (d, s)=>(A(), y(g, null, [
                    m(o(u), {
                        ref_key: "monthTableRef",
                        ref: e,
                        columns: o(c),
                        dataSource: o(t),
                        "row-key": (r)=>r.id,
                        autoScrollX: !0,
                        immediate: !1,
                        pagination: !1,
                        "show-table-setting": !1,
                        "can-resize": !1
                    }, null, 8, [
                        "columns",
                        "dataSource",
                        "row-key"
                    ]),
                    m(o(u), {
                        ref_key: "monthTableRef2",
                        ref: n,
                        columns: o(f),
                        dataSource: o(i),
                        "row-key": (r)=>r.id,
                        autoScrollX: !0,
                        immediate: !1,
                        pagination: !1,
                        "show-table-setting": !1,
                        "can-resize": !1
                    }, null, 8, [
                        "columns",
                        "dataSource",
                        "row-key"
                    ])
                ], 64));
        }
    });
});
export { N as _, __tla };
