From 2973a271add35b033adb9a54aa5e9c89bf2da568 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Wed, 25 Oct 2023 09:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=BF=87=E7=A8=8B=E6=A3=80?= =?UTF-8?q?=E9=AA=8C+=E6=89=8B=E6=8C=81=E7=89=88=E6=9C=AC=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.conf | 4 + src/api/quality/qcProduce.js | 9 + src/api/system/apkFile.js | 44 ++ src/views/quality/qcIncome/index.vue | 27 +- src/views/quality/qcIncome/selectUser.vue | 2 +- src/views/quality/qcProduce/index.vue | 485 +++++++++++++--------- src/views/system/apkFile/index.vue | 289 +++++++++++++ src/views/technology/baseFile/index.vue | 33 +- 8 files changed, 669 insertions(+), 224 deletions(-) create mode 100644 src/api/system/apkFile.js create mode 100644 src/views/system/apkFile/index.vue diff --git a/default.conf b/default.conf index 01c26af..e3d2159 100644 --- a/default.conf +++ b/default.conf @@ -10,6 +10,10 @@ server { index index.html index.htm; } + location /download/ { + root /opt/apkFile/; + } + location /prod-api/ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; diff --git a/src/api/quality/qcProduce.js b/src/api/quality/qcProduce.js index c196e8d..bf7b4ad 100644 --- a/src/api/quality/qcProduce.js +++ b/src/api/quality/qcProduce.js @@ -42,3 +42,12 @@ export function delQcProduce(recordId) { method: 'delete' }); } + +// 查询工作中心列表 +export function getQcListWorkCenter(query) { + return request({ + url: '/quality/qcProduce/getQcListWorkCenter', + method: 'get', + params: query + }); + } \ No newline at end of file diff --git a/src/api/system/apkFile.js b/src/api/system/apkFile.js new file mode 100644 index 0000000..efc3f62 --- /dev/null +++ b/src/api/system/apkFile.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询手持apk版本控制列表 +export function listFile(query) { + return request({ + url: '/system/apkFile/list', + method: 'get', + params: query + }); +} + +// 查询手持apk版本控制详细 +export function getFile(id) { + return request({ + url: '/system/apkFile/' + id, + method: 'get' + }); +} + +// 新增手持apk版本控制 +export function addFile(data) { + return request({ + url: '/system/apkFile', + method: 'post', + data: data + }); +} + +// 修改手持apk版本控制 +export function updateFile(data) { + return request({ + url: '/system/apkFile', + method: 'put', + data: data + }); +} + +// 删除手持apk版本控制 +export function delFile(id) { + return request({ + url: '/system/apkFile/' + id, + method: 'delete' + }); +} diff --git a/src/views/quality/qcIncome/index.vue b/src/views/quality/qcIncome/index.vue index 4b901c2..c74023f 100644 --- a/src/views/quality/qcIncome/index.vue +++ b/src/views/quality/qcIncome/index.vue @@ -1,6 +1,14 @@ - - - - - - - + + + + @@ -275,95 +230,142 @@ /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/technology/baseFile/index.vue b/src/views/technology/baseFile/index.vue index 0568168..507dcdb 100644 --- a/src/views/technology/baseFile/index.vue +++ b/src/views/technology/baseFile/index.vue @@ -99,37 +99,8 @@ - - - + +