From adedccb67c8aafecbf06dc902fac0c4837b4087a Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期一, 11 九月 2023 16:57:34 +0800
Subject: [PATCH] 非煤
---
src/views/notCoalMine/nJobRegistration/components/addDialog.vue | 86 +++++++
src/views/notCoalMine/nTrainRecord/index.vue | 81 +++++++
src/views/notCoalMine/nViolationRegistration/components/addDialog.vue | 119 ++++++++++
src/views/notCoalMine/nViolationRegistration/index.vue | 140 ++++++++++++
src/views/notCoalMine/nExamRoomRecord/index.vue | 81 +++++++
src/views/notCoalMine/nJobRegistration/index.vue | 140 ++++++++++++
6 files changed, 647 insertions(+), 0 deletions(-)
diff --git a/src/views/notCoalMine/nExamRoomRecord/index.vue b/src/views/notCoalMine/nExamRoomRecord/index.vue
new file mode 100644
index 0000000..ae042fc
--- /dev/null
+++ b/src/views/notCoalMine/nExamRoomRecord/index.vue
@@ -0,0 +1,81 @@
+<template>
+ <div class="app-container">
+ <el-table v-loading="loading" :data="expertList">
+ <el-table-column label="上报时间" align="center" prop="name" />
+ <el-table-column label="考试中心" align="center" prop="name" />
+ <el-table-column label="AI分析异常类别" align="center" prop="name" />
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+ <template #default="scope">
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-view"
+ @click="handleView(scope.row)"
+ >查看截图</el-button>
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-delete"
+ @click="handleDelete(scope.row)"
+ v-hasPermi="['system:experts:remove']"
+ >删除</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
+ <pagination
+ v-show="total>0"
+ :total="total"
+ :page.sync="queryParams.pageIndex"
+ :limit.sync="queryParams.pageSize"
+ @pagination="getList"
+ />
+ </div>
+</template>
+
+<script>
+export default {
+ name: "nPeopleManage",
+ dicts: [],
+ components: {},
+ data() {
+ return {
+ loading: false,
+ single: true,
+ multiple: true,
+ showSearch: true,
+ addForm: false,
+ total: 0,
+ expertTypes: [],
+ expertList: [],
+ queryParams: {},
+ classiFy: [],
+ form: {},
+ rules: {
+ classifyName: [
+ { required: true, message: "分类名称不能为空", trigger: "blur" }
+ ]
+ }
+ };
+ },
+ created() {
+
+ },
+ methods: {
+ getList(){
+
+ },
+ handleChange(){
+
+ },
+ handleQuery(){
+
+ },
+ resetQuery(){
+
+ },
+ handleAdd(){
+
+ }
+ }
+};
+</script>
diff --git a/src/views/notCoalMine/nJobRegistration/components/addDialog.vue b/src/views/notCoalMine/nJobRegistration/components/addDialog.vue
new file mode 100644
index 0000000..9856c67
--- /dev/null
+++ b/src/views/notCoalMine/nJobRegistration/components/addDialog.vue
@@ -0,0 +1,86 @@
+<template>
+ <el-dialog
+ :title="dialogStatus==='add'?'新增填报':''"
+ :visible.sync="dialogVisible"
+ :modal-append-to-body="false"
+ :close-on-click-modal="false"
+ width="50%"
+ :before-close="handleClose"
+ >
+ <el-form ref="dataForm" :model="dataForm" :rules="rules" label-position="right" label-width="150px" style="padding-right: 50px" element-loading-text="保存中...">
+ <el-form-item label="身份证号:" prop="idCard">
+ <el-input v-model.trim="dataForm.idCard"/>
+ </el-form-item>
+ <el-form-item label="IC卡编号:" prop="iCCard">
+ <el-input v-model.trim="dataForm.iCCard"/>
+ </el-form-item>
+ <el-form-item label="电子证号:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="姓名:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="所属单位:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="操作类型:" prop="remark">
+ <el-cascader
+ v-model="value"
+ :options="options"
+ @change="handleChange">
+ </el-cascader>
+ </el-form-item>
+ </el-form>
+ <span slot="footer" class="dialog-footer">
+ <el-button @click="handleClose">取 消</el-button>
+ <el-button type="primary" @click="onSubmit">确 定</el-button>
+ </span>
+ </el-dialog>
+</template>
+
+<script >
+export default {
+ name: 'addUser',
+ components: {
+ },
+ data() {
+ return {
+ dialogVisible: false,
+ dialogStatus: '',
+ rules: {
+ name: [{ required: true, message: '身份证号', trigger: 'blur' }],
+ },
+ dataForm: {}
+ }
+ },
+ created() {
+
+ },
+ methods: {
+ openDialog (type, data) {
+ this.resetDataForm();
+ this.dialogVisible = true;
+ this.dialogStatus = type;
+ this.$nextTick(() => {
+ this.$refs['dataForm'].clearValidate()
+ })
+ },
+ handleClose() {
+ this.dialogVisible = false;
+ this.$emit("getList");
+ },
+ onSubmit() {
+ this.$emit("getList");
+ this.dialogVisible = false;
+ },
+ resetDataForm() {
+ this.dataForm = {
+ }
+ },
+ }
+}
+
+</script>
+<style scoped>
+
+</style>
diff --git a/src/views/notCoalMine/nJobRegistration/index.vue b/src/views/notCoalMine/nJobRegistration/index.vue
new file mode 100644
index 0000000..dfcb7b4
--- /dev/null
+++ b/src/views/notCoalMine/nJobRegistration/index.vue
@@ -0,0 +1,140 @@
+<template>
+ <div class="app-container">
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+ <el-form-item label="用户姓名" prop="userName">
+ <el-input
+ v-model="queryParams.userName"
+ placeholder="请输入用户姓名"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="身份证号" prop="idCard">
+ <el-input
+ v-model="queryParams.idCard"
+ placeholder="请输入身份证号"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="单位名称" prop="idCard">
+ <el-input
+ v-model="queryParams.unit"
+ placeholder="请输入单位名称"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="作业类型">
+ <el-cascader
+ v-model="classiFy"
+ :options="expertTypes"
+ :props="{ expandTrigger: 'hover', value: 'id',label: 'label'}"
+ @change="handleChange"></el-cascader>
+ </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-row :gutter="10" class="mb8">
+ <el-col :span="1.5">
+ <el-button
+ type="primary"
+ plain
+ size="mini"
+ @click="handleAdd"
+ v-hasPermi="['system:experts:add']"
+ >新增填报</el-button>
+ </el-col>
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+ </el-row>
+ <el-table v-loading="loading" :data="expertList">
+ <el-table-column label="作业日期" align="center" prop="name" />
+ <el-table-column label="姓名" align="center" prop="name" />
+ <el-table-column label="身份证号" align="center" prop="name" />
+ <el-table-column label="IC/电子证编号" align="center" prop="phone"/>
+ <el-table-column label="所属单位" align="center" prop="phone"/>
+ <el-table-column label="作业种类" align="center" prop="phone"/>
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+ <template #default="scope">
+<!-- <el-button-->
+<!-- size="mini"-->
+<!-- type="text"-->
+<!-- icon="el-icon-view"-->
+<!-- @click="handleView(scope.row)"-->
+<!-- >查看违规详情</el-button>-->
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-delete"
+ @click="handleDelete(scope.row)"
+ v-hasPermi="['system:experts:remove']"
+ >删除</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
+ <pagination
+ v-show="total>0"
+ :total="total"
+ :page.sync="queryParams.pageIndex"
+ :limit.sync="queryParams.pageSize"
+ @pagination="getList"
+ />
+ <add-dialog ref="addDialogRef" @getList = "getList"></add-dialog>
+ </div>
+</template>
+
+<script>
+
+import addDialog from "@/views/notCoalMine/nJobRegistration/components/addDialog.vue";
+export default {
+ name: "nViolationRegistration",
+ dicts: [],
+ components: {
+ addDialog
+ },
+ data() {
+ return {
+ addDialogRef: '',
+ loading: false,
+ single: true,
+ multiple: true,
+ showSearch: true,
+ addForm: false,
+ total: 0,
+ expertTypes: [],
+ expertList: [],
+ queryParams: {},
+ classiFy: [],
+ form: {},
+ rules: {
+ classifyName: [
+ { required: true, message: "分类名称不能为空", trigger: "blur" }
+ ]
+ }
+ };
+ },
+ created() {
+
+ },
+ methods: {
+ getList(){
+
+ },
+ handleChange(){
+
+ },
+ handleQuery(){
+
+ },
+ resetQuery(){
+
+ },
+ handleAdd(){
+ this.$refs.addDialogRef.openDialog();
+ }
+ }
+};
+</script>
diff --git a/src/views/notCoalMine/nTrainRecord/index.vue b/src/views/notCoalMine/nTrainRecord/index.vue
new file mode 100644
index 0000000..ae042fc
--- /dev/null
+++ b/src/views/notCoalMine/nTrainRecord/index.vue
@@ -0,0 +1,81 @@
+<template>
+ <div class="app-container">
+ <el-table v-loading="loading" :data="expertList">
+ <el-table-column label="上报时间" align="center" prop="name" />
+ <el-table-column label="考试中心" align="center" prop="name" />
+ <el-table-column label="AI分析异常类别" align="center" prop="name" />
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+ <template #default="scope">
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-view"
+ @click="handleView(scope.row)"
+ >查看截图</el-button>
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-delete"
+ @click="handleDelete(scope.row)"
+ v-hasPermi="['system:experts:remove']"
+ >删除</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
+ <pagination
+ v-show="total>0"
+ :total="total"
+ :page.sync="queryParams.pageIndex"
+ :limit.sync="queryParams.pageSize"
+ @pagination="getList"
+ />
+ </div>
+</template>
+
+<script>
+export default {
+ name: "nPeopleManage",
+ dicts: [],
+ components: {},
+ data() {
+ return {
+ loading: false,
+ single: true,
+ multiple: true,
+ showSearch: true,
+ addForm: false,
+ total: 0,
+ expertTypes: [],
+ expertList: [],
+ queryParams: {},
+ classiFy: [],
+ form: {},
+ rules: {
+ classifyName: [
+ { required: true, message: "分类名称不能为空", trigger: "blur" }
+ ]
+ }
+ };
+ },
+ created() {
+
+ },
+ methods: {
+ getList(){
+
+ },
+ handleChange(){
+
+ },
+ handleQuery(){
+
+ },
+ resetQuery(){
+
+ },
+ handleAdd(){
+
+ }
+ }
+};
+</script>
diff --git a/src/views/notCoalMine/nViolationRegistration/components/addDialog.vue b/src/views/notCoalMine/nViolationRegistration/components/addDialog.vue
new file mode 100644
index 0000000..4dbc23b
--- /dev/null
+++ b/src/views/notCoalMine/nViolationRegistration/components/addDialog.vue
@@ -0,0 +1,119 @@
+<template>
+ <el-dialog
+ :title="dialogStatus==='add'?'新增填报':''"
+ :visible.sync="dialogVisible"
+ :modal-append-to-body="false"
+ :close-on-click-modal="false"
+ width="50%"
+ :before-close="handleClose"
+ >
+ <el-form ref="dataForm" :model="dataForm" :rules="rules" label-position="right" label-width="150px" style="padding-right: 50px" element-loading-text="保存中...">
+ <el-form-item label="身份证号:" prop="idCard">
+ <el-input v-model.trim="dataForm.idCard"/>
+ </el-form-item>
+ <el-form-item label="IC卡编号:" prop="iCCard">
+ <el-input v-model.trim="dataForm.iCCard"/>
+ </el-form-item>
+ <el-form-item label="电子证号:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="违章日期:" prop="remark">
+ <el-date-picker
+ v-model="dataForm.data"
+ type="date"
+ format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd"
+ placeholder="选择日期">
+ </el-date-picker>
+ </el-form-item>
+ <el-form-item label="姓名:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="所属单位:" prop="remark">
+ <el-input v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ <el-form-item label="操作类型:" prop="remark">
+ <el-cascader
+ v-model="value"
+ :options="options"
+ @change="handleChange">
+ </el-cascader>
+ </el-form-item>
+ <el-form-item label="图片上传:" prop="remark">
+ <el-upload
+ action="https://jsonplaceholder.typicode.com/posts/"
+ list-type="picture-card"
+ :on-preview="handlePictureCardPreview"
+ :on-remove="handleRemove">
+ <i class="el-icon-plus"></i>
+ </el-upload>
+ <el-dialog :visible.sync="dialogVisibleImg" :modal-append-to-body="false">
+ <img width="100%" :src="dialogImageUrl" alt="">
+ </el-dialog>
+ </el-form-item>
+ <el-form-item label="违章描述:" prop="remark">
+ <el-input type="textarea" v-model.trim="dataForm.remark"/>
+ </el-form-item>
+ </el-form>
+ <span slot="footer" class="dialog-footer">
+ <el-button @click="handleClose">取 消</el-button>
+ <el-button type="primary" @click="onSubmit">确 定</el-button>
+ </span>
+ </el-dialog>
+</template>
+
+<script >
+export default {
+ name: 'addUser',
+ components: {
+ },
+ data() {
+ return {
+ dialogVisible: false,
+ dialogStatus: '',
+ dialogImageUrl: '',
+ dialogVisibleImg: false,
+ rules: {
+ name: [{ required: true, message: '身份证号', trigger: 'blur' }],
+ },
+ dataForm: {}
+ }
+ },
+ created() {
+
+ },
+ methods: {
+ handleRemove(file, fileList) {
+ console.log(file, fileList);
+ },
+ handlePictureCardPreview(file) {
+ this.dialogImageUrl = file.url;
+ this.dialogVisibleImg = true;
+ },
+ openDialog (type, data) {
+ this.resetDataForm();
+ this.dialogVisible = true;
+ this.dialogStatus = type;
+ this.$nextTick(() => {
+ this.$refs['dataForm'].clearValidate()
+ })
+ },
+ handleClose() {
+ this.dialogVisible = false;
+ this.$emit("getList");
+ },
+ onSubmit() {
+ this.$emit("getList");
+ this.dialogVisible = false;
+ },
+ resetDataForm() {
+ this.dataForm = {
+ }
+ },
+ }
+}
+
+</script>
+<style scoped>
+
+</style>
diff --git a/src/views/notCoalMine/nViolationRegistration/index.vue b/src/views/notCoalMine/nViolationRegistration/index.vue
new file mode 100644
index 0000000..5fcd874
--- /dev/null
+++ b/src/views/notCoalMine/nViolationRegistration/index.vue
@@ -0,0 +1,140 @@
+<template>
+ <div class="app-container">
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+ <el-form-item label="用户姓名" prop="userName">
+ <el-input
+ v-model="queryParams.userName"
+ placeholder="请输入用户姓名"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="身份证号" prop="idCard">
+ <el-input
+ v-model="queryParams.idCard"
+ placeholder="请输入身份证号"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="单位名称" prop="idCard">
+ <el-input
+ v-model="queryParams.unit"
+ placeholder="请输入单位名称"
+ clearable
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="作业类型">
+ <el-cascader
+ v-model="classiFy"
+ :options="expertTypes"
+ :props="{ expandTrigger: 'hover', value: 'id',label: 'label'}"
+ @change="handleChange"></el-cascader>
+ </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-row :gutter="10" class="mb8">
+ <el-col :span="1.5">
+ <el-button
+ type="primary"
+ plain
+ size="mini"
+ @click="handleAdd"
+ v-hasPermi="['system:experts:add']"
+ >新增填报</el-button>
+ </el-col>
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+ </el-row>
+ <el-table v-loading="loading" :data="expertList">
+ <el-table-column label="发生时间" align="center" prop="name" />
+ <el-table-column label="姓名" align="center" prop="name" />
+ <el-table-column label="身份证号" align="center" prop="name" />
+ <el-table-column label="IC/电子证编号" align="center" prop="phone"/>
+ <el-table-column label="所属单位" align="center" prop="phone"/>
+ <el-table-column label="作业种类" align="center" prop="phone"/>
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+ <template #default="scope">
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-view"
+ @click="handleView(scope.row)"
+ >查看违规详情</el-button>
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-delete"
+ @click="handleDelete(scope.row)"
+ v-hasPermi="['system:experts:remove']"
+ >删除</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
+ <pagination
+ v-show="total>0"
+ :total="total"
+ :page.sync="queryParams.pageIndex"
+ :limit.sync="queryParams.pageSize"
+ @pagination="getList"
+ />
+ <add-dialog ref="addDialogRef" @getList = "getList"></add-dialog>
+ </div>
+</template>
+
+<script>
+
+import addDialog from "@/views/notCoalMine/nViolationRegistration/components/addDialog.vue";
+export default {
+ name: "nViolationRegistration",
+ dicts: [],
+ components: {
+ addDialog
+ },
+ data() {
+ return {
+ addDialogRef: '',
+ loading: false,
+ single: true,
+ multiple: true,
+ showSearch: true,
+ addForm: false,
+ total: 0,
+ expertTypes: [],
+ expertList: [],
+ queryParams: {},
+ classiFy: [],
+ form: {},
+ rules: {
+ classifyName: [
+ { required: true, message: "分类名称不能为空", trigger: "blur" }
+ ]
+ }
+ };
+ },
+ created() {
+
+ },
+ methods: {
+ getList(){
+
+ },
+ handleChange(){
+
+ },
+ handleQuery(){
+
+ },
+ resetQuery(){
+
+ },
+ handleAdd(){
+ this.$refs.addDialogRef.openDialog();
+ }
+ }
+};
+</script>
--
Gitblit v1.9.2