<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.zywtjmd"  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.fzr" 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.fzrdh" name="title" autocomplete="off" placeholder="负责人电话" 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>