| | |
| | | label-position="right" |
| | | size="mini" |
| | | label-width="100px" |
| | | style="background: #fff; margin-left: 10px; margin-right: 10px; height: calc(100% - 40px); width: calc(100% - 20px)" |
| | | style="background: #fff; margin-left: 10px;padding-top: 40px !important; margin-right: 10px; height: calc(100% - 40px); width: calc(100% - 20px)" |
| | | > |
| | | <el-row> |
| | | <el-col span="12" |
| | |
| | | @change="selectChange" |
| | | placeholder="请选择处理人" |
| | | :disabled=" |
| | | this.form.type == 0 |
| | | ? this.form.handletype == 1 |
| | | ? true |
| | | : false |
| | | : true |
| | | this.form.type == 0 ? this.form.handletype == 1 ? true : false : false |
| | | " |
| | | > |
| | | <el-option |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | |
| | | |
| | | this.form = this.$route.query; |
| | | this.form.handletype = 1; |
| | | if (this.form.type == 0) { |
| | |
| | | }, |
| | | |
| | | processChange(value) { |
| | | debugger |
| | | value == "提示业主" |
| | | ? (this.form.handletype = 1) |
| | | : (this.form.handletype = 0); |
| | |
| | | prop: "galarmPeople" |
| | | }, |
| | | { |
| | | label: "联系电话", |
| | | prop: "phoneNumber", |
| | | width: 96 |
| | | }, |
| | | { |
| | | label: "报警时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | prop: "galarmTime", |
| | | width: 140 |
| | | }, |
| | |
| | | prop: "handName" |
| | | }, |
| | | { |
| | | label: "联系电话", |
| | | prop: "phoneNumber", |
| | | width: 96 |
| | | }, |
| | | { |
| | | label: "处置时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | prop: "handleTime", |
| | | addDisplay: false, |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | prop: "czTime", |
| | | width: 140 |
| | | }, { |
| | | label: "事发地址", |
| | | width: 150, |
| | | prop: "place" |
| | | },{ |
| | | label: "备注", |
| | | prop: "bz", |
| | | width: 150 |
| | | }, |
| | | { |
| | | label: "设备编号", |
| | | search: true, |
| | | searchSpan: 3, |
| | | width: 120, |
| | | prop: "deviceNumber" |
| | | }, |
| | | { |
| | | label: "省份", |
| | |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass3" |
| | | }, |
| | | { |
| | | label: "设备编号", |
| | | search: true, |
| | | searchSpan: 3, |
| | | width: 120, |
| | | prop: "deviceNumber" |
| | | }, { |
| | | label: "事发地址", |
| | | width: 200, |
| | | prop: "place" |
| | | }, |
| | | { |
| | | label: "处理状态", |
| | |
| | | rowStyle({row, column, rowIndex}) { |
| | | if (row.type == "0") { |
| | | return { |
| | | color: "#ff7627" |
| | | color: "#ff0000" |
| | | }; |
| | | } else if (row.type == "1") { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | disposition(data) { |
| | | |
| | | var arr = []; |
| | | this.$store.state.tags.tagList.forEach(item => { |
| | | if (item.label != "警情分发处置") { |
| | |
| | | <el-date-picker |
| | | v-model="form.czTime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd hh:mm:ss" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择日期时间" |
| | | > |
| | | </el-date-picker> |
| | |
| | | coordinate: null, |
| | | jd: row.jd, |
| | | wd: row.wd, |
| | | addvcd: row.district, |
| | | district: row.district, |
| | | city: row.city, |
| | | province: row.province, |
| | | czTime: row.czTime, |
| | | jjTime: row.jjTime, |
| | | bz: row.bz |
| | |
| | | |
| | | 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; |
| | | that.$router.push({ path: "/distribution/index", query: row }); |
| | | |
| | | }) |