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

修改

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