Commit 2a6f35e8 authored by wuqinghua's avatar wuqinghua

Merge remote-tracking branch 'origin/master'

parents 0a204280 b62ff13c
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
<div class="el-form-div"> <div class="el-form-div">
<el-input v-model="form.longitude" placeholder="请输入经度" style="width: 120px" :disabled="readonly"/> <el-input v-model="form.longitude" placeholder="请输入经度" style="width: 120px" :disabled="readonly"/>
<el-input v-model="form.latitude" placeholder="请输入纬度" style="width: 120px;margin-left: 10px;" :disabled="readonly"/> <el-input v-model="form.latitude" placeholder="请输入纬度" style="width: 120px;margin-left: 10px;" :disabled="readonly"/>
<el-button type="primary" style="margin-left: 10px;" plain @click="MapdialogFun">选择经纬度</el-button> <el-button type="primary" :style="buttonstyle" plain @click="MapdialogFun">选择经纬度</el-button>
</div> </div>
</el-form-item> </el-form-item>
...@@ -293,6 +293,7 @@ export default { ...@@ -293,6 +293,7 @@ export default {
eventGradeOptions: [], eventGradeOptions: [],
// 弹出层标题 // 弹出层标题
title: "", title: "",
buttonstyle:"display:none",
//选择经纬度 //选择经纬度
dialogTableVisible:false, dialogTableVisible:false,
devicePos:[], devicePos:[],
...@@ -562,6 +563,7 @@ export default { ...@@ -562,6 +563,7 @@ export default {
this.reset(); this.reset();
this.open = true; this.open = true;
this.title = "添加事件接报"; this.title = "添加事件接报";
this.buttonstyle="margin-left:10px"
}, },
qiyechang(value){ qiyechang(value){
let obj = {}; let obj = {};
...@@ -574,12 +576,14 @@ export default { ...@@ -574,12 +576,14 @@ export default {
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
this.readonly=true; this.readonly=true;
this.buttonstyle="display:none";
this.reset(); this.reset();
const id = row.id || this.ids const id = row.id || this.ids
getReceive(id).then(response => { getReceive(id).then(response => {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改事件接报"; this.title = "修改事件接报";
document.getElementById("jingwei").style.display="none";
}); });
}, },
/** 提交按钮 */ /** 提交按钮 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment