|
|
|
@@ -60,12 +60,11 @@ |
|
|
|
|
|
|
|
<div class="table-container"> |
|
|
|
<div> |
|
|
|
<el-table border :data="tableData" style="width:100%" v-loading="loading" stripe> |
|
|
|
<el-table-column prop="ID" :label="$t('user.invitedFriends')" align="left" header-align="center"> |
|
|
|
<el-table border style="width:100%"> |
|
|
|
<el-table-column :label="$t('user.invitedFriends')" header-align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display:flex;align-items:center;padding-left:20px;"> |
|
|
|
<img :src="scope.row.avatarSrc" alt="" style="height:45px;width:45px;margin-right:10px;" /> |
|
|
|
<a :href="scope.row.userLink" style="font-weight:500;font-size:15px;">{{ scope.row.userName }}</a> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
@@ -76,11 +75,7 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="regTime" :label="$t('user.registrationTime')" align="center" header-align="center"> |
|
|
|
</el-table-column> |
|
|
|
<template slot="empty"> |
|
|
|
<span>{{ |
|
|
|
loading ? $t('loading') : $t('noData') |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
|
|
|
|
@@ -135,6 +130,7 @@ |
|
|
|
}, |
|
|
|
cancelUpload(){ |
|
|
|
this.ImageUrl = '' |
|
|
|
this.file='' |
|
|
|
}, |
|
|
|
startTranform(){ |
|
|
|
let fd = new FormData(); |
|
|
|
@@ -145,7 +141,7 @@ |
|
|
|
url: '/extension/tuomin/upload', |
|
|
|
headers: {'Accept': 'image/png'}, |
|
|
|
responseType: 'blob', |
|
|
|
params: { model: this.radio }, |
|
|
|
params: { mode: this.radio }, |
|
|
|
data:fd |
|
|
|
}).then(res => { |
|
|
|
console.log(res) |
|
|
|
|