diff --git a/src/api/login.js b/src/api/login.js index 649f59c..6acacd6 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -9,7 +9,7 @@ export function login(username, password, code, uuid) { uuid } return request({ - url: '/login', + url: '/indexLogin', headers: { isToken: false }, @@ -56,4 +56,4 @@ export function getCodeImg() { method: 'get', timeout: 20000 }) -} \ No newline at end of file +} diff --git a/src/api/report/lastShotRecord.js b/src/api/report/lastShotRecord.js new file mode 100644 index 0000000..e9c5add --- /dev/null +++ b/src/api/report/lastShotRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询箱体发泡注料记录报表列表 +export function listLastShotRecord(query) { + return request({ + url: '/report/lastShotRecord/list', + method: 'get', + params: query + }) +} + +// 查询箱体发泡注料记录报表详细 +export function getLastShotRecord(objId) { + return request({ + url: '/report/lastShotRecord/' + objId, + method: 'get' + }) +} + +// 新增箱体发泡注料记录报表 +export function addLastShotRecord(data) { + return request({ + url: '/report/lastShotRecord', + method: 'post', + data: data + }) +} + +// 修改箱体发泡注料记录报表 +export function updateLastShotRecord(data) { + return request({ + url: '/report/lastShotRecord', + method: 'put', + data: data + }) +} + +// 删除箱体发泡注料记录报表 +export function delLastShotRecord(objId) { + return request({ + url: '/report/lastShotRecord/' + objId, + method: 'delete' + }) +} diff --git a/src/views/report/fewerMistakesReport/index.vue b/src/views/report/fewerMistakesReport/index.vue index 5a60210..5c61b9a 100644 --- a/src/views/report/fewerMistakesReport/index.vue +++ b/src/views/report/fewerMistakesReport/index.vue @@ -1,42 +1,18 @@