| | |
| | | <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> |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工单来源" prop="source"> |
| | | <el-form-item label="故障点位" prop="source"> |
| | | <el-select |
| | | v-model="form.source" |
| | | filterable |
| | | remote |
| | | reserve-keyword |
| | | placeholder="请选择来源" |
| | | placeholder="国标码/点位名称搜索" |
| | | :remote-method="remoteGetPoints" |
| | | @change="setPointId" |
| | | :loading="selectLoading"> |
| | |
| | | }, |
| | | 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; |
| | | }) |
| | | }, |