This commit is contained in:
“wanyongkang”
2021-07-23 09:38:55 +08:00
parent 89d515ca84
commit 0ad4080231
3 changed files with 24 additions and 21 deletions

View File

@@ -2,6 +2,7 @@
<div v-loading="loading">
<div class="heior_box">
<el-button size="small" type="primary" icon="el-icon-plus" @click="add">添加代理商</el-button>
代理商登录地址<el-link href="http://agent.juip.com/" type="primary">http://agent.juip.com/</el-link>
<div class="search-box">
<el-input v-model="searchModel.keyWord" placeholder="请输入代理商账号" clearable size="small">
<el-button slot="append" icon="el-icon-search" @click="search"></el-button>

View File

@@ -42,22 +42,24 @@
</el-table-column>
<el-table-column label="操作" width="400px">
<template slot-scope="scope">
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
<router-link :to="{name:'userprice',query:{id:scope.row.Id}}">
<span class="handel cursor edit">专项价</span>
</router-link>
<span class="handel cursor edit" @click="showUserPrice(scope.row)">折扣</span>
<span class="handel cursor edit" @click="edit(scope.row)">编辑</span>
<span class="handel cursor edit" @click="showAmountDetail(scope.row)">明细</span>
<el-popover placement="bottom" trigger="hover" width="180">
<div class="popover_box">
<span>QQ号{{scope.row.QQ||'--'}}</span>
<span>微信{{scope.row.Wx||'--'}}</span>
<span>淘宝{{scope.row.TaoBao||'--'}}</span>
<span>邮箱:{{scope.row.Email||'--'}}</span>
</div>
<span class="handel cursor more" slot="reference">更多</span>
</el-popover>
<span v-if="scope.row.agent_id==0">
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
<router-link :to="{name:'userprice',query:{id:scope.row.Id}}">
<span class="handel cursor edit">专项价</span>
</router-link>
<span class="handel cursor edit" @click="showUserPrice(scope.row)">折扣</span>
<span class="handel cursor edit" @click="edit(scope.row)">编辑</span>
<span class="handel cursor edit" @click="showAmountDetail(scope.row)">明细</span>
<el-popover placement="bottom" trigger="hover" width="180">
<div class="popover_box">
<span>QQ号{{scope.row.QQ||'--'}}</span>
<span>微信{{scope.row.Wx||'--'}}</span>
<span>淘宝{{scope.row.TaoBao||'--'}}</span>
<span>邮箱:{{scope.row.Email||'--'}}</span>
</div>
<span class="handel cursor more" slot="reference">更多</span>
</el-popover>
</span>
</template>
</el-table-column>
</el-table>