|
@@ -24,7 +24,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="介质状态" prop="mediumType">
|
|
|
- <el-select v-model="queryParams.mediumType" @change="handleQuery" placeholder="请选择介质状态" clearable size="small"
|
|
|
+ <el-select v-model="queryParams.mediumType" @change="handleQuery" placeholder="请选择介质状态" clearable
|
|
|
+ size="small"
|
|
|
style="width: 100%">
|
|
|
<el-option
|
|
|
v-for="dict in mediumTypeOptions"
|
|
@@ -99,14 +100,17 @@
|
|
|
:formatter="pointFormat"/>
|
|
|
<el-table-column label="介质状态" align="center" prop="mediumType" :show-overflow-tooltip="true" width="130"
|
|
|
:formatter="mediumTypeFormat"/>
|
|
|
- <el-table-column label="一般泄露标准(ppm)" align="center" prop="general" :show-overflow-tooltip="true" width="140"/>
|
|
|
- <el-table-column label="严重泄漏标准(ppm)" align="center" prop="serious" :show-overflow-tooltip="true" width="140"/>
|
|
|
+ <el-table-column label="一般泄露标准(ppm)" align="center" prop="general" :show-overflow-tooltip="true"
|
|
|
+ width="140"/>
|
|
|
+ <el-table-column label="严重泄漏标准(ppm)" align="center" prop="serious" :show-overflow-tooltip="true"
|
|
|
+ width="140"/>
|
|
|
<el-table-column label="监测频次" align="center" prop="detectionFrequency" :show-overflow-tooltip="true"
|
|
|
width="130" :formatter="detectionFormat"/>
|
|
|
- <el-table-column label="首次维修时限(天)" align="center" prop="stratFix" :show-overflow-tooltip="true" width="130"/>
|
|
|
+ <el-table-column label="首次维修时限(天)" align="center" prop="stratFix" :show-overflow-tooltip="true"
|
|
|
+ width="130"/>
|
|
|
<el-table-column label="最终维修时限(天)" align="center" prop="endFix" :show-overflow-tooltip="true" width="130"/>
|
|
|
<el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true" width="130"/>
|
|
|
- <el-table-column label="维护人" align="center" prop="updaterCode" :show-overflow-tooltip="true" width="130"/>
|
|
|
+ <el-table-column label="维护人" align="center" prop="updater" :show-overflow-tooltip="true" width="130"/>
|
|
|
<el-table-column label="维护时间" align="center" prop="updatedate" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
|
|
@@ -181,17 +185,16 @@
|
|
|
<el-form-item label="严重泄漏标准(ppm)" prop="serious">
|
|
|
<el-input v-model="form.serious" placeholder="请输入严重泄漏标准"/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="监测频次" prop="detectionFrequency">
|
|
|
- <el-form-item label="检测频次" prop="detectionFrequency">
|
|
|
- <el-select v-model="form.detectionFrequency" placeholder="请选择检测频次" clearable size="small" style="width: 100%">
|
|
|
- <el-option
|
|
|
- v-for="dict in detectionFrequencyOptions"
|
|
|
- :key="dict.dictValue"
|
|
|
- :label="dict.dictLabel"
|
|
|
- :value="dict.dictValue"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+ <el-form-item label="检测频次" prop="detectionFrequency">
|
|
|
+ <el-select v-model="form.detectionFrequency" placeholder="请选择检测频次" clearable size="small"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in detectionFrequencyOptions"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="首次维修时限(天)" prop="stratFix">
|
|
|
<el-input v-model="form.stratFix" placeholder="请输入首次维修时限"/>
|
|
@@ -218,7 +221,7 @@ export default {
|
|
|
name: "Lawitems",
|
|
|
data() {
|
|
|
return {
|
|
|
- disabledBotton:false,
|
|
|
+ disabledBotton: false,
|
|
|
plantTypeOptions: [],
|
|
|
pointOptions: [],
|
|
|
mediumTypeOptions: [],
|
|
@@ -370,14 +373,14 @@ export default {
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
- this.disabledBotton=false
|
|
|
+ this.disabledBotton = false
|
|
|
this.reset();
|
|
|
this.open = true;
|
|
|
this.title = "添加法规项";
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
- this.disabledBotton=false
|
|
|
+ this.disabledBotton = false
|
|
|
this.reset();
|
|
|
const id = row.id || this.ids
|
|
|
getLawitems(id).then(response => {
|
|
@@ -388,7 +391,7 @@ export default {
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
|
- this.disabledBotton=true
|
|
|
+ this.disabledBotton = true
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
if (valid) {
|
|
|
this.form.lawId = this.row.id
|