保养信息维护

This commit is contained in:
zhangdingyu
2019-12-05 16:15:21 +08:00
parent c1ae54151d
commit 3a57aece0b
2 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import request from '@/utils/request'
// 获取工位 表1
export function getTableData1() {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: 'SELECT *FROM [基础数据_设备工位点检表]inner join dbo.基础数据_点检类型名称 on [基础数据_设备工位点检表].点检表类型 = 基础数据_点检类型名称.点检表类型流水号'
}
})
}
// 点检类型 表2
export function getTableData2() {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: 'select * from 基础数据_点检类型名称'
}
})
}
// 点检内容 表3
export function getTableData3(num) {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: `select * from 基础数据_点检内容 where 点检表类型 = ${num}`
}
})
}