diff --git a/src/api/quality/qcProjectType.js b/src/api/quality/qcProjectType.js new file mode 100644 index 0000000..a826823 --- /dev/null +++ b/src/api/quality/qcProjectType.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检验方案维护列表 +export function listQcProjectType(query) { + return request({ + url: '/quality/qcProjectType/list', + method: 'get', + params: query + }); +} + +// 查询检验方案维护详细 +export function getQcProjectType(id) { + return request({ + url: '/quality/qcProjectType/' + id, + method: 'get' + }); +} + +// 新增检验方案维护 +export function addQcProjectType(data) { + return request({ + url: '/quality/qcProjectType', + method: 'post', + data: data + }); +} + +// 修改检验方案维护 +export function updateQcProjectType(data) { + return request({ + url: '/quality/qcProjectType', + method: 'put', + data: data + }); +} + +// 删除检验方案维护 +export function delQcProjectType(id) { + return request({ + url: '/quality/qcProjectType/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/qcSampleRule.js b/src/api/quality/qcSampleRule.js new file mode 100644 index 0000000..89782bd --- /dev/null +++ b/src/api/quality/qcSampleRule.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询来料抽样规则列表 +export function listQcSampleRule(query) { + return request({ + url: '/quality/qcSampleRule/list', + method: 'get', + params: query + }); +} + +// 查询来料抽样规则详细 +export function getQcSampleRule(id) { + return request({ + url: '/quality/qcSampleRule/' + id, + method: 'get' + }); +} + +// 新增来料抽样规则 +export function addQcSampleRule(data) { + return request({ + url: '/quality/qcSampleRule', + method: 'post', + data: data + }); +} + +// 修改来料抽样规则 +export function updateQcSampleRule(data) { + return request({ + url: '/quality/qcSampleRule', + method: 'put', + data: data + }); +} + +// 删除来料抽样规则 +export function delQcSampleRule(id) { + return request({ + url: '/quality/qcSampleRule/' + id, + method: 'delete' + }); +} diff --git a/src/router/index.js b/src/router/index.js index 1524fe6..36885c6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -174,6 +174,20 @@ export const dynamicRoutes = [ } ] }, + { + path: '/qua/quality/qcProject-data', + component: Layout, + hidden: true, + permissions: ['quality:qcProjectType:edit'], + children: [ + { + path: 'index/:projectType(\\w+)', + component: () => import('@/views/quality/qcProjectType/data'), + name: 'ProjectData', + meta: { title: '检验方案详情', activeMenu: '/quality/qcProjectType' } + } + ] + }, { path: '/monitor/job-log', component: Layout, diff --git a/src/views/quality/project/index.vue b/src/views/quality/project/index.vue index 3540349..49f83df 100644 --- a/src/views/quality/project/index.vue +++ b/src/views/quality/project/index.vue @@ -38,6 +38,19 @@ @keyup.enter.native="handleQuery" /> + + + + + 搜索 重置 @@ -87,6 +100,15 @@ v-hasPermi="['quality:project:export']" >导出 + + 检验方案 + @@ -141,6 +163,20 @@ + + + + + + + + + @@ -227,14 +263,19 @@ 取 消 + + + + \ No newline at end of file diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index c359ddd..668c18b 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -142,8 +142,8 @@ :disabled="multiple" @click="handleDelete" v-hasPermi="['quality:qcProduce:remove']" - >删除--> - + >删除 + --> +
+ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导入 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
将文件拖到此处,或点击上传
+
+
+ 是否更新已经存在的用户数据 +
+ 仅允许导入xls、xlsx格式文件。 + 下载模板 +
+
+ +
+ +
+ + + diff --git a/src/views/quality/qcProjectType/index.vue b/src/views/quality/qcProjectType/index.vue new file mode 100644 index 0000000..af6a6e1 --- /dev/null +++ b/src/views/quality/qcProjectType/index.vue @@ -0,0 +1,277 @@ + + + diff --git a/src/views/quality/qcSampleRule/index.vue b/src/views/quality/qcSampleRule/index.vue new file mode 100644 index 0000000..9274ed0 --- /dev/null +++ b/src/views/quality/qcSampleRule/index.vue @@ -0,0 +1,360 @@ + + +