| | |
| | | "resolved": "https://registry.npm.taobao.org/vue-axios/download/vue-axios-2.1.5.tgz?cache=0&sync_timestamp=1609936343418&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-axios%2Fdownload%2Fvue-axios-2.1.5.tgz", |
| | | "integrity": "sha1-GvS/EhjtcTCcdq+zjQ9oPjEsJKc=" |
| | | }, |
| | | "vue-directive-image-previewer": { |
| | | "version": "2.2.2", |
| | | "resolved": "https://registry.npm.taobao.org/vue-directive-image-previewer/download/vue-directive-image-previewer-2.2.2.tgz", |
| | | "integrity": "sha1-VtdOerEJvptf05mob/ho8uLKdUo=", |
| | | "dev": true, |
| | | "requires": { |
| | | "lodash": "^4.17.10", |
| | | "vue": "^2.4.2" |
| | | } |
| | | }, |
| | | "vue-eslint-parser": { |
| | | "version": "2.0.3", |
| | | "resolved": "https://registry.npm.taobao.org/vue-eslint-parser/download/vue-eslint-parser-2.0.3.tgz?cache=0&sync_timestamp=1608031064701&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-eslint-parser%2Fdownload%2Fvue-eslint-parser-2.0.3.tgz", |
| | |
| | | var lgtd = that.getQueryStringByKey('jd'); |
| | | var lttd = that.getQueryStringByKey('wd'); |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/detail?id=" + openid, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | | that.addPoint(that.addEntitys, data.data.jd, data.data.wd, './images/jingbaored.png') |
| | | } |
| | | }) |
| | | console.log(openid, lgtd, lttd, 123465) |
| | | |
| | | that.addPoint(that.addEntitys, lgtd, lttd, './images/jingbaored.png'); |
| | | |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com/api/blade-jfpts/position/position/selectfj", |
| | |
| | | success: function (data) { |
| | | console.log(data) |
| | | data.data.forEach(item => { |
| | | that.addPoint(that.addEntitys, item.jd, item.wd, './images/security.png') |
| | | that.addPoints(that.addEntitys, item.jd, item.wd, './images/security.png') |
| | | }) |
| | | } |
| | | }) |
| | |
| | | }, |
| | | |
| | | addPoint: function (entitys, lgtd, lttd, img) { |
| | | var symbol = new esri.symbol.PictureMarkerSymbol(img, 22, 32); |
| | | var pt = new Point(lgtd, lttd, new SpatialReference({ |
| | | wkid: 4326 |
| | | })); |
| | | var graphic = new esri.Graphic(pt, symbol); |
| | | entitys.add(graphic); |
| | | }, |
| | | |
| | | addPoints: function (entitys, lgtd, lttd, img) { |
| | | var symbol = new esri.symbol.PictureMarkerSymbol(img, 20, 20); |
| | | var pt = new Point(lgtd, lttd, new SpatialReference({ |
| | | wkid: 4326 |
| | |
| | | >视频通话 |
| | | </el-button> |
| | | <el-button |
| | | v-show="false" |
| | | type="primary" |
| | | @click.stop=" |
| | | (oldVideoSatart = true), (videoConversationReal = false) |
| | |
| | | </el-form> |
| | | |
| | | <div |
| | | v-if="form.jtype != 2" |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | |
| | | <i class="el-icon-document avue-group__icon"></i> |
| | | <h1 class="avue-group__title">人员信息</h1> |
| | | <el-button |
| | | @click="onSubmit('通知保安')" |
| | | type="danger" |
| | | @click="onSubmit('通知' + ensureNames, 1), (flag = false)" |
| | | size="small" |
| | | style="position: absolute; right: 0" |
| | | :disabled="!flag" |
| | | :type="!flag ? 'info' : 'danger'" |
| | | >通 知</el-button |
| | | > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-card> |
| | | <el-card v-if="form.jtype != 2"> |
| | | <el-table |
| | | ref="multipleTable" |
| | | :data="tableData" |
| | |
| | | @selection-change="handleSelectionChange" |
| | | max-height="240" |
| | | > |
| | | <el-table-column v-if="false" type="selection" width="55" align="center"> |
| | | <el-table-column |
| | | v-if="flag" |
| | | type="selection" |
| | | width="55" |
| | | align="center" |
| | | > |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | |
| | | <el-row :align="center" style="margin-top: 40px"> |
| | | <el-col :offset="10"> |
| | | <el-button |
| | | @click="onSubmit('处理完成')" |
| | | @click="onSubmit('处理完成', 2)" |
| | | :disabled="form.jtype == 2 ? true : false" |
| | | :type="form.jtype == 2 ? 'info' : 'danger'" |
| | | >处理完成</el-button |
| | |
| | | <iframe |
| | | id="mapDiv" |
| | | ref="mapDiv" |
| | | src="https://web.byisf.com/map/index.html?openid=ClientManagement" |
| | | :src="baseUrl" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | |
| | | import axios from "axios"; |
| | | |
| | | export default { |
| | | inject: ["reload"], |
| | | data() { |
| | | return { |
| | | flag: true, |
| | | selectOptions: [], |
| | | receivingList: [], |
| | | security: { |
| | |
| | | }, |
| | | tableData: [], |
| | | multipleSelection: [], |
| | | ensureNames: "", |
| | | baseUrl: "", |
| | | }; |
| | | }, |
| | | created() { |
| | | this.form = this.$route.query; |
| | | this.getReceivingAlarm(); |
| | | this.baseUrl = `/map/index.html?ISinit=1&openid=AlertSecurity&id=${this.form.id}&jd=${this.form.jd}&wd=${this.form.wd}`; |
| | | }, |
| | | mounted() { |
| | | this.getList(); |
| | | |
| | | this.$refs.mapDiv.onload = () => { |
| | | window.frames[0].init("AlertSecurity", { |
| | | x: this.form.jd, |
| | | y: this.form.wd, |
| | | }); |
| | | }; |
| | | }, |
| | | updated() { |
| | | |
| | | |
| | | var arr = []; |
| | | this.tableData.forEach((item) => { |
| | | if (item.roleName == "管理员") { |
| | |
| | | currenS, |
| | | }; |
| | | }, |
| | | onSubmit(zc) { |
| | | onSubmit(zc, jtype) { |
| | | var that = this; |
| | | axios |
| | | .post( |
| | |
| | | { |
| | | params: { |
| | | jid: this.form.id, |
| | | jtype: 2, |
| | | jtype: jtype, |
| | | rid: this.form.alarmId, |
| | | bz: this.form.bz, |
| | | snumber: this.form.alarmId, |
| | |
| | | } |
| | | ) |
| | | .then(function (res) { |
| | | if (res.msg == "修改成功") { |
| | | that.getReceivingAlarm(); |
| | | |
| | | if (jtype == 2) { |
| | | var arr = []; |
| | | that.$store.state.tags.tagList.forEach((item) => { |
| | | if (item.value != that.$store.state.tags.tag.value) { |
| | |
| | | that.$store.state.tags.tagList = arr; |
| | | that.$router.go(-1); |
| | | } |
| | | that.getReceivingAlarm(); |
| | | }); |
| | | }, |
| | | |
| | |
| | | |
| | | getList() { |
| | | var that = this; |
| | | // .post("/api/blade-jfpts/alarm/alarm/queryBa", {}, {}) |
| | | axios |
| | | .get("/api/blade-user/page?current=1&size=9999&deptId=&work_status=") |
| | | .get("/api/blade-user/pages?current=1&size=9999&deptId=&work_status=") |
| | | .then(function (res) { |
| | | that.tableData = []; |
| | | console.log(res); |
| | | var i = 0; |
| | | res.data.data.records.forEach((item) => { |
| | | if (item.roleName == "处警员" || item.roleName == "管理员") { |
| | |
| | | }, |
| | | |
| | | handleSelectionChange(val) { |
| | | this.ensureNames = ""; |
| | | val.forEach((item, index) => { |
| | | if (index == val.length - 1) { |
| | | this.ensureNames += item.name; |
| | | this.ensureNames += "。"; |
| | | } else { |
| | | this.ensureNames += item.name; |
| | | this.ensureNames += "、"; |
| | | } |
| | | }); |
| | | |
| | | this.multipleSelection = val; |
| | | }, |
| | | |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-22 11:52:42 |
| | | * @Last Modified time: 2021-03-25 14:59:09 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | >视频通话 |
| | | </el-button> |
| | | <el-button |
| | | v-show="false" |
| | | type="primary" |
| | | @click.stop=" |
| | | (oldVideoSatart = true), (videoConversationReal = false) |
| | |
| | | }; |
| | | |
| | | if ( |
| | | this.$route.query.waringType && |
| | | this.$route.query.waringType && |
| | | this.$route.query != undefined && |
| | | this.$route.query != null && |
| | | this.$route.query != "" |
| | |
| | | }; |
| | | } |
| | | |
| | | if(this.$route.query.startTime!=undefined && this.$route.query.startTime!=null && this.$route.query.startTime!=''){ |
| | | if ( |
| | | this.$route.query.startTime != undefined && |
| | | this.$route.query.startTime != null && |
| | | this.$route.query.startTime != "" |
| | | ) { |
| | | params = { |
| | | waringType: this.$route.query.waringType, |
| | | beginTime: this.$route.query.startTime, |
| | | endTime: this.$route.query.endTime |
| | | } |
| | | endTime: this.$route.query.endTime, |
| | | }; |
| | | } |
| | | } |
| | | |
| | |
| | | .then(function () { |
| | | that.dialogTableVisible = false; |
| | | that.onLoad(that.page, that.query); |
| | | that.$router.push({ path: "/policeTracking/track", query: that.form }); |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | | query: that.form, |
| | | }); |
| | | }); |
| | | }, |
| | | beginTimeOrEndTime(time) { |