| | |
| | | <span style="font-weight: bold;font-size: 16px">快捷下发</span> |
| | | <el-form ref="fastDistributeForm" :model="fastDistributeForm" :rules="fastDistributeRules" label-width="80px"> |
| | | <el-form-item label="快捷方式" prop="fastWay"> |
| | | <el-radio v-model="fastDistributeForm.fastWay" label="LAST_HALF_HOUR">最近30分钟</el-radio> |
| | | <el-radio v-model="fastDistributeForm.fastWay" label="LAST_HOUR">最近1小时</el-radio> |
| | | <el-radio v-model="fastDistributeForm.fastWay" label="LAST_TWO_HOUR">最近2小时</el-radio> |
| | | <el-radio v-model="fastDistributeForm.fastWay" label="LAST_DAY">最近1天</el-radio> |
| | |
| | | }, |
| | | page() { |
| | | this.loading = true; |
| | | this.selectUnit(); |
| | | distributeWorkOrder(this.queryParams).then(res => { |
| | | this.workOrderList = res.data.records; |
| | | this.total = res.total; |
| | | this.loading = false; |
| | | distributeWorkOrder(this.queryParams).then(data => { |
| | | workList(this.queryParams).then(res => { |
| | | this.unitList = res.data; |
| | | this.workOrderList = data.data.records; |
| | | this.total = data.total; |
| | | this.loading = false; |
| | | }) |
| | | }) |
| | | }, |
| | | changeUnit(unitId, unitName) { |
| | |
| | | }, |
| | | // 运维公司下拉数据 |
| | | selectUnit() { |
| | | workList().then(res => { |
| | | workList(this.queryParams).then(res => { |
| | | this.unitList = res.data; |
| | | }) |
| | | }, |