public/components/machine/importMeterMachine/importMeterMachine.js
@@ -41,7 +41,7 @@ return; } if (!vc.component.checkOwnerFileSize(vc.component.importMeterMachineInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -98,7 +98,7 @@ }, checkOwnerFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/doImportCreateFee/doImportCreateFee.js
@@ -40,7 +40,7 @@ return; } if (!$that.checkOwnerFileSize($that.doImportCreateFeeInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } @@ -99,7 +99,7 @@ }, checkOwnerFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/exportCarFeeImportExcel/exportCarFeeImportExcel.js
@@ -28,7 +28,7 @@ return; } if (!vc.component.checkOwnerFileSize(vc.component.exportCarFeeImportExcelInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -192,6 +192,14 @@ console.log('请求失败处理'); }); }, checkOwnerFileSize: function (fileSize) { //2M const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } return true; } } }); public/components/property/exportFeeImportExcel/exportFeeImportExcel.js
@@ -30,7 +30,7 @@ return; } if (!$that.checkOwnerFileSize($that.exportFeeImportExcelInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -194,6 +194,14 @@ console.log('请求失败处理'); }); }, checkOwnerFileSize: function (fileSize) { //2M const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } return true; } } }); public/components/property/importEquipment/importEquipment.js
@@ -43,7 +43,7 @@ return; } if (!vc.component.checkOwnerFileSize(vc.component.importEquipmentInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -115,7 +115,7 @@ }, checkOwnerFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importMeterWaterFee/importMeterWaterFee.js
@@ -65,7 +65,7 @@ return; } if (!$that.checkFileSize($that.importMeterWaterFeeInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } let param = new FormData(); @@ -177,7 +177,7 @@ }, checkFileSize: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importMeterWaterFee2/importMeterWaterFee2.js
@@ -64,7 +64,7 @@ return; } if (!$that.checkFileSize2($that.importMeterWaterFee2Info.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -186,7 +186,7 @@ }, checkFileSize2: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importOldRoomFee/importOldRoomFee.js
@@ -53,7 +53,7 @@ return; } if (!$that.checkFileSize($that.importOldRoomFeeInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } @@ -120,7 +120,7 @@ }, checkFileSize: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importOwnerCar/importOwnerCar.js
@@ -49,7 +49,7 @@ return; } if (!$that.checkOwnerFileSize($that.importOwnerCarInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } let param = new FormData(); @@ -113,7 +113,7 @@ }, checkOwnerFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importOwnerRoom/importOwnerRoom.js
@@ -41,7 +41,7 @@ return; } if (!vc.component.checkOwnerFileSize(vc.component.importOwnerRoomInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -107,7 +107,7 @@ }, checkOwnerFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importResourceStore/importResourceStore.js
@@ -69,7 +69,7 @@ return; } if (!vc.component.checkOwnerFileSize(vc.component.importResourceStoreInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -137,7 +137,7 @@ }, checkOwnerFileSize: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/components/property/importRoomFee/importRoomFee.js
@@ -53,7 +53,7 @@ return; } if (!$that.checkFileSize($that.importRoomFeeInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } @@ -143,7 +143,7 @@ }, checkFileSize: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/pages/car/tempCarPayment/tempCarPayment.html
@@ -35,10 +35,10 @@ <div class="col-lg-2 "> <select class="custom-select" v-model="tempCarPaymentInfo.conditions.state"> <option value="">{{vc.i18n('请选择车辆状态','tempCarPayment')}}</option> <option value="100300">{{vc.i18n('进场状态','tempCarPayment')}}</option> <!-- <option value="100300">{{vc.i18n('进场状态','tempCarPayment')}}</option> --> <option value="100400">{{vc.i18n('支付完成','tempCarPayment')}}</option> <option value="100500">{{vc.i18n('离场状态','tempCarPayment')}}</option> <option value="100600">{{vc.i18n('支付超时重新支付','tempCarPayment')}}</option> <!-- <option value="100500">{{vc.i18n('离场状态','tempCarPayment')}}</option> --> <option value="100300">{{vc.i18n('未支付','tempCarPayment')}}</option> </select> </div> <div class="col-sm-2"> public/pages/car/tempCarPayment/tempCarPayment.js
@@ -72,32 +72,32 @@ $that._listCarIns(DEFAULT_PAGE, DEFAULT_ROWS); }, _listCarIns: function (_page, _rows) { // $that.tempCarPaymentInfo.conditions.page = _page; // $that.tempCarPaymentInfo.conditions.row = _rows; // $that.tempCarPaymentInfo.conditions.communityId = vc.getCurrentCommunity().communityId; // let param = { // params: $that.tempCarPaymentInfo.conditions // }; // param.params.carNum = param.params.carNum.trim(); // param.params.inoutId = param.params.inoutId.trim(); let param = { }; $that.tempCarPaymentInfo.conditions.page = _page; $that.tempCarPaymentInfo.conditions.row = _rows; $that.tempCarPaymentInfo.conditions.communityId = vc.getCurrentCommunity().communityId; let param = { params: $that.tempCarPaymentInfo.conditions }; param.params.carNum = param.params.carNum.trim(); param.params.inoutId = param.params.inoutId.trim(); // let param = { }; //发送get请求 vc.http.apiPost('/import.QueryCarInout', param, vc.http.apiGet('/import.QueryCarInout', param, function (json, res) { // let _json = JSON.parse(json); // $that.tempCarPaymentInfo.total = _json.total; // $that.tempCarPaymentInfo.records = _json.records; let _json = JSON.parse(json); $that.tempCarPaymentInfo.total = _json.total; $that.tempCarPaymentInfo.records = _json.records; console.log(json); $that.tempCarPaymentInfo.payments = json; // vc.emit('pagination', 'init', { // total: $that.tempCarPaymentInfo.records, // dataCount: $that.tempCarPaymentInfo.total, // currentPage: _page // }); $that.tempCarPaymentInfo.payments = _json.carInouts; vc.emit('pagination', 'init', { total: $that.tempCarPaymentInfo.records, dataCount: $that.tempCarPaymentInfo.total, currentPage: _page }); }, function (errInfo, error) { console.log('请求失败处理',errInfo,error); $that.tempCarPaymentInfo.payments = error.body; // $that.tempCarPaymentInfo.payments = error.body; }); }, public/pages/property/assetImport/assetImport.js
@@ -56,7 +56,7 @@ return; } if (!vc.component.checkFileSize(vc.component.assetImportInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -109,7 +109,7 @@ }, checkFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/pages/property/historyFeeDetailImport/historyFeeDetailImport.js
@@ -59,7 +59,7 @@ return; } if (!$that.checkFileSize($that.historyFeeDetailImportInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -110,7 +110,7 @@ }, checkFileSize: function (fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; } public/pages/property/waterFeeImport/waterFeeImport.js
@@ -56,7 +56,7 @@ return; } if (!vc.component.checkFileSize(vc.component.assetImportInfo.excelTemplate.size)) { vc.toast('Excel文件大小不能超过2M'); vc.toast('Excel文件大小不能超过20M'); return; } var param = new FormData(); @@ -104,7 +104,7 @@ }, checkFileSize: function(fileSize) { //2M const MAX_SIZE = 2 * 1024 * 1024; const MAX_SIZE = 20 * 1024 * 1024; if (fileSize > MAX_SIZE) { return false; }