ZhangXianQiang
2024-03-13 a206ac34469aa9e32d7bd36db783f15c2e9b90d6
src/views/system/unit/people/index.vue
@@ -43,7 +43,6 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:people:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -54,7 +53,6 @@
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['system:people:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -65,7 +63,6 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['system:people:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -75,7 +72,6 @@
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['system:people:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -95,14 +91,12 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:people:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:people:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
@@ -184,6 +178,7 @@
        ywPersonName: null,
        belongUnit: null,
      },
      // 运维单位
      unitList: [],
      // 表单参数
      form: {},
@@ -213,7 +208,7 @@
  },
  methods: {
    getUnitSelect() {
      // 下拉列表
      // 运维单位下拉列表
      unitSelect().then((res) => {
        this.unitList = res.data;
      })