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', + } }, };