| | |
| | | |
| | | <el-card> |
| | | <el-form |
| | | :model="security" |
| | | :model="form" |
| | | label-position="right" |
| | | size="mini" |
| | | label-width="100px" |
| | |
| | | <el-form-item label="人员编号"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.snumber" |
| | | v-model="form.baname" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-form-item label="人员名称"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.sname" |
| | | v-model="form.baid" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-form-item label="联系电话"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="security.phone" |
| | | v-model="form.baphone" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-card> |
| | | <video |
| | | :src="feedbackVideo" |
| | | style="width: 100%; height: 100%; object-fit: fill" |
| | | style="width: 200px; height: 200px; object-fit: fill" |
| | | controls |
| | | v-show="feedbackVideo != ''" |
| | | ></video> |
| | |
| | | bz: this.form.bz, |
| | | snumber: this.form.alarmId, |
| | | sname: this.form.alarmPeople, |
| | | deviceNumber:this.form.deviceNumber, |
| | | zc: zc, |
| | | zctime: this.getDate().current, |
| | | }; |
| | |
| | | |
| | | getList() { |
| | | var that = this; |
| | | var deptid = that.form.deptId.slice(0,19);//报错deptId格式不对liu.2021.5.7 |
| | | axios |
| | | .get( |
| | | `/api/blade-user/pages?current=1&size=9999&work_status=&deptId=${that.form.deptId}` |
| | | `/api/blade-user/pages?current=1&size=9999&work_status=&deptId=${deptid}` |
| | | ) |
| | | .then(function (res) { |
| | | that.tableData = []; |
| | |
| | | |
| | | res.data.data.records.forEach((item) => { |
| | | if ( |
| | | item.roleName == "处警员" && |
| | | that.form.securityArr.indexOf(item.id) != -1 && |
| | | item.id != that.form.securityId |
| | | ) { |
| | |
| | | status: "已通知", |
| | | tenantName: item.tenantName, |
| | | }); |
| | | } else if ( |
| | | item.roleName == "处警员" && |
| | | that.form.securityArr.indexOf(item.id) == -1 && |
| | | item.id != that.form.securityId |
| | | ) { |
| | | that.tableData.push({ |
| | | id: item.id, |
| | | ind: (i += 1), |
| | | name: item.name, |
| | | phone: item.phone, |
| | | online_status: item.online_status == 1 ? "在线" : "掉线", |
| | | status: "未通知", |
| | | tenantName: item.tenantName, |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | that.tableData.forEach(item => { |
| | | if (item.id == that.form.oneId) { |
| | | item.status+='(负责人)' |
| | | } |
| | | }) |
| | | that.tableData.forEach((item) => { |
| | | if (item.id == that.form.oneId) { |
| | | item.status += "(负责人)"; |
| | | } |
| | | }); |
| | | } else { |
| | | res.data.data.records.forEach((item) => { |
| | | if (item.id == that.form.oneId) { |
| | |
| | | }, |
| | | }).then(function (res) { |
| | | that.form = res.data.data.records[0]; |
| | | that.getList(); |
| | | that.getList();//报错deptId格式不对liu.2021.5.7 |
| | | }); |
| | | }, |
| | | }, |