| | |
| | | :append-to-body="true" |
| | | :close-on-press-escape="false" |
| | | :close-on-click-modal="false" |
| | | <<<<<<< HEAD |
| | | ======= |
| | | :show-close="false" |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | @close="closeDialog" |
| | | > |
| | | <el-form |
| | |
| | | disabled="true" |
| | | v-model="form.phoneNumber" |
| | | autocomplete="off" |
| | | <<<<<<< HEAD |
| | | style="width: calc(100% - 110px)" |
| | | ></el-input> |
| | | <el-button |
| | |
| | | <i class="el-icon-phone-outline"></i> |
| | | 联系负责人 |
| | | </el-button> |
| | | ======= |
| | | ></el-input> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="行政区"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.district" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | <el-form-item label="省份" class="cityClassParams"> |
| | | <avue-form :option="itemOption" v-model="form"></avue-form> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <<<<<<< HEAD |
| | | <el-form-item label="监控视频"> |
| | | <el-button type="success" @click.stop="queryOldVideo(form)" |
| | | >视频通话 |
| | |
| | | </el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | ======= |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="报警内容"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <<<<<<< HEAD |
| | | <el-form-item label="报警内容"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | ======= |
| | | <el-form-item label="视频通话"> |
| | | <el-button type="primary" @click.stop="queryOldVideo(form)" |
| | | >查看视频 |
| | | </el-button> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="历史视频"> |
| | | <el-button type="primary" @click.stop="queryOldVideo(form)" |
| | | >查看视频 |
| | | </el-button> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-row :align="center"> |
| | | <el-col class="opt-btn"> |
| | | <el-form-item> |
| | | <<<<<<< HEAD |
| | | <el-button type="success" @click.stop="revoke(form)" |
| | | >办结</el-button |
| | | > |
| | |
| | | alt="" |
| | | /> |
| | | |
| | | ======= |
| | | <el-button type="warning" @click.stop="revoke(form)" |
| | | >办结</el-button |
| | | > |
| | | <el-button type="danger" class="push-nmb-btn" |
| | | >推送110</el-button |
| | | > |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | <el-button type="primary" @click.stop="generate(form)" |
| | | >派发保安</el-button |
| | | > |
| | |
| | | innerVisibleVideo: false, |
| | | deviceId: null, |
| | | form: {}, |
| | | itemOption: { |
| | | menuBtn: false, |
| | | column: [ |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "province", |
| | | type: "select", |
| | | placeholder: "省份", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | cascaderItem: ["city", "district"], |
| | | dicUrl: "/api/blade-system/region/select", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "city", |
| | | type: "select", |
| | | placeholder: "地市", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "district", |
| | | type: "select", |
| | | placeholder: "区县", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | layerRealtime() { |
| | | var that = this; |
| | | window.clearTimeout(window.realTimeQuery); |
| | | // that.deviceId = 384; // 测试用 |
| | | window.realTimeQuery = setInterval(function () { |
| | | axios({ |
| | | url: "/api/blade-jfpts/alarm/alarm/selecttx?id=" + that.deviceId, |
| | |
| | | bottom: 0 !important; |
| | | left: 0 !important; |
| | | right: 400px !important; |
| | | <<<<<<< HEAD |
| | | height: 558px !important; |
| | | ======= |
| | | height: 630px !important; |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | border-radius: 10px 10px 10px 10px; |
| | | } |
| | | |
| | |
| | | right: 0 !important; |
| | | bottom: 0 !important; |
| | | margin: auto !important; |
| | | <<<<<<< HEAD |
| | | height: 558px; |
| | | ======= |
| | | height: 630px; |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | } |
| | | |
| | | .ss-video-dialog .el-dialog .el-dialog__body { |
| | |
| | | </span> |
| | | </div> |
| | | <div class="top-bar__right"> |
| | | <<<<<<< HEAD |
| | | |
| | | <img src="/img/ydlg.png" style="height: 44px; vertical-align: middle;" alt=""> |
| | | ======= |
| | | |
| | | <img src="/img/ydlg.png" style="width: 100px;" alt=""> |
| | | |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | <el-tooltip v-if="showColor" |
| | | effect="dark" |
| | | :content="$t('navbar.color')" |
| | |
| | | .opt-btn { |
| | | <<<<<<< HEAD |
| | | margin-bottom: 0px; |
| | | height: 100%; |
| | | text-align: center; |
| | |
| | | } |
| | | } |
| | | |
| | | ======= |
| | | text-align: center; |
| | | .el-form-item__content { |
| | | margin-left: 0 !important; |
| | | .el-button { |
| | | width: 80px; |
| | | height: 40px; |
| | | margin: 0 40px; |
| | | } |
| | | .push-nmb-btn { |
| | | width: 80px; |
| | | height: 80px; |
| | | border-radius: 50%; |
| | | } |
| | | } |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | } |
| | | |
| | |
| | | this.selectOptions.forEach((item) => { |
| | | if (item.snumber == value) { |
| | | this.form.handName = item.value; |
| | | handName = item.value; |
| | | this.handName = item.value; |
| | | this.form.handleP = value; |
| | | } |
| | | }); |
| | |
| | | <template> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <div style="background: #fff;height: 100%;"> |
| | | <div style="background: #fff; height: 100%"> |
| | | <el-card class="trackClass"> |
| | | |
| | | <div style="margin-top: 20px;" role="tab" aria-expanded="true" aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823"> |
| | | <div role="button" tabindex="0" |
| | | class="el-collapse-item__header focusing is-active"> |
| | | <div class="avue-group__header avue-group"><i class="el-icon-message-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">警情信息</h1></div> |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-message-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">警情信息</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <el-form |
| | | :model="form" |
| | |
| | | size="mini" |
| | | class="policeForm" |
| | | label-width="100px" |
| | | style="background: #fff; margin-top: 20px;margin-left: 10px; margin-right: 10px; height: calc(100% - 40px); width: calc(100% - 20px)" |
| | | style=" |
| | | background: #fff; |
| | | margin-top: 20px; |
| | | margin-left: 10px; |
| | | margin-right: 10px; |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 20px); |
| | | " |
| | | > |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="报警人姓名"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.galarmPeople" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="联系方式"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.phoneNumber" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="事发地址"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.place" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="设备编号"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.deviceNumber" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="报警时间"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.galarmTime" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="报警内容"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="处置时间"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.czTime" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="备注"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.bz" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="警情类型"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.waringType" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="省份" class="cityClassParams"> |
| | | <avue-form :option="itemOption" v-model="form"></avue-form> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | |
| | | <div style="margin-top: 20px;" role="tab" aria-expanded="true" aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823"> |
| | | <div role="button" tabindex="0" |
| | | class="el-collapse-item__header focusing is-active"> |
| | | <div class="avue-group__header avue-group"><i class="el-icon-s-custom avue-group__icon"></i> |
| | | <h1 class="avue-group__title">保安信息</h1></div> |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-document avue-group__icon"></i> |
| | | <h1 class="avue-group__title">接警信息</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-card class="receiving-alarm-box"> |
| | | <div v-for="(item, index) in receivingList" :key="index"> |
| | | {{ item.zctime + " " + item.sname + " " + item.zc }} |
| | | </div> |
| | | </el-card> |
| | | |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-s-custom avue-group__icon"></i> |
| | | <h1 class="avue-group__title">保安信息</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | label-position="right" |
| | | size="mini" |
| | | label-width="100px" |
| | | style="background: #fff; margin-top: 20px;margin-left: 10px; margin-right: 10px; height: calc(100% - 40px); width: calc(100% - 20px)" |
| | | style=" |
| | | background: #fff; |
| | | margin-top: 20px; |
| | | margin-left: 10px; |
| | | margin-right: 10px; |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 20px); |
| | | " |
| | | > |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="人员编号"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.snumber" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="人员名称"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.sname" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="性别"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.sex" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="年龄"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.age" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="联系电话"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.phone" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12" |
| | | > |
| | | <el-col span="12"> |
| | | <el-form-item label="家庭住址"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.address" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="16"> |
| | | <div class="grid-content bg-purple"> |
| | | |
| | | </div> |
| | | <div class="grid-content bg-purple"></div> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <div class="grid-content bg-purple"> |
| | | |
| | | </div> |
| | | <div class="grid-content bg-purple"></div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <div class="demo-image__placeholder"> |
| | | <div role="tab" aria-expanded="true" aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823"> |
| | | <div role="button" tabindex="0" |
| | | class="el-collapse-item__header focusing is-active"> |
| | | <div class="avue-group__header avue-group"><i class="el-icon-s-order avue-group__icon"></i> |
| | | <h1 class="avue-group__title">警情反馈</h1></div> |
| | | <div |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-s-order avue-group__icon"></i> |
| | | <h1 class="avue-group__title">警情反馈</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-input |
| | |
| | | ></el-input> |
| | | |
| | | <div class="block"> |
| | | <div style="margin-top: 20px;" role="tab" aria-expanded="true" aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823"> |
| | | <div role="button" tabindex="0" |
| | | class="el-collapse-item__header focusing is-active"> |
| | | <div class="avue-group__header avue-group"><i class="el-icon-camera-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">现场图片</h1></div> |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-camera-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">现场图片</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-image :src="src" style="width: 150px;margin-left: 5px"></el-image> |
| | | <el-image :src="src" style="width: 150px;margin-left: 5px"></el-image> |
| | | <el-image :src="src" style="width: 150px;margin-left: 5px"></el-image> |
| | | <el-image |
| | | :src="src" |
| | | style="width: 150px; margin-left: 5px" |
| | | ></el-image> |
| | | <el-image |
| | | :src="src" |
| | | style="width: 150px; margin-left: 5px" |
| | | ></el-image> |
| | | <el-image |
| | | :src="src" |
| | | style="width: 150px; margin-left: 5px" |
| | | ></el-image> |
| | | </div> |
| | | </div> |
| | | <div class="block"> |
| | | <div style="margin-top: 20px;" role="tab" aria-expanded="true" aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823"> |
| | | <div role="button" tabindex="0" |
| | | class="el-collapse-item__header focusing is-active"> |
| | | <div class="avue-group__header avue-group"><i class="el-icon-video-camera-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">现场视频</h1></div> |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-video-camera-solid avue-group__icon"></i> |
| | | <h1 class="avue-group__title">现场视频</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-image :src="src" style="width: 150px;margin-left: 5px"> |
| | | <el-image :src="src" style="width: 150px; margin-left: 5px"> |
| | | <div slot="placeholder" class="image-slot"> |
| | | 加载中<span class="dot">...</span> |
| | | </div> |
| | |
| | | <el-button @click="onSubmit" type="danger">处理完成</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | |
| | | height="100%" |
| | | ></iframe> |
| | | </el-col> |
| | | |
| | | </el-row> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import axios from "axios"; |
| | | import axios from "axios"; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | selectOptions: [], |
| | | security: { |
| | | snumber: 20018, |
| | | sname: "金同涛", |
| | | sex: "男", |
| | | age: 23, |
| | | phone: 1387975426, |
| | | address: "江西省南昌市西湖区", |
| | | }, |
| | | src: 'https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg', |
| | | form: {}, |
| | | }; |
| | | }, created() { |
| | | this.form = this.$route.query; |
| | | } |
| | | , methods: { |
| | | onSubmit() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18001", |
| | | withCredentials: false, |
| | | headers: {}, |
| | | }); |
| | | |
| | | newAxios |
| | | .post( |
| | | "/api/blade-jfpts/jingdan/jingdan/updateInfo", |
| | | {}, |
| | | { |
| | | params: { |
| | | id: this.form.id, |
| | | handleP: this.form.handleP, |
| | | handName: this.form.handName, |
| | | handletype: this.form.handletype, |
| | | type: "2", |
| | | }, |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.data.msg == "修改成功") { |
| | | var arr = []; |
| | | this.$store.state.tags.tagList.forEach((item) => { |
| | | if (item.value != this.$store.state.tags.tag.value) { |
| | | arr.push(item); |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | export default { |
| | | data() { |
| | | return { |
| | | selectOptions: [], |
| | | receivingList: [], |
| | | security: { |
| | | snumber: 20018, |
| | | sname: "金同涛", |
| | | sex: "男", |
| | | age: 23, |
| | | phone: 1387975426, |
| | | address: "江西省南昌市西湖区", |
| | | }, |
| | | src: |
| | | "https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg", |
| | | form: {}, |
| | | itemOption: { |
| | | menuBtn: false, |
| | | column: [ |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "province", |
| | | type: "select", |
| | | placeholder: "省份", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | cascaderItem: ["city", "district"], |
| | | dicUrl: "/api/blade-system/region/select", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "city", |
| | | type: "select", |
| | | placeholder: "地市", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "district", |
| | | type: "select", |
| | | placeholder: "区县", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | | created() { |
| | | this.form = this.$route.query; |
| | | this.getReceivingAlarm(); |
| | | }, |
| | | methods: { |
| | | onSubmit() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18001", |
| | | withCredentials: false, |
| | | headers: {}, |
| | | }); |
| | | |
| | | newAxios |
| | | .post( |
| | | "/api/blade-jfpts/jingdan/jingdan/updateInfo", |
| | | {}, |
| | | { |
| | | params: { |
| | | id: this.form.id, |
| | | handleP: this.form.handleP, |
| | | handName: this.form.handName, |
| | | handletype: this.form.handletype, |
| | | type: "2", |
| | | }, |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.data.msg == "修改成功") { |
| | | var arr = []; |
| | | this.$store.state.tags.tagList.forEach((item) => { |
| | | if (item.value != this.$store.state.tags.tag.value) { |
| | | arr.push(item); |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | }, |
| | | } |
| | | |
| | | getReceivingAlarm() { |
| | | axios.get("/api/blade-jfpts/operation/list").then((res) => { |
| | | this.receivingList = res.data.data.records; |
| | | }); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | .el-col { |
| | | height: 95%; |
| | | <style lang="scss"> |
| | | .el-col { |
| | | height: 95%; |
| | | } |
| | | |
| | | .trackClass { |
| | | height: 100%; |
| | | overflow: auto; |
| | | overflow-x: hidden; |
| | | } |
| | | |
| | | .receiving-alarm-box { |
| | | line-height: 32px !important; |
| | | height: 200px; |
| | | overflow-y: auto; |
| | | .el-card__body { |
| | | padding: 0 10px !important; |
| | | } |
| | | |
| | | .trackClass { |
| | | height: 100%; |
| | | overflow: auto; |
| | | overflow-x: hidden; |
| | | } |
| | | |
| | | |
| | | } |
| | | </style> |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-17 16:44:50 |
| | | * @Last Modified time: 2021-03-18 11:24:28 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="行政区"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.district" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | <el-form-item label="省份" class="cityClassParams"> |
| | | <avue-form :option="itemOption" v-model="form"></avue-form> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <<<<<<< HEAD |
| | | <el-form-item label="监控视频"> |
| | | <el-button type="success" @click.stop="queryOldVideo(form)" |
| | | >视频通话 |
| | |
| | | <el-button type="primary" @click.stop="queryOldVideo(form)" |
| | | >查看历史 |
| | | </el-button> |
| | | ======= |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <<<<<<< HEAD |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="报警内容"> |
| | |
| | | v-model="form.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | ======= |
| | | <el-row> |
| | | <el-form-item label="报警内容"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="视频通话"> |
| | | <el-button type="primary" @click.stop="queryOldVideo(form)" |
| | | >查看视频 |
| | | </el-button> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="历史视频"> |
| | | <el-button type="primary" @click.stop="queryOldVideo(form)" |
| | | >查看视频 |
| | | </el-button> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | @click.stop="aKeyToCall($event, form)" |
| | | >查看视频 |
| | | </el-button> --> |
| | | <<<<<<< HEAD |
| | | <el-button type="success" @click.stop="revoke(form)" |
| | | >办结 |
| | | </el-button> |
| | |
| | | alt="" |
| | | /> |
| | | |
| | | ======= |
| | | <el-button type="warning" @click.stop="revoke(form)" |
| | | >办结 |
| | | </el-button> |
| | | <el-button type="danger" class="push-nmb-btn">推送110</el-button> |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | <el-button type="primary" @click.stop="generate(form)" |
| | | >派送保安 |
| | | </el-button> |
| | |
| | | |
| | | import Recorder from "js-audio-recorder"; |
| | | |
| | | <<<<<<< HEAD |
| | | var newAddOper = axios.create({ |
| | | baseURL: "http://s16s652780.51mypc.cn", |
| | | withCredentials: false, |
| | | headers: {}, |
| | | }); |
| | | |
| | | ======= |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | videoSource: "", |
| | | dialogTableVisible: false, |
| | | innerVisibleVideo: false, |
| | | <<<<<<< HEAD |
| | | activeClass: -1, |
| | | ======= |
| | | activeClass: 3, |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | form: {}, |
| | | query: {}, |
| | | dateTime: [], |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | itemOption: { |
| | | menuBtn: false, |
| | | column: [ |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "province", |
| | | type: "select", |
| | | placeholder: "省份", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | cascaderItem: ["city", "district"], |
| | | dicUrl: "/api/blade-system/region/select", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "city", |
| | | type: "select", |
| | | placeholder: "地市", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | { |
| | | disabled: true, |
| | | row: false, |
| | | prop: "district", |
| | | type: "select", |
| | | placeholder: "区县", |
| | | props: { |
| | | label: "name", |
| | | value: "code", |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 1, |
| | | labelWidth: "0", |
| | | className: "cityClassSelect", |
| | | }, |
| | | ], |
| | | }, |
| | | data: [], |
| | | isActive: false, |
| | | recorder: null, |
| | |
| | | (error) => { |
| | | window.console.log(error); |
| | | loading(); |
| | | <<<<<<< HEAD |
| | | } |
| | | ); |
| | | }, |
| | |
| | | } |
| | | ); |
| | | }, |
| | | ======= |
| | | } |
| | | ); |
| | | }, |
| | | rowUpdate(row, index, done, loading) { |
| | | row.coordinate = ""; |
| | | update(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }); |
| | | done(); |
| | | }, |
| | | (error) => { |
| | | window.console.log(error); |
| | | loading(); |
| | | } |
| | | ); |
| | | }, |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | rowDel(row) { |
| | | this.$confirm("确定将选择数据删除?", { |
| | | confirmButtonText: "确定", |
| | |
| | | }); |
| | | }, |
| | | searchReset() { |
| | | <<<<<<< HEAD |
| | | this.activeClass = -1; |
| | | ======= |
| | | this.activeClass = 3; |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | |
| | | currentData.getMinutes() < 10 |
| | | ? "0" + currentData.getMinutes() |
| | | : currentData.getMinutes(); |
| | | <<<<<<< HEAD |
| | | //秒 |
| | | var currenS = |
| | | currentData.getSeconds() < 10 |
| | | ? "0" + currentData.getSeconds() |
| | | : currentData.getSeconds(); |
| | | ======= |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | |
| | | return { |
| | | week: { |
| | |
| | | currenM + |
| | | ":00", |
| | | }, |
| | | <<<<<<< HEAD |
| | | current: |
| | | currentY + |
| | | "-" + |
| | |
| | | currenM + |
| | | ":" + |
| | | currenS, |
| | | ======= |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | }; |
| | | }, |
| | | getBZdata(e) { |
| | |
| | | this.dialogTableVisible = true; |
| | | }, |
| | | generate(row) { |
| | | <<<<<<< HEAD |
| | | ======= |
| | | console.log(row); |
| | | return; |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | var that = this; |
| | | if (row.czTime == "" || row.czTime == null) { |
| | | this.$message({ |
| | |
| | | message: "生成警单成功", |
| | | type: "success", |
| | | }); |
| | | <<<<<<< HEAD |
| | | |
| | | that.updateJtyep(row); |
| | | that.dialogTableVisible = false; |
| | |
| | | } |
| | | }, |
| | | revoke(row) { |
| | | console.log(row); |
| | | var that = this; |
| | | |
| | | newAddOper |
| | | |
| | | axios |
| | | .post( |
| | | "/blade-jfpts/operation/save", |
| | | "/api/blade-jfpts/operation/save", |
| | | {}, |
| | | { |
| | | params: { |
| | |
| | | .then((result) => { |
| | | this.innerVisibleVideo = true; |
| | | |
| | | ======= |
| | | |
| | | that.updateJtyep(row); |
| | | that.dialogTableVisible = false; |
| | | var arr = []; |
| | | that.$store.state.tags.tagList.forEach((item) => { |
| | | if (item.label != "警情分发处置") { |
| | | arr.push(item); |
| | | } |
| | | }); |
| | | that.$store.state.tags.tagList = arr; |
| | | |
| | | row.type = 0; |
| | | row.id = response.data.data; |
| | | that.$router.push({ path: "/distribution/index", query: row }); |
| | | }) |
| | | .catch(function (error) { |
| | | that.dialogTableVisible = false; |
| | | }); |
| | | } |
| | | }, |
| | | revoke(row) { |
| | | var that = this; |
| | | axios({ |
| | | url: "/api/blade-jfpts/alarm/alarm/deletejj?id=" + row.id, |
| | | method: "post", |
| | | }).then(function () { |
| | | that.dialogTableVisible = false; |
| | | that.onLoad(that.page, that.query); |
| | | }); |
| | | }, |
| | | updateJtyep(row) { |
| | | var that = this; |
| | | axios({ |
| | | url: |
| | | "/api/blade-jfpts/alarm/alarm/updateJtype?id=" + |
| | | row.id + |
| | | "&czTime=" + |
| | | row.czTime + |
| | | "&bz=" + |
| | | row.bz, |
| | | method: "post", |
| | | }).then(function () { |
| | | that.onLoad(that.page, that.query); |
| | | }); |
| | | }, |
| | | |
| | | beginTimeOrEndTime(time) { |
| | | var beginTime = new Date(time); |
| | | |
| | | var endTime = new Date(new Date(time).valueOf() - 1000 * 60 * 60 * 3); |
| | | |
| | | var beginY = beginTime.getFullYear(); |
| | | |
| | | var beginM = |
| | | beginTime.getMonth() + 1 < 10 |
| | | ? "0" + (beginTime.getMonth() + 1) |
| | | : beginTime.getMonth() + 1; |
| | | |
| | | var beginD = |
| | | beginTime.getDate() < 10 |
| | | ? "0" + beginTime.getDate() |
| | | : beginTime.getDate(); |
| | | |
| | | var beginH = |
| | | beginTime.getHours() < 10 |
| | | ? "0" + beginTime.getHours() |
| | | : beginTime.getHours(); |
| | | |
| | | var beginm = |
| | | beginTime.getMinutes() < 10 |
| | | ? "0" + beginTime.getMinutes() |
| | | : beginTime.getMinutes(); |
| | | |
| | | var begins = |
| | | beginTime.getSeconds() < 10 |
| | | ? "0" + beginTime.getSeconds() |
| | | : beginTime.getSeconds(); |
| | | |
| | | var endY = endTime.getFullYear(); |
| | | |
| | | var endM = |
| | | endTime.getMonth() + 1 < 10 |
| | | ? "0" + (endTime.getMonth() + 1) |
| | | : endTime.getMonth() + 1; |
| | | |
| | | var endD = |
| | | endTime.getDate() < 10 ? "0" + endTime.getDate() : endTime.getDate(); |
| | | |
| | | var endH = |
| | | endTime.getHours() < 10 ? "0" + endTime.getHours() : endTime.getHours(); |
| | | |
| | | var endm = |
| | | endTime.getMinutes() < 10 |
| | | ? "0" + endTime.getMinutes() |
| | | : endTime.getMinutes(); |
| | | |
| | | var ends = |
| | | endTime.getSeconds() < 10 |
| | | ? "0" + endTime.getSeconds() |
| | | : endTime.getSeconds(); |
| | | return { |
| | | begin: beginY + beginM + beginD + beginH + beginm + begins, |
| | | end: endY + endM + endD + endH + endm + ends, |
| | | }; |
| | | }, |
| | | queryOldVideo(data) { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-type": "application/x-www-form-urlencoded", |
| | | }, |
| | | }); |
| | | |
| | | var time = this.beginTimeOrEndTime(data.alarmTime); |
| | | |
| | | newAxios |
| | | .post( |
| | | "/api_control", |
| | | {}, |
| | | { |
| | | params: { |
| | | param: JSON.stringify({ PktType: "GetAccessToken" }), |
| | | }, |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | newAxios |
| | | .get( |
| | | `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}` |
| | | ) |
| | | .then((result) => { |
| | | this.innerVisibleVideo = true; |
| | | |
| | | >>>>>>> c14b0e9e0d82dacc0a9ceea2d10721dcb891d40c |
| | | this.videoSource = result.data.data.m3u8; |
| | | }); |
| | | |
| | |
| | | padding-right: 0px !important; |
| | | } |
| | | |
| | | .cityClassParams .avue-form__group.avue-form__group--flex { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | |
| | | .cityClassParams .cityClassSelect { |
| | | flex: 1; |
| | | margin: 0 !important; |
| | | padding-left: 0px !important; |
| | | padding-right: 0px !important; |
| | | } |
| | | |
| | | .cityClassParams .cityClassSelect:nth-child(2) { |
| | | margin: 0 10px !important; |
| | | } |
| | | |
| | | .cityClassParams .cityClassSelect .el-form-item { |
| | | margin-bottom: 0px !important; |
| | | } |
| | | |
| | | .cityClassParams .cityClassSelect .el-form-item .el-input__inner { |
| | | height: 28px !important; |
| | | line-height: 28px !important; |
| | | } |
| | | |
| | | .cityClass2 div label { |
| | | display: none; |
| | | } |