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

隐患管理部分接口

parent 620e44f5
<template>
<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-col :span="8">
<el-form-item label="部门或分厂">
......@@ -152,6 +152,13 @@
<script>
export default {
mounted() {
this.$nextTick(()=>{
$(this.$el).find('input').attr('readonly','readonly')
$(this.$el).find('textarea').attr('readonly','readonly')
})
},
data() {
return {
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