From 31211a94d70eac56ae48e2e0f2ef0f4a272fbc21 Mon Sep 17 00:00:00 2001
From: FCD <2453864257@qq.com>
Date: Mon, 3 Nov 2025 10:04:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=99=BD=E5=9D=AF=E6=A3=80?=
=?UTF-8?q?=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 8 +
src/pages/quality/BpCheck/index.vue | 281 ++++++++++++++++++++++++++++
src/pages/quality/BpCheck/model.ts | 18 ++
src/static/styles/index.scss | 28 ++-
src/utils/url.ts | 5 +
5 files changed, 339 insertions(+), 1 deletion(-)
create mode 100644 src/pages/quality/BpCheck/index.vue
create mode 100644 src/pages/quality/BpCheck/model.ts
diff --git a/src/pages.json b/src/pages.json
index 147037a..1f3b7cc 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -695,6 +695,14 @@
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "pages/quality/BpCheck/index",
+ "style": {
+ "navigationBarTitleText": "白坯检验",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+ }
}
diff --git a/src/pages/quality/BpCheck/index.vue b/src/pages/quality/BpCheck/index.vue
new file mode 100644
index 0000000..a6caecd
--- /dev/null
+++ b/src/pages/quality/BpCheck/index.vue
@@ -0,0 +1,281 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/quality/BpCheck/model.ts b/src/pages/quality/BpCheck/model.ts
new file mode 100644
index 0000000..f0b5be0
--- /dev/null
+++ b/src/pages/quality/BpCheck/model.ts
@@ -0,0 +1,18 @@
+import http from '@/utils/request';
+import { url } from '@/utils/url';
+
+export function getCheckBpList(data: any): Promise {
+ return http.get(url.lanjuquality.checkBp.getCheckBpList, {
+ params: data,
+ });
+}
+
+export function getQcDefectTypeClassList(data: any): Promise {
+ return http.get(url.lanjuquality.checkBp.getQcDefectTypeClassList, {
+ params: data,
+ });
+}
+
+export function submitCheckResult(data: any): Promise {
+ return http.post(url.lanjuquality.checkBp.submitCheckResult, data);
+}
diff --git a/src/static/styles/index.scss b/src/static/styles/index.scss
index dddf6d7..cf7aa75 100644
--- a/src/static/styles/index.scss
+++ b/src/static/styles/index.scss
@@ -4,4 +4,30 @@
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
-}
\ No newline at end of file
+}
+
+//表单样式
+.page-form {
+ background-color: #fff;
+ margin-top: 10px;
+ padding: 30rpx;
+ border-radius: 10rpx;
+ box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
+
+ .u-form-item {
+ line-height: 35rpx;
+ }
+}
+
+
+//底部按钮
+.bottom-bar {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 99;
+ background: #ffffff;
+ box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
+ padding: 20rpx;
+}
diff --git a/src/utils/url.ts b/src/utils/url.ts
index 7489950..83f1533 100644
--- a/src/utils/url.ts
+++ b/src/utils/url.ts
@@ -388,5 +388,10 @@ export const url = {
getQcWaitCheckSampleTaskList: qianzhuione + '/quality/qc-check-sample-task/wait-list',
updateQcCheckSampleTask: qianzhuione + '/quality/qc-check-sample-task',
},
+ checkBp: {
+ getCheckBpList: qianzhuione + '/quality/checkBp/checkBpList',
+ getQcDefectTypeClassList: qianzhuione + '/quality/defectClass/list',
+ submitCheckResult: qianzhuione + '/quality/checkBp/submitCheckResult',
+ }
},
};