This commit is contained in:
2026-08-17 11:01:21 +08:00
parent 6e07cab51f
commit 255573ed06
705 changed files with 8762 additions and 36677 deletions
@@ -0,0 +1,2 @@
"use strict";const e=require("../../../common/vendor.js"),_=require("../../../api/moduleApi/index.js"),s=require("../../../utils/index.js");if(!Array){const o=e.resolveComponent("u-search"),u=e.resolveComponent("u-empty");(o+u)()}const p=()=>"../../../uni_modules/uview-pro/components/u-search/u-search.js",l=()=>"../../../uni_modules/uview-pro/components/u-empty/u-empty.js";Math||(p+l)();const m={__name:"index",setup(o){let u=e.ref(""),n=e.ref([]);const r=async()=>{let a=await _.getHSEOrg({searchText:u.value});n.value=a},i=s.debounce(a=>{e.index.__f__("log","at pages/index/dataProjectNum/index.vue:72",a,"======="),u.value=a,r()},500);return e.onLoad(()=>{r()}),(a,f)=>e.e({a:e.o(e.unref(i),"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(n).length>0},e.unref(n).length>0?{e:e.f(e.unref(n),(t,c,h)=>({a:e.t(t.UnitName),b:e.t(t.ProjectInspectorGeneralNum),c:e.t(t.ProjectFullTimeNum),d:e.t(t.ProjectSafetyMonitorNum),e:e.t(t.SafetyInjectionEngineer),f:e.t(t.CertificateANum),g:e.t(t.CertificateBNum),h:e.t(t.CertificateCNum),i:c,j:e.o(g=>e.unref(s.router).push("/pages/index/dataProjectNumDetails/index",{unitId:t.UnitId,companyName:t.UnitName}),c)}))}:{f:e.p({text:"暂无数据",mode:"list"})})}},d=e._export_sfc(m,[["__scopeId","data-v-2cf146a8"]]);wx.createPage(d);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/dataProjectNum/index.js.map
@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "单位",
"usingComponents": {
"u-search": "../../../uni_modules/uview-pro/components/u-search/u-search",
"u-empty": "../../../uni_modules/uview-pro/components/u-empty/u-empty"
}
}
@@ -0,0 +1 @@
<view class="data-summary-page data-v-2cf146a8"><view class="search u-flex u-padding-left-24 u-padding-right-24 data-v-2cf146a8"><u-search wx:if="{{c}}" class="data-v-2cf146a8" bindchange="{{a}}" u-i="2cf146a8-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><view class="scroll data-v-2cf146a8"><scroll-view class="scroll-view data-v-2cf146a8" scroll-y><block wx:if="{{d}}"><view wx:for="{{e}}" wx:for-item="item" wx:key="i" class="card u-margin-bottom-20 data-v-2cf146a8" bindtap="{{item.j}}"><view class="header u-flex u-border-bottom data-v-2cf146a8"><text class="header-title data-v-2cf146a8">{{item.a}}</text></view><view class="card-item data-v-2cf146a8"><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">项目总监</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.b}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">专职安全管理人员(含分包)</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.c}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">安全监护人数</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.d}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">注安师数量</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.e}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">A证人数</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.f}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">B证人数</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.g}}</text></view><view class="con u-flex u-row-between data-v-2cf146a8"><text class="con-title data-v-2cf146a8">C证人数</text><text class="u-margin-top-6 data-v-2cf146a8">{{item.h}}</text></view></view></view></block><block wx:else><u-empty wx:if="{{f}}" class="data-v-2cf146a8" u-i="2cf146a8-1" bind:__l="__l" u-p="{{f}}"></u-empty></block></scroll-view></view></view>
@@ -0,0 +1 @@
.data-v-2cf146a8:root,page.data-v-2cf146a8{--u-white-color: #ffffff;--u-black-color: #000000;--u-main-color: #303133;--u-content-color: #606266;--u-tips-color: #909399;--u-light-color: #c0c4cc;--u-border-color: #e4e7ed;--u-divider-color: #e4e7ed;--u-mask-color: rgba(0, 0, 0, .4);--u-shadow-color: rgba(0, 0, 0, .1);--u-bg-color: #f3f4f6;--u-bg-white: #ffffff;--u-bg-gray-light: #f1f1f1;--u-bg-gray-dark: #2f343c;--u-bg-black: #000000;--u-type-primary: #17447a;--u-type-primary-light: #d5dde7;--u-type-primary-disabled: #8fa6c3;--u-type-primary-dark: #123662;--u-type-warning: #ff9900;--u-type-warning-disabled: #fcbd71;--u-type-warning-dark: #f29100;--u-type-warning-light: #fdf6ec;--u-type-success: #19be6b;--u-type-success-disabled: #71d5a1;--u-type-success-dark: #18b566;--u-type-success-light: #dbf1e1;--u-type-error: #fa3534;--u-type-error-disabled: #fab6b6;--u-type-error-dark: #dd6161;--u-type-error-light: #fef0f0;--u-type-info: #909399;--u-type-info-disabled: #c8c9cc;--u-type-info-dark: #82848a;--u-type-info-light: #f4f4f5}.data-summary-page.data-v-2cf146a8{display:flex;flex-direction:column;height:100%}.data-summary-page .search.data-v-2cf146a8{height:120rpx;background-color:#fff}.data-summary-page .scroll.data-v-2cf146a8{flex:1;min-height:0;padding:20rpx 20rpx 40rpx}.data-summary-page .scroll .scroll-view.data-v-2cf146a8{height:100%}.data-summary-page .scroll .scroll-view .card.data-v-2cf146a8{border-radius:20rpx;background-color:#fff;padding:0 24rpx 24rpx}.data-summary-page .scroll .scroll-view .card .header.data-v-2cf146a8{height:80rpx;font-size:32rpx;font-weight:600}.data-summary-page .scroll .scroll-view .card .card-item.data-v-2cf146a8{border-radius:10rpx}.data-summary-page .scroll .scroll-view .card .card-item .con.data-v-2cf146a8{padding:20rpx;background-color:#f5faff;border-radius:20rpx;margin-top:16rpx}.data-summary-page .scroll .scroll-view .card .card-item .con .con-title.data-v-2cf146a8{color:#9a9da8;font-size:28rpx}page{height:100%}