Commit c6fb657f authored by dingyoujian's avatar dingyoujian

隐患

parent eeb3bed1
...@@ -2,33 +2,33 @@ import request from 'common/src/utils/request' ...@@ -2,33 +2,33 @@ import request from 'common/src/utils/request'
/* 角色管理query */ /* 角色管理query */
export function doQuery(query) { export function doQuery(query) {
return request({ return request({
url: '/aqgl/jcsj/aqgg/query', url: '/aqgl/yhgl/yhjl/query',
method: 'post', method: 'post',
data: query||{} data: query||{}
}) })
} }
/* 角色管理更新 */ /* 角色管理更新 */
export function doUpdate(query) { export function doUpdate(query) {
return request({ return request({
url: '/aqgl/jcsj/aqgg/update', url: '/aqgl/yhgl/yhjl/update',
method: 'post', method: 'post',
data: query||{} data: query||{}
}) })
} }
export function doAdd(query) { export function doAdd(query) {
return request({ return request({
url: '/aqgl/jcsj/aqgg/add', url: '/aqgl/yhgl/yhjl/add',
method: 'post', method: 'post',
data: query||{} data: query||{}
}) })
} }
export function doDelete(query) { export function doDelete(query) {
return request({ return request({
url: '/aqgl/jcsj/aqgg/delete', url: '/aqgl/yhgl/yhjl/delete',
method: 'post', method: 'post',
data: query||{} data: query||{}
}) })
} }
......
...@@ -1025,7 +1025,7 @@ export const dynamicRoutes = [ ...@@ -1025,7 +1025,7 @@ export const dynamicRoutes = [
} }
] ]
}, },
] ]
// 防止连续点击多次路由报错 // 防止连续点击多次路由报错
......
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/yhglYhjl',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
{label: "风险点", prop: "fxd", fieldType: "ftString",width:300},
{label: "隐患地点", prop: "yhdd", fieldType: "ftString",width:300},
{label: "上报级别", prop: "sbjb", fieldType: "ftString",width:48},
{label: "内容", prop: "nr", fieldType: "ftString",width:300},
{label: "责任部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "制定整改方案", prop: "zdzgfa", fieldType: "ftString",width:6},
{label: "责任人", prop: "zrr", fieldType: "ftString",width:192},
{label: "隐患等级", prop: "dj", fieldType: "ftString",width:192},
{label: "隐患分类", prop: "flid", fieldType: "ftString",width:192},
{label: "处理人", prop: "clr", fieldType: "ftString",width:192},
{label: "处理时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "处理方法", prop: "clff", fieldType: "ftString",width:300},
{label: "复查人", prop: "fcr", fieldType: "ftString",width:192},
{label: "复查时间", prop: "fcsj", fieldType: "ftDateTime"},
{label: "复查结果", prop: "fcjg", fieldType: "ftString",width:300},
{label: "处置人", prop: "czr", fieldType: "ftString",width:192},
{label: "处置时间", prop: "czsj", fieldType: "ftDateTime"},
{label: "处置意见", prop: "czyj", fieldType: "ftString",width:300},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
This diff is collapsed.
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/yhglYhjl',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
{label: "风险点", prop: "fxd", fieldType: "ftString",width:300},
{label: "隐患地点", prop: "yhdd", fieldType: "ftString",width:300},
{label: "上报级别", prop: "sbjb", fieldType: "ftString",width:48},
{label: "内容", prop: "nr", fieldType: "ftString",width:300},
{label: "责任部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "制定整改方案", prop: "zdzgfa", fieldType: "ftString",width:6},
{label: "责任人", prop: "zrr", fieldType: "ftString",width:192},
{label: "隐患等级", prop: "dj", fieldType: "ftString",width:192},
{label: "隐患分类", prop: "flid", fieldType: "ftString",width:192},
{label: "处理人", prop: "clr", fieldType: "ftString",width:192},
{label: "处理时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "处理方法", prop: "clff", fieldType: "ftString",width:300},
{label: "复查人", prop: "fcr", fieldType: "ftString",width:192},
{label: "复查时间", prop: "fcsj", fieldType: "ftDateTime"},
{label: "复查结果", prop: "fcjg", fieldType: "ftString",width:300},
{label: "处置人", prop: "czr", fieldType: "ftString",width:192},
{label: "处置时间", prop: "czsj", fieldType: "ftDateTime"},
{label: "处置意见", prop: "czyj", fieldType: "ftString",width:300},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
This diff is collapsed.
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/yhglYhjl',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
{label: "风险点", prop: "fxd", fieldType: "ftString",width:300},
{label: "隐患地点", prop: "yhdd", fieldType: "ftString",width:300},
{label: "上报级别", prop: "sbjb", fieldType: "ftString",width:48},
{label: "内容", prop: "nr", fieldType: "ftString",width:300},
{label: "责任部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "制定整改方案", prop: "zdzgfa", fieldType: "ftString",width:6},
{label: "责任人", prop: "zrr", fieldType: "ftString",width:192},
{label: "隐患等级", prop: "dj", fieldType: "ftString",width:192},
{label: "隐患分类", prop: "flid", fieldType: "ftString",width:192},
{label: "处理人", prop: "clr", fieldType: "ftString",width:192},
{label: "处理时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "处理方法", prop: "clff", fieldType: "ftString",width:300},
{label: "复查人", prop: "fcr", fieldType: "ftString",width:192},
{label: "复查时间", prop: "fcsj", fieldType: "ftDateTime"},
{label: "复查结果", prop: "fcjg", fieldType: "ftString",width:300},
{label: "处置人", prop: "czr", fieldType: "ftString",width:192},
{label: "处置时间", prop: "czsj", fieldType: "ftDateTime"},
{label: "处置意见", prop: "czyj", fieldType: "ftString",width:300},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
...@@ -4,70 +4,49 @@ ...@@ -4,70 +4,49 @@
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">标题" ref="title" prop="title"> <el-form-item label="分类" ref="flid" prop="flid">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.flid" ></el-input>
v-model="form.title" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">内容" ref="content" prop="content"> <el-form-item label="项目" ref="xm" prop="xm">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.xm" ></el-input>
v-model="form.content" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">公告日期" ref="ggrq" prop="ggrq"> <el-form-item label="隐患等级" ref="yhdj" prop="yhdj">
<el-input :readonly="readonly" v-model="form.ggrq" "></el-input> <el-input :readonly="readonly" v-model="form.yhdj" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">有效期" ref="yxrq" prop="yxrq"> <el-form-item label="考核分数" ref="khfs" prop="khfs">
<el-input :readonly="readonly" v-model="form.yxrq" "></el-input> <el-input :readonly="readonly" v-model="form.khfs" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">发布部门" ref="bmid" prop="bmid"> <el-form-item label="罚款金额" ref="fkje" prop="fkje">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.fkje" ></el-input>
v-model="form.bmid" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">附件数" ref="attachcount" prop="attachcount"> <el-form-item label="内容" ref="content" prop="content">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.content" ></el-input>
v-model="form.attachcount" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">目录" ref="mlid" prop="mlid"> <el-form-item label="备注" ref="bz" prop="bz">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.bz" ></el-input>
v-model="form.mlid" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label=">备注" ref="bz" prop="bz"> <el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
v-model="form.bz" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">系统版本" ref="sysversion" prop="sysversion">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.sysversion" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -83,7 +62,7 @@ ...@@ -83,7 +62,7 @@
}, },
/* 组件名称*/ /* 组件名称*/
name: "aqglAqggEdit", name: "aqgl/yhglYhbzEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/ /* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() { data() {
...@@ -98,19 +77,17 @@ ...@@ -98,19 +77,17 @@
form: { form: {
id:'', id:'',
title:'', flid:'',
content:'',
ggrq:new Date().getTime(), xm:'',
yxrq:new Date().getTime(), yhdj:'',
bmid:'', khfs:'',
attachcount:'', fkje:'',
mlid:'', content:'',
bz:'', bz:'',
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
doUpdate, doUpdate,
doDelete, doDelete,
doExport doExport
} from '@/api/basicData/aqgg.js'; } from "@/api/dangerManagement/maintenanceDg.js"
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import { import {
...@@ -54,60 +54,59 @@ ...@@ -54,60 +54,59 @@
} from 'common' } from 'common'
export default { export default {
mixins: [tableMixin], mixins: [tableMixin],
name: 'aqglAqgg', name: 'aqgl/yhglYhbz',
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
return { return {
/*需要的额外参数 */ /*需要的额外参数 */
showDialog: false, showDialog: false,
DialogName: '', DialogName: '',
type: '', type: '',
DialogTitle: '', DialogTitle: '',
/* 基础url*/ /* 基础url*/
baseUrl: '/aqgl/aqgg', baseUrl: '/aqgl/yhgl/yhbz',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
info: '' info: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "标题", prop: "title", fieldType: "ftString",width:300}, {label: "分类", prop: "flid", fieldType: "ftString",width:192},
{label: "内容", prop: "content", fieldType: "ftString",width:300}, {label: "项目", prop: "xm", fieldType: "ftString",width:300},
{label: "公告日期", prop: "ggrq", fieldType: "ftDateTime"}, {label: "隐患等级", prop: "yhdj", fieldType: "ftString",width:48},
{label: "有效期", prop: "yxrq", fieldType: "ftDateTime"}, {label: "考核分数", prop: "khfs", fieldType: "int"},
{label: "发布部门", prop: "bmid", fieldType: "ftString",width:192}, {label: "罚款金额", prop: "fkje", fieldType: "int"},
{label: "附件数", prop: "attachcount", fieldType: "int"}, {label: "内容", prop: "content", fieldType: "ftString",width:300},
{label: "目录", prop: "mlid", fieldType: "ftString",width:192}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护人", prop: "whr", fieldType: "ftString"}, {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}, {label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建人", prop: "cjr", fieldType: "ftString"}, {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"}, ]
] }
} },
}, methods: {
methods: {
/* 基础查询*/ /* 基础查询*/
query: doQuery, query: doQuery,
/* 基础增*/ /* 基础增*/
apiAdd: doAdd, apiAdd: doAdd,
/* 基础更新*/ /* 基础更新*/
apiUpdate: doUpdate, apiUpdate: doUpdate,
/* 删除操作*/ /* 删除操作*/
apiDelete: doDelete, apiDelete: doDelete,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
} }
}, },
components: { components: {
Edit, Edit,
} }
} }
......
This diff is collapsed.
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/yhglYhjl',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
{label: "风险点", prop: "fxd", fieldType: "ftString",width:300},
{label: "隐患地点", prop: "yhdd", fieldType: "ftString",width:300},
{label: "上报级别", prop: "sbjb", fieldType: "ftString",width:48},
{label: "内容", prop: "nr", fieldType: "ftString",width:300},
{label: "责任部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "制定整改方案", prop: "zdzgfa", fieldType: "ftString",width:6},
{label: "责任人", prop: "zrr", fieldType: "ftString",width:192},
{label: "隐患等级", prop: "dj", fieldType: "ftString",width:192},
{label: "隐患分类", prop: "flid", fieldType: "ftString",width:192},
{label: "处理人", prop: "clr", fieldType: "ftString",width:192},
{label: "处理时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "处理方法", prop: "clff", fieldType: "ftString",width:300},
{label: "复查人", prop: "fcr", fieldType: "ftString",width:192},
{label: "复查时间", prop: "fcsj", fieldType: "ftDateTime"},
{label: "复查结果", prop: "fcjg", fieldType: "ftString",width:300},
{label: "处置人", prop: "czr", fieldType: "ftString",width:192},
{label: "处置时间", prop: "czsj", fieldType: "ftDateTime"},
{label: "处置意见", prop: "czyj", fieldType: "ftString",width:300},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/yhglYhjl',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "发现日期", prop: "fxrq", fieldType: "ftDateTime"},
{label: "风险点", prop: "fxd", fieldType: "ftString",width:300},
{label: "隐患地点", prop: "yhdd", fieldType: "ftString",width:300},
{label: "上报级别", prop: "sbjb", fieldType: "ftString",width:48},
{label: "内容", prop: "nr", fieldType: "ftString",width:300},
{label: "责任部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "制定整改方案", prop: "zdzgfa", fieldType: "ftString",width:6},
{label: "责任人", prop: "zrr", fieldType: "ftString",width:192},
{label: "隐患等级", prop: "dj", fieldType: "ftString",width:192},
{label: "隐患分类", prop: "flid", fieldType: "ftString",width:192},
{label: "处理人", prop: "clr", fieldType: "ftString",width:192},
{label: "处理时间", prop: "clsj", fieldType: "ftDateTime"},
{label: "处理方法", prop: "clff", fieldType: "ftString",width:300},
{label: "复查人", prop: "fcr", fieldType: "ftString",width:192},
{label: "复查时间", prop: "fcsj", fieldType: "ftDateTime"},
{label: "复查结果", prop: "fcjg", fieldType: "ftString",width:300},
{label: "处置人", prop: "czr", fieldType: "ftString",width:192},
{label: "处置时间", prop: "czsj", fieldType: "ftDateTime"},
{label: "处置意见", prop: "czyj", fieldType: "ftString",width:300},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
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