mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化收据 图片显示bug
This commit is contained in:
parent
56c824cf9d
commit
acee9f52f4
BIN
public/components/property/.DS_Store
vendored
BIN
public/components/property/.DS_Store
vendored
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
<div id="addFeePrintSpecModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
||||
<div id="addFeePrintSpecModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
|
||||
@ -17,10 +17,12 @@
|
||||
_initEvent: function () {
|
||||
vc.on('addFeePrintSpec', 'openAddFeePrintSpecModal', function () {
|
||||
$('#addFeePrintSpecModel').modal('show');
|
||||
let photos = [];
|
||||
vc.emit('addFeePrintSpec', 'uploadImageUrl', 'notifyPhotos', photos);
|
||||
});
|
||||
vc.on('addFeePrintSpec', 'notifyUploadImage', function (_img) {
|
||||
if (!vc.isEmpty(_img) && _img.length > 0) {
|
||||
$that.addFeePrintSpecInfo.qrImg = _img[0].fileId;
|
||||
$that.addFeePrintSpecInfo.qrImg = _img[0].url;
|
||||
} else {
|
||||
$that.addFeePrintSpecInfo.qrImg = '';
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
vc.on("editFeePrintSpec", "notifyUploadImage", function (_param) {
|
||||
console.log(_param);
|
||||
if (!vc.isEmpty(_param) && _param.length > 0) {
|
||||
vc.component.editFeePrintSpecInfo.qrImg = _param[0].fileId;
|
||||
vc.component.editFeePrintSpecInfo.qrImg = _param[0].url;
|
||||
} else {
|
||||
vc.component.editFeePrintSpecInfo.qrImg = '';
|
||||
}
|
||||
|
||||
BIN
public/pages/property/.DS_Store
vendored
BIN
public/pages/property/.DS_Store
vendored
Binary file not shown.
@ -45,11 +45,11 @@
|
||||
vc.component.feePrintSpecManageInfo.total = _feePrintSpecManageInfo.total;
|
||||
vc.component.feePrintSpecManageInfo.records = _feePrintSpecManageInfo.records;
|
||||
vc.component.feePrintSpecManageInfo.feePrintSpecs = _feePrintSpecManageInfo.data;
|
||||
vc.component.feePrintSpecManageInfo.feePrintSpecs.forEach((item) => {
|
||||
if(item.qrImg){
|
||||
item.qrImg = photoUrl + "?fileId=" + item.qrImg + "&communityId=-1&time=" + new Date()
|
||||
}
|
||||
})
|
||||
// vc.component.feePrintSpecManageInfo.feePrintSpecs.forEach((item) => {
|
||||
// if(item.qrImg){
|
||||
// item.qrImg = photoUrl + "?fileId=" + item.qrImg + "&communityId=-1&time=" + new Date()
|
||||
// }
|
||||
// })
|
||||
vc.emit('pagination', 'init', {
|
||||
total: vc.component.feePrintSpecManageInfo.records,
|
||||
dataCount: vc.component.feePrintSpecManageInfo.total,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user