| | |
| | | @clear="handleQuery" |
| | | v-model="daterangeYwHandleTime" |
| | | style="width: 240px" |
| | | value-format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | |
| | | <el-table v-loading="loading" :data="workOrderList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="工单号" align="center" prop="workOrderNo" width="170"/> |
| | | <el-table-column label="工单来源" align="center" prop="source" width="170"/> |
| | | <el-table-column label="故障类型" align="center" prop="errorType" width="170"/> |
| | | <el-table-column label="运维单位" align="center" prop="unitName" width="150"/> |
| | | <el-table-column label="运维人员" align="center" prop="ywPeopleName" /> |
| | | <el-table-column label="运维处理时间" align="center" prop="ywHandleTime" width="180"/> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { listWorkOrder, getWorkOrder, delWorkOrder, addWorkOrder, updateWorkOrder } from "@/api/platform/work-order"; |
| | | import { listWorkOrder, getWorkOrder, delWorkOrder, addWorkOrder, updateWorkOrder,auditing, ywCondition } from "@/api/platform/work-order"; |
| | | |
| | | export default { |
| | | name: "Work-order", |
| | |
| | | }, |
| | | // 提交审核 |
| | | submitAuditing() { |
| | | // todo |
| | | this.$refs["auditingForm"].validate(valid => { |
| | | if (valid) { |
| | | auditing(this.auditingForm).then(res => { |
| | | this.auditingOpen = false; |
| | | this.$modal.msgSuccess("操作成功"); |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | // 取消审核 |
| | | cancelAuditing() { |
| | |
| | | }, |
| | | // 提交运维情况 |
| | | submitYwCondition() { |
| | | // todo |
| | | this.$refs["ywConditionForm"].validate(valid => { |
| | | if (valid) { |
| | | ywCondition(this.ywConditionForm).then(res => { |
| | | this.ywConditionOpen = false; |
| | | this.$modal.msgSuccess("操作成功"); |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | cancelYwCondition() { |
| | | this.ywConditionForm = {}; |