| | |
| | | <!-- 基本信息区 --> |
| | | <view class="basic-info"> |
| | | <view class="info-row"> |
| | | <span class="info-label">创建人:</span> |
| | | <span class="info-value">{{formData.createBy || '未知'}}</span> |
| | | <span class="info-label">创建时间:</span> |
| | | <span class="info-value">{{formData.createTime}}</span> |
| | | <span class="info-label">负责人:</span> |
| | | <span class="info-value">{{formData.statusUser}}</span> |
| | | </view> |
| | | <view class="info-row" v-if="formData.fsubmitBy || formData.fsubmitDate"> |
| | | <span class="info-label">检验人:</span> |
| | | <span class="info-value">{{formData.fsubmitBy || '未知'}}</span> |
| | | <span class="info-label">检验时间:</span> |
| | | <span class="info-value">{{formData.fsubmitDate || '未知'}}</span> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | /* 基础样式 */ |
| | | .inspection-sheet { |
| | | padding: 10px; |
| | | /* 页面容器样式 */ |
| | | page { |
| | | background-color: #f5f7fa; |
| | | min-height: 100vh; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: flex-start; |
| | | padding: 0; |
| | | } |
| | | |
| | | /* 基础样式 */ |
| | | .inspection-sheet { |
| | | font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif; |
| | | max-width: 1000px; |
| | | margin: 20px auto; |
| | | padding: 20px; |
| | | background-color: #fff; |
| | | box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
| | | border-radius: 8px; |
| | | } |
| | | |
| | | /* 头部样式 */ |
| | | .sheet-header { |
| | | background-color: white; |
| | | padding: 20px; |
| | | border-radius: 8px; |
| | | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); |
| | | text-align: center; |
| | | margin-bottom: 20px; |
| | | padding-bottom: 15px; |
| | | border-bottom: 2px solid #e0e0e0; |
| | | } |
| | | |
| | | .sheet-header h1 { |
| | | font-size: 24px; |
| | | font-weight: 600; |
| | | color: #2c3e50; |
| | | margin-bottom: 10px; |
| | | font-size: 24px; |
| | | margin-bottom: 5px; |
| | | } |
| | | |
| | | .inspection-number { |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | color: #3498db; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | /* 基本信息区 */ |