<gsb-h5page2>
  <gsb-h5nav slot="nav" title="完成商机列表" bottommenu="true"></gsb-h5nav>
  <div id="dealed" style="overflow:auto;padding-bottom:150px;height:90%">
  <el-row>
    <el-col :span="24" v-for="item in datalist" :key="item.id">
       <el-card style="margin-bottom:4px;border-radius:0px;">
         <el-row style="margin-bottom:10px">
            <el-col :span="20" style="font-size:15px;color:#2F2F2F;text-align:left"> <b>商机类型：{{item.chanceTypeName}}</b></el-col>
            <el-col :span="1"> <img v-if="item.status==8" style="width:100%" src="imgs/h5/edit.png" @click="edit(item.id)" /><span v-else style="color:white">1</span></el-col>
            <el-col :span="3" style="text-align:right;color:#2692FF;font-size:14px"><b>{{item.statusName}}</b></el-col>
         </el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">渠道来源：{{item.channelmanageallot.channelName}}</el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">产品名称：{{item.serviceItem_name}}</el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">客户姓名：{{item.publisherName}}</el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">客户电话：{{item.publisherMobile}}</el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">客户所在省市：{{item.province}}/{{item.city}}</el-row>
         <el-row style="font-size:13px;color:#828282;text-align:left;margin-bottom:3px">完成时间：{{new Date(item.updated_at).toLocaleString()}}</el-row>
       </el-card>
    </el-col>
  </el-row>

  <el-dialog  title="成功" :visible.sync="dialogFormVisible" :close-on-click-modal="false" :modal-append-to-body="false" width="90%" style="margin-top:30%" center="true">
    <el-form :model="form">
      <el-form-item label="金额">
         <el-input v-model="form.money" autocomplete="off" placeholder="请输入成单金额（单位：元）" type="textarea" :rows="1" style="width:80%"></el-input>
      </el-form-item>
      <el-form-item label="备注">
         <el-input v-model="form.notes" autocomplete="off" placeholder="请输入成单重点细节" type="textarea" :rows="2" style="width:80%"></el-input>
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="dialogFormVisible = false" size="medium" round>取 消</el-button>
      <el-button type="primary" @click="success" size="medium" round>确 定</el-button>
    </div>
  </el-dialog>
  </div>
</gsb-h5page2>
