diff --git a/src/api/base/monitorInfo.js b/src/api/base/monitorInfo.js new file mode 100644 index 0000000..b7c42d0 --- /dev/null +++ b/src/api/base/monitorInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询计量设备信息列表 +export function listMonitorInfo(query) { + return request({ + url: '/base/monitorInfo/list', + method: 'get', + params: query + }) +} + +// 查询计量设备信息详细 +export function getMonitorInfo(objId) { + return request({ + url: '/base/monitorInfo/' + objId, + method: 'get' + }) +} + +// 新增计量设备信息 +export function addMonitorInfo(data) { + return request({ + url: '/base/monitorInfo', + method: 'post', + data: data + }) +} + +// 修改计量设备信息 +export function updateMonitorInfo(data) { + return request({ + url: '/base/monitorInfo', + method: 'put', + data: data + }) +} + +// 删除计量设备信息 +export function delMonitorInfo(objId) { + return request({ + url: '/base/monitorInfo/' + objId, + method: 'delete' + }) +} diff --git a/src/views/base/inStore/index.vue b/src/views/base/inStore/index.vue index e943b51..78280a2 100644 --- a/src/views/base/inStore/index.vue +++ b/src/views/base/inStore/index.vue @@ -240,7 +240,7 @@ import { listInStore, getInStore, delInStore, addInStore, updateInStore } from " export default { name: "InStore", - dicts: ['entry_or_exit', 'is_flag'], + dicts: ['entry_or_exit', 'is_flag','material_type'], data() { return { // 遮罩层 diff --git a/src/views/login.vue b/src/views/login.vue index f60dbf4..77c4bfc 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -72,8 +72,8 @@ export default { return { codeUrl: "", loginForm: { - username: "admin", - password: "admin123", + username: "", + password: "", rememberMe: false, code: "", uuid: ""