diff --git a/src/api/ManufacturingCenter/maintainInformation.js b/src/api/ManufacturingCenter/maintainInformation.js
index 98bd5d0d..546892c5 100644
--- a/src/api/ManufacturingCenter/maintainInformation.js
+++ b/src/api/ManufacturingCenter/maintainInformation.js
@@ -33,3 +33,87 @@ export function getTableData3(num) {
}
})
}
+// 表1 编辑
+export function editType(num1, num2) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `update [基础数据_设备工位点检表] set 点检表类型 = ${num1} where ID = ${num2}`
+ }
+ })
+}
+export function confirmEdit1(num1, num2) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `update [基础数据_点检类型名称] set 点检表类型名称 = '${num1}' where 点检表类型流水号 = ${num2}`
+ }
+ })
+}
+export function confirmEdit2(num1, num2, num3) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `update 基础数据_点检内容 set 保养周期 = ${num1} ,保养项目 = '${num2}' where ID = ${num3}`
+ }
+ })
+}
+export function openDelete1(num1) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `delete 基础数据_点检类型名称 where 点检表类型流水号 = ${num1}`
+ }
+ })
+}
+export function selectCount(num1) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '3',
+ name: `SELECT 工位号 FROM [基础数据_设备工位点检表] where 点检表类型 = ${num1}`
+ }
+ })
+}
+export function openDelete2(num1) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `delete 基础数据_点检内容 where ID = ${num1}`
+ }
+ })
+}
+export function submit1(num1) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: `insert into 基础数据_点检类型名称 (点检表类型名称) values ('${num1}')`
+ }
+ })
+}
+export function submit2(num1, num2, num3) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '4',
+ name: ` declare @id int = 0
+ SELECT top 1 @id = ID FROM [ERPTOOL_GJ].[dbo].基础数据_点检内容 order by ID desc
+ set @id = @id + 1
+ insert into 基础数据_点检内容 (点检任务编号,点检表类型,保养项目,保养周期) values (@id,${num1},'${num2}',${num3})`
+ }
+ })
+}
diff --git a/src/icons/svg/maintainInformation.svg b/src/icons/svg/maintainInformation.svg
new file mode 100644
index 00000000..efcc00d2
--- /dev/null
+++ b/src/icons/svg/maintainInformation.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/ManufacturingCenter/maintainInformation/index.vue b/src/views/ManufacturingCenter/maintainInformation/index.vue
index 30fbc699..ad39056d 100644
--- a/src/views/ManufacturingCenter/maintainInformation/index.vue
+++ b/src/views/ManufacturingCenter/maintainInformation/index.vue
@@ -21,7 +21,7 @@
-
+
- {{ scope.row.点检表类型名称 }}
+
+
+
+ {{ scope.row.点检表类型名称 }}
+
+
+
+
+ 新增
+
+
+ 确定
+ 取消
+ 编辑
+ 删除
@@ -49,26 +63,83 @@
- 天
- 周
- 月
- 季
- 年
+
+
+
+
+
+
+ 日
+ 周
+ 月
+ 季
+ 年
+
- {{ scope.row.保养项目 }}
+
+
+
+ {{ scope.row.保养项目 }}
+
+
+
+
+ 新增
+
+
+ 确定
+ 取消
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+