| | |
| | | }).then(function (response) { |
| | | if (response.data.data.length > 0){ |
| | | that.deviceId = response.data.data.records[0].id; |
| | | that.form = response.data.data.records[0]; |
| | | |
| | | } |
| | | that.dialogTableVisible = true; |
| | | }); |
| | | |
| | | //that.dialogTableVisible = true; |
| | |
| | | export default { |
| | | name: "tcgl.vue", |
| | | created() { |
| | | this.getData(); |
| | | //this.getData(); |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | <el-row :align='center'> |
| | | <el-col :offset="4"> |
| | | <el-form-item > |
| | | <el-button type="success">一件呼叫</el-button> |
| | | <el-button type="success">一键呼叫</el-button> |
| | | <el-button type="success">视频对讲</el-button> |
| | | <el-button type="primary" @click.stop="generate(form)">生成警单</el-button> |
| | | <el-button type="warning" @click.stop="revoke(form)">警情撤销</el-button> |