<template>
  <div class="eibs-tab">
       
       <c-row>
         <c-col :span="24">
            <c-col :span="12">
                    <c-col :span="24">
                      <el-form-item label="数据采集标志" prop="cfagit.cfaflg">
                              <c-select v-model="model.cfagit.cfaflg" 
                                        style="width:100%" 
                                        placeholder="请选择数据采集标志">
                                     <el-option
                                        v-for="item in cfaflg"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                    </el-option>
                              </c-select>
                      </el-form-item>
                    </c-col>
                    <c-col :span="4" :offset="20">
                        <c-checkbox disabled v-model="model.cfagit.basflg">签约信息</c-checkbox>
                    </c-col>
                                
                    <c-col :span="4" :offset="20">
                        <c-checkbox disabled v-model="model.cfagit.dclflg">责任余额信息</c-checkbox>
                    </c-col>
                                
                    <c-col :span="4" :offset="20">
                        <c-checkbox disabled v-model="model.cfagit.vrfflg">履约信息</c-checkbox>
                    </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                    <c-col :span="24">
                      <el-form-item label="地区机构号" prop="cfagit.ownextkey">
                          <c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号">
                            </c-select>
                      </el-form-item>
                    </c-col>
            </c-col>
         </c-col>
       </c-row>
       
       <!-- <c-col :span="12">
        <el-form-item label="数据采集标志" prop="cfagit.cfaflg">
            <c-select v-model="model.cfagit.cfaflg" style="width:100%" placeholder="请选择数据采集标志">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.basflg">签约信息</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.dclflg">�'�任余额信息</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.vrfflg">履约信息</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="地区机构号" prop="cfagit.ownextkey">
            <c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号">
              </c-select>
        </el-form-item>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
              cfaflg:[
                { label: "不报送", value: "4" },
                { label: "新增", value: "1" },
              ]
        }
    },
    computed :{

    },
    watch:{
      // "model.cfagit.cfaflg":function(){
      //     if(this.model.cfagit.cfaflg=="1"){
      //        this.model.cfagit.basflg="X";
      //        this.model.cfagit.dclflg="X";
      //     }else{
      //       this.model.cfagit.basflg="";
      //       this.model.cfagit.dclflg="";
      //     }
      // }
    },
    methods:{
      ...Event,
      },
    created:function(){

    }
}
</script>
<style>

</style>
