Commit ea55fd05 authored by 李苏's avatar 李苏 💬

修改

parent 7167c1cb
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
this.singleItem.id&&start(this.singleItem.id).then(e=>{ this.singleItem.id&&start(this.singleItem.id).then(e=>{
if(e.success){ if(e.success){
this.$success('操作成功') this.$success('操作成功')
this.$refs['TablePager'].reLoad()
} }
}) })
} else { } else {
...@@ -110,6 +111,7 @@ ...@@ -110,6 +111,7 @@
this.singleItem.id&&stop(this.singleItem.id).then(e=>{ this.singleItem.id&&stop(this.singleItem.id).then(e=>{
if(e.success){ if(e.success){
this.$success('操作成功') this.$success('操作成功')
this.$refs['TablePager'].reLoad()
} }
}) })
} else { } else {
...@@ -121,6 +123,8 @@ ...@@ -121,6 +123,8 @@
this.singleItem.id&&excute(this.singleItem.id).then(e=>{ this.singleItem.id&&excute(this.singleItem.id).then(e=>{
if(e.success){ if(e.success){
this.$success('操作成功') this.$success('操作成功')
this.$refs['TablePager'].reLoad()
this
} }
}) })
} else { } else {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div slot="form" style="height: 70vh;"> <div slot="form" style="height: 70vh;">
<!-- 按钮--> <!-- 按钮-->
<div style='height:100%;width: 100%;'> <div style='height:100%;width: 100%;'>
<TablePager :delButton='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem' <TablePager showSelection :delButton='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
</TablePager> </TablePager>
......
...@@ -25,18 +25,18 @@ ...@@ -25,18 +25,18 @@
<el-input :readonly="readonly" v-model="form.fxd" ></el-input> <el-input :readonly="readonly" v-model="form.fxd" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="危害因素" ref="whys" prop="whys"> <el-form-item label="检查部位" ref="jcyd" prop="jcyd">
<el-input type="textarea" :readonly="readonly" v-model="form.whys" ></el-input> <el-input type="textarea" :readonly="readonly" v-model="form.jcyd" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="检查部位" ref="jcyd" prop="jcyd"> <el-form-item label="危害因素" ref="whys" prop="whys">
<el-input type="textarea" :readonly="readonly" v-model="form.jcyd" ></el-input> <el-input type="textarea" :readonly="readonly" v-model="form.whys" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="事故后果" ref="sghg" prop="sghg"> <el-form-item label="事故后果" ref="sghg" prop="sghg">
<el-input type="textarea" :readonly="readonly" v-model="form.sghg" ></el-input> <el-input type="textarea" :readonly="readonly" v-model="form.sghg" ></el-input>
......
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