src/views/screen/newPage/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/system/report/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/system/work-order/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/screen/newPage/index.vue
@@ -86,9 +86,8 @@ overflow: hidden; overflow-x: auto; margin-top: -9px; height: 90%; "> <div style="width: 750px"> <div style="width: 780px"> <CarChart class="wrapper-item" :carList="carList"></CarChart> </div> </div> @@ -100,7 +99,6 @@ <div style=" overflow: auto; margin-top: -9px; height: 90%; "> <div style="width: 1100px"> <VideoChart class="wrapper-item" :videoList="videoList"></VideoChart> src/views/system/report/index.vue
@@ -412,6 +412,7 @@ }, // 表单重置 reset() { this.daterangeCreateTime = []; this.form = { id: null, unitId: null, @@ -423,9 +424,9 @@ reportContent: null, reportMaterials: null, deleted: null, errorType: null errorType: null, }; this.resetForm("form"); // this.resetForm("form"); }, /** 搜索按钮操作 */ handleQuery() { @@ -450,14 +451,14 @@ /** 新增按钮操作 */ handleAdd() { this.reset(); this.addOrImport = 'add' this.addOrImport = 'add'; this.open = true; this.title = "添加报备"; }, /** 导入按钮操作 */ handleImport() { this.reset(); this.addOrImport = 'import' this.addOrImport = 'import'; this.open = true; this.title = "导入报备"; }, @@ -473,6 +474,7 @@ this.daterangeCreateTime = [response.data.beginCreateTime, response.data.endCreateTime] this.form = response.data; this.form.errorType = this.form.errorType.split(','); this.addOrImport = 'add'; this.open = true; this.title = "修改报备"; }); @@ -500,6 +502,7 @@ }, /** 提交按钮 */ submitForm() { this.form.pointId = this.form.pointId ? this.form.pointId : this.form.serialNumber; this.$refs["form"].validate(valid => { if (valid) { this.form.beginCreateTime = this.daterangeCreateTime[0] src/views/system/work-order/index.vue
@@ -12,9 +12,7 @@ </el-form-item> <el-form-item label="故障类型" prop="errorTypeList"> <el-select v-model="queryParams.errorTypeList" multiple placeholder="故障类型" clearable @clear="handleQuery"> <el-option v-for="dict in dict.type.error_type" :value="dict.value" :label="dict.label"/> <el-option v-for="dict in dict.type.error_type" :value="dict.value" :key="dict.value" :label="dict.label" /> </el-select> </el-form-item> <el-form-item label="工单状态" prop="status"> @@ -44,7 +42,7 @@ </el-col> </el-row> <el-row v-if="workOrderList && workOrderList.length > 0" :gutter="20" v-loading="loading"> <el-row :gutter="20" v-loading="loading"> <el-col :xl="6" :lg="8" :md="12" :sm="24" v-for="item in workOrderList" :key="item.id"> <div class="my-col"> <div style="padding-left: 10px; padding-top: 8px"> @@ -130,7 +128,7 @@ </el-col> </el-row> <el-empty v-else description="暂无数据"></el-empty> <el-empty v-if="empty" description="暂无数据"></el-empty> <pagination v-show="total>0" @@ -240,9 +238,7 @@ > <el-form-item label="故障类型" prop="errorType"> <el-select v-model="batchAuditingWorkOrder.errorTypes" multiple placeholder="故障类型"> <el-option v-for="(item, index) in errorTypeOptions" :label="item.dictLabel" :value="item.dictValue" :key="index" ></el-option> <el-option v-for="dict in dict.type.error_type" :value="dict.value" :key="dict.value" :label="dict.label" /> </el-select> </el-form-item> <el-form-item label="审核说明" prop="auditingRemark"> @@ -381,7 +377,6 @@ getYwAuditingList } from '@/api/platform/work-order' import { addReport } from '@/api/platform/report' import { getDicts } from '@/api/system/dict/data' export default { name: 'Work-order', @@ -389,8 +384,8 @@ components: {}, data() { return { empty: false, openShowCurrent: null, errorTypeOptions: [], ywConditions: [], batchAuditingVisible: false, batchAuditingWorkOrder: { @@ -657,6 +652,7 @@ }, /** 查询运维工单列表 */ getList() { this.empty = false; this.loading = true this.queryParams.params = {} this.queryParams['start'] = this.daterangeYwHandleTime ? this.daterangeYwHandleTime[0] : null @@ -673,6 +669,9 @@ this.workOrderList = response.data this.total = response.total this.loading = false if (this.total === 0) { this.empty = true } }) }, // 取消按钮