quality-management.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <header>
  2. <h1>质量管理</h1>
  3. </header>
  4. <main class="quality-management-main">
  5. <!-- 质量验收标准(SOP落地) -->
  6. <section class="sop-section">
  7. <div class="section-header">
  8. <h2>质量验收标准 (SOP)</h2>
  9. <button (click)="exportSOP()" class="btn-export">导出 PDF</button>
  10. </div>
  11. <div class="sop-tabs">
  12. <div class="tab-buttons">
  13. <button (click)="activeTab = 'modeling'" [class.active]="activeTab === 'modeling'">
  14. <span>建模阶段</span>
  15. </button>
  16. <button (click)="activeTab = 'rendering'" [class.active]="activeTab === 'rendering'">
  17. <span>渲染阶段</span>
  18. </button>
  19. <button (click)="activeTab = 'postProduction'" [class.active]="activeTab === 'postProduction'">
  20. <span>后期阶段</span>
  21. </button>
  22. </div>
  23. <div class="tab-content">
  24. <!-- 建模阶段标准 -->
  25. @if (activeTab === 'modeling') {
  26. <div class="phase-content">
  27. <div class="sop-section">
  28. <h3>交付物要求</h3>
  29. <ul class="requirement-list">
  30. <li>提交完整的3D模型文件</li>
  31. <li>提供户型匹配度检查报告,误差≤2%</li>
  32. <li>材质贴图完整且正确命名</li>
  33. <li>灯光方案初步设置</li>
  34. </ul>
  35. </div>
  36. <div class="sop-section">
  37. <h3>质量验收指标</h3>
  38. <table class="quality-table">
  39. <thead>
  40. <tr>
  41. <th>指标项</th>
  42. <th>普通客户</th>
  43. <th>优质客户</th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. <tr>
  48. <td>模型精度</td>
  49. <td>≥95%</td>
  50. <td>≥98%</td>
  51. </tr>
  52. <tr>
  53. <td>户型匹配度</td>
  54. <td>≥98%</td>
  55. <td>≥99%</td>
  56. </tr>
  57. <tr>
  58. <td>材质还原度</td>
  59. <td>≥90%</td>
  60. <td>≥95%</td>
  61. </tr>
  62. </tbody>
  63. </table>
  64. </div>
  65. <div class="sop-section">
  66. <h3>整改规则</h3>
  67. <ul class="rule-list">
  68. <li>质量不达标项需24小时内修改</li>
  69. <li>修改超2次需组长复核</li>
  70. <li>重大错误(如户型严重不符)需重新建模</li>
  71. </ul>
  72. </div>
  73. </div>
  74. }
  75. <!-- 渲染阶段标准 -->
  76. @if (activeTab === 'rendering') {
  77. <div class="phase-content">
  78. <div class="sop-section">
  79. <h3>交付物要求</h3>
  80. <ul class="requirement-list">
  81. <li>提交高清渲染图(PSD+JPG)</li>
  82. <li>提供多角度渲染预览(至少3个角度)</li>
  83. <li>保留渲染参数文件</li>
  84. </ul>
  85. </div>
  86. <div class="sop-section">
  87. <h3>质量验收指标</h3>
  88. <table class="quality-table">
  89. <thead>
  90. <tr>
  91. <th>指标项</th>
  92. <th>普通客户</th>
  93. <th>优质客户</th>
  94. </tr>
  95. </thead>
  96. <tbody>
  97. <tr>
  98. <td>像素要求</td>
  99. <td>≥800px</td>
  100. <td>≥1200px</td>
  101. </tr>
  102. <tr>
  103. <td>真实度</td>
  104. <td>≥90%</td>
  105. <td>≥95%</td>
  106. </tr>
  107. <tr>
  108. <td>光影效果</td>
  109. <td>自然流畅</td>
  110. <td>专业级光影处理</td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. </div>
  115. <div class="sop-section">
  116. <h3>整改规则</h3>
  117. <ul class="rule-list">
  118. <li>渲染效果不满意项需18小时内修改</li>
  119. <li>修改超3次需重新设计灯光方案</li>
  120. <li>客户特殊要求需单独确认</li>
  121. </ul>
  122. </div>
  123. </div>
  124. }
  125. <!-- 后期阶段标准 -->
  126. @if (activeTab === 'postProduction') {
  127. <div class="phase-content">
  128. <div class="sop-section">
  129. <h3>交付物要求</h3>
  130. <ul class="requirement-list">
  131. <li>提交最终效果图(JPG+PNG透明底)</li>
  132. <li>提供颜色校正前后对比图</li>
  133. <li>保留PSD源文件</li>
  134. </ul>
  135. </div>
  136. <div class="sop-section">
  137. <h3>质量验收指标</h3>
  138. <table class="quality-table">
  139. <thead>
  140. <tr>
  141. <th>指标项</th>
  142. <th>普通客户</th>
  143. <th>优质客户</th>
  144. </tr>
  145. </thead>
  146. <tbody>
  147. <tr>
  148. <td>色彩准确度</td>
  149. <td>符合设计稿</td>
  150. <td>专业级色彩管理</td>
  151. </tr>
  152. <tr>
  153. <td>细节处理</td>
  154. <td>无明显瑕疵</td>
  155. <td>精细处理每一处细节</td>
  156. </tr>
  157. <tr>
  158. <td>文件格式</td>
  159. <td>JPG (300dpi)</td>
  160. <td>JPG+PNG (350dpi)</td>
  161. </tr>
  162. </tbody>
  163. </table>
  164. </div>
  165. <div class="sop-section">
  166. <h3>整改规则</h3>
  167. <ul class="rule-list">
  168. <li>后期处理不满意项需12小时内修改</li>
  169. <li>颜色偏差需重新进行色彩校正</li>
  170. <li>最终交付需客户确认签字</li>
  171. </ul>
  172. </div>
  173. </div>
  174. }
  175. </div>
  176. </div>
  177. </section>
  178. <!-- 效果图质量整改跟踪 -->
  179. <section class="rectification-section">
  180. <div class="section-header">
  181. <h2>质量整改跟踪</h2>
  182. <div class="search-filter">
  183. <input type="text" placeholder="搜索项目名称..." [(ngModel)]="searchTerm">
  184. <select [(ngModel)]="filterStatus">
  185. <option value="all">全部状态</option>
  186. <option value="pending">待处理</option>
  187. <option value="processing">处理中</option>
  188. <option value="review">待审核</option>
  189. <option value="completed">已完成</option>
  190. </select>
  191. </div>
  192. </div>
  193. <div class="rectification-list">
  194. @for (task of filteredTasks; track task.id) {
  195. <div class="rectification-item" [class.priority-high]="task.priority === 'high'" [class.priority-medium]="task.priority === 'medium'" [class.priority-low]="task.priority === 'low'">
  196. <div class="rectification-header">
  197. <h4>{{ task.projectName }}</h4>
  198. <span [class]="'rectification-status status-' + task.status">{{ getStatusText(task.status) }}</span>
  199. </div>
  200. <div class="rectification-details">
  201. <div class="detail-item">
  202. <span class="detail-label">负责组员:</span>
  203. <span class="detail-value">{{ task.designerName }}</span>
  204. </div>
  205. <div class="detail-item">
  206. <span class="detail-label">问题描述:</span>
  207. <span class="detail-value">{{ task.issueDescription }}</span>
  208. </div>
  209. <div class="detail-item">
  210. <span class="detail-label">优先级:</span>
  211. <span class="detail-value priority-{{ task.priority }}">{{ getPriorityText(task.priority) }}</span>
  212. </div>
  213. <div class="detail-item">
  214. <span class="detail-label">建议完成时间:</span>
  215. <span class="detail-value">{{ task.suggestedDeadline | date:'yyyy-MM-dd' }}</span>
  216. </div>
  217. @if (task.sopComplianceScore !== null) {
  218. <div class="detail-item">
  219. <span class="detail-label">SOP符合度评分:</span>
  220. <span class="detail-value score">{{ task.sopComplianceScore }}/100</span>
  221. </div>
  222. }
  223. @if (task.managerComment) {
  224. <div class="detail-item">
  225. <span class="detail-label">组长评语:</span>
  226. <span class="detail-value">{{ task.managerComment }}</span>
  227. </div>
  228. }
  229. </div>
  230. <div class="rectification-actions">
  231. <button (click)="viewTaskDetails(task.id)" class="btn">查看详情</button>
  232. @if (task.status === 'review') {
  233. <div>
  234. <button (click)="approveTask(task.id)" class="btn btn-primary">通过</button>
  235. <button (click)="rejectTask(task.id)" class="btn">驳回</button>
  236. </div>
  237. }
  238. @if (task.status === 'completed') {
  239. <div>
  240. <button (click)="syncToProjectReview(task.id)" class="btn btn-primary">同步至项目评审</button>
  241. </div>
  242. }
  243. </div>
  244. </div>
  245. }
  246. </div>
  247. </section>
  248. <!-- 能力提升工具集成 -->
  249. <section class="training-section">
  250. <div class="section-header">
  251. <h2>能力提升工具</h2>
  252. <p class="section-description">通过视频教程和实践作业提升团队技能,确保SOP标准执行</p>
  253. </div>
  254. <div class="training-content">
  255. <!-- 视频教程区域 -->
  256. <div class="video-tutorials">
  257. <div class="section-subheader">
  258. <h3>视频教程</h3>
  259. <button class="btn-view-all">查看全部</button>
  260. </div>
  261. <div class="video-grid">
  262. @for (video of videoTutorials; track video.id) {
  263. <div class="video-card" (mouseenter)="video.isHovered = true" (mouseleave)="video.isHovered = false">
  264. <div class="video-thumbnail-container">
  265. <div class="video-thumbnail">
  266. <img [src]="video.thumbnailUrl" alt="视频缩略图" class="thumbnail-img">
  267. <div class="video-duration">{{ video.duration }}</div>
  268. <div class="play-overlay" [class.visible]="video.isHovered">
  269. <button (click)="playVideo(video.id)" class="play-button">
  270. <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  271. <circle cx="20" cy="20" r="20" fill="rgba(0,0,0,0.6)"/>
  272. <path d="M15 13L28 20L15 27V13Z" fill="white"/>
  273. </svg>
  274. </button>
  275. </div>
  276. </div>
  277. </div>
  278. <div class="video-info">
  279. <div class="category-badge">{{ video.category }}</div>
  280. <h4 class="video-title">{{ video.title }}</h4>
  281. <p class="video-description">{{ video.description }}</p>
  282. <div class="video-meta">
  283. <span class="views">{{ video.views }} 次观看</span>
  284. <span class="date">2天前</span>
  285. </div>
  286. </div>
  287. </div>
  288. }
  289. </div>
  290. </div>
  291. <!-- 实践作业区域 -->
  292. <div class="practice-assignments">
  293. <div class="section-subheader">
  294. <h3>实践作业</h3>
  295. <div class="assignment-stats">
  296. <span class="stat">待评审: 2</span>
  297. <span class="stat">进行中: 3</span>
  298. </div>
  299. </div>
  300. <div class="assignment-list">
  301. @for (assignment of practiceAssignments; track assignment.id) {
  302. <div class="assignment-card">
  303. <div class="assignment-header">
  304. <div class="assignment-title-section">
  305. <h4>{{ assignment.title }}</h4>
  306. <div class="assignment-badges">
  307. <span class="badge related-sop">关联SOP: {{ assignment.relatedSOP }}</span>
  308. </div>
  309. </div>
  310. <span [class]="'status-badge status-' + assignment.status">{{ getAssignmentStatusText(assignment.status) }}</span>
  311. </div>
  312. <div class="assignment-details">
  313. <p class="description">{{ assignment.description }}</p>
  314. <div class="assignment-meta">
  315. <div class="meta-item">
  316. <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  317. <path d="M8 2V3M8 13V14M1 8H2M14 8H15M12.5 3.5L13.5 2.5M3.5 13.5L2.5 12.5M12.5 12.5L13.5 13.5M3.5 3.5L2.5 2.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
  318. <circle cx="8" cy="8" r="5" stroke="currentColor" stroke-width="2"/>
  319. </svg>
  320. <span>截止日期: {{ assignment.deadline | date:'yyyy-MM-dd' }}</span>
  321. </div>
  322. @if (assignment.score !== null) {
  323. <div class="meta-item score-item">
  324. <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  325. <path d="M8 1L10.5 5.5L16 6L12 9L13 14L8 12L3 14L4 9L0 6L5.5 5.5L8 1Z" stroke="currentColor" stroke-width="2" fill="none"/>
  326. </svg>
  327. <span>得分: {{ assignment.score }}/100</span>
  328. </div>
  329. }
  330. </div>
  331. </div>
  332. <div class="assignment-actions">
  333. <button (click)="reviewAssignment(assignment.id)" class="btn-review btn-primary">
  334. <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  335. <path d="M8 1L10.5 5.5L16 6L12 9L13 14L8 12L3 14L4 9L0 6L5.5 5.5L8 1Z" stroke="white" stroke-width="2" fill="none"/>
  336. </svg>
  337. 评审作业
  338. </button>
  339. <button class="btn-secondary">下载资料</button>
  340. </div>
  341. </div>
  342. }
  343. </div>
  344. </div>
  345. </div>
  346. </section>
  347. </main>