v1.2.1版本,优化调整了很多,整改验收阶段新加字段

This commit is contained in:
王利强
2026-06-13 08:50:51 +08:00
parent 2af9f1fd59
commit 1fe87ec438
591 changed files with 5072 additions and 2706 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),a=require("../../request/api.js"),t={__name:"checklist",setup(t){const c=e.ref([]),r=()=>{e.index.navigateTo({url:"/pages/editchecklist/editchecklist"})};return e.onShow((()=>{(async()=>{try{const e=await a.getCheckTableList({pageNum:1,pageSize:100});0===e.code&&(c.value=e.data.records||[])}catch(e){console.error("获取检查表列表失败:",e)}})()})),(a,t)=>e.e({a:e.f(c.value,((a,t,c)=>({a:e.t(a.name),b:a.id}))),b:0===c.value.length},(c.value.length,{}),{c:e.o(r),d:e.gei(a,"")})}},c=e._export_sfc(t,[["__scopeId","data-v-e435212a"]]);wx.createPage(c);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "检查表",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="{{['page', 'padding', 'data-v-e435212a', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden || false}}" id="{{d}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="b" class="checklist-card data-v-e435212a"><view class="card-name data-v-e435212a">{{item.a}}</view></view><view wx:if="{{b}}" class="empty-tip data-v-e435212a"><text class="data-v-e435212a">暂无检查表</text></view><button class="add-btn data-v-e435212a" bindtap="{{c}}"><text class="data-v-e435212a">新增检查表</text></button></view>

View File

@@ -0,0 +1 @@
.page.data-v-e435212a{min-height:100vh;background:#ebf2fc;padding-bottom:120rpx}.checklist-card.data-v-e435212a{background:#fff;border-radius:16rpx;padding:30rpx;margin-bottom:20rpx;box-shadow:0 2rpx 10rpx rgba(0,0,0,.05)}.checklist-card .card-name.data-v-e435212a{font-size:32rpx;color:#333;font-weight:500}.empty-tip.data-v-e435212a{text-align:center;padding:100rpx 0;color:#999;font-size:28rpx}.add-btn.data-v-e435212a{position:fixed;bottom:40rpx;left:30rpx;right:30rpx;height:90rpx;background:linear-gradient(135deg,#667eea,#2668ea);border-radius:45rpx;color:#fff;font-size:32rpx;display:flex;align-items:center;justify-content:center;box-shadow:0 8rpx 20rpx rgba(102,126,234,.4)}.add-btn .cuIcon-add.data-v-e435212a{margin-right:10rpx;font-size:36rpx}