From 7652a3d02b33ad61caeeb50b711cd642da40039d Mon Sep 17 00:00:00 2001
From: "JinLu.Yin" <411641505@qq.com>
Date: Wed, 11 May 2022 00:33:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=A3=85=E5=A4=B9=E5=85=B7=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/tm/tooltype.js | 44 +++
src/views/mes/tm/tooltype/index.vue | 401 ++++++++++++++++++++++++++++
2 files changed, 445 insertions(+)
create mode 100644 src/api/mes/tm/tooltype.js
create mode 100644 src/views/mes/tm/tooltype/index.vue
diff --git a/src/api/mes/tm/tooltype.js b/src/api/mes/tm/tooltype.js
new file mode 100644
index 0000000..1e22e57
--- /dev/null
+++ b/src/api/mes/tm/tooltype.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询工装夹具类型列表
+export function listTooltype(query) {
+ return request({
+ url: '/mes/tm/tooltype/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询工装夹具类型详细
+export function getTooltype(toolTypeId) {
+ return request({
+ url: '/mes/tm/tooltype/' + toolTypeId,
+ method: 'get'
+ })
+}
+
+// 新增工装夹具类型
+export function addTooltype(data) {
+ return request({
+ url: '/mes/tm/tooltype',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改工装夹具类型
+export function updateTooltype(data) {
+ return request({
+ url: '/mes/tm/tooltype',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除工装夹具类型
+export function delTooltype(toolTypeId) {
+ return request({
+ url: '/mes/tm/tooltype/' + toolTypeId,
+ method: 'delete'
+ })
+}
diff --git a/src/views/mes/tm/tooltype/index.vue b/src/views/mes/tm/tooltype/index.vue
new file mode 100644
index 0000000..f13b923
--- /dev/null
+++ b/src/views/mes/tm/tooltype/index.vue
@@ -0,0 +1,401 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+ {{scope.row.toolTypeCode}}
+
+
+
+
+
+
+
+
+
+
+
+ {{ "无" }}
+
+
+
+
+ {{ scope.row.maintenPeriod +"天" }}
+ {{ scope.row.maintenPeriod +"次" }}
+ {{ "无" }}
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+