<template>
  <div>
    <table style="width: 100%;">
        <tr>    
            <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">来宁时间</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.lnsj" name="title"
                            autocomplete="off" placeholder="来宁时间" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">支部书记</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.zb" name="title"
                            autocomplete="off" placeholder="支部书记" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
             <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">网格长</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.wgz" name="title"
                            autocomplete="off" placeholder="网格长" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">物业主任</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.wy" name="title"
                            autocomplete="off" placeholder="物业主任" class="layui-input">
                    </div>
                </div>
            </td>
           
        </tr>
        <tr>
             <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">定时询问人员</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.dsxwry" name="title"
                            autocomplete="off" placeholder="定时询问人员" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">民警</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.zyz" name="title"
                            autocomplete="off" placeholder="民警" class="layui-input">
                    </div>
                </div>
            </td>
           
        </tr>

      
        <tr>
             <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">是否自行隔离</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.sfzdgl" name="title"
                            autocomplete="off" placeholder="是否自行隔离" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">隔离到期</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.gldq" name="title"
                            autocomplete="off" placeholder="隔离到期" class="layui-input">
                    </div>
                </div>
            </td>
           
        </tr>

        <tr>
            <td colspan="2">
                <div class="layui-form-item
                 jbxq-div" style="width:300px;">
                    <label class="layui-form-label" style="width:100px;">状态(14天)</label>
                    <div class="layui-input-block">
                        <input type="text" v-model="datax.zt" name="title"
                            autocomplete="off" placeholder="状态(14天)" class="layui-input">
                    </div>
                </div>
            </td>            
      </tr>
    </table>
  </div>
</template>

<script>
  module.exports = {
        data: function() {
            return {
                  datax: this.dataxself
            }
        }, 
        props:["dataxself"],
        methods:{

        },
        computed:{
             datax:{
                 set:function(value){
                      this.dataxself=value;
                      console.log(value);
                 },get:function(){
                      return this.dataxself;
                      console.log(this.dataxself);
                 }
             }
        },
        mounted(){//挂载的时候执行
            console.log(this.dataxself); 
        }
  }
</script>
<style scoped>

</style>
