|
|
|
@ -220,7 +220,7 @@
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改行政执法台账对话框 -->
|
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
|
<el-form-item label="单位名称" prop="enterpriseName">
|
|
|
|
|
<el-input v-model="form.enterpriseName" placeholder="请输入单位名称" />
|
|
|
|
@ -228,62 +228,88 @@
|
|
|
|
|
<el-form-item label="地址" prop="location">
|
|
|
|
|
<el-input v-model="form.location" placeholder="请输入地址" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="负责人" prop="responsiblePerson">
|
|
|
|
|
<el-input v-model="form.responsiblePerson" placeholder="请输入负责人" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="联系电话" prop="phone">
|
|
|
|
|
<el-input v-model="form.phone" placeholder="请输入联系电话" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="负责人" prop="responsiblePerson">
|
|
|
|
|
<el-input v-model="form.responsiblePerson" placeholder="请输入负责人" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="联系电话" prop="phone">
|
|
|
|
|
<el-input v-model="form.phone" placeholder="请输入联系电话" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-form-item label="存在隐患" prop="risk">
|
|
|
|
|
<el-input v-model="form.risk" placeholder="请输入存在隐患" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="是否重大隐患" prop="isLargeRisk">
|
|
|
|
|
<el-select v-model="form.isLargeRisk" placeholder="请选择是否重大隐患">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_yes_no"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="是否重大隐患" prop="isLargeRisk" label-width="100px">
|
|
|
|
|
<el-select v-model="form.isLargeRisk" placeholder="请选择是否重大隐患">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_yes_no"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="是否建立双预防" prop="isEstablishPrevention" label-width="110px">
|
|
|
|
|
<el-select v-model="form.isEstablishPrevention" placeholder="请选择是否建立双预防">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_yes_no"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-form-item label="整改措施" prop="rectificationMeasure">
|
|
|
|
|
<el-input v-model="form.rectificationMeasure" placeholder="请输入整改措施" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="整改责任人" prop="rectificationPeople">
|
|
|
|
|
<el-input v-model="form.rectificationPeople" placeholder="请输入整改责任人" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="企业类别" prop="enterpriseCategory">
|
|
|
|
|
<el-select v-model="form.enterpriseCategory" placeholder="请选择企业类别">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.enterprise_category"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="parseInt(dict.value)"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="企业人数" prop="employeeNum">
|
|
|
|
|
<el-input v-model="form.employeeNum" placeholder="请输入企业人数" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="是否建立双预防" prop="isEstablishPrevention">
|
|
|
|
|
<el-select v-model="form.isEstablishPrevention" placeholder="请选择是否建立双预防">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_yes_no"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="时间" prop="time">
|
|
|
|
|
<el-date-picker clearable
|
|
|
|
|
v-model="form.time"
|
|
|
|
|
type="date"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
placeholder="请选择时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="企业类别" prop="enterpriseCategory">
|
|
|
|
|
<el-select v-model="form.enterpriseCategory" placeholder="请选择企业类别">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.enterprise_category"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="parseInt(dict.value)"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="企业人数" prop="employeeNum">
|
|
|
|
|
<el-input v-model="form.employeeNum" placeholder="请输入企业人数" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="时间" prop="time" label-width="60px">
|
|
|
|
|
<el-date-picker clearable
|
|
|
|
|
v-model="form.time"
|
|
|
|
|
type="date"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
placeholder="请选择时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="整改责任人" prop="rectificationPeople" label-width="90px">
|
|
|
|
|
<el-input v-model="form.rectificationPeople" placeholder="请输入整改责任人" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-form-item label="其他" prop="other">
|
|
|
|
|
<el-input v-model="form.other" placeholder="请输入其他" />
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -367,7 +393,8 @@ export default {
|
|
|
|
|
{ required: true, message: "单位名称不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
phone: [
|
|
|
|
|
{ pattern:/^((0\d{2,3}-\d{7,8})|(1[34578]\d{9}))$/, message: "联系电话必须是手机或固话(区号-固话)", trigger: "change" }
|
|
|
|
|
{ required: true, message: "电话不能为空", trigger: "blur" },
|
|
|
|
|
/*{ pattern:/^((0\d{2,3}-\d{7,8})|(1[345678]\d{9}))$/, message: "联系电话必须是手机或固话(区号-固话)", trigger: "change" }*/
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|