diff --git a/src/api/model/mtm.js b/src/api/model/mtm.js index 6c237bb1..899656b5 100644 --- a/src/api/model/mtm.js +++ b/src/api/model/mtm.js @@ -135,6 +135,14 @@ export default { data); } }, + daoru: { + name: "导入", + req: async function(data){ + return await http.post( + `${config.API_URL}/mtm/material/daoru/`, + data); + } + }, }, // 测点集 mgroup: { diff --git a/src/views/mtm/materials.vue b/src/views/mtm/materials.vue index c7ce729c..de0893f3 100644 --- a/src/views/mtm/materials.vue +++ b/src/views/mtm/materials.vue @@ -3,6 +3,8 @@
新增 + +
@@ -30,12 +32,13 @@ {{ typeOptions[scope.row.type] }} {{ scope.row.process_name - }} + }} +