<template>
  <div class="panel panel-default auto repair-info-content" style="height: 100%">
    <div class="panel-body">
      <div class="auto repair-info-content compatible " style="height: 100%">
        <div class="row auto" style="height: 50%">
          <div class="col-xs-12 col-sm-6 col-md-6 form-input-group mg8" style="height: 10%">
            <label class="text-justify lb-left">反馈意见</label>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-6 form-input-group mg8" style="height: 5%">
          </div>
          <div class="col-xs-12 col-sm-6 col-md-6 form-input-group mg8" style="height: 80%">
            <textarea style="width: 100%;height: 100%" v-model="f_advise_text"></textarea>
          </div>
        </div>
        <div class="row auto flex-between" style="height: 5%">
          <button type="button" name="button" class="btn btn-primary pull-right" @click="commitAdvise">提交</button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import Vue from 'vue'
  import {HttpResetClass,trans} from 'vue-client'
export default {
  title:'反馈意见',
  data(){
    return{
    }
  },
  props: {

  },
  ready () {

  },
  data () {
    return {
      f_advise_text:""
    }
  },
  methods: {
    async commitAdvise(){
      let http=new HttpResetClass()
      let res=await http.load('POST', '/api/af-safecheck/logic/addAdvise', {
       data:{
         f_filialeid:"305",
         f_adviser_id:"111",
         f_adviser_name:"文明",
         f_advise_text:this.f_advise_text
       }
      }, {resolveMsg: null, rejectMsg: null})
    }

  }
}
</script>

