diff --git a/Web/src/api/common/index.js b/Web/src/api/common/index.js index 2859ee6..b288e88 100644 --- a/Web/src/api/common/index.js +++ b/Web/src/api/common/index.js @@ -19,6 +19,15 @@ export function getCommonInfoById(urlName,id) { }) } +// 新增提交 +export function postCommonCreate(urlName,data) { + return request({ + url: `/api/${urlName}/create`, + method: 'post', + data + }) +} + // 修改提交 export function putCommonUpdate(urlName,data) { return request({ @@ -28,6 +37,18 @@ export function putCommonUpdate(urlName,data) { }) } +// 删除提交 +export function deleteCommonApi(urlName,id) { + return request({ + url: `/api/${urlName}/delete`, + method: 'DELETE', + headers:{ + 'content-type':'application/json-patch+json' + }, + data:id + }) +} + // 导出 export function postCommonExport(urlName,data) { return request({ diff --git a/Web/src/components/apiEditPop/index.vue b/Web/src/components/apiEditPop/index.vue index b6039ad..a202c51 100644 --- a/Web/src/components/apiEditPop/index.vue +++ b/Web/src/components/apiEditPop/index.vue @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierBom/index.vue b/Web/src/views/productionQuality/supplierBom/index.vue new file mode 100644 index 0000000..2b41553 --- /dev/null +++ b/Web/src/views/productionQuality/supplierBom/index.vue @@ -0,0 +1,27 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierEmployee/index.vue b/Web/src/views/productionQuality/supplierEmployee/index.vue new file mode 100644 index 0000000..d4c6cb6 --- /dev/null +++ b/Web/src/views/productionQuality/supplierEmployee/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierInfo/index.vue b/Web/src/views/productionQuality/supplierInfo/index.vue new file mode 100644 index 0000000..dfc0ff0 --- /dev/null +++ b/Web/src/views/productionQuality/supplierInfo/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierProCps/index.vue b/Web/src/views/productionQuality/supplierProCps/index.vue new file mode 100644 index 0000000..a885862 --- /dev/null +++ b/Web/src/views/productionQuality/supplierProCps/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierProData/index.vue b/Web/src/views/productionQuality/supplierProData/index.vue new file mode 100644 index 0000000..a5dfebe --- /dev/null +++ b/Web/src/views/productionQuality/supplierProData/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierProFirstPassyield/index.vue b/Web/src/views/productionQuality/supplierProFirstPassyield/index.vue new file mode 100644 index 0000000..2e84fc9 --- /dev/null +++ b/Web/src/views/productionQuality/supplierProFirstPassyield/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierProMaterialStock/index.vue b/Web/src/views/productionQuality/supplierProMaterialStock/index.vue index 47b1a86..c8e23b3 100644 --- a/Web/src/views/productionQuality/supplierProMaterialStock/index.vue +++ b/Web/src/views/productionQuality/supplierProMaterialStock/index.vue @@ -5,12 +5,12 @@ :searchOptions="state.searchOptions" :searchFilter="state.searchFilter" :rightOperation="state.rightOperation" - :apiEditFormRules="state.apiEditFormRules" - :searchButtons="['search','import','export','custominvoke']" + :searchButtons="['search','export','custominvoke']" > \ No newline at end of file diff --git a/Web/src/views/productionQuality/supplierProScheduling/index.vue b/Web/src/views/productionQuality/supplierProScheduling/index.vue index 6530b0d..a5b611e 100644 --- a/Web/src/views/productionQuality/supplierProScheduling/index.vue +++ b/Web/src/views/productionQuality/supplierProScheduling/index.vue @@ -7,6 +7,7 @@