|
|
|
@ -1195,6 +1195,16 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('partnerPaymentInfoCtrl', ['$scope', '$http', '$state', 'commonDialog','$uibModal', '$sce', function ($scope, $http, $state, commonDialog,$uibModal, $sce) {
|
|
|
|
|
$scope.refresh = false;
|
|
|
|
|
$scope.copyHfLink = function() {
|
|
|
|
|
var e=document.getElementById("cpbt");
|
|
|
|
|
e.select();
|
|
|
|
|
var successful = document.execCommand("Copy");
|
|
|
|
|
if (successful) {
|
|
|
|
|
commonDialog.alert({title: 'Success', content: '已复制到剪切板!', type: 'success'});
|
|
|
|
|
}else {
|
|
|
|
|
commonDialog.alert({title: 'Error', content: '您的浏览器不支持!', type: 'error'});
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
$scope.loadPartnerPaymentInfo = function () {
|
|
|
|
|
$http.get('/sys/partners/' + $scope.partner.client_moniker).then(function (resp) {
|
|
|
|
|
$scope.paymentInfo = resp.data;
|
|
|
|
|