|
@@ -139,12 +139,6 @@
|
|
|
<td title="'QQ或微信'">
|
|
|
{{row.QQorWechat}}
|
|
|
</td>
|
|
|
- <td title="'显示邮箱'">
|
|
|
- {{row.EmailDisplay}}
|
|
|
- </td>
|
|
|
- <td title="'显示QQ或微信'">
|
|
|
- {{row.QQorWechatDisplay}}
|
|
|
- </td>
|
|
|
<td title="'操作'">
|
|
|
<button class="btn btn-default btn-sm" ng-click="save(row)">编辑</button>
|
|
|
<button class="btn btn-danger btn-sm" ng-click="list.del(row)">删除</button>
|
|
@@ -258,9 +252,7 @@
|
|
|
DonateTime: "",
|
|
|
Amount: "",
|
|
|
Email: "",
|
|
|
- EmailDisplay: "",
|
|
|
QQorWechat: "",
|
|
|
- QQorWechatDisplay: "",
|
|
|
Via: ""
|
|
|
};
|
|
|
}
|
|
@@ -272,9 +264,7 @@
|
|
|
'<div class="input-group"><span class="input-group-addon">打赏金额: </span><input id="amount" type="text" class="form-control input-lg" placeholder="请输入金额" value="' + row.Amount + '"></div>' +
|
|
|
'<div class="input-group"><span class="input-group-addon">打赏方式: </span><input id="via" type="text" class="form-control input-lg" placeholder="请输入打赏方式" value="' + row.Via + '"></div>' +
|
|
|
'<div class="input-group"><span class="input-group-addon">Email: </span><input type="email" id="email" class="form-control input-lg" placeholder="请输入Email" value="' + row.Email + '"></div>' +
|
|
|
- '<div class="input-group"><span class="input-group-addon">QQ或微信: </span><input type="text" id="qq" class="form-control input-lg" placeholder="请输入QQ或微信" value="' + row.QQorWechat + '"></div>' +
|
|
|
- '<div class="input-group"><span class="input-group-addon">显示Email: </span><input type="text" id="demail" class="form-control input-lg" placeholder="请输入显示Email" value="' + row.EmailDisplay + '"></div>' +
|
|
|
- '<div class="input-group"><span class="input-group-addon">显示QQ或微信: </span><input type="text" id="dqq" class="form-control input-lg" placeholder="请输入显示QQ或微信" value="' + row.QQorWechatDisplay + '"></div>',
|
|
|
+ '<div class="input-group"><span class="input-group-addon">QQ或微信: </span><input type="text" id="qq" class="form-control input-lg" placeholder="请输入QQ或微信" value="' + row.QQorWechat + '"></div>',
|
|
|
showCloseButton: true,
|
|
|
confirmButtonColor: "#DD6B55",
|
|
|
confirmButtonText: "确定",
|
|
@@ -290,8 +280,6 @@
|
|
|
row.Via = $("#via").val();
|
|
|
row.Email = $("#email").val();
|
|
|
row.QQorWechat = $("#qq").val();
|
|
|
- row.EmailDisplay = $("#demail").val();
|
|
|
- row.QQorWechatDisplay = $("#dqq").val();
|
|
|
$http.post("/donate/save", row).then(function (res) {
|
|
|
if (res.data.Success) {
|
|
|
resolve(res.data);
|