|
@@ -0,0 +1,229 @@
|
|
|
+<template>
|
|
|
+ <div class="app-container">
|
|
|
+ <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px" @submit.native.prevent>
|
|
|
+ <el-form-item label="人员名称" prop="personName" class="duanInput">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.personName"
|
|
|
+ placeholder="请输入人员名称"
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
+ <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+
|
|
|
+ <el-table v-loading="loading" :data="caseList">
|
|
|
+ <el-table-column label="人员名称" align="center" prop="personName"/>
|
|
|
+ <el-table-column label="电话" align="center" prop="personPhone"/>
|
|
|
+ <el-table-column label="所属部门" align="center" prop="deptName"/>
|
|
|
+ <el-table-column label="人员类型" align="center" prop="personType"/>
|
|
|
+ <el-table-column label="是否主办" align="center" prop="mainPerson"/>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
+ <pagination
|
|
|
+ v-show="total>0"
|
|
|
+ :total="total"
|
|
|
+ :page.sync="queryParams.pageNum"
|
|
|
+ :limit.sync="queryParams.pageSize"
|
|
|
+ @pagination="getList"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import {getAbnormalUser} from "@/api/lawenforcement/person";
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: "abnormalUser",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ // 遮罩层
|
|
|
+ loading: true,
|
|
|
+ // 选中数组
|
|
|
+ ids: [],
|
|
|
+ // 非单个禁用
|
|
|
+ single: true,
|
|
|
+ // 非多个禁用
|
|
|
+ multiple: true,
|
|
|
+ caseName: "",
|
|
|
+ // 显示搜索条件
|
|
|
+ showSearch: true,
|
|
|
+ // 总条数
|
|
|
+ total: 0,
|
|
|
+ type: 0,
|
|
|
+ update:null,
|
|
|
+ // 案件表格数据
|
|
|
+ caseList: [],
|
|
|
+ //日志列表
|
|
|
+ logList: [],
|
|
|
+ logNum: null,
|
|
|
+ // 弹出层标题
|
|
|
+ title: "",
|
|
|
+ // 是否显示弹出层
|
|
|
+ open: false,
|
|
|
+ open1: false,
|
|
|
+ disabled: true,
|
|
|
+ state:null,
|
|
|
+ // 查询参数
|
|
|
+ queryParams: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ },
|
|
|
+ // 表单参数
|
|
|
+ form: {},
|
|
|
+ // 表单校验
|
|
|
+ rules: {},
|
|
|
+ selected: null
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ /** 查询案件列表 */
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ getAbnormalUser(this.queryParams).then(response => {
|
|
|
+ this.caseList = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 表单重置
|
|
|
+ reset() {
|
|
|
+ this.form = {
|
|
|
+ personName: null,
|
|
|
+ };
|
|
|
+ this.resetForm("form");
|
|
|
+ },
|
|
|
+ /** 搜索按钮操作 */
|
|
|
+ handleQuery() {
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ /** 重置按钮操作 */
|
|
|
+ resetQuery() {
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style>
|
|
|
+.el-link.el-link--default {
|
|
|
+ color: #606266;
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
+
|
|
|
+.form-item-title {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ width: 100%;
|
|
|
+ border-bottom: solid 1px #ccc;
|
|
|
+ padding: 15px 20px;
|
|
|
+ border-left: solid 4px #2b64c1;
|
|
|
+}
|
|
|
+
|
|
|
+.el-table--fit {
|
|
|
+ margin: 10px 0 0 0;
|
|
|
+}
|
|
|
+
|
|
|
+.el-dialog__header {
|
|
|
+ background: #f5f7f9;
|
|
|
+}
|
|
|
+
|
|
|
+/* .anjianxinxi{
|
|
|
+ background: #f5f5f5;
|
|
|
+} */
|
|
|
+.gdla .el-dialog {
|
|
|
+ height: 820px;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.el-dialog__body {
|
|
|
+ padding: 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.el-form-item {
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+
|
|
|
+.el-form-item__label {
|
|
|
+ font-weight: normal !important;
|
|
|
+ white-space: nowrap !important;
|
|
|
+}
|
|
|
+
|
|
|
+.el-form-item__content {
|
|
|
+ margin: 0 !important;
|
|
|
+ line-height: 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.duanInput .el-input.is-disabled .el-input__inner, .duanInput .el-input--medium .el-input__inner {
|
|
|
+ background-color: #fff !important;
|
|
|
+ width: 440px;
|
|
|
+ border-radius: 0px;
|
|
|
+}
|
|
|
+
|
|
|
+.el-textarea.is-disabled .el-textarea__inner {
|
|
|
+ background-color: #fff !important;
|
|
|
+ width: 1000px;
|
|
|
+ height: auto;
|
|
|
+ resize: none;
|
|
|
+}
|
|
|
+
|
|
|
+.ajms .el-textarea__inner {
|
|
|
+ background-color: #fff !important;
|
|
|
+ width: 1023px !important;
|
|
|
+ height: auto;
|
|
|
+ resize: none;
|
|
|
+}
|
|
|
+
|
|
|
+.el-card__body {
|
|
|
+ padding: 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.el-card {
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+}
|
|
|
+
|
|
|
+.el-form-item--medium .el-form-item__content .upload-file {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.el-dialog__body .el-button--medium {
|
|
|
+ padding: 0 !important;
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ margin: 0 20px 0 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.el-dialog__body .el-button--medium img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+/* .el-upload-list{
|
|
|
+ width: 930px ;
|
|
|
+} */
|
|
|
+.upload-file-list .ele-upload-list__item-content {
|
|
|
+ padding: 0 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.shuoming {
|
|
|
+ width: 1040px !important;
|
|
|
+}
|
|
|
+
|
|
|
+.shuoming input {
|
|
|
+ width: 1040px !important;
|
|
|
+}
|
|
|
+
|
|
|
+.fjList .el-upload-list {
|
|
|
+ width: 980px !important;
|
|
|
+}
|
|
|
+</style>
|