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 @@ - - - + +