LAPTOP-FO2T5SIU\35838 před 5 měsíci
rodič
revize
dab9dbc862

+ 1 - 1
src/views/customerManagement/component/uploadCost.vue

@@ -229,7 +229,7 @@ export default {
                 responseType: 'blob',
                 data: this.tableData
             }).then(res => {
-                this.downloadExcel(res.data, '客户导入模版.xlsx')
+                this.downloadExcel(res.data, '选房客户导入模板.xlsx')
             }).catch((err) => {
                 console.log(err)
             })

+ 15 - 0
src/views/reportForms/components/parkRoomIndexDetail.vue

@@ -366,6 +366,7 @@ export default {
                 this.$nextTick(() => {
                     this.$refs.parkRoomIndexEdit.initData(this.houseId)
                 })
+                this.getHistoryData()
             })
         },
         handleClick(tab, event) {
@@ -496,6 +497,17 @@ export default {
                 // console.log(e)
             })
         },
+        getHistoryData: function() {
+            const _this = this
+            const postData = {
+                houseId: this.houseId
+            }
+            this.baseRequest('roomHistory', postData).then((res) => {
+               console.log(res.data)
+            }).catch((e) => {
+                // console.log(e)
+            })
+        },
         getDepositItemJson: function(item) {
             item.houseName = item.buildName + '-' + item.roomNo
             item.statusStr = this.dc_map.DEPOSIT_STATUS[item.status]
@@ -614,6 +626,9 @@ export default {
             this.dialogInvoiceVisible = false
             this.dialogFormalInvoiceVisible = false
         },
+        baseRequest(opUrl, postData) {
+            return this.$channel.globeRequest('ParkRoomController', opUrl, postData, 'project')
+        },
         baseDepositRequest(opUrl, postData) {
             return this.$channel.globeRequest('RoomSelectionInfoController', opUrl, postData, 'project')
         },