Commit 1507f5de authored by 李苏's avatar 李苏 💬

nroa

parent e8d5f4b1
...@@ -4,52 +4,56 @@ ...@@ -4,52 +4,56 @@
<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="roleid" prop="roleid"> <el-form-item label="活动日期" ref="hdrq" prop="hdrq">
<el-input :readonly="readonly" v-model="form.roleid"></el-input> <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.hdrq" 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="roleid" prop="roleid"> <el-form-item label="频次记录" ref="pcjl" prop="pcjl">
<el-input :readonly="readonly" v-model="form.roleid"></el-input> <el-input type="number" :readonly="readonly" v-model="form.pcjl" ></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="roleid" prop="roleid"> <el-form-item label="组织部门" ref="bmid" prop="bmid">
<el-input :readonly="readonly" v-model="form.roleid"></el-input> <RelSelect style="width: 100%;" src='kzzx/bm/query' :readonly="readonly" :match="{value:'id',label:'bmmc'}" v-model='form.bmid' ></RelSelect>
<!-- <el-input :readonly="readonly" v-model="form.bmid" ></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="roleid" prop="roleid"> <el-form-item label="活动名称" ref="name" prop="name">
<el-input :readonly="readonly" v-model="form.roleid"></el-input> <el-input :readonly="readonly" v-model="form.name" ></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="24"> <el-col :span="24">
<el-form-item label="活动内容"> <el-form-item label="活动内容" ref="content" prop="content">
<el-input type="textarea"></el-input> <el-input type="textarea" :readonly="readonly" v-model="form.content" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="活动结论"> <el-form-item label="活动结论" ref="hdjl" prop="hdjl">
<el-input type="textarea"></el-input> <el-input type="textarea" :readonly="readonly" v-model="form.hdjl" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> </el-row>
<el-form-item label="改进措施"> <!-- <el-row :gutter="20">
<el-input type="textarea"></el-input> <el-col :span="12">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="12">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
</el-row> -->
</el-form> </el-form>
<!-- 按钮重写, -->
<!-- <div slot="reFooter">
<span slot="footer">
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div> -->
</RelDialog> </RelDialog>
</template> </template>
<script> <script>
...@@ -58,9 +62,10 @@ ...@@ -58,9 +62,10 @@
mixins: [editMixin], mixins: [editMixin],
/* 存放index页面传递的额外参数*/ /* 存放index页面传递的额外参数*/
mounted() { mounted() {
}, },
/* 组件名称*/ /* 组件名称*/
name: 'roleManagementEdit', name: "aqglRcglAqhdEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/ /* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() { data() {
...@@ -69,11 +74,40 @@ ...@@ -69,11 +74,40 @@
/* 额外初始化,根据需求*/ /* 额外初始化,根据需求*/
systemType: [], systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
roleid: '', //ID
rolename: '', id:'',
bz: "", //活动日期
hdrq:new Date().getTime(),
//频次记录
pcjl:'',
//组织部门
bmid:'',
//活动名称
name:'',
//活动内容
content:'',
//活动结论
hdjl:'',
//备注
bz:'',
//维护人编码
whrid:'',
//维护人
whr:'',
//维护时间
whsj:new Date().getTime(),
//创建人编码
cjrid:'',
//创建人
cjr:'',
//创建时间
cjsj:new Date().getTime(),
//系统版本
sysversion:'',
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
<el-col :span="8" class="search-col"> <el-col :span="8" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">日期:</span> <span class="search-span">日期:</span>
<el-date-picker></el-date-picker> <el-date-picker v-model="queryParams.date" ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="8" class="search-col"> <el-col :span="8" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">部门:</span> <span class="search-span">部门:</span>
<el-input></el-input> <RelSelect src='kzzx/bm/query' clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' ></RelSelect>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -38,15 +38,6 @@ ...@@ -38,15 +38,6 @@
<div class="tablePagers"> <div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' <TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
<template slot="tabCustom">
<el-table-column label="启用/停用" width="90" header-align="center" >
<template slot-scope="scope">
<el-switch @click.native="setEnable(scope.row.id)" :value='tybz(scope)' style="width: 80px;justify-content: center;"
active-color="#13ce66" inactive-color="#eee">
</el-switch>
</template>
</el-table-column>
</template>
</TablePager> </TablePager>
</div> </div>
...@@ -54,15 +45,14 @@ ...@@ -54,15 +45,14 @@
</template> </template>
<script> <script>
/* 引入需要的接口*/
/* 引入需要的接口*/ /* 引入需要的接口*/
import { import {
QueryKzzxRole, doQuery,
QueryApptype, doAdd,
AddKzzxRole, doUpdate,
DeleteKzzxRole, doDelete
UpdateKzzxRole, } from '@/api/daily/activityRecord.js';
QtKzzxRole
} from "common/src/api/system/dmgSystem.js";
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import { import {
...@@ -85,85 +75,44 @@ ...@@ -85,85 +75,44 @@
type: '', type: '',
DialogTitle: '', DialogTitle: '',
/* 基础url*/ /* 基础url*/
baseUrl: 'kzzx/role', baseUrl: '/aqgl/rcgl/aqhd',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', date: new Date().getTime(),
jsrq: '' bmid: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{ {label: "活动日期", prop: "hdrq", fieldType: "ftDateTime"},
prop: 'whsj', {label: "频次记录", prop: "pcjl", fieldType: "ftString",width:180},
label: '活动时间', // {label: "组织部门", prop: "bmid", fieldType: "ftString",width:192},
...this.$common('ftDateTime') {label: "组织部门", prop: "bmName", fieldType: "ftString",width:192},
}, {label: "活动名称", prop: "name", fieldType: "ftString",width:600},
{ {label: "活动内容", prop: "content", fieldType: "ftString",width:600},
prop: 'whsj', {label: "活动结论", prop: "hdjl", fieldType: "ftString",width:600},
label: '活动名称', // {label: "备注", prop: "bz", fieldType: "ftString",width:300},
...this.$common('ftDateTime') // {label: "维护人", prop: "whr", fieldType: "ftString"},
}, // {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{ // {label: "创建人", prop: "cjr", fieldType: "ftString"},
prop: 'whsj', // {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
label: '活动周期',
...this.$common('ftDateTime')
},
{
prop: 'whsj',
label: '组织单位',
...this.$common('ftDateTime')
},
{
prop: 'whsj',
label: '活动内容',
...this.$common('ftDateTime')
},
{
prop: 'whsj',
label: '活动结论',
...this.$common('ftDateTime')
}
] ]
} }},
},
methods: { methods: {
tybz(a) { tybz(a) {
let nTy = false let nTy = false
nTy = (a.row.tybz == 'N' ? true : false) nTy = (a.row.tybz == 'N' ? true : false)
return nTy return nTy
}, },
/* 基础查询*/ query: doQuery,
query: QueryKzzxRole,
/* 基础增*/ /* 基础增*/
apiAdd: AddKzzxRole, apiAdd: doAdd,
/* 基础更新*/ /* 基础更新*/
apiUpdate: UpdateKzzxRole, apiUpdate: doUpdate,
/* 删除操作*/ /* 删除操作*/
apiDelete: DeleteKzzxRole, apiDelete: doDelete,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
},
/* 启用停用*/
setEnable(id) {
this.$confirm('是否启用/停用该角色, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
let params = {
id: id
}
QtKzzxRole(params).then(res => {
if (res.success) {
this.$success('操作成功')
this.app.$refs['TablePager'].reLoad()
} else {
this.$error(res.message || '操作失败')
}
})
})
} }
......
This diff is collapsed.
<template> <template>
<div class="form-detail"> <div class="form-detail">
<div class="descript"> <div class="descript">
有限空间安全作业申请 吊装作业
</div> </div>
<el-descriptions class="margin-top" :column="2" border> <el-descriptions class="margin-top" :column="2" border>
...@@ -98,6 +98,6 @@ ...@@ -98,6 +98,6 @@
overflow-x: hidden; overflow-x: hidden;
} }
.descript{ .descript{
text-align: center;line-height: 30px;font-size: 14px;color: #666;font-weight: 800; text-align: center;line-height: 30px;font-size: 14px;color: #666;font-weight: 800;padding-bottom: 10px;
} }
</style> </style>
...@@ -9,14 +9,20 @@ ...@@ -9,14 +9,20 @@
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">岗位:</span> <span class="search-span">日期:</span>
<el-input style="width:60% ;"></el-input> <el-date-picker v-model="queryParams.date" ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">设备设施风险点:</span> <span class="search-span">作业类型:</span>
<el-input></el-input> <RelSelect src='/aqgl/rcgl/fcgzy/init/zylx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.flid' ></RelSelect>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">风险级别:</span>
<RelSelect src='aqgl/fxyk/fxpc/init/wxdj' clearable :match="{value:'id',label:'name'}" v-model='queryParams.fxjb' ></RelSelect>
</div> </div>
</el-col> </el-col>
...@@ -48,20 +54,29 @@ ...@@ -48,20 +54,29 @@
<div class="min_full" style="height: 60%;padding: 10px;"> <div class="min_full" style="height: 60%;padding: 10px;">
<!-- tabs --> <!-- tabs -->
<el-tabs v-model="activeName" @tab-click="handleClick" > <el-tabs v-model="activeName" @tab-click="handleClick" >
<el-tab-pane label="曝光亮相关" name="first" > <el-tab-pane v-if="sqxList.indexOf('DZ')!=-1" label="吊装作业" name="DZ" >
<Exposure /> <Exposure />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="安全补课关" name="second"> <el-tab-pane v-if="sqxList.indexOf('DL')!=-1" label="断路作业" name="DL">
<SafetyCourse /> <!-- <SafetyCourse /> -->
</el-tab-pane>
<el-tab-pane v-if="sqxList.indexOf('YXKJ')!=-1" label="有限空间作业" name="YXKJ">
<!-- <Reflect /> -->
</el-tab-pane>
<el-tab-pane v-if="sqxList.indexOf('DHZY')!=-1" label="动火作业" name="DHZY">
<!-- <Leadership /> -->
</el-tab-pane>
<el-tab-pane v-if="sqxList.indexOf('LSYD')!=-1" label="临时用电" name="LSYD">
<!-- <Family /> -->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="反思检查关" name="third"> <el-tab-pane v-if="sqxList.indexOf('DTZY')!=-1" label="动土作业" name="DTZY">
<Reflect /> <!-- <Family /> -->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="领导谈话关" name="fourth"> <el-tab-pane v-if="sqxList.indexOf('GCAQZY')!=-1" label="高处安全作业" name="GCAQZY">
<Leadership /> <!-- <Family /> -->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="家属协管关" name="fifth"> <el-tab-pane v-if="sqxList.indexOf('MQMB')!=-1" label="煤气盲板抽堵作业" name="MQMB">
<Family /> <!-- <Family /> -->
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -72,13 +87,11 @@ ...@@ -72,13 +87,11 @@
<script> <script>
/* 引入需要的接口*/ /* 引入需要的接口*/
import { import {
QueryKzzxRole, doQuery,
QueryApptype, doAdd,
AddKzzxRole, doUpdate,
DeleteKzzxRole, doDelete
UpdateKzzxRole, } from '@/api/daily/nroa.js';
QtKzzxRole
} from "common/src/api/system/dmgSystem.js";
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import Exposure from './exposure.vue' import Exposure from './exposure.vue'
...@@ -94,126 +107,75 @@ ...@@ -94,126 +107,75 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery({setFirstCurrent:true})
console.log(_)
}, },
data() { data() {
return { return {
activeName: 'first', sqxList:[],
activeName: '',
/*需要的额外参数 */ /*需要的额外参数 */
showDialog: false, showDialog: false,
DialogName: '', DialogName: '',
type: '', type: '',
DialogTitle: '', DialogTitle: '',
/* 基础url*/ /* 基础url*/
baseUrl: 'kzzx/role', baseUrl: '/aqgl/rcgl/fcgzy',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', date: new Date().getTime(),
jsrq: '' flid: '',
fxjb:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{ {label: "申请单号", prop: "djid", fieldType: "ftString",width:120},
prop: 'whsj', {label: "申请日期", prop: "sqrq", fieldType: "ftDateTime"},
label: '报送日期', {label: "作业类型", prop: "flid", fieldType: "ftString",width:300},
show:false, {label: "开始时间", prop: "kssj", fieldType: "ftDateTime"},
fieldType:'ftDateTime', {label: "结束时间", prop: "jssj", fieldType: "ftDateTime"},
width: '100', {label: "作业时长", prop: "zysc", fieldType: "float"},
align:'left' {label: "作业项目", prop: "zyxm", fieldType: "ftString",width:300},
}, {label: "作业地点", prop: "zydd", fieldType: "ftString",width:300},
{ {label: "施工单位", prop: "sgdw", fieldType: "ftString",width:300},
prop: 'whsj', {label: "风险级别", prop: "fxjb", fieldType: "ftString",width:120},
label: '作业类型', {label: "危害因素", prop: "whys", fieldType: "ftString",width:300},
...this.$common('ftDateTime') {label: "管控措施", prop: "gkcs", fieldType: "ftString",width:300},
}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{ {label: "维护人", prop: "whr", fieldType: "ftString"},
prop: 'whr', {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
label: '计划开始作业时间', {label: "创建人", prop: "cjr", fieldType: "ftString"},
width: '100' {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
}, {label: "状态", prop: "zt", fieldType: "ftString",width:6},
{ {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
prop: 'whr',
label: '地点',
width: '100'
},
{
prop: 'whr',
label: '计划完成作业时间',
width: '100'
},
{
prop: 'whr',
label: '计划作业时长',
width: '100'
},
{
prop: 'whr',
label: '作业项目',
width: '100'
},
{
prop: 'whr',
label: '作业地点',
width: '100'
},
{
prop: 'whr',
label: '风险级别',
width: '100'
},
{
prop: 'whr',
label: '作业单位',
width: '100'
},
{
prop: 'whr',
label: '作业申请',
width: '100'
}
] ]
} }
}, },
methods: { methods: {
/* 获取当前点击的数据*/
getRow: function(e) {
this.rowItem = e
this.sqxList=e.sqx.split(',')
if(this.sqxList.length>0){
this.activeName=this.sqxList[0]
}else{
this.activeName=""
}
},
handleClick(val){ handleClick(val){
console.log(val,'val') console.log(val,'val')
}, },
/* 基础查询*/ query: doQuery,
query: QueryKzzxRole,
/* 基础增*/ /* 基础增*/
apiAdd: AddKzzxRole, apiAdd: doAdd,
/* 基础更新*/ /* 基础更新*/
apiUpdate: UpdateKzzxRole, apiUpdate: doUpdate,
/* 删除操作*/ /* 删除操作*/
apiDelete: DeleteKzzxRole, apiDelete: doDelete,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
},
/* 启用停用*/
setEnable(id) {
this.$confirm('是否启用/停用该角色, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
let params = {
id: id
} }
QtKzzxRole(params).then(res => { /* 启用停用*/
if (res.success) {
this.$success('操作成功')
this.app.$refs['TablePager'].reLoad()
} else {
this.$error(res.message || '操作失败')
}
})
})
}
}, },
components: { components: {
......
...@@ -29,40 +29,40 @@ ...@@ -29,40 +29,40 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="排查岗位" ref="pcgwid" prop="pcgwid"> <el-form-item label="排查岗位" ref="pcgwid" prop="pcgwid">
<RelSelect src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.pcgwid' ></RelSelect> <RelSelect style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.pcgwid' ></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="风险类型" ref="fxlx" prop="fxlx"> <el-form-item label="风险类型" ref="fxlx" prop="fxlx">
<RelSelect src='/aqgl/fxyk/shlx/query' clearable :match="{value:'id',label:'name'}" v-model='form.fxlx' ></RelSelect> <RelSelect style="width: 100%;" src='/aqgl/fxyk/shlx/query' clearable :match="{value:'id',label:'name'}" v-model='form.fxlx' ></RelSelect>
<!-- <el-input :readonly="readonly" v-model="form.fxlx" ></el-input> --> <!-- <el-input :readonly="readonly" v-model="form.fxlx" ></el-input> -->
</el-form-item> </el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="危害因素" ref="whys" prop="whys"> <el-form-item label="危害因素" ref="whys" prop="whys">
<el-input :readonly="readonly" v-model="form.whys" ></el-input> <el-input type="textarea" rows="6" :readonly="readonly" v-model="form.whys" ></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="24">
<el-form-item label="管控措施" ref="gkcs" prop="gkcs"> <el-form-item label="管控措施" ref="gkcs" prop="gkcs">
<el-input :readonly="readonly" v-model="form.gkcs" ></el-input> <el-input type="textarea" rows="6" :readonly="readonly" v-model="form.gkcs" ></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="bz" prop="bz"> <el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input> <el-input :readonly="readonly" v-model="form.bz" ></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="sysversion" prop="sysversion"> <el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input> <el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row> -->
</el-form> </el-form>
</RelDialog> </RelDialog>
</template> </template>
...@@ -143,5 +143,3 @@ ...@@ -143,5 +143,3 @@
<style scoped lang="scss"> <style scoped lang="scss">
</style> </style>
<template> <template>
<div class="min_full"> <div class="min_full">
<!-- 查询条件--> <!-- 查询条件-->
<div class="search" v-condition> <!-- <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col"> <el-col :span="12" class="search-col">
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div> -->
<!-- 按钮操作--> <!-- 按钮操作-->
<el-row class="tool-bar"> <el-row class="tool-bar">
<PrintButton :app='app'></PrintButton> <PrintButton :app='app'></PrintButton>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<AddButton ref="add" :app='app'></AddButton> <AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton> <CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton> <EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton> <!-- <AttachFileButton :app='app' ></AttachFileButton> -->
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮--> <!-- 额外按钮-->
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
tableTitle: [ tableTitle: [
{label: "作业活动", prop: "zyhd", fieldType: "ftString",width:300}, {label: "作业活动", prop: "zyhd", fieldType: "ftString",width:300},
{label: "事故后果", prop: "sghg", fieldType: "ftString",width:300}, {label: "事故后果", prop: "sghg", fieldType: "ftString",width:300},
{label: "风险登记", prop: "fxdj", fieldType: "ftString",width:60}, {label: "风险登记", prop: "fxdj", fieldType: "ftString",width:100},
{label: "作业地点", prop: "zydd", fieldType: "ftString",width:300}, {label: "作业地点", prop: "zydd", fieldType: "ftString",width:300},
// {label: "排查岗位ID", prop: "pcgwid", fieldType: "ftString",width:192}, // {label: "排查岗位ID", prop: "pcgwid", fieldType: "ftString",width:192},
{label: "排查岗位", prop: "pcgwName", fieldType: "ftString",width:192}, {label: "排查岗位", prop: "pcgwName", fieldType: "ftString",width:192},
...@@ -114,4 +114,3 @@ ...@@ -114,4 +114,3 @@
<style scoped> <style scoped>
</style> </style>
<template> <template>
<div class="min_full"> <div class="min_full">
<!-- 查询条件--> <!-- 查询条件-->
<div class="search" v-condition> <!-- <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col"> <el-col :span="12" class="search-col">
...@@ -11,15 +11,15 @@ ...@@ -11,15 +11,15 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div> -->
<!-- 按钮操作--> <!-- 按钮操作-->
<el-row class="tool-bar"> <el-row class="tool-bar">
<PrintButton :app='app'></PrintButton> <!-- <PrintButton :app='app'></PrintButton> -->
<ViewButton ref="view" :app='app'></ViewButton> <ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton> <AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton> <CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton> <EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton> <!-- <AttachFileButton :app='app' ></AttachFileButton> -->
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮--> <!-- 额外按钮-->
...@@ -108,4 +108,3 @@ ...@@ -108,4 +108,3 @@
<style scoped> <style scoped>
</style> </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