上饶市警务平台后台管理前端
zhongrj
2023-04-23 29cfa10941e955e7e49b60201ad8a0d1f13ed0b3
小区管理新增人员审查按钮
2 files modified
24 ■■■■■ changed files
src/api/villagePersonInfo/villagePersonInfo.js 10 ●●●●● patch | view | raw | blame | history
src/views/villagePersonInfo/villagePersonInfo.vue 14 ●●●●● patch | view | raw | blame | history
src/api/villagePersonInfo/villagePersonInfo.js
@@ -48,3 +48,13 @@
  })
}
export const personnelReview = (status) => {
  return request({
    url: '/api/villagePersonInfo/villagePersonInfo/personnelReview',
    method: 'get',
    params: {
      status
    }
  })
}
src/views/villagePersonInfo/villagePersonInfo.vue
@@ -32,6 +32,12 @@
                   v-if="permission.villagePersonInfo_delete"
                   @click="handleDelete">删 除
        </el-button>
        <el-button type="success"
                   size="small"
                   plain
                   icon="el-icon-coordinate"
                   @click="handleCheck">人员审查
        </el-button>
      </template>
    </avue-crud>
    <el-dialog title="数据导入"
@@ -50,7 +56,7 @@
</template>
<script>
  import {getPage, getDetail, add, update, remove} from "@/api/villagePersonInfo/villagePersonInfo";
  import {getPage, getDetail, add, update, remove,personnelReview} from "@/api/villagePersonInfo/villagePersonInfo";
  import {mapGetters} from "vuex";
  import {exportBlob} from "@/api/common";
  import {downloadXls} from "@/util/util";
@@ -221,6 +227,12 @@
      }
    },
    methods: {
      // 人员审查
      handleCheck(){
        personnelReview(0).then(res=>{
        })
      },
      rowSave(row, done, loading) {
        add(row).then(() => {
          this.onLoad(this.page);