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

隐患管理部分接口

parent 620e44f5
<template> <template>
<div class="form-detail"> <div class="form-detail">
<el-form v-if="details.hasOwnProperty('id')" ref="form" label-width='auto' > <el-form v-show="details.hasOwnProperty('id')" ref="form" label-width='auto' >
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="部门或分厂"> <el-form-item label="部门或分厂">
...@@ -152,6 +152,13 @@ ...@@ -152,6 +152,13 @@
<script> <script>
export default { export default {
mounted() {
this.$nextTick(()=>{
$(this.$el).find('input').attr('readonly','readonly')
$(this.$el).find('textarea').attr('readonly','readonly')
})
},
data() { data() {
return { return {
details:{} details:{}
......
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