From 59f01df8a5bbf82775c061096db2230346abfa49 Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Tue, 05 Mar 2024 08:26:37 +0800
Subject: [PATCH] 违章处罚验收更改
---
src/views/coalMine/cViolationRegistration/index.vue | 49 ++++++++++++++++---------------------------------
1 files changed, 16 insertions(+), 33 deletions(-)
diff --git a/src/views/coalMine/cViolationRegistration/index.vue b/src/views/coalMine/cViolationRegistration/index.vue
index 74cff3d..16e8d1e 100644
--- a/src/views/coalMine/cViolationRegistration/index.vue
+++ b/src/views/coalMine/cViolationRegistration/index.vue
@@ -9,6 +9,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
+ <el-form-item label="类型" prop="userName">
+ <el-input
+ v-model="queryParams.name"
+ placeholder="请输入用户姓名"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
<el-form-item label="身份证号" prop="idCard">
<el-input
v-model="queryParams.idCard"
@@ -68,24 +76,16 @@
<el-button
size="mini"
type="text"
- icon="el-icon-edit"
- style="color: #f56c6c"
- @click="openCancle(scope.row,'edit')"
- v-hasPermi="['system:experts:remove']"
- >撤销</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="openCheck(scope.row,'edit')"
- v-hasPermi="['system:experts:remove']"
- >核准</el-button>
- <el-button
- size="mini"
- type="text"
icon="el-icon-view"
@click="openViolation(scope.row,'view')"
>查看违规详情</el-button>
+<!-- <el-button-->
+<!-- size="mini"-->
+<!-- type="text"-->
+<!-- icon="el-icon-edit"-->
+<!-- @click="openViolation(scope.row,'edit')"-->
+<!-- v-hasPermi="['system:experts:remove']"-->
+<!-- >编辑</el-button>-->
<el-button
size="mini"
type="text"
@@ -113,9 +113,6 @@
import {delViolation, getViolationPage} from "@/api/coalMine/violation";
import {getOperatePage} from "@/api/coalMine/operateType";
import {delPeople} from "@/api/coalMine/people";
-import {MessageBox} from "element-ui";
-import store from "@/store";
-import {isRelogin} from "@/utils/request";
export default {
name: "cViolationRegistration",
dicts: [],
@@ -218,21 +215,7 @@
},
openViolation(data,type){
this.$refs.violationDialog.openDialog(data,type);
- },
- openCancle(data,type){
- MessageBox.confirm('撤销登记信息,是否继续?', '系统提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
- this.$message.success('撤销成功')
- }).catch(() => {
- console.log('取消')
- });
- },
- openCheck(data,type){
- MessageBox.confirm('核准登记信息,是否继续?', '系统提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
- this.$message.success('核准成功')
- }).catch(() => {
- console.log('取消')
- });
- },
+ }
}
};
</script>
--
Gitblit v1.9.2