【代理商需求】

https://www.tapd.cn/tapd_fe/67163502/story/detail/1167163502001000123
This commit is contained in:
“wanyongkang”
2025-05-23 17:02:52 +08:00
parent 4b8fb4a684
commit adb68c9401
4 changed files with 218 additions and 21 deletions

View File

@@ -378,7 +378,7 @@
<th>到期时间</th>
<th>剩余时间</th>
<th>在线及踢线</th>
<th>选择地区</th>
<!-- <th>选择地区</th> -->
<th>操作</th>
<th>软件下载</th>
</tr>
@@ -401,9 +401,9 @@
<td class="redT">@(item.Status==AccountStatus.Refund?"已退货": item.RestTime)</td>
@*<td class="greenT">查看</td>*@
<td class="blueT"><a @@click="online(@item.ProductId,'@item.Account')">查看</a> </td>
<td class="blueT"><a v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==17||@item.ProductId==1" @@click="assign_address(@item.ProductId,'@item.Account','@item.Pwd')">切换地区</a> </td>
<!-- <td class="blueT"><a v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==17||@item.ProductId==1" @@click="assign_address(@item.ProductId,'@item.Account','@item.Pwd')">切换地区</a> </td> -->
<td class="blueT" ><a v-on:click="deleteacct(@item.Id)">删除</a></td>
<td class="blueT" ><a v-on:click="deleteacct(@item.Id)">删除</a> </td>
<td class="blueT"><a href="/product/soft">下载</a></td>
</tr>
} else {
@@ -423,7 +423,7 @@
<td class="redT">@(item.Status==AccountStatus.Refund?"已退货": item.RestTime)</td>
@*<td class="greenT">查看</td>*@
<td class="blueT"><a @@click="online(@item.ProductId,'@item.Account')">查看</a> </td>
<td class="blueT"><a v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==17||@item.ProductId==1" @@click="assign_address(@item.ProductId,'@item.Account','@item.Pwd')">切换地区</a> </td>
<!-- <td class="blueT"><a v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==17||@item.ProductId==1" @@click="assign_address(@item.ProductId,'@item.Account','@item.Pwd')">切换地区</a> </td> -->
<td class="blueT" ><a v-on:click="deleteacct('@item.Id')">删除</a></td>
<td class="blueT"><a href="/product/soft">下载</a></td>
@@ -669,22 +669,23 @@
id: Id
}
$.ajax({
type: 'POST',
url: 'https://php-api.juip.com/manager/account/delete',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
beforeSend: function(xhr) {
xhr.withCredentials = true;
},
crossDomain: true,
success: function (res) {
alert('删除成功');
location.reload();
}
});
if (confirm("您确定要删除该账号吗?")) {
$.ajax({
type: 'POST',
url: 'https://php-api.juip.com/manager/account/delete',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
beforeSend: function(xhr) {
xhr.withCredentials = true;
},
crossDomain: true,
success: function (res) {
alert('删除成功');
location.reload();
}
});
}
},
change_ip(account_id,package,account,old_ip){
this.province_city = [];