| | |
| | | <el-table-column |
| | | label="合同编号"> |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.ContractDetailRef.open('合同详情', row.id)" v-if="row.status === 1">{{row.code}}</el-button> |
| | | <el-button type="text" v-else>{{row.code}}</el-button> |
| | | <el-button type="text" @click="$refs.ContractDetailRef.open('合同详情', row.id)">{{row.code}}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <template slot-scope="{row}"> |
| | | <div style="display: flex; align-items: center;"> |
| | | {{row.renterName}} |
| | | <el-tag type="success" v-if="row.status === 1">当前租户</el-tag> |
| | | <el-tag type="success" v-if="[1,2,3].includes(row.status)">当前租户</el-tag> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | this.$refs.operaYwWorkorderWindow.open('新建工单', { |
| | | rooms: [this.info.projectId, this.info.buildingId, this.info.floor, this.info.id], |
| | | areaType: 0, |
| | | content: '' |
| | | content: '', |
| | | projectId: this.info.projectId, |
| | | buildingId: this.info.buildingId, |
| | | floorId: this.info.floor, |
| | | roomId: this.info.id |
| | | }) |
| | | }, |
| | | // 获取设备状态 |
| | |
| | | this.$nextTick(() => { |
| | | this.deviceList = [ |
| | | { value: res.workAmount || 0, name: '正常' }, |
| | | { value: res.exceptionAmount || 0, name: '异常' }, |
| | | { value: res.exceptionAmount || 0, name: '损坏' }, |
| | | { value: res.errAmount || 0, name: '报废' } |
| | | ] |
| | | this.amount = res.amount |
| | |
| | | page: 1, |
| | | model: { |
| | | roomId: this.houseId, |
| | | status: this.form.status, |
| | | dealStatus: this.form.dealStatus, |
| | | cateId: this.form.cateId |
| | | } |
| | | }).then(res => { |