|
@@ -9,7 +9,7 @@
|
|
|
<el-col :span="6">
|
|
|
<el-card shadow="hover">
|
|
|
<template #header>
|
|
|
- <span class="card-title">设备类型</span>
|
|
|
+ <span class="card-title">项目列表</span>
|
|
|
</template>
|
|
|
<div class="card-container">
|
|
|
<projectTree
|
|
@@ -29,13 +29,11 @@
|
|
|
<span class="card-title">房间列表</span>
|
|
|
<span style="display: flex">
|
|
|
<el-button
|
|
|
- v-if="checkMenuLimit('room/room/Import')"
|
|
|
size="mini"
|
|
|
type="primary"
|
|
|
@click="downloadMould"
|
|
|
>导出房间模板</el-button>
|
|
|
<el-upload
|
|
|
- v-if="checkMenuLimit('room/room/Import')"
|
|
|
:action="uploadUrl + 'device/jywsRoom/importRoom/' + (tableData.selectNode ? tableData.selectNode.data.value : '')"
|
|
|
:headers="{Authorization: 'Bearer '+ token}"
|
|
|
accept=".xlsx"
|
|
@@ -52,14 +50,12 @@
|
|
|
>房间批量导入</el-button>
|
|
|
</el-upload>
|
|
|
<el-button
|
|
|
- v-if="checkMenuLimit('room/room/AssetImport')"
|
|
|
size="mini"
|
|
|
type="primary"
|
|
|
style="margin-left: 8px"
|
|
|
@click="downloadAssetsMould"
|
|
|
>导出资产模板</el-button>
|
|
|
<el-upload
|
|
|
- v-if="checkMenuLimit('room/room/AssetImport')"
|
|
|
:action="uploadUrl + 'device/jywsRoom/importRoomAssets/' + (tableData.selectNode ? tableData.selectNode.data.value : '')"
|
|
|
:headers="{Authorization: 'Bearer '+ token}"
|
|
|
accept=".xlsx"
|
|
@@ -134,7 +130,6 @@
|
|
|
<el-col :span="6">
|
|
|
<el-form-item>
|
|
|
<el-button
|
|
|
- v-if="checkMenuLimit('room/room/Detail')"
|
|
|
type="primary"
|
|
|
@click="handlePageChange(1)"
|
|
|
>
|
|
@@ -282,26 +277,26 @@
|
|
|
客户信息
|
|
|
</el-button>
|
|
|
<el-row>
|
|
|
- <el-col :span="24">
|
|
|
+ <el-col :span="12">
|
|
|
<el-form-item label="入住人">
|
|
|
{{ item.residents }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <!--<el-col :span="12">
|
|
|
- <el-form-item label="VIP">{{item.vipType}}</el-form-item>
|
|
|
- </el-col>-->
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="入住时间">
|
|
|
{{ item.checkInTime }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="离店时间">
|
|
|
{{ item.departureTime }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="" />
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<el-button
|
|
@@ -330,32 +325,6 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12" />
|
|
|
</el-row>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- icon="el-icon-tickets"
|
|
|
- >
|
|
|
- 锁房原因
|
|
|
- </el-button>
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="锁房原因">
|
|
|
- {{ formData.detailForm.lockRoomReason }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- icon="el-icon-tickets"
|
|
|
- >
|
|
|
- 维修原因
|
|
|
- </el-button>
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="维修原因">
|
|
|
- {{ formData.detailForm.repairReason }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
@@ -411,7 +380,6 @@
|
|
|
>
|
|
|
<template #default="scope">
|
|
|
<el-button
|
|
|
- v-if="checkMenuLimit('room/room/AssetEdit')"
|
|
|
size="mini"
|
|
|
type="primary"
|
|
|
@click="handleAssetsDetail(scope.row)"
|
|
@@ -419,7 +387,6 @@
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="checkMenuLimit('room/room/AssetDelete')"
|
|
|
size="mini"
|
|
|
type="danger"
|
|
|
@click="handleAssetsDelete(scope.row)"
|
|
@@ -449,7 +416,7 @@
|
|
|
</el-drawer>
|
|
|
<el-dialog
|
|
|
v-model="formData.assetsFormShow"
|
|
|
- title="销单"
|
|
|
+ title="编辑"
|
|
|
custom-class="table-dialog"
|
|
|
width="800px"
|
|
|
>
|
|
@@ -982,17 +949,17 @@ function uploadModule (fullScreenLoading, handlePageChange) {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
- .preview-image{
|
|
|
- width: 100px;
|
|
|
- height: 100px;
|
|
|
+ .preview-image{
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ }
|
|
|
+ .inspect-text{
|
|
|
+ .el-col{
|
|
|
+ line-height: 24px;
|
|
|
+ color: #606266;
|
|
|
}
|
|
|
- .inspect-text{
|
|
|
- .el-col{
|
|
|
- line-height: 24px;
|
|
|
- color: #606266;
|
|
|
- }
|
|
|
- .el-col:first-child{
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
+ .el-col:first-child{
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
+ }
|
|
|
</style>
|