<template>
    <div>
        <el-input type="textarea" 
        v-model="mark" 
        placeholder="请输入备注"
        rows="10"
        class="div_width"></el-input>
        <p/>
        <el-button type="primary" class="div_width" @click="btnSave">确定</el-button>
    </div>
</template>>
<script>
import * as dd from 'dingtalk-jsapi'
export default {
    data () {
        return{
            mark:''
        }

    },
    created () {
    // this.handleGetImgCaptcha()
    },
    mounted () {
        this.mark  = this.$cookie.get('reamrk')
        
        
    },
    methods: {
        
       
        btnSave(){
            this.$cookie.set('reamrk', this.mark)
            this.$router.replace({name: 'devicedetail', query:{type: 1}})
        }
        
    }
}

</script>

<style>
  .el-row {
    margin-bottom: 20px;
    
  }
  .el-col {
    border-radius: 10px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5f2f1;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
  .div_height{
      height: 38px;
  }
  .div_width{
      width: 100%;
  }
  .width_100{
      width: 100px;
  }
  .center{
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    padding: 1em;
  }
  .flex{
	display:flex;
    align-items: center;
	justify-content:center;
	width:100%;
	height:100%;
    border:1px solid;
	}
.flex_son{
	width:100%;
	height:100%;
	border:0x solid;
}
.zero_size{
      width: 1px;
      height: 1px;
  }
  
</style>