Commit 5e71e661 authored by yaqizhang's avatar yaqizhang

巡检详情样式

parent 7e5f97c7
<template>
<div class="app-container">
<div class="app-container div-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="巡检计划名称" prop="planName">
<el-input
......@@ -10,40 +10,6 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!--<el-form-item label="计划起始时间" prop="startTime1">
<el-date-picker clearable size="small"
v-model="queryParams.startTime1"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择开始时间">
</el-date-picker>
<font color="#C0C4CC"></font>
</el-form-item>
<el-form-item label="" prop="endTime1">
<el-date-picker clearable size="small"
v-model="queryParams.endTime1"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="计划截止时间" prop="startTime1">
<el-date-picker clearable size="small"
v-model="queryParams.startTime2"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择开始时间">
</el-date-picker>
<font color="#C0C4CC"></font>
</el-form-item>
<el-form-item label="" prop="endTime1">
<el-date-picker clearable size="small"
v-model="queryParams.endTime2"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择结束时间">
</el-date-picker>
</el-form-item>-->
<el-form-item label="状态" prop="planStatus">
<el-select v-model="queryParams.planStatus" placeholder="请选择状态" clearable size="small">
<el-option
......@@ -494,56 +460,6 @@
}
});
},
// /** 提交按钮 */
// submitForm() {
// this.$refs["form"].validate(valid => {
// if (valid) {
// if(this.title != "填写工单信息") {
// // 二维数组转字符串(处理设备级联选项的值)
// var arr = this.form.devices;
// var arrLen = arr.length;
// var str = "[";
// for (var i = 0; i < arrLen; i++) {
// str += "[";
// for (var j = 0; j < arr[i].length; j++) {
// str += arr[i][j];
// if (j < arr[i].length - 1) {
// str += ",";
// }
// }
// str += "]";
// if (i < arrLen - 1) {
// str += ",";
// }
// }
// str += "]";
// this.form.deviceIds = str;
// }
//
// if (this.title == "修改巡检计划") {
// updateInspectionPlan(this.form).then(response => {
// this.msgSuccess("修改成功");
// this.open = false;
// this.getList();
// });
// } else if (this.title == "添加巡检计划") {
// addInspectionPlan(this.form).then(response => {
// this.msgSuccess("添加成功");
// this.open = false;
// this.getList();
// });
// } else if (this.title == "填写工单信息") {
// this.form.resourceId = this.form.planId;
// this.form.orderType = "1";
// addBasicsInfo(this.form).then(response => {
// this.msgSuccess("生成工单成功");
// this.open = false;
// this.getList();
// });
// }
// }
// });
// },
/** 作废按钮操作 */
handleIsDel(row) {
row.isDel = "1";
......@@ -561,4 +477,4 @@
},
}
};
</script>
</script>
\ No newline at end of file
......@@ -26,7 +26,7 @@
<font>{{form.address}}</font>
</el-form-item>
<el-form-item label="计划描述:" prop="remarks">
<div style="height: 90px;width: 700px; border: 1px solid rgb(187, 183, 183);margin-top: 10px;overflow-y: auto;padding: 5px;border-radius: 5px;">
<div style="height: 90px;width: 200%; border: 1px solid rgb(187, 183, 183);margin-top: 10px;overflow-y: auto;padding: 5px;border-radius: 5px;">
<font>{{form.remarks}}</font>
</div>
</el-form-item>
......@@ -40,7 +40,7 @@
</el-form-item>
</el-form>
<el-table max-height="175px" :data="form.inspectionDataList" style="width: 800px; margin-left: 50px;">
<el-table max-height="175px" :data="form.inspectionDataList" style="width: 89%; margin-left: 50px;">
<el-table-column label="设备名称" align="center" prop="deviceName" />
<el-table-column label="设备编号" align="center" prop="deviceCode" />
<el-table-column label="设备类型" align="center" prop="deviceType" />
......
......@@ -515,7 +515,7 @@ export default {
addFeedback(this.form).then(response => {
this.msgSuccess("反馈成功");
this.open = false;
this.getList();
location.reload();
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment