mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 16:33:57 +08:00
优化代码
This commit is contained in:
parent
9ab27a8500
commit
e1f448bbde
@ -184,7 +184,7 @@ var saveAs = saveAs || (function(view) {
|
||||
offlinePayFeeSwitch: '1',
|
||||
payerObjNames: [],
|
||||
payObjs: [],
|
||||
printUrl:'/print.html#/pages/property/printPayFee',
|
||||
printUrl: '/print.html#/pages/property/printPayFee',
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@ -214,7 +214,7 @@ var saveAs = saveAs || (function(view) {
|
||||
},
|
||||
_initEvent: function() {},
|
||||
methods: {
|
||||
_listFeePrintPages: function (_page, _rows) {
|
||||
_listFeePrintPages: function(_page, _rows) {
|
||||
var param = {
|
||||
params: {
|
||||
page: 1,
|
||||
@ -226,14 +226,14 @@ var saveAs = saveAs || (function(view) {
|
||||
//发送get请求
|
||||
vc.http.apiGet('/feePrintPage.listFeePrintPage',
|
||||
param,
|
||||
function (json, res) {
|
||||
function(json, res) {
|
||||
var _feePrintPageManageInfo = JSON.parse(json);
|
||||
let feePrintPages = _feePrintPageManageInfo.data;
|
||||
if (feePrintPages && feePrintPages.length > 0) {
|
||||
$that.batchPayFeeOrderInfo.printUrl = feePrintPages[0].url;
|
||||
}
|
||||
},
|
||||
function (errInfo, error) {
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
}
|
||||
);
|
||||
@ -432,7 +432,7 @@ var saveAs = saveAs || (function(view) {
|
||||
},
|
||||
_printAndBack: function() {
|
||||
$('#payFeeResult').modal("hide");
|
||||
window.open($that.payFeeOrderInfo.printUrl+"?detailIds=" + $that.batchPayFeeOrderInfo.detailIds)
|
||||
window.open($that.batchPayFeeOrderInfo.printUrl + "?detailIds=" + $that.batchPayFeeOrderInfo.detailIds)
|
||||
},
|
||||
_goBack: function() {
|
||||
vc.goBack();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user