Commit 9a887db8 authored by 李苏's avatar 李苏 💬

安全防护措施

parent 77cac544
...@@ -1546,6 +1546,19 @@ export const powerRoutes = [{ ...@@ -1546,6 +1546,19 @@ export const powerRoutes = [{
name: 'zywxys', name: 'zywxys',
path: "zywxys" path: "zywxys"
}, },
{
component: 'daily/aqfhcs/index',
hidden: false,
meta: {
"title": "安全防护措施维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 905100700,
},
name: 'aqfhcs',
path: "aqfhcs"
},
{ {
component: 'daily/nros/index', component: 'daily/nros/index',
hidden: false, hidden: false,
......
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
editColItemList: [
{
label: '编码',
prop: 'code',
span: 12,
type: 'input',
required:true,
},
{
label: '名称',
prop: 'name',
span: 12,
type: 'input',
required:true,
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
},
]
}
}
}
</script>
<template>
<BasePage class="min_full" :config="config" >
<template #dialog="ctx" >
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx" >
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
export default{
data(){
return{
config:{
/* 基本配置*/
url:'aqgl/rcgl/uaqfhcs',
tableTitle: [
{label: "编码", prop: "code", fieldType: "ftString",width:120},
{label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString", show: false},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime", show: false},
],
queryParams:[[
{
label: '名称',
prop: 'name',
span: 6,
type: 'input',
value:''
}
]],
/* 默认启停用 */
showqt:false,
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components:{
Edit
}
}
</script>
<style>
</style>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
label: '公司', label: '公司',
prop: 'gsid', prop: 'gsid',
type: 'RelSelect', type: 'RelSelect',
span: 8, span: 12,
"typeConfig": { "typeConfig": {
"src": "jcsj/common/bm/queryGs", "src": "jcsj/common/bm/queryGs",
"match": { "match": {
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
label: '部门', label: '部门',
prop: 'bmid', prop: 'bmid',
type: 'RelSelect', type: 'RelSelect',
span: 8, span: 12,
"typeConfig": { "typeConfig": {
"src": "jcsj/common/bm/queryBz", "src": "jcsj/common/bm/queryBz",
"match": { "match": {
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
{ {
label: '作业类型', label: '作业类型',
prop: 'ufcgzylxid', prop: 'ufcgzylxid',
span: 8, span: 24,
type: 'RelSelect', type: 'RelMulSelect',
"typeConfig": { "typeConfig": {
"src": "aqgl/rcgl/ufcgzylx/query", "src": "aqgl/rcgl/ufcgzylx/query",
"match": { "match": {
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
{ {
label: '主要危险因素', label: '主要危险因素',
prop: 'zywxyswhId', prop: 'zywxyswhId',
span: 12, span: 24,
type: 'RelSelect', type: 'RelMulSelect',
"typeConfig": { "typeConfig": {
"src": "aqgl/rcgl/uzywxyswh/query", "src": "aqgl/rcgl/uzywxyswh/query",
"match": { "match": {
...@@ -91,17 +91,44 @@ ...@@ -91,17 +91,44 @@
} }
}, },
{ {
label: '作业开始日期', label: '作业开始时间',
prop: 'zyksrq', prop: 'zyksrq',
span: 12, span: 12,
type: 'date', type: 'datetime',
}, },
{ {
label: '作业结束日期', label: '作业结束时间',
prop: 'zyjsrq', prop: 'zyjsrq',
span: 12, span: 12,
type: 'date', type: 'datetime',
}, },
{
label: '申请时间',
prop: 'sqrq',
span: 12,
type: 'datetime',
value:new Date().getTime()
},
{
label: '安全防护措施',
prop: 'aqfhcsId',
span: 24,
type: 'RelMulSelect',
"typeConfig": {
"src": "aqgl/rcgl/uaqfhcs/query",
"match": {
"value": "id",
"label": "name"
}
},
},
{
label: '作业工具器',
prop: 'zydd',
span: 24,
type: 'input',
},
{ {
required: true, required: true,
......
...@@ -67,6 +67,11 @@ ...@@ -67,6 +67,11 @@
field: "zywxyswhName", field: "zywxyswhName",
width: 140 width: 140
}, },
{
title: "安全防护措施",
field: "agfhcsName",
width: 140
},
{ {
title: "负责人", title: "负责人",
field: "fzrName", field: "fzrName",
...@@ -78,14 +83,14 @@ ...@@ -78,14 +83,14 @@
width: 250 width: 250
}, },
{ {
title: "作业开始日期", title: "作业开始时间",
field: "zyksrq", field: "zyksrq",
fieldType: "ftDate" fieldType: "ftDateTime"
}, },
{ {
title: "作业结束日期", title: "作业结束时间",
field: "zyjsrq", field: "zyjsrq",
fieldType: "ftDate" fieldType: "ftDateTime"
}, },
{ {
title: "备注", title: "备注",
......
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