From 0277edbe2dda0c804bb20ffc85a7db40d543f7e3 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 9 Dec 2024 17:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E6=A3=80=E7=AE=A1=E7=90=86=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.dev | 4 +- src/http/api/quality-manage/index.ts | 22 + src/router/index.ts | 11 + src/views/user/index.vue | 1 + .../user/lessor/quality-manage/index.vue | 651 ++++++++++++++++++ 5 files changed, 687 insertions(+), 2 deletions(-) create mode 100644 src/http/api/quality-manage/index.ts create mode 100644 src/views/user/lessor/quality-manage/index.vue diff --git a/env/.env.dev b/env/.env.dev index 8455276..98cb05f 100644 --- a/env/.env.dev +++ b/env/.env.dev @@ -8,9 +8,9 @@ VITE_API_URL = '/proxyApi' # VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭 # VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅 -# VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超 +VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超 # VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务 -VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 +# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 # VITE_proxyTarget = 'http://192.168.2.129:18080' # 马帅j # VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型) diff --git a/src/http/api/quality-manage/index.ts b/src/http/api/quality-manage/index.ts new file mode 100644 index 0000000..fae9d70 --- /dev/null +++ b/src/http/api/quality-manage/index.ts @@ -0,0 +1,22 @@ +import { get, post } from '../../index' + +// 获取关联装备 +export const getAssociationListApi = (data: any = {}) => { + return get('/material-mall/dev/associationList', data) +} +// 新增质检数据 +export const addQualityDataApi = (data: any = {}) => { + return post('/material-mall/ma_qc/add', data) +} +// 获取质检列表 +export const getQualityListApi = (data: any = {}) => { + return get('/material-mall/ma_qc/list', data) +} +// 获取质检列表 -- 详情 +export const getQualityDetailsApi = (data: any = {}) => { + return get('/material-mall/ma_qc/qcList', data) +} +// 获取质检列表 -- 详情 +export const qualityDeleteByIdApi = (data: any = {}) => { + return post('/material-mall/ma_qc/deleteById', data) +} \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 7129d80..4ef24c8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -257,6 +257,17 @@ const routes: Array = [ isLogin: true }, }, + { + path: '/quality-manage', + name: 'quality-manage', + component: () => import('views/user/lessor/quality-manage/index.vue'), + meta: { + title: '质检管理', + keepAlive: true, + AuthFlag: false, + isLogin: true + }, + }, { path: '/sourcingNeed', name: 'sourcingNeed', diff --git a/src/views/user/index.vue b/src/views/user/index.vue index fa172c4..7f215dc 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -68,6 +68,7 @@ const allList = [ { title: '接单管理', name: 'accept-orders', permission: ['1'] }, { title: '退租管理', name: 'rent-termination', permission: ['1'] }, { title: '结算管理', name: 'settlement-manage', permission: ['1'] }, + { title: '质检管理', name: 'quality-manage', permission: ['1'] }, { title: '需求管理', name: 'sourcingNeed', permission: ['2'] }, { title: '订单管理', name: 'orderManagement', permission: ['2'] }, ] diff --git a/src/views/user/lessor/quality-manage/index.vue b/src/views/user/lessor/quality-manage/index.vue new file mode 100644 index 0000000..cf91f6d --- /dev/null +++ b/src/views/user/lessor/quality-manage/index.vue @@ -0,0 +1,651 @@ + + + + +