diff --git a/README.md b/README.md
index d951fff..aa74669 100644
--- a/README.md
+++ b/README.md
@@ -30,5 +30,5 @@ npm test
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
# 注意事项
-+ 屏幕分辨率1280 * 960
-+ 15寸分辨率1024*768(这个为标准)
\ No newline at end of file
++ 屏幕尺寸1920 * 1080
++ 一体机尺寸1024*768(这个为标准)
\ No newline at end of file
diff --git a/src/config/getData.js b/src/config/getData.js
index 8c5d10f..c8350b5 100644
--- a/src/config/getData.js
+++ b/src/config/getData.js
@@ -35,6 +35,4 @@ export const areaControl = (code, option) => post('api/pda/areaControl', {
option: option
})
// 1.10 查询设备状态
-export const queryDevice = (code) => post('api/pda/queryDevice', {
- device_code: code
-})
+export const queryDevice = (arr) => post('api/pda/queryDevice', arr)
diff --git a/src/config/mork.js b/src/config/mork.js
index 1f0e9ca..fcf0676 100644
--- a/src/config/mork.js
+++ b/src/config/mork.js
@@ -54,27 +54,19 @@ export const areaControl = (code, option) => {
return res
}
export const queryDevice = (t) => {
- let res = {}
- if (t === 0) {
- res = {
- data: {car1: {x: 105, y: 312, angle: 90}}
- }
- } else if (t === 1) {
- res = {
- data: {car1: {x: 105, y: 262, angle: 180}}
- }
- } else if (t === 2) {
- res = {
- data: {car1: {x: 105, y: 202, angle: 180}}
- }
- } else if (t === 3) {
- res = {
- data: {car1: {x: 105, y: 262, angle: 90}}
- }
- } else if (t === 4) {
- res = {
- data: {car1: {x: 105, y: 312, angle: 90}}
- }
+ let res = {
+ "one": {
+ "x": 15821,
+ "y": 60912,
+ "angle": 90
+ },
+ "message": "操作成功",
+ "two": {
+ "x": 15821,
+ "y": 60912,
+ "angle": 90
+ },
+ "status": 200
}
return res
}
diff --git a/src/images/agv_right.png b/src/images/agv_right.png
index 7598182..0f6c2e8 100644
Binary files a/src/images/agv_right.png and b/src/images/agv_right.png differ
diff --git a/src/images/area_bg.png b/src/images/area_bg.png
index 6e1d899..e463564 100644
Binary files a/src/images/area_bg.png and b/src/images/area_bg.png differ
diff --git a/src/pages/canvas_new.vue b/src/pages/canvas_new.vue
new file mode 100644
index 0000000..840dab1
--- /dev/null
+++ b/src/pages/canvas_new.vue
@@ -0,0 +1,137 @@
+
+