Commit cc86fffd by 李君

优化

1 parent 0e66488b
......@@ -34,7 +34,7 @@
<div class="manage-content">
<div class="asis-table-content" v-loading="loading">
<div class="xy-container">
<canvas id="editXycanvas" class="xycanvas"></canvas>
<canvas id="cameraCanvas" class="xycanvas"></canvas>
</div>
<canvas id='container' class="boxShadow"></canvas>
</div>
......@@ -48,8 +48,6 @@
data() {
return {
editChannelImg:'',
startTime:'',
endTime:'',
mallListForTerm: [],
areaListData: [],
areaOneObj:{},
......@@ -63,11 +61,8 @@
},
canvas: null, //canvas实例
ctx: null, //ctx画笔
widthX: 0, //缩放比例X
heightX: 0, //缩放比例Y
dataList: [], //点位坐标
pic: null,
channelNum:0,
deviceList:[],
deviceObj:{},
canvasDevice: null, //canvas实例
......@@ -81,7 +76,7 @@
this.ctx = this.canvas.getContext("2d");
this.canvas.width = document.body.clientWidth - 248;
this.canvas.height = 380;
this.canvasDevice = document.getElementById("editXycanvas");
this.canvasDevice = document.getElementById("cameraCanvas");
this.ctxDevice = this.canvasDevice.getContext("2d");
this.canvasDevice.width = 640;
this.canvasDevice.height = 360;
......@@ -119,7 +114,6 @@
mallChange(val) {
this.setSessionLocal("mallId", val);
this.searchForm.cashierAreaId = ''
this.channelNum = 0
this.getAreaList(val)
// this.getOpenTime()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!