| | |
| | | color: $fontColor !important; |
| | | } |
| | | .el-tree { |
| | | background-color: $inputB !important; |
| | | background-color: $mainB !important; |
| | | color: $fontColor !important; |
| | | } |
| | | .el-table th { |
| | |
| | | class="policeForm" |
| | | label-width="100px" |
| | | style=" |
| | | background: #fff; |
| | | margin-top: 20px; |
| | | margin-left: 10px; |
| | | margin-right: 10px; |
| | |
| | | <el-row> |
| | | <el-col span="24"> |
| | | <el-form-item label="备注"> |
| | | <el-input |
| | | v-model="form.bz" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <avue-form :option="securityArritem" v-model="form"></avue-form> |
| | | <avue-form |
| | | :option="securityArritem" |
| | | v-model="form" |
| | | ></avue-form> |
| | | </el-col> |
| | | <!-- <el-col span="12">--> |
| | | <!-- <el-form-item label="派发人">--> |
| | |
| | | </el-row> |
| | | </el-form> |
| | | |
| | | <div class="grid-content bg-purple-light" style="text-align: center"> |
| | | <div |
| | | class="grid-content bg-purple-light" |
| | | style="text-align: center" |
| | | > |
| | | <el-button @click="onSubmit()" type="primary">派发</el-button> |
| | | </div> |
| | | |
| | | </el-card> |
| | | |
| | | <div |
| | |
| | | size="mini" |
| | | label-width="100px" |
| | | style=" |
| | | background: #fff; |
| | | margin-top: 20px; |
| | | margin-left: 10px; |
| | | margin-right: 10px; |
| | |
| | | className: "cityClassSelect", |
| | | }, |
| | | ], |
| | | }, securityArritem: { |
| | | }, |
| | | securityArritem: { |
| | | menuBtn: false, |
| | | column: [ |
| | | { |
| | |
| | | span: 24, |
| | | dicUrl: "/api/catalogs/catalogs/getBigTree", |
| | | props: { |
| | | label: "title" |
| | | label: "title", |
| | | }, |
| | | rules: [{ |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择处警员", |
| | | trigger: "blur" |
| | | }], |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | } |
| | | |
| | | axios({ |
| | | url: '/api/alarm/alarm/submit', |
| | | method: 'post', |
| | | data: that.form |
| | | url: "/api/alarm/alarm/submit", |
| | | method: "post", |
| | | data: that.form, |
| | | }).then((resdata) => { |
| | | that.$message({ |
| | | message: '派遣完成', |
| | | type: 'success' |
| | | message: "派遣完成", |
| | | type: "success", |
| | | }); |
| | | }); |
| | | |
| | | }else { |
| | | that.$message({ |
| | | message: '未选择保安,请重试', |
| | | type: 'warning' |
| | | message: "未选择保安,请重试", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | | getReceivingAlarm() { |
| | | axios |
| | | .get(`/api/operation/list?jid=${this.form.id}`) |
| | | .then((res) => { |
| | | axios.get(`/api/operation/list?jid=${this.form.id}`).then((res) => { |
| | | this.receivingList = res.data.data.records; |
| | | }); |
| | | }, |