|
|
|
@ -90,7 +90,7 @@
|
|
|
|
|
<el-button type="primary" @click="handleShowErr"
|
|
|
|
|
>手动拍照</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" @click="handleShowErr"
|
|
|
|
|
<el-button type="primary" @click="handleShowGPS"
|
|
|
|
|
>获取GPS位置</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" @click="handleShowErr"
|
|
|
|
@ -302,6 +302,18 @@ export default {
|
|
|
|
|
handleUpGrade() {
|
|
|
|
|
this.$refs.deviceupgrade_ref.display();
|
|
|
|
|
},
|
|
|
|
|
//获取GPS位置
|
|
|
|
|
handleShowGPS() {
|
|
|
|
|
this.$alert("这是一段内容", "标题名称", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
callback: (action) => {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "info",
|
|
|
|
|
message: `action: ${action}`,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//图片绘制
|
|
|
|
|
handlePanel() {
|
|
|
|
|
//const nodes = this.$refs.tree.getNode(this.currentNodekey).data; //若节点可被选择,则返回目前被选中的节点所组成的数组
|
|
|
|
|