3 lines
1.1 KiB
JavaScript
3 lines
1.1 KiB
JavaScript
"use strict";const e=require("../../../common/vendor.js"),_=require("../../../api/moduleApi/index.js"),i=require("../../../utils/index.js");if(!Array){const n=e.resolveComponent("u-search"),u=e.resolveComponent("u-empty");(n+u)()}const m=()=>"../../../uni_modules/uview-pro/components/u-search/u-search.js",p=()=>"../../../uni_modules/uview-pro/components/u-empty/u-empty.js";Math||(m+p)();const l={__name:"index",setup(n){let u=e.ref(""),o=e.ref([]);const s=async()=>{let a=await _.getQMSAwardStats({searchText:u.value});o.value=a},r=i.debounce(a=>{u.value=a,s()},500);return e.onLoad(()=>{s()}),(a,d)=>e.e({a:e.o(e.unref(r),"e6"),b:e.o(t=>e.isRef(u)?u.value=t:u=t,"22"),c:e.p({placeholder:"请输入单位名称","show-action":!1,modelValue:e.unref(u)}),d:e.unref(o).length>0},e.unref(o).length>0?{e:e.f(e.unref(o),(t,c,h)=>({a:e.t(t.UnitName),b:e.t(t.LubanNum),c:e.t(t.GuoyouNum),d:e.t(t.ProvinceNum),e:e.t(t.CityNum),f:c}))}:{f:e.p({text:"暂无数据",mode:"list"})})}},f=e._export_sfc(l,[["__scopeId","data-v-484ff7f4"]]);wx.createPage(f);
|
|
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/quality/qualityEngineering/index.js.map
|