|
@@ -33,6 +33,8 @@
|
|
|
<el-table-column label="套内面积(㎡)" prop="actualInternalArea" />
|
|
|
<el-table-column label="建筑面积(㎡)" prop="actualBuildArea" />
|
|
|
<el-table-column label="装修情况" prop="decorationSituationStr" />
|
|
|
+ <el-table-column label="经办人" prop="createdName" />
|
|
|
+ <el-table-column label="经办时间" prop="createdAt" />
|
|
|
<el-table-column label="操作" width="180">
|
|
|
<template scope="scope">
|
|
|
<el-button
|
|
@@ -52,12 +54,12 @@
|
|
|
</el-table>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="handle-box">
|
|
|
- <span>经办时间 {{ dataStr }}</span>
|
|
|
- </el-row>
|
|
|
- <el-row class="handle-box">
|
|
|
- <span>经办人 {{ username }}</span>
|
|
|
- </el-row>
|
|
|
+ <!-- <el-row class="handle-box">-->
|
|
|
+ <!-- <span>经办时间 {{ dataStr }}</span>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
+ <!-- <el-row class="handle-box">-->
|
|
|
+ <!-- <span>经办人 {{ username }}</span>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
</div>
|
|
|
<div style="text-align: right;margin-top: 50px">
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
@@ -99,10 +101,13 @@ export default {
|
|
|
dialogRoomVisible: false,
|
|
|
customerManagementId: '',
|
|
|
dataStr: '',
|
|
|
- username: ''
|
|
|
+ username: '',
|
|
|
+ groupId: '',
|
|
|
+ discId: ''
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ console.log('this.$common.currUser()', this.$common.currUser())
|
|
|
const myDate = new Date()
|
|
|
const dateStr = myDate.getFullYear() + '-' + (myDate.getMonth() + 1) + '-' + myDate.getDate()
|
|
|
const username = this.$common.currUser().username
|
|
@@ -113,14 +118,20 @@ export default {
|
|
|
initData(data) {
|
|
|
this.initDict(this.dc_key).then(res => {
|
|
|
this.customerManagementId = data.id
|
|
|
+ this.groupId = data.groupId
|
|
|
+ this.discId = data.discId
|
|
|
this.getData(data.id)
|
|
|
})
|
|
|
},
|
|
|
handleAdd() {
|
|
|
this.dialogRoomVisible = true
|
|
|
+ const data = {
|
|
|
+ level: 2,
|
|
|
+ nodeId: this.discId
|
|
|
+ }
|
|
|
// 新vue时调用的方法
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.parkRoom.initData()
|
|
|
+ this.$refs.parkRoom.initData(data)
|
|
|
})
|
|
|
},
|
|
|
getData: function(val) {
|
|
@@ -153,7 +164,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
const data = {
|
|
|
- houseIds: this.AllData.map(obj => { return obj.id }).join(','),
|
|
|
+ houseIds: this.AllData.map(obj => { return obj.houseId }).join(','),
|
|
|
customerManagementId: this.customerManagementId
|
|
|
}
|
|
|
this.baseRequest('submit', data).then(res => {
|
|
@@ -184,6 +195,10 @@ export default {
|
|
|
},
|
|
|
getChildrenData(data) {
|
|
|
if (data) {
|
|
|
+ data.forEach(item => {
|
|
|
+ item.createdName = this.username
|
|
|
+ item.createdAt = this.dataStr
|
|
|
+ })
|
|
|
this.AllData = data
|
|
|
}
|
|
|
this.dialogRoomVisible = false
|