Commit f1949978 authored by 王晓倩's avatar 王晓倩

隐患信息生成工单和巡检计划生成工单调整

parent 2e081e63
...@@ -156,8 +156,8 @@ ...@@ -156,8 +156,8 @@
</el-dialog> </el-dialog>
<el-dialog :title="title2" :visible.sync="open2" width="800px" append-to-body @close="cancel"> <el-dialog :title="title2" :visible.sync="open2" width="800px" append-to-body @close="cancel">
<el-form ref="form2" :model="form2" :rules="rules" label-width="120px"> <el-form ref="form2" :model="form2" :rules="rules" label-width="120px">
<el-form-item label="巡检计划名称" prop="plansName"> <el-form-item label="巡检计划名称">
<font>{{plansName}}</font> <font>{{form2.planName}}</font>
</el-form-item> </el-form-item>
<el-form-item label="计划时间"> <el-form-item label="计划时间">
<font>{{ parseTime(form2.startTime, '{y}-{m}-{d}') }} <font>{{ parseTime(form2.startTime, '{y}-{m}-{d}') }}
...@@ -380,6 +380,7 @@ ...@@ -380,6 +380,7 @@
const planId = row.planId || this.ids const planId = row.planId || this.ids
getInspectionPlan(planId).then(response => { getInspectionPlan(planId).then(response => {
this.form2 = response.data; this.form2 = response.data;
this.form2.remarks = "";
this.open2 = true; this.open2 = true;
this.title2 = "填写工单信息"; this.title2 = "填写工单信息";
}); });
......
...@@ -219,13 +219,13 @@ ...@@ -219,13 +219,13 @@
</el-dialog> </el-dialog>
<el-dialog :title="title2" :visible.sync="open2" width="800px" append-to-body @close="cancel"> <el-dialog :title="title2" :visible.sync="open2" width="800px" append-to-body @close="cancel">
<el-form ref="form2" :model="form2" :rules="rules" label-width="120px"> <el-form ref="form2" :model="form2" :rules="rules" label-width="120px">
<el-form-item label="隐患名称" prop="troubleName"> <el-form-item label="隐患名称">
<font>{{form2.troubleName}}</font> <font>{{form2.troubleName}}</font>
</el-form-item> </el-form-item>
<el-form-item label="隐患类型" prop="troubleType"> <el-form-item label="隐患类型">
<font>{{form2.troubleType}}</font> <font>{{form2.troubleType}}</font>
</el-form-item> </el-form-item>
<el-form-item label="隐患级别" prop="troubleLevel"> <el-form-item label="隐患级别">
<font>{{form2.troubleLevel}}</font> <font>{{form2.troubleLevel}}</font>
</el-form-item> </el-form-item>
<el-form-item label="工单名称" prop="orderName" style="width: 720px"> <el-form-item label="工单名称" prop="orderName" style="width: 720px">
...@@ -519,6 +519,7 @@ export default { ...@@ -519,6 +519,7 @@ export default {
const troubleId = row.troubleId || this.ids const troubleId = row.troubleId || this.ids
getHiddenTrouble(troubleId).then(response => { getHiddenTrouble(troubleId).then(response => {
this.form2 = response.data; this.form2 = response.data;
this.form2.remarks = "";
this.open2 = true; this.open2 = true;
this.title2 = "填写工单信息"; this.title2 = "填写工单信息";
}); });
......
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