|
@@ -99,36 +99,36 @@
|
|
<span>{{ parseTime(scope.row.enginTime, '{y}-{m}-{d}') }}</span>
|
|
<span>{{ parseTime(scope.row.enginTime, '{y}-{m}-{d}') }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
-<!-- <el-table-column label="管径" align="center" prop="pipeDiameter"/>
|
|
|
|
- <el-table-column label="管材" align="center" prop="tubularProduct"/>
|
|
|
|
- <el-table-column label="是否存在套管" align="center" prop="casingPresent"/>
|
|
|
|
- <el-table-column label="管道压力" align="center" prop="pipePressure"/>
|
|
|
|
- <el-table-column label="气源方向" align="center" prop="gasSourceDirection"/>
|
|
|
|
- <el-table-column label="作业位置" align="center" prop="taskPosition"/>
|
|
|
|
- <el-table-column label="与作业相关阀门位置" align="center" prop="valvePosition"/>
|
|
|
|
- <el-table-column label="压力报告" align="center" prop="stressReport"/>
|
|
|
|
- <el-table-column label="监理旁站记录" align="center" prop="supervision record"/>
|
|
|
|
- <el-table-column label="工作联系单" align="center" prop="workContactForm"/>
|
|
|
|
- <el-table-column label="巡线确认单" align="center" prop="linePatrolConfirmationForm"/>
|
|
|
|
- <el-table-column label="危险作业坑大小(长)" align="center" prop="hazardousWorkPitsLong"/>
|
|
|
|
- <el-table-column label="危险作业坑大小(宽)" align="center" prop="hazardousWorkPitsWide"/>
|
|
|
|
- <el-table-column label="危险作业坑大小(深)" align="center" prop="hazardousWorkPitsDeep"/>
|
|
|
|
- <el-table-column label="是否需要支护" align="center" prop="needSupport"/>
|
|
|
|
- <el-table-column label="作业坑内其他管道情况" align="center" prop="otherPipelineConditionsWorkPit"/>
|
|
|
|
- <el-table-column label="现场负责人" align="center" prop="siteHead"/>
|
|
|
|
- <el-table-column label="现场负责人电话" align="center" prop="siteHeadPhone"/>
|
|
|
|
- <el-table-column label="作业人员信息" align="center" prop="operatorInformation"/>
|
|
|
|
- <el-table-column label="检口" align="center" prop="inspectionPort"/>
|
|
|
|
- <el-table-column label="管道刷油" align="center" prop="pipelinePainting"/>
|
|
|
|
- <el-table-column label="管道支护" align="center" prop="pipelineSupport"/>
|
|
|
|
- <el-table-column label="管道防腐" align="center" prop="pipelineCorrosionProtection"/>
|
|
|
|
- <el-table-column label="砌筑阀门井" align="center" prop="masonryValveWell"/>
|
|
|
|
- <el-table-column label="保护井" align="center" prop="protectionWell"/>
|
|
|
|
- <el-table-column label="管件保护井砌筑" align="center" prop="pipeProtectionWelMasonry"/>
|
|
|
|
- <el-table-column label="回填" align="center" prop="backfill"/>
|
|
|
|
- <el-table-column label="夯实" align="center" prop="tamp"/>
|
|
|
|
- <el-table-column label="平整场地" align="center" prop="levelingTheSite"/>
|
|
|
|
- <el-table-column label="备注" align="center" prop="remark"/>-->
|
|
|
|
|
|
+ <!-- <el-table-column label="管径" align="center" prop="pipeDiameter"/>
|
|
|
|
+ <el-table-column label="管材" align="center" prop="tubularProduct"/>
|
|
|
|
+ <el-table-column label="是否存在套管" align="center" prop="casingPresent"/>
|
|
|
|
+ <el-table-column label="管道压力" align="center" prop="pipePressure"/>
|
|
|
|
+ <el-table-column label="气源方向" align="center" prop="gasSourceDirection"/>
|
|
|
|
+ <el-table-column label="作业位置" align="center" prop="taskPosition"/>
|
|
|
|
+ <el-table-column label="与作业相关阀门位置" align="center" prop="valvePosition"/>
|
|
|
|
+ <el-table-column label="压力报告" align="center" prop="stressReport"/>
|
|
|
|
+ <el-table-column label="监理旁站记录" align="center" prop="supervision record"/>
|
|
|
|
+ <el-table-column label="工作联系单" align="center" prop="workContactForm"/>
|
|
|
|
+ <el-table-column label="巡线确认单" align="center" prop="linePatrolConfirmationForm"/>
|
|
|
|
+ <el-table-column label="危险作业坑大小(长)" align="center" prop="hazardousWorkPitsLong"/>
|
|
|
|
+ <el-table-column label="危险作业坑大小(宽)" align="center" prop="hazardousWorkPitsWide"/>
|
|
|
|
+ <el-table-column label="危险作业坑大小(深)" align="center" prop="hazardousWorkPitsDeep"/>
|
|
|
|
+ <el-table-column label="是否需要支护" align="center" prop="needSupport"/>
|
|
|
|
+ <el-table-column label="作业坑内其他管道情况" align="center" prop="otherPipelineConditionsWorkPit"/>
|
|
|
|
+ <el-table-column label="现场负责人" align="center" prop="siteHead"/>
|
|
|
|
+ <el-table-column label="现场负责人电话" align="center" prop="siteHeadPhone"/>
|
|
|
|
+ <el-table-column label="作业人员信息" align="center" prop="operatorInformation"/>
|
|
|
|
+ <el-table-column label="检口" align="center" prop="inspectionPort"/>
|
|
|
|
+ <el-table-column label="管道刷油" align="center" prop="pipelinePainting"/>
|
|
|
|
+ <el-table-column label="管道支护" align="center" prop="pipelineSupport"/>
|
|
|
|
+ <el-table-column label="管道防腐" align="center" prop="pipelineCorrosionProtection"/>
|
|
|
|
+ <el-table-column label="砌筑阀门井" align="center" prop="masonryValveWell"/>
|
|
|
|
+ <el-table-column label="保护井" align="center" prop="protectionWell"/>
|
|
|
|
+ <el-table-column label="管件保护井砌筑" align="center" prop="pipeProtectionWelMasonry"/>
|
|
|
|
+ <el-table-column label="回填" align="center" prop="backfill"/>
|
|
|
|
+ <el-table-column label="夯实" align="center" prop="tamp"/>
|
|
|
|
+ <el-table-column label="平整场地" align="center" prop="levelingTheSite"/>
|
|
|
|
+ <el-table-column label="备注" align="center" prop="remark"/>-->
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -166,135 +166,230 @@
|
|
@pagination="getList"
|
|
@pagination="getList"
|
|
/>
|
|
/>
|
|
|
|
|
|
- <!-- 添加或修改开栓|安检|维修对话框 -->
|
|
|
|
|
|
+ <!-- 添加或修改危险作业工程对话框 -->
|
|
<el-dialog :title="title" :visible.sync="open" append-to-body customClass="appendElDialog">
|
|
<el-dialog :title="title" :visible.sync="open" append-to-body customClass="appendElDialog">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
|
- <el-form-item label="作业基本信息" prop="basicInformation">
|
|
|
|
- <el-input v-model="form.basicInformation" placeholder="请填写作业基本信息"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="工程名称" prop="enginName">
|
|
|
|
- <el-input v-model="form.enginName" placeholder="请填写作业基本信息"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="工程地点" prop="enginAddre">
|
|
|
|
- <el-input v-model="form.enginAddre" placeholder="请填写工程地点"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="工程时间" prop="enginTime">
|
|
|
|
- <el-date-picker
|
|
|
|
- v-model="form.enginTime"
|
|
|
|
- value-format="yyyy-MM-dd hh:mm:ss"
|
|
|
|
- type="datetime"
|
|
|
|
- placeholder="请选择工程时间">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管径" prop="pipeDiameter">
|
|
|
|
- <el-input v-model="form.pipeDiameter" placeholder="请填写管径"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管材" prop="tubularProduct">
|
|
|
|
- <el-input v-model="form.tubularProduct" placeholder="请填写管材"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="存在套管" prop="casingPresent">
|
|
|
|
- <el-select v-model="form.casingPresent" placeholder="请选择是否存在套管">
|
|
|
|
- <el-option
|
|
|
|
- v-for="e in segmentedCompressionQualifiedOption"
|
|
|
|
- :key="e.value"
|
|
|
|
- :label="e.label"
|
|
|
|
- :value="e.value"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管道压力" prop="pipePressure">
|
|
|
|
- <el-input v-model="form.pipePressure" placeholder="请填写管道压力"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="气流方向" prop="gasSourceDirection">
|
|
|
|
- <el-input v-model="form.gasSourceDirection" placeholder="请填写气流方向"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="作业位置" prop="taskPosition">
|
|
|
|
- <el-input v-model="form.taskPosition" placeholder="请填写作业位置"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="相关阀门位置" prop="valvePosition">
|
|
|
|
- <el-input v-model="form.valvePosition" placeholder="请填写与作业相关阀门位置"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="压力报告" prop="stressReport">
|
|
|
|
- <el-input v-model="form.stressReport" placeholder="请填写压力报告"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="监理旁站记录" prop="supervisionRecord">
|
|
|
|
- <el-input v-model="form.supervisionRecord" placeholder="请填写监理旁站记录"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="工作联系单" prop="workContactForm">
|
|
|
|
- <el-input v-model="form.workContactForm" placeholder="请填写工作联系单"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="巡线确认单" prop="linePatrolConfirmationForm">
|
|
|
|
- <el-input v-model="form.linePatrolConfirmationForm" placeholder="请填写巡线确认单"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="作业坑(长)" prop="hazardousWorkPitsLong">
|
|
|
|
- <el-input v-model="form.hazardousWorkPitsLong" placeholder="请填写危险作业坑大小(长)"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="作业坑(宽)" prop="hazardousWorkPitsWide">
|
|
|
|
- <el-input v-model="form.hazardousWorkPitsWide" placeholder="请填写危险作业坑大小(宽)"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="作业坑(深)" prop="hazardousWorkPitsDeep">
|
|
|
|
- <el-input v-model="form.hazardousWorkPitsDeep" placeholder="请填写危险作业坑大小(深)"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="需要支护" prop="casingPresent">
|
|
|
|
- <el-select v-model="form.needSupport" placeholder="请选择是否需要支护">
|
|
|
|
- <el-option
|
|
|
|
- v-for="e in segmentedCompressionQualifiedOption"
|
|
|
|
- :key="e.value"
|
|
|
|
- :label="e.label"
|
|
|
|
- :value="e.value"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="其他管道情况" prop="otherPipelineConditionsWorkPit">
|
|
|
|
- <el-input v-model="form.otherPipelineConditionsWorkPit" placeholder="请填写其他管道情况"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="现场负责人" prop="siteHead">
|
|
|
|
- <el-input v-model="form.siteHead" placeholder="请填写现场负责人"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="现场负责人电话" prop="siteHeadPhone">
|
|
|
|
- <el-input v-model="form.siteHeadPhone" placeholder="请填写现场负责人电话"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="作业人员信息" prop="operatorInformation">
|
|
|
|
- <el-input v-model="form.operatorInformation" placeholder="请填写作业人员信息"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="检口" prop="inspectionPort">
|
|
|
|
- <el-input v-model="form.inspectionPort" placeholder="请填写检口"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管道刷油" prop="pipelinePainting">
|
|
|
|
- <el-input v-model="form.pipelinePainting" placeholder="请填写管道刷油"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管道支护" prop="pipelineSupport">
|
|
|
|
- <el-input v-model="form.pipelineSupport" placeholder="请填写管道支护"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管道防腐" prop="pipelineCorrosionProtection">
|
|
|
|
- <el-input v-model="form.pipelineCorrosionProtection" placeholder="请填写管道防腐"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="砌筑阀门井" prop="masonryValveWell">
|
|
|
|
- <el-input v-model="form.masonryValveWell" placeholder="请填写砌筑阀门井"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="保护井" prop="protectionWell">
|
|
|
|
- <el-input v-model="form.protectionWell" placeholder="请填写保护井"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="管件保护井砌筑" prop="pipeProtectionWelMasonry">
|
|
|
|
- <el-input v-model="form.pipeProtectionWelMasonry" placeholder="请填写管件保护井砌筑"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="回填" prop="backfill">
|
|
|
|
- <el-input v-model="form.backfill" placeholder="请填写回填"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="夯实" prop="tamp">
|
|
|
|
- <el-input v-model="form.tamp" placeholder="请填写夯实"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="平整场地" prop="levelingTheSite">
|
|
|
|
- <el-input v-model="form.levelingTheSite" placeholder="请填写平整场地"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="备注" prop="remark" style="width: 42.7%;">
|
|
|
|
- <el-input
|
|
|
|
- v-model="form.remark"
|
|
|
|
- type="textarea"
|
|
|
|
- placeholder="请输入内容"
|
|
|
|
- class="remark_input"
|
|
|
|
- />
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业基本信息" prop="basicInformation">
|
|
|
|
+ <el-input v-model="form.basicInformation" placeholder="请填写作业基本信息"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="工程名称" prop="enginName">
|
|
|
|
+ <el-input v-model="form.enginName" placeholder="请填写作业基本信息"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="工程地点" prop="enginAddre">
|
|
|
|
+ <el-input v-model="form.enginAddre" placeholder="请填写工程地点"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="工程时间" prop="enginTime">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="form.enginTime"
|
|
|
|
+ value-format="yyyy-MM-dd hh:mm:ss"
|
|
|
|
+ type="datetime"
|
|
|
|
+ placeholder="请选择工程时间">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="现场负责人" prop="siteHead">
|
|
|
|
+ <el-input v-model="form.siteHead" placeholder="请填写现场负责人"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="现场负责人电话" prop="siteHeadPhone">
|
|
|
|
+ <el-input v-model="form.siteHeadPhone" placeholder="请填写现场负责人电话"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业人员信息" prop="operatorInformation">
|
|
|
|
+ <el-input v-model="form.operatorInformation" placeholder="请填写作业人员信息"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="监理旁站记录" prop="supervisionRecord">
|
|
|
|
+ <el-input v-model="form.supervisionRecord" placeholder="请填写监理旁站记录"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="工作联系单" prop="workContactForm">
|
|
|
|
+ <el-input v-model="form.workContactForm" placeholder="请填写工作联系单"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="巡线确认单" prop="linePatrolConfirmationForm">
|
|
|
|
+ <el-input v-model="form.linePatrolConfirmationForm" placeholder="请填写巡线确认单"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业位置" prop="taskPosition">
|
|
|
|
+ <el-input v-model="form.taskPosition" placeholder="请填写作业位置"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="相关阀门位置" prop="valvePosition">
|
|
|
|
+ <el-input v-model="form.valvePosition" placeholder="请填写与作业相关阀门位置"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="是否存在套管" prop="casingPresent">
|
|
|
|
+ <el-select v-model="form.casingPresent" placeholder="请选择是否存在套管">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="e in segmentedCompressionQualifiedOption"
|
|
|
|
+ :key="e.value"
|
|
|
|
+ :label="e.label"
|
|
|
|
+ :value="e.value"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管径" prop="pipeDiameter">
|
|
|
|
+ <el-input v-model="form.pipeDiameter" placeholder="请填写管径"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管材" prop="tubularProduct">
|
|
|
|
+ <el-input v-model="form.tubularProduct" placeholder="请填写管材"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管道压力" prop="pipePressure">
|
|
|
|
+ <el-input v-model="form.pipePressure" placeholder="请填写管道压力"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="压力报告" prop="stressReport">
|
|
|
|
+ <el-input v-model="form.stressReport" placeholder="请填写压力报告"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="气流方向" prop="gasSourceDirection">
|
|
|
|
+ <el-input v-model="form.gasSourceDirection" placeholder="请填写气流方向"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="是否需要支护" prop="casingPresent">
|
|
|
|
+ <el-select v-model="form.needSupport" placeholder="请选择是否需要支护">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="e in segmentedCompressionQualifiedOption"
|
|
|
|
+ :key="e.value"
|
|
|
|
+ :label="e.label"
|
|
|
|
+ :value="e.value"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管道支护" prop="pipelineSupport">
|
|
|
|
+ <el-input v-model="form.pipelineSupport" placeholder="请填写管道支护"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="检口" prop="inspectionPort">
|
|
|
|
+ <el-input v-model="form.inspectionPort" placeholder="请填写检口"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管道刷油" prop="pipelinePainting">
|
|
|
|
+ <el-input v-model="form.pipelinePainting" placeholder="请填写管道刷油"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管道防腐" prop="pipelineCorrosionProtection">
|
|
|
|
+ <el-input v-model="form.pipelineCorrosionProtection" placeholder="请填写管道防腐"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="其他管道情况" prop="otherPipelineConditionsWorkPit">
|
|
|
|
+ <el-input v-model="form.otherPipelineConditionsWorkPit" placeholder="请填写其他管道情况"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="保护井" prop="protectionWell">
|
|
|
|
+ <el-input v-model="form.protectionWell" placeholder="请填写保护井"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="管件保护井砌筑" prop="pipeProtectionWelMasonry">
|
|
|
|
+ <el-input v-model="form.pipeProtectionWelMasonry" placeholder="请填写管件保护井砌筑"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="砌筑阀门井" prop="masonryValveWell">
|
|
|
|
+ <el-input v-model="form.masonryValveWell" placeholder="请填写砌筑阀门井"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业坑(长)" prop="hazardousWorkPitsLong">
|
|
|
|
+ <el-input v-model="form.hazardousWorkPitsLong" placeholder="请填写危险作业坑大小(长)"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业坑(宽)" prop="hazardousWorkPitsWide">
|
|
|
|
+ <el-input v-model="form.hazardousWorkPitsWide" placeholder="请填写危险作业坑大小(宽)"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="作业坑(深)" prop="hazardousWorkPitsDeep">
|
|
|
|
+ <el-input v-model="form.hazardousWorkPitsDeep" placeholder="请填写危险作业坑大小(深)"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="回填" prop="backfill">
|
|
|
|
+ <el-input v-model="form.backfill" placeholder="请填写回填"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="夯实" prop="tamp">
|
|
|
|
+ <el-input v-model="form.tamp" placeholder="请填写夯实"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8">
|
|
|
|
+ <el-form-item label="平整场地" prop="levelingTheSite">
|
|
|
|
+ <el-input v-model="form.levelingTheSite" placeholder="请填写平整场地"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="24">
|
|
|
|
+ <el-form-item label="备注" prop="remark" style="width: 42.7%;">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.remark"
|
|
|
|
+ type="textarea"
|
|
|
|
+ placeholder="请输入内容"
|
|
|
|
+ class="remark_input"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer" style="margin-top: 20%;">
|
|
<div slot="footer" class="dialog-footer" style="margin-top: 20%;">
|
|
<!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确定</el-button> -->
|
|
<!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确定</el-button> -->
|
|
@@ -317,7 +412,13 @@ import {
|
|
getEngineeringDangerous,
|
|
getEngineeringDangerous,
|
|
delEngineeringDangerous,
|
|
delEngineeringDangerous,
|
|
} from "@/api/zdsz/engineeringDangerous";
|
|
} from "@/api/zdsz/engineeringDangerous";
|
|
-import { listComprehensive, getComprehensive, delComprehensive, addComprehensive, updateComprehensive } from "@/api/zdsz/comprehensive";
|
|
|
|
|
|
+import {
|
|
|
|
+ listComprehensive,
|
|
|
|
+ getComprehensive,
|
|
|
|
+ delComprehensive,
|
|
|
|
+ addComprehensive,
|
|
|
|
+ updateComprehensive
|
|
|
|
+} from "@/api/zdsz/comprehensive";
|
|
import EngineeNode from "@/components/EngineeNode/index";
|
|
import EngineeNode from "@/components/EngineeNode/index";
|
|
import {addEngineeEngineeIndustry, EditEngineeEngineeIndustry} from "@/api/zdsz/engineeringIndustry";
|
|
import {addEngineeEngineeIndustry, EditEngineeEngineeIndustry} from "@/api/zdsz/engineeringIndustry";
|
|
import data from "@/views/system/dict/data.vue";
|
|
import data from "@/views/system/dict/data.vue";
|
|
@@ -331,12 +432,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
- EngineePipe,EngineeNode
|
|
|
|
|
|
+ EngineePipe, EngineeNode
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- nodeType:"危险作业工程",
|
|
|
|
- nodeDetailVisible:false,
|
|
|
|
|
|
+ nodeType: "危险作业工程",
|
|
|
|
+ nodeDetailVisible: false,
|
|
// 按钮loading
|
|
// 按钮loading
|
|
buttonLoading: false,
|
|
buttonLoading: false,
|
|
// 遮罩层
|
|
// 遮罩层
|
|
@@ -394,44 +495,44 @@ export default {
|
|
backfill: undefined,
|
|
backfill: undefined,
|
|
tamp: undefined,
|
|
tamp: undefined,
|
|
levelingTheSite: undefined,
|
|
levelingTheSite: undefined,
|
|
- zEngineeringNodeBo:{
|
|
|
|
- type:"危险作业工程",
|
|
|
|
- zEngineeringInfoBo:{} //节点信息
|
|
|
|
|
|
+ zEngineeringNodeBo: {
|
|
|
|
+ type: "危险作业工程",
|
|
|
|
+ zEngineeringInfoBo: {} //节点信息
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- zEngineeringInfoBo:{
|
|
|
|
- constructAddre:'', // 施工地址
|
|
|
|
- constructPhone:'', // 施工人电话
|
|
|
|
- constructUser:'', // 施工人
|
|
|
|
- headName:'', // 负责人
|
|
|
|
- headPhone:'', // 负责人电话
|
|
|
|
- constructAccordingDrawings:'', // 是否按图纸施工
|
|
|
|
- segmentedCompressionQualified:'', // 分段打压是否合格
|
|
|
|
- selfClosingValveType:'', // 自闭阀类型
|
|
|
|
- visitType:'', // 上门类型
|
|
|
|
- backfillTime:'', // 回填时间
|
|
|
|
- constructTime:'', // 施工时间
|
|
|
|
- zEngiineeringPhotoBoList:[] // 图片列表
|
|
|
|
|
|
+ zEngineeringInfoBo: {
|
|
|
|
+ constructAddre: '', // 施工地址
|
|
|
|
+ constructPhone: '', // 施工人电话
|
|
|
|
+ constructUser: '', // 施工人
|
|
|
|
+ headName: '', // 负责人
|
|
|
|
+ headPhone: '', // 负责人电话
|
|
|
|
+ constructAccordingDrawings: '', // 是否按图纸施工
|
|
|
|
+ segmentedCompressionQualified: '', // 分段打压是否合格
|
|
|
|
+ selfClosingValveType: '', // 自闭阀类型
|
|
|
|
+ visitType: '', // 上门类型
|
|
|
|
+ backfillTime: '', // 回填时间
|
|
|
|
+ constructTime: '', // 施工时间
|
|
|
|
+ zEngiineeringPhotoBoList: [] // 图片列表
|
|
|
|
|
|
},
|
|
},
|
|
- constructAccordingDrawingsOption:[
|
|
|
|
|
|
+ constructAccordingDrawingsOption: [
|
|
{
|
|
{
|
|
- value:'1',
|
|
|
|
- label:'是'
|
|
|
|
|
|
+ value: '1',
|
|
|
|
+ label: '是'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- value:'0',
|
|
|
|
- label:'否'
|
|
|
|
|
|
+ value: '0',
|
|
|
|
+ label: '否'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- segmentedCompressionQualifiedOption:[
|
|
|
|
|
|
+ segmentedCompressionQualifiedOption: [
|
|
{
|
|
{
|
|
- value:'1',
|
|
|
|
- label:'是'
|
|
|
|
|
|
+ value: '1',
|
|
|
|
+ label: '是'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- value:'0',
|
|
|
|
- label:'否'
|
|
|
|
|
|
+ value: '0',
|
|
|
|
+ label: '否'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
// 表单参数
|
|
// 表单参数
|
|
@@ -453,146 +554,142 @@ export default {
|
|
enginTime: [
|
|
enginTime: [
|
|
{required: true, message: "工程时间不能为空", trigger: "blur"}
|
|
{required: true, message: "工程时间不能为空", trigger: "blur"}
|
|
],
|
|
],
|
|
- /* pipeDiameter: [
|
|
|
|
- {required: true, message: "管径不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- tubularProduct: [
|
|
|
|
- {required: true, message: "管材不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- casingPresent: [
|
|
|
|
- {required: true, message: "是否存在套管不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- pipePressure: [
|
|
|
|
- {required: true, message: "管道压力不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- gasSourceDirection: [
|
|
|
|
- {required: true, message: "气源方向不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- taskPosition: [
|
|
|
|
- {required: true, message: "作业位置不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- valvePosition: [
|
|
|
|
- {required: true, message: "与作业相关阀门位置不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- stressReport: [
|
|
|
|
- {required: true, message: "压力报告不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- supervisionRecord: [
|
|
|
|
- {required: true, message: "监理旁站记录不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- workContactForm: [
|
|
|
|
- {required: true, message: "工作联系单不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- linePatrolConfirmationForm: [
|
|
|
|
- {required: true, message: "巡线确认单不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- hazardousWorkPitsLong: [
|
|
|
|
- {required: true, message: "危险作业坑大小(长)不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- hazardousWorkPitsWide: [
|
|
|
|
- {required: true, message: "危险作业坑大小(宽)不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- hazardousWorkPitsDeep: [
|
|
|
|
- {required: true, message: "危险作业坑大小(深)不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- needSupport: [
|
|
|
|
- {required: true, message: "是否需要支护不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- otherPipelineConditionsWorkPit: [
|
|
|
|
- {required: true, message: "作业坑内其他管道情况不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- siteHead: [
|
|
|
|
- {required: true, message: "现场负责人不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- siteHeadPhone: [
|
|
|
|
- {required: true, message: "现场负责人电话不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- operatorInformation: [
|
|
|
|
- {required: true, message: "作业人员信息不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- inspectionPort: [
|
|
|
|
- {required: true, message: "检口不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- pipelinePainting: [
|
|
|
|
- {required: true, message: "管道刷油不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- pipelineSupport: [
|
|
|
|
- {required: true, message: "管道支护不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- pipelineCorrosionProtection: [
|
|
|
|
- {required: true, message: "管道防腐不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- masonryValveWell: [
|
|
|
|
- {required: true, message: "砌筑阀门井不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- protectionWell: [
|
|
|
|
- {required: true, message: "保护井不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- pipeProtectionWelMasonry: [
|
|
|
|
- {required: true, message: "管件保护井砌筑不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- backfill: [
|
|
|
|
- {required: true, message: "回填不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- tamp: [
|
|
|
|
- {required: true, message: "夯实不能为空", trigger: "blur"}
|
|
|
|
- ],
|
|
|
|
- levelingTheSite: [
|
|
|
|
- {required: true, message: "平整场地不能为空", trigger: "blur"}
|
|
|
|
- ],*/
|
|
|
|
- /* remark: [
|
|
|
|
- {required: true, message: "备注不能为空", trigger: "blur"}
|
|
|
|
- ],*/
|
|
|
|
|
|
+ /* pipeDiameter: [
|
|
|
|
+ {required: true, message: "管径不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ tubularProduct: [
|
|
|
|
+ {required: true, message: "管材不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ casingPresent: [
|
|
|
|
+ {required: true, message: "是否存在套管不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ pipePressure: [
|
|
|
|
+ {required: true, message: "管道压力不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ gasSourceDirection: [
|
|
|
|
+ {required: true, message: "气源方向不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ taskPosition: [
|
|
|
|
+ {required: true, message: "作业位置不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ valvePosition: [
|
|
|
|
+ {required: true, message: "与作业相关阀门位置不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ stressReport: [
|
|
|
|
+ {required: true, message: "压力报告不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ supervisionRecord: [
|
|
|
|
+ {required: true, message: "监理旁站记录不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ workContactForm: [
|
|
|
|
+ {required: true, message: "工作联系单不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ linePatrolConfirmationForm: [
|
|
|
|
+ {required: true, message: "巡线确认单不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ hazardousWorkPitsLong: [
|
|
|
|
+ {required: true, message: "危险作业坑大小(长)不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ hazardousWorkPitsWide: [
|
|
|
|
+ {required: true, message: "危险作业坑大小(宽)不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ hazardousWorkPitsDeep: [
|
|
|
|
+ {required: true, message: "危险作业坑大小(深)不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ needSupport: [
|
|
|
|
+ {required: true, message: "是否需要支护不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ otherPipelineConditionsWorkPit: [
|
|
|
|
+ {required: true, message: "作业坑内其他管道情况不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ siteHead: [
|
|
|
|
+ {required: true, message: "现场负责人不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ siteHeadPhone: [
|
|
|
|
+ {required: true, message: "现场负责人电话不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ operatorInformation: [
|
|
|
|
+ {required: true, message: "作业人员信息不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ inspectionPort: [
|
|
|
|
+ {required: true, message: "检口不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ pipelinePainting: [
|
|
|
|
+ {required: true, message: "管道刷油不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ pipelineSupport: [
|
|
|
|
+ {required: true, message: "管道支护不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ pipelineCorrosionProtection: [
|
|
|
|
+ {required: true, message: "管道防腐不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ masonryValveWell: [
|
|
|
|
+ {required: true, message: "砌筑阀门井不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ protectionWell: [
|
|
|
|
+ {required: true, message: "保护井不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ pipeProtectionWelMasonry: [
|
|
|
|
+ {required: true, message: "管件保护井砌筑不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ backfill: [
|
|
|
|
+ {required: true, message: "回填不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ tamp: [
|
|
|
|
+ {required: true, message: "夯实不能为空", trigger: "blur"}
|
|
|
|
+ ],
|
|
|
|
+ levelingTheSite: [
|
|
|
|
+ {required: true, message: "平整场地不能为空", trigger: "blur"}
|
|
|
|
+ ],*/
|
|
|
|
+ /* remark: [
|
|
|
|
+ {required: true, message: "备注不能为空", trigger: "blur"}
|
|
|
|
+ ],*/
|
|
},
|
|
},
|
|
// 节点规则校验
|
|
// 节点规则校验
|
|
- nodeRules:{
|
|
|
|
|
|
+ nodeRules: {
|
|
type: [
|
|
type: [
|
|
- { required: true, message: "节点类型不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "节点类型不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
constructAddre: [
|
|
constructAddre: [
|
|
- { required: true, message: "施工地址不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "施工地址不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
constructPhone: [
|
|
constructPhone: [
|
|
- { required: true, message: "施工人电话不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "施工人电话不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
constructUser: [
|
|
constructUser: [
|
|
- { required: true, message: "施工人不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "施工人不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
headName: [
|
|
headName: [
|
|
- { required: true, message: "负责人不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "负责人不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
headPhone: [
|
|
headPhone: [
|
|
- { required: true, message: "负责人电话不能为空" ,trigger: 'blur'}
|
|
|
|
|
|
+ {required: true, message: "负责人电话不能为空", trigger: 'blur'}
|
|
],
|
|
],
|
|
|
|
|
|
},
|
|
},
|
|
- currentType:null , // 组件类型 put修改 add新增
|
|
|
|
|
|
+ currentType: null, // 组件类型 put修改 add新增
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- closeToSucceed(){
|
|
|
|
|
|
+ closeToSucceed() {
|
|
this.open = false;
|
|
this.open = false;
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
- nodeCancel(){
|
|
|
|
- this.nodeDetailVisible = false
|
|
|
|
- this.resetNodeForm();
|
|
|
|
- },
|
|
|
|
-/*添加节点信息*/
|
|
|
|
- /* toNodeDetail(){
|
|
|
|
- this.nodeDetailVisible = true
|
|
|
|
- this.$refs["form"].validate(valid => {
|
|
|
|
- if (valid) {
|
|
|
|
- this.nodeDetailVisible = true
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },*/
|
|
|
|
- toNodeDetail(){
|
|
|
|
- if(this.currentType === 'put'){
|
|
|
|
- this.$refs.childNode.open(this.form,37)
|
|
|
|
|
|
+ /*添加节点信息*/
|
|
|
|
+ /* toNodeDetail(){
|
|
|
|
+ this.nodeDetailVisible = true
|
|
|
|
+ this.$refs["form"].validate(valid => {
|
|
|
|
+ if (valid) {
|
|
|
|
+ this.nodeDetailVisible = true
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },*/
|
|
|
|
+ toNodeDetail() {
|
|
|
|
+ if (this.currentType === 'put') {
|
|
|
|
+ this.$refs.childNode.open(this.form, 37)
|
|
this.currentType = null
|
|
this.currentType = null
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -602,10 +699,10 @@ export default {
|
|
// this.queryParams.zEngineeringNodeBo.type = this.enginClassification
|
|
// this.queryParams.zEngineeringNodeBo.type = this.enginClassification
|
|
// this.queryParams.enginClassification = result
|
|
// this.queryParams.enginClassification = result
|
|
// console.log(this.queryParams)
|
|
// console.log(this.queryParams)
|
|
- this.$refs.childNode.open(this.form,3)
|
|
|
|
|
|
+ this.$refs.childNode.open(this.form, 3)
|
|
return
|
|
return
|
|
this.$refs['form'].validate(e => {
|
|
this.$refs['form'].validate(e => {
|
|
- if(e){
|
|
|
|
|
|
+ if (e) {
|
|
this.nodeDetailVisible = true
|
|
this.nodeDetailVisible = true
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -619,16 +716,16 @@ export default {
|
|
}, 'add')
|
|
}, 'add')
|
|
},
|
|
},
|
|
getUrl(url) {
|
|
getUrl(url) {
|
|
- this.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.$refs.obsImageUpload.fileList?this.$refs.obsImageUpload.fileList.map(e=>e.url):[];
|
|
|
|
|
|
+ this.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.$refs.obsImageUpload.fileList ? this.$refs.obsImageUpload.fileList.map(e => e.url) : [];
|
|
},
|
|
},
|
|
/** 查询危险工程列表 */
|
|
/** 查询危险工程列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
listEngineeringDangerous({
|
|
listEngineeringDangerous({
|
|
- basicInformation:this.queryParams.basicInformation,
|
|
|
|
- enginName:this.queryParams.enginName,
|
|
|
|
- enginAddre:this.queryParams.enginAddre,
|
|
|
|
- params:this.queryParams
|
|
|
|
|
|
+ basicInformation: this.queryParams.basicInformation,
|
|
|
|
+ enginName: this.queryParams.enginName,
|
|
|
|
+ enginAddre: this.queryParams.enginAddre,
|
|
|
|
+ params: this.queryParams
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.engineeringDangerousList = res.rows;
|
|
this.engineeringDangerousList = res.rows;
|
|
this.total = res.total;
|
|
this.total = res.total;
|
|
@@ -687,23 +784,6 @@ export default {
|
|
};
|
|
};
|
|
this.resetForm("form");
|
|
this.resetForm("form");
|
|
},
|
|
},
|
|
- resetNodeForm() {
|
|
|
|
- this.nodeForm= {
|
|
|
|
- constructAddre:undefined, // 施工地址
|
|
|
|
- constructPhone:undefined, // 施工人电话
|
|
|
|
- constructUser:undefined, // 施工人
|
|
|
|
- headName:undefined, // 负责人
|
|
|
|
- headPhone:undefined, // 负责人电话
|
|
|
|
- constructAccordingDrawings:undefined, // 是否按图纸施工
|
|
|
|
- segmentedCompressionQualified:undefined, // 分段打压是否合格
|
|
|
|
- selfClosingValveType:undefined, // 自闭阀类型
|
|
|
|
- visitType:undefined, // 上门类型
|
|
|
|
- backfillTime:undefined, // 回填时间
|
|
|
|
- constructTime:undefined, // 施工时间
|
|
|
|
- zEngiineeringPhotoBoList:[]
|
|
|
|
- };
|
|
|
|
- this.resetForm("nodeForm");
|
|
|
|
- },
|
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
handleQuery() {
|
|
handleQuery() {
|
|
this.queryParams.pageNum = 1;
|
|
this.queryParams.pageNum = 1;
|
|
@@ -723,7 +803,6 @@ export default {
|
|
/** 新增按钮操作 */
|
|
/** 新增按钮操作 */
|
|
handleAdd() {
|
|
handleAdd() {
|
|
this.reset();
|
|
this.reset();
|
|
- this.resetNodeForm();
|
|
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "添加危险工程";
|
|
this.title = "添加危险工程";
|
|
},
|
|
},
|
|
@@ -731,46 +810,45 @@ export default {
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
this.reset();
|
|
this.reset();
|
|
- this.resetNodeForm();
|
|
|
|
const id = row.id || this.ids
|
|
const id = row.id || this.ids
|
|
getEngineeringDangerous(id).then(response => {
|
|
getEngineeringDangerous(id).then(response => {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.currentType = "put"
|
|
this.currentType = "put"
|
|
- /* this.zEngineeringInfoBo.type = response.data.zEngineeringNodeBo.type
|
|
|
|
- this.zEngineeringInfoBo =response.data.zEngineeringNodeBo.zEngineeringInfoBoList[0]*/
|
|
|
|
|
|
+ /* this.zEngineeringInfoBo.type = response.data.zEngineeringNodeBo.type
|
|
|
|
+ this.zEngineeringInfoBo =response.data.zEngineeringNodeBo.zEngineeringInfoBoList[0]*/
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改危险工程";
|
|
this.title = "修改危险工程";
|
|
});
|
|
});
|
|
},
|
|
},
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
- /* submitForm() {
|
|
|
|
- this.$refs["nodeForm"].validate(valid => {
|
|
|
|
- if (valid) {
|
|
|
|
- if (this.form.id == null){
|
|
|
|
- this.form.zEngineeringNodeBo = {}
|
|
|
|
- this.form.zEngineeringNodeBo.zEngineeringInfoBo = this.zEngineeringInfoBo
|
|
|
|
- this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList
|
|
|
|
- addEngineeringDangerous(this.form).then(res => {
|
|
|
|
- this.$modal.msgSuccess("新增成功");
|
|
|
|
- this.open = false;
|
|
|
|
- this.nodeDetailVisible = false
|
|
|
|
- this.getList();
|
|
|
|
- })
|
|
|
|
- }else {
|
|
|
|
- this.form.zEngineeringNodeBo = {}
|
|
|
|
- this.form.zEngineeringNodeBo.zEngineeringInfoBo = this.zEngineeringInfoBo
|
|
|
|
- this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList
|
|
|
|
- updateEngineeringDangerous(this.form).then(res=>{
|
|
|
|
- this.$modal.msgSuccess("修改成功");
|
|
|
|
- this.open = false;
|
|
|
|
- this.nodeDetailVisible = false
|
|
|
|
- this.getList();
|
|
|
|
- })
|
|
|
|
|
|
+ /* submitForm() {
|
|
|
|
+ this.$refs["nodeForm"].validate(valid => {
|
|
|
|
+ if (valid) {
|
|
|
|
+ if (this.form.id == null){
|
|
|
|
+ this.form.zEngineeringNodeBo = {}
|
|
|
|
+ this.form.zEngineeringNodeBo.zEngineeringInfoBo = this.zEngineeringInfoBo
|
|
|
|
+ this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList
|
|
|
|
+ addEngineeringDangerous(this.form).then(res => {
|
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
|
+ this.open = false;
|
|
|
|
+ this.nodeDetailVisible = false
|
|
|
|
+ this.getList();
|
|
|
|
+ })
|
|
|
|
+ }else {
|
|
|
|
+ this.form.zEngineeringNodeBo = {}
|
|
|
|
+ this.form.zEngineeringNodeBo.zEngineeringInfoBo = this.zEngineeringInfoBo
|
|
|
|
+ this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.form.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList
|
|
|
|
+ updateEngineeringDangerous(this.form).then(res=>{
|
|
|
|
+ this.$modal.msgSuccess("修改成功");
|
|
|
|
+ this.open = false;
|
|
|
|
+ this.nodeDetailVisible = false
|
|
|
|
+ this.getList();
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- });
|
|
|
|
- },*/
|
|
|
|
|
|
+ });
|
|
|
|
+ },*/
|
|
/** 删除按钮操作 */
|
|
/** 删除按钮操作 */
|
|
handleDelete(row) {
|
|
handleDelete(row) {
|
|
const ids = row.id || this.ids;
|
|
const ids = row.id || this.ids;
|
|
@@ -808,11 +886,11 @@ export default {
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
- .el-form-item {
|
|
|
|
- margin-bottom: 22px;
|
|
|
|
- width: 30%;
|
|
|
|
- display: inline-block;
|
|
|
|
- }
|
|
|
|
|
|
+ //.el-form-item {
|
|
|
|
+ // margin-bottom: 22px;
|
|
|
|
+ // width: 30%;
|
|
|
|
+ // display: inline-block;
|
|
|
|
+ //}
|
|
|
|
|
|
// .el-form-item:nth-child(2n+2){
|
|
// .el-form-item:nth-child(2n+2){
|
|
// margin-left: 5%;
|
|
// margin-left: 5%;
|