gaoluyang
2026-08-06 1eff6fe0753bfd7c0ac6d107bf9ce2221ebb478c
src/views/safeProduction/emergencyPlanReview/index.vue
@@ -1,6 +1,6 @@
<template>
  <div class="app-container">
    <div class="search_form">
    <div class="search_form mb20">
      <div>
        <span class="search_title">应急预案名称:</span>
        <el-input v-model="searchForm.planName"
@@ -30,7 +30,7 @@
                   @click="openForm('add')">新增应急预案</el-button>
        <el-button type="danger"
                   plain
                   @click="handleDelete">删除</el-button>
                   @click="handleDelete" v-hasPermi="['safeProduction:emergencyPlanReview:remove']">删除</el-button>
      </div>
    </div>
    <div class="table_list">
@@ -86,7 +86,7 @@
          <el-col :span="12">
            <el-form-item label="核心责任人:"
                          prop="coreResponsorUserId">
              <el-select v-model="form.coreResponsorUserId"
              <el-select filterable v-model="form.coreResponsorUserId"
                         placeholder="请选择"
                         @change="handleChange"
                         clearable>
@@ -145,7 +145,7 @@
                  <el-button type="danger"
                             size="small"
                             @click="removeExecStep(index)"
                             style="margin-left: 10px">删除</el-button>
                             style="margin-left: 10px" v-hasPermi="['safeProduction:emergencyPlanReview:remove']">删除</el-button>
                </div>
                <div style="margin-top: 5px;width: 100%;">
                  <el-input v-model="step.description"
@@ -165,9 +165,9 @@
      </el-form>
      <template #footer>
        <span class="dialog-footer">
          <el-button @click="dialogVisible = false">取消</el-button>
          <el-button type="primary"
                     @click="submitForm">确定</el-button>
          <el-button @click="dialogVisible = false">取消</el-button>
        </span>
      </template>
    </el-dialog>
@@ -445,7 +445,7 @@
      .then(res => {
        tableLoading.value = false;
        tableData.value = res.data.records;
        page.total = res.data.total;
        page.value.total = res.data.total;
      })
      .catch(err => {
        tableLoading.value = false;
@@ -456,7 +456,7 @@
  const pagination = obj => {
    page.value.current = obj.page;
    page.value.size = obj.limit;
    handleQuery();
    getList();
  };
  // 选择变化处理