<template>
  <div class="auto">
    <validator name='v'>
      <form class="form-horizontal">

        <div class="row" style="margin-top:1px;">
          <div class="col-sm-8 form-group">
            <label for="f_reason">该用户未签合同请问是否进行签约</label>
          </div>
        </div>
      </form>
      <div style="text-align:right;">
        <button class="button_search button_spacing" @click="confcontor()" >确认</button>
        <button class="button_clear" @click="abolishcontr()" >取消</button>
      </div>
    </validator>
  </div>
  <contract-signing-brain :show="contractShow" @toggle="eticket_toggle" v-ref:contractbill></contract-signing-brain>
</template>
<script>
  /**
   *综合业务
   表具停用组件
   */
  export default {
    title: '表具停用',
    props: ['row'],
    data () {
      return {
        contractShow: false
      }
    },
    ready () {
    },
    methods: {
      eticket_toggle () {
        this.contractShow = false
      },
      confcontor () {
        this.contractShow = true
        this.$refs.contractbill.getContractData(this.row.f_userinfo_id)
      },
      abolishcontr () {
        this.$dispatch('refresh')
      }
    }
  }
</script>

<style>
</style>
