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

安全防护措施

parent 77cac544
......@@ -1546,6 +1546,19 @@ export const powerRoutes = [{
name: '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',
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 @@
label: '公司',
prop: 'gsid',
type: 'RelSelect',
span: 8,
span: 12,
"typeConfig": {
"src": "jcsj/common/bm/queryGs",
"match": {
......@@ -38,7 +38,7 @@
label: '部门',
prop: 'bmid',
type: 'RelSelect',
span: 8,
span: 12,
"typeConfig": {
"src": "jcsj/common/bm/queryBz",
"match": {
......@@ -53,8 +53,8 @@
{
label: '作业类型',
prop: 'ufcgzylxid',
span: 8,
type: 'RelSelect',
span: 24,
type: 'RelMulSelect',
"typeConfig": {
"src": "aqgl/rcgl/ufcgzylx/query",
"match": {
......@@ -66,8 +66,8 @@
{
label: '主要危险因素',
prop: 'zywxyswhId',
span: 12,
type: 'RelSelect',
span: 24,
type: 'RelMulSelect',
"typeConfig": {
"src": "aqgl/rcgl/uzywxyswh/query",
"match": {
......@@ -91,17 +91,44 @@
}
},
{
label: '作业开始日期',
label: '作业开始时间',
prop: 'zyksrq',
span: 12,
type: 'date',
type: 'datetime',
},
{
label: '作业结束日期',
label: '作业结束时间',
prop: 'zyjsrq',
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,
......
......@@ -67,6 +67,11 @@
field: "zywxyswhName",
width: 140
},
{
title: "安全防护措施",
field: "agfhcsName",
width: 140
},
{
title: "负责人",
field: "fzrName",
......@@ -78,14 +83,14 @@
width: 250
},
{
title: "作业开始日期",
title: "作业开始时间",
field: "zyksrq",
fieldType: "ftDate"
fieldType: "ftDateTime"
},
{
title: "作业结束日期",
title: "作业结束时间",
field: "zyjsrq",
fieldType: "ftDate"
fieldType: "ftDateTime"
},
{
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