Files
CNCEC_APP/unpackage/dist/dev/mp-weixin/pages/quality/personnelInspectionDetails/index.js
T
2026-08-17 11:01:21 +08:00

3 lines
1.3 KiB
JavaScript

"use strict";const e=require("../../../common/vendor.js"),m=require("../../../api/moduleApi/index.js"),l=require("../../../utils/index.js");if(!Array){const c=e.resolveComponent("u-search"),t=e.resolveComponent("u-empty");(c+t)()}const p=()=>"../../../uni_modules/uview-pro/components/u-search/u-search.js",d=()=>"../../../uni_modules/uview-pro/components/u-empty/u-empty.js";Math||(p+d)();const f={__name:"index",setup(c){let t=e.ref(""),n=e.ref({});e.onLoad(o=>{n.value=o,r(n.value.unitId)});let a=e.ref([]);const r=async o=>{let s=await m.getQMSEducationItem({unitId:o,searchText:t.value});a.value=s},_=l.debounce(o=>{t.value=o,r(n.value.unitId)},500);return(o,s)=>e.e({a:e.o(e.unref(_),"e6"),b:e.o(u=>e.isRef(t)?t.value=u:t=u,"22"),c:e.p({placeholder:"请输入项目名称","show-action":!1,modelValue:e.unref(t)}),d:e.t(decodeURIComponent(e.unref(n).companyName)),e:e.unref(a).length>0},e.unref(a).length>0?{f:e.f(e.unref(a),(u,i,y)=>({a:e.t(u.ProjectName),b:e.t(u.PersonInspectionNum),c:e.t(u.TrainPersonNum),d:e.t(u.TechnicalDisclosePersonNum),e:i}))}:{g:e.p({text:"暂无数据",mode:"list"})})}},h=e._export_sfc(f,[["__scopeId","data-v-fc57697a"]]);wx.createPage(h);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/quality/personnelInspectionDetails/index.js.map