65c1000180eec9ec8ee1e94d4adab1e5.json 30 KB

1
  1. {"remainingRequest":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\src\\views\\peopleManage\\examination\\index.vue?vue&type=style&index=0&id=86133e5a&scoped=true&lang=css&","dependencies":[{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\src\\views\\peopleManage\\examination\\index.vue","mtime":1647228900888},{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\css-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\最新\\supervision-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKC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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/peopleManage/examination","sourcesContent":["<template>\r\n <div class=\"app-container\">\r\n <el-form\r\n :model=\"queryParams\"\r\n ref=\"queryForm\"\r\n :inline=\"true\"\r\n v-show=\"showSearch\"\r\n label-width=\"68px\"\r\n >\r\n <!-- <el-form-item label=\"政审对象\" prop=\"peopleId\">\r\n <el-input\r\n v-model=\"queryParams.peopleId\"\r\n placeholder=\"请输入政审对象\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"性别\" prop=\"sex\">\r\n <el-select v-model=\"queryParams.sex\" placeholder=\"请选择性别\" clearable size=\"small\">\r\n <el-option label=\"请选择字典生成\" value />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"出生年月\" prop=\"birthDate\">\r\n <el-date-picker\r\n clearable\r\n size=\"small\"\r\n v-model=\"queryParams.birthDate\"\r\n type=\"date\"\r\n value-format=\"yyyy-MM-dd\"\r\n placeholder=\"选择出生年月\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <el-form-item label=\"党团情况\" prop=\"partyId\">\r\n <el-input\r\n v-model=\"queryParams.partyId\"\r\n placeholder=\"请输入党团情况\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"民族\" prop=\"nationId\">\r\n <el-input\r\n v-model=\"queryParams.nationId\"\r\n placeholder=\"请输入民族\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"籍贯\" prop=\"origin\">\r\n <el-input\r\n v-model=\"queryParams.origin\"\r\n placeholder=\"请输入籍贯\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"入伍年月\" prop=\"enlistDate\">\r\n <el-date-picker\r\n clearable\r\n size=\"small\"\r\n v-model=\"queryParams.enlistDate\"\r\n type=\"date\"\r\n value-format=\"yyyy-MM-dd\"\r\n placeholder=\"选择入伍年月\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <el-form-item label=\"操作人员\" prop=\"adminId\">\r\n <el-input\r\n v-model=\"queryParams.adminId\"\r\n placeholder=\"请输入操作人员\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"操作时间\" prop=\"createtime\">\r\n <el-input\r\n v-model=\"queryParams.createtime\"\r\n placeholder=\"请输入操作时间\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item label=\"操作时间\" prop=\"updatetime\">\r\n <el-input\r\n v-model=\"queryParams.updatetime\"\r\n placeholder=\"请输入操作时间\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item> -->\r\n <el-form-item label=\"人员名称\" prop=\"cName\">\r\n <el-input\r\n v-model=\"queryParams.cName\"\r\n placeholder=\"请输入人员名称\"\r\n clearable\r\n size=\"small\"\r\n @keyup.enter.native=\"handleQuery\"\r\n />\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" icon=\"el-icon-search\" size=\"mini\" @click=\"handleQuery\">搜索</el-button>\r\n <el-button icon=\"el-icon-refresh\" size=\"mini\" @click=\"resetQuery\">重置</el-button>\r\n </el-form-item>\r\n </el-form>\r\n\r\n <el-row :gutter=\"10\" class=\"mb8\">\r\n <el-col :span=\"1.5\">\r\n <el-button\r\n type=\"primary\"\r\n plain\r\n icon=\"el-icon-plus\"\r\n size=\"mini\"\r\n @click=\"handleAdd\"\r\n v-hasPermi=\"['peopleManage:examination:add']\"\r\n >新增</el-button>\r\n </el-col>\r\n <el-col :span=\"1.5\">\r\n <el-button\r\n type=\"success\"\r\n plain\r\n icon=\"el-icon-edit\"\r\n size=\"mini\"\r\n :disabled=\"single\"\r\n @click=\"handleUpdate\"\r\n v-hasPermi=\"['peopleManage:examination:edit']\"\r\n >修改</el-button>\r\n </el-col>\r\n <el-col :span=\"1.5\">\r\n <el-button\r\n type=\"danger\"\r\n plain\r\n icon=\"el-icon-delete\"\r\n size=\"mini\"\r\n :disabled=\"multiple\"\r\n @click=\"handleDelete\"\r\n v-hasPermi=\"['peopleManage:examination:remove']\"\r\n >删除</el-button>\r\n </el-col>\r\n <!-- <el-col :span=\"1.5\">\r\n <el-button\r\n type=\"warning\"\r\n plain\r\n icon=\"el-icon-download\"\r\n size=\"mini\"\r\n :loading=\"exportLoading\"\r\n @click=\"handleExport\"\r\n v-hasPermi=\"['peopleManage:examination:export']\"\r\n >导出</el-button>\r\n </el-col> -->\r\n <right-toolbar :showSearch.sync=\"showSearch\" @queryTable=\"getList\"></right-toolbar>\r\n </el-row>\r\n\r\n <el-table\r\n v-loading=\"loading\"\r\n :data=\"examinationList\"\r\n :header-cell-style=\"{ background: '#003C69', color: 'white' }\"\r\n @selection-change=\"handleSelectionChange\"\r\n >\r\n <el-table-column type=\"selection\" width=\"55\" align=\"center\" />\r\n <!-- <el-table-column label=\"人员名称\" align=\"center\" prop=\"id\" /> -->\r\n <el-table-column label=\"序号\" align=\"center\" type=\"index\" />\r\n <!-- <el-table-column label=\"人员名称\" align=\"center\" prop=\"cName\" /> -->\r\n <!-- <el-table-column label=\"政审对象\" align=\"center\" prop=\"peopleId\" /> -->\r\n <el-table-column label=\"政审对象\" align=\"center\" prop=\"cName\" />\r\n <el-table-column label=\"性别\" align=\"center\" prop=\"sex\">\r\n <template slot-scope=\"scope\">\r\n <dict-tag :options=\"dict.type.sys_user_sex\" :value=\"scope.row.sex\" />\r\n </template>\r\n </el-table-column>\r\n <!-- <el-table-column label=\"出生年月\" align=\"center\" prop=\"birthDate\" width=\"180\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ parseTime(scope.row.birthDate, \"{y}-{m}-{d}\") }}</span>\r\n </template>\r\n </el-table-column> -->\r\n <el-table-column label=\"党团情况\" align=\"center\" prop=\"partyId\">\r\n <template slot-scope=\"scope\">\r\n <dict-tag :options=\"dict.type.Caucus\" :value=\"scope.row.partyId\" />\r\n </template>\r\n </el-table-column>\r\n <!-- <el-table-column label=\"民族\" align=\"center\" prop=\"nationId\" /> -->\r\n <!-- <el-table-column label=\"籍贯\" align=\"center\" prop=\"origin\" />\r\n <el-table-column label=\"入伍年月\" align=\"center\" prop=\"enlistDate\" width=\"180\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ parseTime(scope.row.enlistDate, \"{y}-{m}-{d}\") }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"奖惩情况\" align=\"center\" prop=\"prize\" />\r\n <el-table-column label=\"入伍简介\" align=\"center\" prop=\"enlistdesc\" />\r\n <el-table-column label=\"政治思想态度\" align=\"center\" prop=\"politicsAttitude\" />\r\n <el-table-column label=\"参加组织情况\" align=\"center\" prop=\"organization\" />\r\n <el-table-column label=\"家庭成员情况\" align=\"center\" prop=\"family\" />\r\n <el-table-column label=\"社会关系情况\" align=\"center\" prop=\"socialRelations\" />\r\n <el-table-column label=\"配偶家庭情况\" align=\"center\" prop=\"family2\" />\r\n <el-table-column label=\"本人自我鉴定\" align=\"center\" prop=\"selfIdentification\" />\r\n <el-table-column label=\"单位审查报告\" align=\"center\" prop=\"unitExamination\" /> -->\r\n <el-table-column label=\"操作人员\" align=\"center\" prop=\"adminId\" />\r\n <el-table-column label=\"操作时间\" align=\"center\" prop=\"createtime\" />\r\n <!-- <el-table-column label=\"操作时间\" align=\"center\" prop=\"updatetime\" /> -->\r\n <el-table-column label=\"操作\" align=\"center\" class-name=\"small-padding fixed-width\">\r\n <template slot-scope=\"scope\">\r\n <el-button\r\n size=\"mini\"\r\n type=\"text\"\r\n icon=\"el-icon-edit\"\r\n @click=\"handleUpdate(scope.row)\"\r\n v-hasPermi=\"['peopleManage:examination:edit']\"\r\n >修改</el-button>\r\n <el-button\r\n size=\"mini\"\r\n type=\"text\"\r\n icon=\"el-icon-delete\"\r\n @click=\"handleDelete(scope.row)\"\r\n v-hasPermi=\"['peopleManage:examination:remove']\"\r\n >删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n\r\n <pagination\r\n v-show=\"total > 0\"\r\n :total=\"total\"\r\n :page.sync=\"queryParams.pageNum\"\r\n :limit.sync=\"queryParams.pageSize\"\r\n @pagination=\"getList\"\r\n />\r\n\r\n <!-- 添加或修改人员政审对话框 -->\r\n <el-dialog :title=\"title\" :visible.sync=\"open\" width=\"1400px\" append-to-body>\r\n <el-form ref=\"form\" :model=\"form\" :rules=\"rules\" :inline=\"true\" label-width=\"120px\">\r\n <div class=\"jiben\">基本信息</div>\r\n <el-form-item label=\"政审对象\" prop=\"peopleId\">\r\n <el-select v-model=\"form.peopleId\" clearable @change=\"peopleIdfun\" ref=\"peopleId\" placeholder=\"请输入政审对象\">\r\n <el-option\r\n v-for=\"dict in peopleIds\"\r\n :key=\"dict.id\"\r\n :label=\"dict.name\"\r\n :value=\"dict.id\"\r\n style=\"width:200px;height:36px;\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"性别\" prop=\"sex\">\r\n <el-select v-model=\"form.sex\" clearable placeholder=\"请输入性别\">\r\n <el-option\r\n v-for=\"dict in sexList\"\r\n :key=\"dict.dictValue\"\r\n :label=\"dict.dictLabel\"\r\n :value=\"dict.dictValue\"\r\n style=\"width:200px;height:36px;\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"出生年月\" prop=\"birthDate\">\r\n <el-date-picker\r\n clearable\r\n size=\"small\"\r\n v-model=\"form.birthDate\"\r\n type=\"date\"\r\n value-format=\"yyyy-MM-dd\"\r\n placeholder=\"选择出生年月\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <el-form-item label=\"党团情况\" prop=\"partyId\">\r\n <el-select v-model=\"form.partyId\" clearable placeholder=\"请输入党团情况\">\r\n <el-option\r\n v-for=\"dict in partyIds\"\r\n :key=\"dict.dictValue\"\r\n :label=\"dict.dictLabel\"\r\n :value=\"parseInt(dict.dictValue)\"\r\n style=\"width:200px;height:36px;\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"民族\" prop=\"nationId\">\r\n <el-select v-model=\"form.nationId\" clearable placeholder=\"请输入民族\">\r\n <el-option\r\n v-for=\"dict in nationIds\"\r\n :key=\"dict.dictValue\"\r\n :label=\"dict.dictLabel\"\r\n :value=\"parseInt(dict.dictValue)\"\r\n style=\"width:200px;height:36px;\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"籍贯\" prop=\"origin\">\r\n <el-input v-model=\"form.origin\" placeholder=\"请输入籍贯\" />\r\n </el-form-item>\r\n <el-form-item label=\"入伍年月\" prop=\"enlistDate\">\r\n <el-date-picker\r\n clearable\r\n size=\"small\"\r\n v-model=\"form.enlistDate\"\r\n type=\"date\"\r\n value-format=\"yyyy-MM-dd\"\r\n placeholder=\"选择入伍年月\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <div class=\"jiben\">奖惩情况</div>\r\n <el-form-item label prop=\"prize\">\r\n <el-input v-model=\"form.prize\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">入伍简介</div>\r\n <el-form-item label prop=\"enlistdesc\">\r\n <el-input v-model=\"form.enlistdesc\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">政治思想态度</div>\r\n <el-form-item label prop=\"politicsAttitude\">\r\n <el-input v-model=\"form.politicsAttitude\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">参加组织情况</div>\r\n <el-form-item label prop=\"organization\">\r\n <el-input v-model=\"form.organization\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">家庭成员情况</div>\r\n <el-form-item label prop=\"family\">\r\n <el-input v-model=\"form.family\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">社会关系情况</div>\r\n <el-form-item label prop=\"socialRelations\">\r\n <el-input v-model=\"form.socialRelations\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">配偶家庭情况</div>\r\n <el-form-item label prop=\"family2\">\r\n <el-input v-model=\"form.family2\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">本人自我鉴定</div>\r\n <el-form-item label prop=\"selfIdentification\">\r\n <el-input v-model=\"form.selfIdentification\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n <div class=\"jiben\">单位审查报告</div>\r\n <el-form-item label prop=\"unitExamination\">\r\n <el-input v-model=\"form.unitExamination\" type=\"textarea\" placeholder=\"请输入内容\" />\r\n </el-form-item>\r\n </el-form>\r\n <div slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"submitForm\">确 定</el-button>\r\n <el-button @click=\"cancel\">取 消</el-button>\r\n </div>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n listExamination,\r\n getExamination,\r\n delExamination,\r\n addExamination,\r\n updateExamination,\r\n exportExamination,\r\n listPeople,\r\n getPeople \r\n} from \"@/api/peopleManage/examination\";\r\n\r\nexport default {\r\n name: \"Examination\",\r\n dicts: [\r\n \"sys_user_sex\",\r\n \"post_Level\",\r\n \"sys_user_rank\",\r\n \"personnel_type\",\r\n \"Degree_level\",\r\n \"degree\",\r\n \"Caucus\",\r\n \"marryList\",\r\n \"sys_yw\",\r\n \"healthy\",\r\n \"bloodType\",\r\n \"sys_yes_no\",\r\n \"sys_yes_no\"\r\n ],\r\n data() {\r\n return {\r\n // 遮罩层\r\n loading: true,\r\n // 导出遮罩层\r\n exportLoading: false,\r\n // 选中数组\r\n ids: [],\r\n // 非单个禁用\r\n single: true,\r\n // 非多个禁用\r\n multiple: true,\r\n // 显示搜索条件\r\n showSearch: true,\r\n // 总条数\r\n total: 0,\r\n // 人员政审表格数据\r\n examinationList: [],\r\n // 弹出层标题\r\n title: \"\",\r\n // 是否显示弹出层\r\n open: false,\r\n // 查询参数\r\n queryParams: {\r\n pageNum: 1,\r\n pageSize: 10,\r\n peopleId: null,\r\n sex: null,\r\n birthDate: null,\r\n partyId: null,\r\n nationId: null,\r\n origin: null,\r\n enlistDate: null,\r\n prize: null,\r\n enlistdesc: null,\r\n politicsAttitude: null,\r\n organization: null,\r\n family: null,\r\n socialRelations: null,\r\n family2: null,\r\n selfIdentification: null,\r\n unitExamination: null,\r\n adminId: null,\r\n createtime: null,\r\n updatetime: null,\r\n cName: null\r\n },\r\n // 表单参数\r\n form: {},\r\n // 表单校验\r\n rules: {\r\n peopleId: [\r\n { required: true, message: \"政审对象不能为空\", trigger: \"blur\" }\r\n ],\r\n sex: [{ required: true, message: \"性别不能为空\", trigger: \"change\" }],\r\n birthDate: [\r\n { required: true, message: \"出生年月不能为空\", trigger: \"blur\" }\r\n ],\r\n partyId: [\r\n { required: true, message: \"党团情况不能为空\", trigger: \"blur\" }\r\n ],\r\n nationId: [\r\n { required: true, message: \"民族不能为空\", trigger: \"blur\" }\r\n ],\r\n origin: [{ required: true, message: \"籍贯不能为空\", trigger: \"blur\" }],\r\n enlistDate: [\r\n { required: true, message: \"入伍年月不能为空\", trigger: \"blur\" }\r\n ],\r\n createtime: [\r\n { required: true, message: \"操作时间不能为空\", trigger: \"blur\" }\r\n ],\r\n updatetime: [\r\n { required: true, message: \"操作时间不能为空\", trigger: \"blur\" }\r\n ]\r\n },\r\n //性别\r\n sexList: [],\r\n //政治面貌\r\n partyIds: [],\r\n //民族\r\n nationIds: [],\r\n //政审对象\r\n peopleIds: []\r\n };\r\n },\r\n created() {\r\n //性别\r\n this.getDicts(\"sys_user_sex\").then(response => {\r\n this.sexList = response.data;\r\n });\r\n //政治面貌\r\n this.getDicts(\"Caucus\").then(response => {\r\n this.partyIds = response.data;\r\n });\r\n //民族\r\n this.getDicts(\"sys_familyName\").then(response => {\r\n this.nationIds = response.data;\r\n });\r\n //政审对象\r\n listPeople().then(res => {\r\n if (res.code == 200) {\r\n this.peopleIds = res.rows;\r\n }\r\n });\r\n this.getList();\r\n },\r\n methods: {\r\n /** 查询人员政审列表 */\r\n getList() {\r\n this.loading = true;\r\n listExamination(this.queryParams).then(response => {\r\n this.examinationList = response.rows;\r\n this.total = response.total;\r\n this.loading = false;\r\n });\r\n },\r\n // 取消按钮\r\n cancel() {\r\n this.open = false;\r\n this.reset();\r\n },\r\n // 表单重置\r\n reset() {\r\n this.form = {\r\n id: null,\r\n peopleId: null,\r\n sex: null,\r\n birthDate: null,\r\n partyId: null,\r\n nationId: null,\r\n origin: null,\r\n enlistDate: null,\r\n prize: null,\r\n enlistdesc: null,\r\n politicsAttitude: null,\r\n organization: null,\r\n family: null,\r\n socialRelations: null,\r\n family2: null,\r\n selfIdentification: null,\r\n unitExamination: null,\r\n adminId: null,\r\n createtime: null,\r\n updatetime: null,\r\n cName: null\r\n };\r\n this.resetForm(\"form\");\r\n },\r\n /** 搜索按钮操作 */\r\n handleQuery() {\r\n this.queryParams.pageNum = 1;\r\n this.getList();\r\n },\r\n /** 重置按钮操作 */\r\n resetQuery() {\r\n this.resetForm(\"queryForm\");\r\n this.handleQuery();\r\n },\r\n // 多选框选中数据\r\n handleSelectionChange(selection) {\r\n this.ids = selection.map(item => item.id);\r\n this.single = selection.length !== 1;\r\n this.multiple = !selection.length;\r\n },\r\n /** 新增按钮操作 */\r\n handleAdd() {\r\n this.reset();\r\n this.open = true;\r\n this.title = \"添加人员政审\";\r\n },\r\n /** 修改按钮操作 */\r\n handleUpdate(row) {\r\n this.reset();\r\n const id = row.id || this.ids;\r\n getExamination(id).then(response => {\r\n this.form = response.data;\r\n this.open = true;\r\n this.title = \"修改人员政审\";\r\n });\r\n },\r\n /** 提交按钮 */\r\n submitForm() {\r\n this.$refs[\"form\"].validate(valid => {\r\n if (valid) {\r\n if (this.form.id != null) {\r\n this.form.cName = this.$refs[\"peopleId\"].selectedLabel;\r\n updateExamination(this.form).then(response => {\r\n this.$modal.msgSuccess(\"修改成功\");\r\n this.open = false;\r\n this.getList();\r\n });\r\n } else {\r\n this.form.cName = this.$refs[\"peopleId\"].selectedLabel;\r\n addExamination(this.form).then(response => {\r\n this.$modal.msgSuccess(\"新增成功\");\r\n this.open = false;\r\n this.getList();\r\n });\r\n }\r\n }\r\n });\r\n },\r\n /** 删除按钮操作 */\r\n handleDelete(row) {\r\n const ids = row.id || this.ids;\r\n this.$modal\r\n .confirm('是否确认删除人员政审编号为\"' + ids + '\"的数据项?')\r\n .then(function() {\r\n return delExamination(ids);\r\n })\r\n .then(() => {\r\n this.getList();\r\n this.$modal.msgSuccess(\"删除成功\");\r\n })\r\n .catch(() => {});\r\n },\r\n /** 导出按钮操作 */\r\n handleExport() {\r\n const queryParams = this.queryParams;\r\n this.$modal\r\n .confirm(\"是否确认导出所有人员政审数据项?\")\r\n .then(() => {\r\n this.exportLoading = true;\r\n return exportExamination(queryParams);\r\n })\r\n .then(response => {\r\n this.$download.name(response.msg);\r\n this.exportLoading = false;\r\n })\r\n .catch(() => {});\r\n },\r\n //获取人员基本信息\r\n peopleIdfun(){\r\n getPeople(this.form.peopleId).then(res=>{\r\n if(res.code==200){\r\n this.form.sex=res.data.sex;\r\n this.form.birthDate=res.data.birthDate;\r\n this.form.partyId=res.data.partyId;\r\n this.form.nationId=res.data.nationId;\r\n this.form.origin=res.data.origin;\r\n this.form.enlistDate=res.data.enlistDate;\r\n this.form.prize=res.data.prize;\r\n }\r\n })\r\n }\r\n }\r\n};\r\n</script>\r\n<style scoped>\r\n::v-deep .el-dialog {\r\n width: 1030px !important;\r\n background-color: #004d86;\r\n}\r\n\r\n::v-deep .el-dialog__header {\r\n border-bottom: 1px solid #718a9d;\r\n}\r\n::v-deep .el-dialog__title {\r\n color: #fff;\r\n font: 18px;\r\n}\r\n::v-deep .el-dialog__headerbtn .el-dialog__close {\r\n color: #fff;\r\n}\r\n.el-form-item ::v-deep .el-input__inner {\r\n width: 200px;\r\n height: 36px;\r\n background: #004d86;\r\n color: #fff;\r\n}\r\n::v-deep .el-date-editor.el-input {\r\n width: 200px;\r\n height: 36px;\r\n}\r\n::v-deep .el-upload--picture-card {\r\n height: 210px;\r\n width: 170px;\r\n line-height: 210px;\r\n}\r\n.el-upload--picture-card /deep/ .el-upload--picture-card i {\r\n font-size: 48px;\r\n}\r\n::v-deep .el-upload__tip {\r\n display: none;\r\n}\r\n::v-deep .el-textarea__inner {\r\n width: 980px;\r\n height: 104px;\r\n}\r\n.div-box-title span {\r\n width: 25px;\r\n height: 25px;\r\n display: inline-block;\r\n background-color: #1c86e1;\r\n line-height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n cursor: pointer;\r\n margin-left: 865px;\r\n}\r\n.el-select-dropdown__item:hover {\r\n color: #1c86e1;\r\n}\r\n.el-select-dropdown__item {\r\n color: #fff;\r\n}\r\n.el-tree {\r\n background-color: #00365f;\r\n color: #fff;\r\n}\r\n::v-deep .el-tree-node__content:hover {\r\n color: #1c86e1;\r\n}\r\n::v-deep .el-upload-list--picture-card .el-upload-list__item {\r\n height: 210px;\r\n width: 170px;\r\n}\r\n::v-deep .el-table__header-wrapper .has-gutter tr {\r\n background-color: #003C69;\r\n color: #fff;\r\n }\r\n</style>\r\n"]}]}