龚焕茏
2024-03-15 de2f2613ffd98786bc7252a35ceb6a4d165849ef
src/views/dg/danger/total.vue
@@ -81,10 +81,10 @@
      />
    </el-card>
    <!-- 添加或修改安全隐患统计对话框 -->
    <el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
      <el-form ref="dangerTotalFormRef" :model="form" :rules="rules" label-width="80px">
    <el-dialog :title="dialog.title" v-model="dialog.visible" width="840px" append-to-body>
      <el-form ref="dangerTotalFormRef" :inline="true" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="镇街名称" prop="townStreetName" label-width="100">
          <el-select v-model="form.townStreetName" placeholder="请选择" clearable style="width: 240px" >
          <el-select class="el-input-width" v-model="form.townStreetName" placeholder="请选择" clearable >
            <el-option v-for="item in townStreetNames" :key="item.name" :label="item.name" :value="item.name"/>
          </el-select>
        </el-form-item>
@@ -94,19 +94,20 @@
            <el-option key="2" label="月度" :value="2" />
          </el-select>
          &emsp;
          <el-date-picker v-model="form.periodDate" :type="pickerType" :value-format="pickerFormat" placeholder="请选择统计周期" />
          <el-date-picker v-model="form.periodDate" :type="pickerType" :value-format="pickerFormat" placeholder="请选择统计周期" style="width: 150px;" />
        </el-form-item>
        <el-form-item label="发现隐患" prop="findSecurityRisks" label-width="100">
          <el-input v-model="form.findSecurityRisks" placeholder="请输入发现安全隐患" />
          <el-input class="el-input-width" v-model="form.findSecurityRisks" placeholder="请输入发现安全隐患" />
        </el-form-item>
        <el-form-item label="下发通知书" prop="issueNotice" label-width="100">
          <el-input v-model="form.issueNotice" placeholder="请输入下发通知书" />
          <el-input class="el-input-width" v-model="form.issueNotice" placeholder="请输入下发通知书" />
        </el-form-item>
        <el-form-item label="处置隐患" prop="dealWithSecurityRisks" label-width="100">
          <el-input v-model="form.dealWithSecurityRisks" placeholder="请输入处置安全隐患" />
          <el-input class="el-input-width" v-model="form.dealWithSecurityRisks" placeholder="请输入处置安全隐患" />
        </el-form-item>
        <br/>
        <el-form-item label="状态" prop="status" label-width="100">
          <el-select v-model="form.status" placeholder="请选择">
          <el-select v-model="form.status" placeholder="请选择" class="el-input-width">
            <el-option key="1" label="已启用" :value="1" />
            <el-option key="2" label="已禁用" :value="2" />
          </el-select>
@@ -409,3 +410,8 @@
}
</script>
<style scoped>
.el-input-width {
  width: 265px;
}
</style>