Commit 20744b07 authored by 李苏's avatar 李苏 💬

有限空间作业

parent d4aec598
{ {
"name": "GavelDmg", "name": "GavelDmg",
"version": "0.0.1", "version": "0.0.1",
"description": "GavelDmg", "description": "GavelDmg",
"author": "Gavel", "author": "Gavel",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"clear": "rmdir /s/q node_modules", "clear": "rmdir /s/q node_modules",
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"devbuild": "vue-cli-service build --mode development", "devbuild": "vue-cli-service build --mode development",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"build:report": "vue-cli-service build --report", "build:report": "vue-cli-service build --report",
"build:stage": "vue-cli-service build --mode staging", "build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "lint": "eslint --ext .js,.vue src"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, },
"lint-staged": { "lint-staged": {
"src/**/*.{js,vue}": [ "src/**/*.{js,vue}": [
"eslint --fix", "eslint --fix",
"git add" "git add"
] ]
}, },
"keywords": [ "keywords": [
"vue", "vue",
"admin", "admin",
"dashboard", "dashboard",
"element-ui", "element-ui",
"boilerplate", "boilerplate",
"admin-template", "admin-template",
"management-system" "management-system"
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitee.com/y_project/RuoYi-Vue.git" "url": "https://gitee.com/y_project/RuoYi-Vue.git"
}, },
"dependencies": { "dependencies": {
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0", "axios": "0.24.0",
"clipboard": "2.0.8", "clipboard": "2.0.8",
"common": "file:/Users/forwards/Dev/common", "common": "file:D://common",
"core-js": "3.19.1", "core-js": "3.19.1",
"echarts": "^4.9.0", "echarts": "^4.9.0",
"element-ui": "2.15.8", "element-ui": "2.15.8",
"file-saver": "2.0.5", "file-saver": "2.0.5",
"fuse.js": "6.4.3", "fuse.js": "6.4.3",
"highlight.js": "9.18.5", "highlight.js": "9.18.5",
"js-beautify": "1.13.0", "js-beautify": "1.13.0",
"js-cookie": "3.0.1", "js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1", "jsencrypt": "3.0.0-rc.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"quill": "1.3.7", "quill": "1.3.7",
"screenfull": "5.0.2", "screenfull": "5.0.2",
"sortablejs": "1.10.2", "sortablejs": "1.10.2",
"typescript": "^4.5.2", "typescript": "^4.5.2",
"vue": "2.6.12", "vue": "2.6.12",
"vue-class-component": "^7.2.3", "vue-class-component": "^7.2.3",
"vue-count-to": "1.0.13", "vue-count-to": "1.0.13",
"vue-cropper": "0.5.5", "vue-cropper": "0.5.5",
"vue-meta": "2.4.0", "vue-meta": "2.4.0",
"vue-router": "3.4.9", "vue-router": "3.4.9",
"vue-seamless-scroll": "^1.1.23", "vue-seamless-scroll": "^1.1.23",
"vue-video-player": "5.0", "vue-video-player": "5.0",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuex": "3.6.0" "vuex": "3.6.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "4.4.6", "@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "4.4.6", "@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6", "@vue/cli-service": "4.4.6",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
"babel-plugin-dynamic-import-node": "2.3.3", "babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-transform-remove-console": "^6.9.4", "babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4", "babel-plugin-transform-remove-debugger": "^6.9.4",
"chalk": "4.1.0", "chalk": "4.1.0",
"compression-webpack-plugin": "5.0.2", "compression-webpack-plugin": "5.0.2",
"connect": "3.6.6", "connect": "3.6.6",
"eslint": "7.15.0", "eslint": "7.15.0",
"eslint-plugin-vue": "7.2.0", "eslint-plugin-vue": "7.2.0",
"lint-staged": "10.5.3", "lint-staged": "10.5.3",
"runjs": "4.4.2", "runjs": "4.4.2",
"sass": "1.32.13", "sass": "1.32.13",
"sass-loader": "10.1.1", "sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5", "script-ext-html-webpack-plugin": "2.1.5",
"svg-sprite-loader": "5.1.1", "svg-sprite-loader": "5.1.1",
"ts-loader": "~8.2.0", "ts-loader": "~8.2.0",
"vue-particles": "^1.0.9", "vue-particles": "^1.0.9",
"vue-property-decorator": "^9.1.2", "vue-property-decorator": "^9.1.2",
"vue-template-compiler": "2.6.12" "vue-template-compiler": "2.6.12"
}, },
"engines": { "engines": {
"node": ">=8.9", "node": ">=8.9",
"npm": ">= 3.0.0" "npm": ">= 3.0.0"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
"last 2 versions" "last 2 versions"
] ]
} }
import request from 'common/src/utils/request'
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/yxkjzygl/query',
method: 'post',
data: query||{}
})
}
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/yxkjzygl/update',
method: 'post',
data: query||{}
})
}
export function doAdd(query) {
return request({
url: '/aqgl/yxkjzygl/add',
method: 'post',
data: query||{}
})
}
export function doDelete(query) {
return request({
url: '/aqgl/yxkjzygl/delete',
method: 'post',
data: query||{}
})
}
export function doQuerytree(query) {
return request({
url: '/aqgl/yxkjzygl/query/tree',
method: 'post',
data: query||{}
})
}
...@@ -488,19 +488,19 @@ export const powerRoutes=[ ...@@ -488,19 +488,19 @@ export const powerRoutes=[
redirect: 'maintainTV', redirect: 'maintainTV',
meta: {title: "三违管理", icon: "fa-cog", noCache: false, link: null,mkid:904000000}, meta: {title: "三违管理", icon: "fa-cog", noCache: false, link: null,mkid:904000000},
children: [ children: [
{ // {
component:'threeViolations/homePage/index', // component:'threeViolations/homePage/oldIndex',
hidden:false, // hidden:false,
meta:{ // meta:{
"title": "首页", // "title": "首页",
"icon": "", // "icon": "",
"noCache": false, // "noCache": false,
"link": null, // "link": null,
"mkid":'test', // "mkid":'test',
}, // },
name:'homePage', // name:'homePage',
path:"homePage" // path:"homePage"
}, // },
{ {
component:'threeViolations/maintainTV/index', component:'threeViolations/maintainTV/index',
hidden:false, hidden:false,
...@@ -1426,6 +1426,30 @@ export const powerRoutes=[ ...@@ -1426,6 +1426,30 @@ export const powerRoutes=[
path:"archives" path:"archives"
} }
] ]
},
/* 有限空间作业*/
{
path: '/spaceOperations',
component: 'Layout',
hidden: false,
alwaysShow:true,
redirect: 'declare',
meta: {title: "有限空间作业", icon: "fa-cog", noCache: false, link: null,mkid:905000000},
children: [
{
component:'spaceOperations/declare/index',
hidden:false,
meta:{
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid":905002000,
},
name:'declare',
path:"declare"
}
]
} }
] ]
// 公共路由 // 公共路由
......
This diff is collapsed.
<template>
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,slot=form必写-->
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="标题" ref="title" prop="title">
<el-input :readonly="readonly" v-model="form.title"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
// this.form.mlid=this.app.queryParams.mlid
this.form.gsid=this.app.queryParams.gsid
},
/* 组件名称*/
name: 'appVersionEdit',
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
mlid:'',
gsid:'',
title: '',
sytk: '',
bz: "",
fbrq:new Date().getTime(),
ssrq:new Date().getTime(),
mlid:''
},
/* form提交时的规则,具体规则参考官网*/
rules: {
gsid: [{
required: true,
}, ],
}
}
},
methods: {
/* 重写方法,this.app来调用index页面定义的api*/
}
}
</script>
<style scoped lang="scss">
</style>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<el-tooltip :content="`${item.gsName}${item.bzName||''}:${item.wzr}:${item.wzxw}`" placement="top"> <el-tooltip :content="`${item.gsName}${item.bzName||''}:${item.wzr}:${item.wzxw}`" placement="top">
<span class='infor' > <span class='infor' >
{{`${item.gsName}${item.bzName||''}的${item.wzr}做出违章行为:${item.wzxw}`}} {{`${item.gsName}${item.bzName||''}的${item.wzr}做出违章行为:${item.wzxw}`}}
</span> </span>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<el-tooltip :content="`${item.gsName}${item.userName||''}:${item.bytitle}:${item.bycont}`" placement="top"> <el-tooltip :content="`${item.gsName}${item.userName||''}:${item.bytitle}:${item.bycont}`" placement="top">
<span class='infor' > <span class='infor' >
{{`${item.gsName}${item.bzName||''}的${item.userName}:${item.bytitle}`}} {{`${item.gsName}${item.bzName||''}的${item.userName}:${item.bytitle}`}}
</span> </span>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -70,16 +70,16 @@ ...@@ -70,16 +70,16 @@
</div> </div>
<div class="ztcxxx"> <div class="ztcxxx">
<div class="search-item" style="padding-left: 20px;border-bottom: 2px solid #eee;"> <div class="search-item" style="padding-left: 20px;border-bottom: 2px solid #eee;">
<el-radio v-model="queryParams1.rwlx" label="D">日任务</el-radio> <el-radio v-model="queryParams1.rwlx" label="D">日任务</el-radio>
<el-radio v-model="queryParams1.rwlx" label="W">周任务</el-radio> <el-radio v-model="queryParams1.rwlx" label="W">周任务</el-radio>
<el-radio v-model="queryParams1.rwlx" label="M">月任务</el-radio> <el-radio v-model="queryParams1.rwlx" label="M">月任务</el-radio>
</div> </div>
</div> </div>
<!-- 图表--> <!-- 图表-->
<div id="fxpcChart" class="chart" > <div id="fxpcChart" class="chart" >
</div> </div>
</div> </div>
<div class="top_right_yhhz"> <div class="top_right_yhhz">
...@@ -87,26 +87,26 @@ ...@@ -87,26 +87,26 @@
隐患处理完成率 隐患处理完成率
</div> </div>
<div class="ztcxxx" style="padding-left: 0px;" > <div class="ztcxxx" style="padding-left: 0px;" >
<div class="search-item" style="border-bottom: 2px solid #eee;padding-left: 10px;" > <div class="search-item" style="border-bottom: 2px solid #eee;padding-left: 10px;" >
<RelSelect style="width: 200px;margin-right: 10px;" hasValue src='jcsj/common/bm/queryGs' filterable :match="{value:'id',label:'bmmc'}" v-model='queryParams1.gsid' ></RelSelect> <RelSelect style="width: 200px;margin-right: 10px;" hasValue src='jcsj/common/bm/queryGs' filterable :match="{value:'id',label:'bmmc'}" v-model='queryParams1.gsid' ></RelSelect>
<!-- <el-radio v-model="queryParams2.hzfs" label="GS">按公司</el-radio> <!-- <el-radio v-model="queryParams2.hzfs" label="GS">按公司</el-radio>
<el-radio v-model="queryParams2.hzfs" label="BM">按班组</el-radio> <el-radio v-model="queryParams2.hzfs" label="BM">按班组</el-radio>
<el-radio v-model="queryParams2.hzfs" label="RY">按人员</el-radio> --> <el-radio v-model="queryParams2.hzfs" label="RY">按人员</el-radio> -->
</div> </div>
</div> </div>
<div id="yhclChart" class="chart" > <div id="yhclChart" class="chart" >
</div> </div>
</div> </div>
</div> </div>
<!-- 隐患率--> <!-- 隐患率-->
<!-- 风险率--> <!-- 风险率-->
</div> </div>
<div class="bottom"> <div class="bottom">
<div class="zttitle"> <div class="zttitle">
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
</TablePager> </TablePager>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
const baseurl=process.env.VUE_APP_BASE_API const baseurl=process.env.VUE_APP_BASE_API
import { import {
...@@ -137,11 +137,11 @@ ...@@ -137,11 +137,11 @@
import { import {
queryYhsbtj as doQueryyh queryYhsbtj as doQueryyh
} from "@/api/dangerManagement/yhslhz.js"; } from "@/api/dangerManagement/yhslhz.js";
import { import {
doQuery as doQueryDcl doQuery as doQueryDcl
} from "@/api/dangerManagement/enterSafetyRecords.js" } from "@/api/dangerManagement/enterSafetyRecords.js"
import { import {
queryBglxFile queryBglxFile
} from '@/api/threeViolations/enterTV.js'; } from '@/api/threeViolations/enterTV.js';
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
import ryqno from '@/assets/images/ryqno.png' import ryqno from '@/assets/images/ryqno.png'
export default{ export default{
components: { components: {
vueSeamlessScroll vueSeamlessScroll
}, },
mixins: [tableMixin], mixins: [tableMixin],
...@@ -193,8 +193,8 @@ ...@@ -193,8 +193,8 @@
this.fxpcChart=echarts.init(document.getElementById('fxpcChart')) this.fxpcChart=echarts.init(document.getElementById('fxpcChart'))
this.yhclChart=echarts.init(document.getElementById('yhclChart')) this.yhclChart=echarts.init(document.getElementById('yhclChart'))
this.$nextTick(()=>{ this.$nextTick(()=>{
// this.setChart(this.yhclChart,{ // this.setChart(this.yhclChart,{
// name:'隐患整改完成率', // name:'隐患整改完成率',
// title:'隐患整改' // title:'隐患整改'
...@@ -225,8 +225,8 @@ ...@@ -225,8 +225,8 @@
// }}, // }},
// {label: "整改说明", prop: "clff", fieldType: "ftString",width:300}, // {label: "整改说明", prop: "clff", fieldType: "ftString",width:300},
// {label: "整改完成时间", prop: "clsj", fieldType: "ftDateTime"}, // {label: "整改完成时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"}, {label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
/* */ /* */
{label: "整改日期", prop: "clsj", fieldType: "ftDateTime"}, {label: "整改日期", prop: "clsj", fieldType: "ftDateTime"},
...@@ -274,10 +274,10 @@ ...@@ -274,10 +274,10 @@
gsid:'', gsid:'',
// ksrq:new Date(new Date().setHours(0, 0, 0, 0)).getTime(), // ksrq:new Date(new Date().setHours(0, 0, 0, 0)).getTime(),
// jsrq:new Date(new Date().setHours(23,59,59,999)).getTime() // jsrq:new Date(new Date().setHours(23,59,59,999)).getTime()
ksrq:new Date().getTime(), ksrq:new Date().getTime(),
jsrq:new Date().getTime() jsrq:new Date().getTime()
}, },
queryParams2:{ queryParams2:{
hzfs:'GS', hzfs:'GS',
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
ksrq:null, ksrq:null,
jsrq:new Date().getTime() jsrq:new Date().getTime()
// jsrq:new Date(new Date().setHours(23,59,59,999)).getTime() // jsrq:new Date(new Date().setHours(23,59,59,999)).getTime()
}, },
queryParams:{ queryParams:{
queryType:'YHWCL' queryType:'YHWCL'
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
/* dom*/ /* dom*/
fxpcChart:null, fxpcChart:null,
yhclChart:null, yhclChart:null,
} }
}, },
methods:{ methods:{
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
title:'风险排查', title:'风险排查',
value:value value:value
}) })
} }
}) })
}, },
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
title:'隐患整改', title:'隐患整改',
value:value value:value
}) })
} }
}) })
}, },
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
tooltip: { tooltip: {
formatter: '{a} <br/>{b} : {c}%' formatter: '{a} <br/>{b} : {c}%'
}, },
series: [ series: [
{ {
axisLine: { axisLine: {
...@@ -406,7 +406,7 @@ ...@@ -406,7 +406,7 @@
textStyle:{ textStyle:{
fontSize:17 fontSize:17
} }
}, },
data: [ data: [
{ {
...@@ -420,11 +420,11 @@ ...@@ -420,11 +420,11 @@
/* 渲染dom*/ /* 渲染dom*/
chartDom.setOption(option) chartDom.setOption(option)
} }
} }
} }
</script> </script>
<style lang="scss" scope> <style lang="scss" scope>
.listf{ .listf{
float: right; float: right;
...@@ -471,12 +471,12 @@ ...@@ -471,12 +471,12 @@
border-left: 5px solid #eee; border-left: 5px solid #eee;
border-right: 5px solid #eee; border-right: 5px solid #eee;
} }
.homePage{ .homePage{
width: 35%; width: 35%;
height: 100%; height: 100%;
} }
.nodata{ .nodata{
background-image: url('/src/assets/image/aq.svg'); background-image: url('/src/assets/image/aq.svg');
...@@ -512,9 +512,8 @@ ...@@ -512,9 +512,8 @@
.el-carousel__item:nth-child(2n) { .el-carousel__item:nth-child(2n) {
background-color: #99a9bf; background-color: #99a9bf;
} }
.el-carousel__item:nth-child(2n+1) { .el-carousel__item:nth-child(2n+1) {
background-color: #d3dce6; background-color: #d3dce6;
} }
</style> </style>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment