diff --git a/src/api/base/deviceLedger.js b/src/api/base/deviceLedger.js
index f8c2239..9e3ddf4 100644
--- a/src/api/base/deviceLedger.js
+++ b/src/api/base/deviceLedger.js
@@ -51,3 +51,12 @@ export function getDeviceCode(query) {
params: query
})
}
+
+// 查询设备台账列表
+export function getDeviceLedgerList(query) {
+ return request({
+ url: '/base/deviceLedger/getDeviceLedgerList',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/views/base/deviceLedger/index.vue b/src/views/base/deviceLedger/index.vue
index 76492b5..73328bf 100644
--- a/src/views/base/deviceLedger/index.vue
+++ b/src/views/base/deviceLedger/index.vue
@@ -230,7 +230,7 @@
v-for="dict in dict.type.device_type"
:key="dict.value"
:label="dict.label"
- :value="parseInt(dict.value)"
+ :value="dict.value"
>
@@ -239,19 +239,32 @@
-
-
-
+
+
+
+
-
-
+
+
+
+
-
-
-
-
+
+
-
-
-
-
+
+
@@ -296,18 +295,18 @@
>
+
+
+ {{ dict.label }}
+
+
+
-
-
- {{ dict.label }}
-
-
-
@@ -450,7 +449,7 @@ export default {
deviceCode: null,
deviceName: null,
deviceModel: null,
- deviceType: null,
+ deviceType: '1',
deviceAddress: null,
deviceStatus: 0,
usedDepartment: null,
diff --git a/src/views/base/deviceParam/index.vue b/src/views/base/deviceParam/index.vue
index 4614b53..d4b16e2 100644
--- a/src/views/base/deviceParam/index.vue
+++ b/src/views/base/deviceParam/index.vue
@@ -9,6 +9,16 @@
+
+
+
+
+
+
+
@@ -91,9 +103,12 @@
-
-
+
+
+
+
+
@@ -137,6 +152,16 @@
+
+
+
+
+
@@ -159,9 +184,6 @@
>
-
-
-
@@ -185,6 +207,8 @@