|
@@ -1,169 +1,268 @@
|
|
<template>
|
|
<template>
|
|
- <div class="contrl">
|
|
|
|
- <div style="width: 95%;">
|
|
|
|
- <div class="title-div">
|
|
|
|
- <span>房地产工作台</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!-- <div class="createNew-div" @click="createFolder" >
|
|
|
|
|
|
+ <div class="contrl">
|
|
|
|
+ <div style="width: 95%;">
|
|
|
|
+ <div class="title-div">
|
|
|
|
+ <span>房地产工作台</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <div class="createNew-div" @click="createFolder" >
|
|
<img src="../../../assets/icons/folder.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
<img src="../../../assets/icons/folder.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
<span style="margin-left: 10px;">新的项目</span>
|
|
<span style="margin-left: 10px;">新的项目</span>
|
|
<img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
<img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
</div> -->
|
|
</div> -->
|
|
- <div class="createNew-div" @click="createWord()">
|
|
|
|
- <img src="../../../assets/icons/word.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
|
|
- <span style="margin-left: 10px;">抵押类报告</span>
|
|
|
|
- <img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
|
|
- </div>
|
|
|
|
- <!-- <div class="createNew-div">
|
|
|
|
|
|
+ <div class="createNew-div" @click="createWord()">
|
|
|
|
+ <img src="../../../assets/icons/word.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
|
|
+ <span style="margin-left: 10px;">抵押类报告</span>
|
|
|
|
+ <img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <div class="createNew-div">
|
|
<img src="../../../assets/icons/excel.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
<img src="../../../assets/icons/excel.png" style="width: 32px; height: 32px; float: left;margin-top: 22px;" />
|
|
<span style="margin-left: 10px;">新的测算表</span>
|
|
<span style="margin-left: 10px;">新的测算表</span>
|
|
<img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
<img src="../../../assets/icons/plus.png" style="width: 32px; height: 32px;float: right;margin-top: 22px;" />
|
|
</div> -->
|
|
</div> -->
|
|
- <el-tabs v-model="activeName" class="condtion-tabs" @tab-click="handleClick">
|
|
|
|
- <el-tab-pane label="全部项目" name="all">
|
|
|
|
- <div class="example-list">
|
|
|
|
- <el-card class="report-item no-border" shadow="never" @click="nextFolder('自贡鑫景城实业有限公司开发建设的位于自贡市自流井区汇东路西段与汇兴路交叉口南侧中心城区D2-44-3地块(原汇西片区C1-03地块)4号楼在建工程(建筑物)抵押价值评估')">
|
|
|
|
- <div class="report-icon">
|
|
|
|
- <img src="../../../assets/icons/folder.png" style="width: 52px; height: 52px;"/>
|
|
|
|
- </div>
|
|
|
|
- <div class="report-text">
|
|
|
|
- <div>
|
|
|
|
- <span class="report-text-type">房地产抵押类报告</span>
|
|
|
|
- </div>
|
|
|
|
- <div style="padding-top: 5px;">
|
|
|
|
- <span>
|
|
|
|
- <el-icon>
|
|
|
|
- <Avatar />
|
|
|
|
- </el-icon>
|
|
|
|
- 成都中铁华府置业有限公司</span>
|
|
|
|
- <span>
|
|
|
|
- <el-tag style="margin-left: 5px;">
|
|
|
|
- 房地产
|
|
|
|
- </el-tag>
|
|
|
|
- <el-tag style="margin-left: 5px;" type="success">
|
|
|
|
- 抵押
|
|
|
|
- </el-tag>
|
|
|
|
- </span>
|
|
|
|
- <span style="float: right; color:darkgrey">
|
|
|
|
- 2024-10-16 12:10:09
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- <el-card class="report-item no-border" shadow="never">
|
|
|
|
- <div class="report-icon">
|
|
|
|
- <img src="../../../assets/icons/word.png" style="width: 52px; height: 52px;"/>
|
|
|
|
- </div>
|
|
|
|
- <div class="report-text">
|
|
|
|
- <span class="report-text-type">房地产咨询类报告</span>
|
|
|
|
- <span> 一 </span>
|
|
|
|
- <span
|
|
|
|
- class="report-text-name">自贡鑫景城实业有限公司开发建设的位于自贡市自流井区汇东路西段与汇兴路交叉口南侧中心城区D2-44-3地块(原汇西片区C1-03地块)4号楼在建工程(建筑物)抵押价值评估
|
|
|
|
- </span>
|
|
|
|
- <div style="margin-top: 5px;">
|
|
|
|
- <span>
|
|
|
|
- <el-icon>
|
|
|
|
- <Avatar />
|
|
|
|
- </el-icon>
|
|
|
|
- 四川银行股份有限公司自贡分行</span>
|
|
|
|
- <span>
|
|
|
|
- <el-tag style="margin-left: 5px;">
|
|
|
|
- 房地产
|
|
|
|
- </el-tag>
|
|
|
|
- <el-tag style="margin-left: 5px;" type="danger">
|
|
|
|
- 咨询
|
|
|
|
- </el-tag>
|
|
|
|
- </span>
|
|
|
|
- <span style="float: right; color:darkgrey">
|
|
|
|
- 2024-10-16 12:10:09
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="report-button">
|
|
|
|
|
|
+ <el-tabs v-model="activeName" class="condtion-tabs" @tab-click="handleClick">
|
|
|
|
+ <el-tab-pane label="全部项目" name="all">
|
|
|
|
+ <div class="example-list">
|
|
|
|
+ <el-card class="report-item no-border" shadow="never" v-for="(doc, id) in allPage">
|
|
|
|
+ <div class="report-icon">
|
|
|
|
+ <img :src="docLog(doc.docType)" style="width: 52px; height: 52px;" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="report-text">
|
|
|
|
+ <div>
|
|
|
|
+ <span class="report-text-type">{{ doc.businessType + doc.businessCate + '【' + doc.docNo + '】' }}</span>
|
|
|
|
+ <span> 一 </span>
|
|
|
|
+ <span class="report-text-name" @click="docDetail(doc.id)">{{ doc.docName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="padding-top: 5px;">
|
|
|
|
+ <span>
|
|
<el-icon>
|
|
<el-icon>
|
|
- <Download />
|
|
|
|
|
|
+ <Avatar />
|
|
</el-icon>
|
|
</el-icon>
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- <el-card class="report-item no-border" shadow="never">
|
|
|
|
- <div class="report-icon">
|
|
|
|
- <img src="../../../assets/icons/excel.png" style="width: 52px; height: 52px;"/>
|
|
|
|
- </div>
|
|
|
|
- <div class="report-text">
|
|
|
|
- <span class="report-text-type">房地产咨询类报告</span>
|
|
|
|
- <span> 一 </span>
|
|
|
|
- <span
|
|
|
|
- class="report-text-name">自贡鑫景城实业有限公司开发建设的位于自贡市自流井区汇东路西段与汇兴路交叉口南侧中心城区D2-44-3地块(原汇西片区C1-03地块)4号楼在建工程(建筑物)抵押价值评估
|
|
|
|
- </span>
|
|
|
|
- <div style="margin-top: 5px;">
|
|
|
|
- <span>
|
|
|
|
- <el-icon>
|
|
|
|
- <Avatar />
|
|
|
|
- </el-icon>
|
|
|
|
- 四川银行股份有限公司自贡分行</span>
|
|
|
|
- <span>
|
|
|
|
- <el-tag style="margin-left: 5px;">
|
|
|
|
- 房地产
|
|
|
|
- </el-tag>
|
|
|
|
- <el-tag style="margin-left: 5px;" type="danger">
|
|
|
|
- 咨询
|
|
|
|
- </el-tag>
|
|
|
|
- </span>
|
|
|
|
- <span style="float: right; color:darkgrey">
|
|
|
|
- 2024-10-16 12:10:09
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="report-button">
|
|
|
|
|
|
+ {{ doc.consignor }}</span>
|
|
|
|
+ <span>
|
|
|
|
+ <el-tag style="margin-left: 5px;">
|
|
|
|
+ {{ doc.businessType }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ <el-tag style="margin-left: 5px;" type="success">
|
|
|
|
+ {{ doc.businessCate }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ </span>
|
|
|
|
+ <span style="float: right; color:darkgrey">
|
|
|
|
+ {{ doc.updateTime }}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="report-button">
|
|
|
|
+ <el-icon>
|
|
|
|
+ <Download />
|
|
|
|
+ </el-icon>
|
|
|
|
+ </div>
|
|
|
|
+ </el-card>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pagination">
|
|
|
|
+ <el-pagination background layout="prev, pager, next" style="--el-color-primary: #ff6154"
|
|
|
|
+ :page-count="listQuery1.pages" v-model:current-page="listQuery1.current" @current-change="getAllDocuments" />
|
|
|
|
+ </div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="进行中的项目" name="pending">
|
|
|
|
+ <div class="example-list">
|
|
|
|
+ <el-card class="report-item no-border" shadow="never" v-for="(doc, id) in allPage">
|
|
|
|
+ <div class="report-icon">
|
|
|
|
+ <img :src="docLog(doc.docType)" style="width: 52px; height: 52px;" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="report-text">
|
|
|
|
+ <div>
|
|
|
|
+ <span class="report-text-type">{{ doc.businessType + doc.businessCate + '【' + doc.docNo + '】' }}</span>
|
|
|
|
+ <span> 一 </span>
|
|
|
|
+ <span class="report-text-name">{{ doc.docName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="padding-top: 5px;">
|
|
|
|
+ <span>
|
|
<el-icon>
|
|
<el-icon>
|
|
- <Download />
|
|
|
|
|
|
+ <Avatar />
|
|
</el-icon>
|
|
</el-icon>
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
|
|
+ {{ doc.consignor }}</span>
|
|
|
|
+ <span>
|
|
|
|
+ <el-tag style="margin-left: 5px;">
|
|
|
|
+ {{ doc.businessType }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ <el-tag style="margin-left: 5px;" type="success">
|
|
|
|
+ {{ doc.businessCate }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ </span>
|
|
|
|
+ <span style="float: right; color:darkgrey">
|
|
|
|
+ {{ doc.updateTime }}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="report-button">
|
|
|
|
+ <el-icon>
|
|
|
|
+ <Download />
|
|
|
|
+ </el-icon>
|
|
</div>
|
|
</div>
|
|
- </el-tab-pane>
|
|
|
|
- <el-tab-pane label="进行中的项目" name="pending">
|
|
|
|
- <div class="null-div">
|
|
|
|
- <img src="../../../assets/icons/null.png" style="width: 128px; height: 128px;" />
|
|
|
|
|
|
+ </el-card>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pagination">
|
|
|
|
+ <el-pagination background layout="prev, pager, next" style="--el-color-primary: #ff6154"
|
|
|
|
+ :page-count="listQuery1.pages" v-model:current-page="listQuery1.current" @current-change="getPendingDocuments" />
|
|
|
|
+ </div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="已完成的项目" name="finished">
|
|
|
|
+ <div class="example-list">
|
|
|
|
+ <el-card class="report-item no-border" shadow="never" v-for="(doc, id) in allPage">
|
|
|
|
+ <div class="report-icon">
|
|
|
|
+ <img :src="docLog(doc.docType)" style="width: 52px; height: 52px;" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="report-text">
|
|
<div>
|
|
<div>
|
|
- <span>还没有项目</span>
|
|
|
|
|
|
+ <span class="report-text-type">{{ doc.businessType + doc.businessCate + '【' + doc.docNo + '】' }}</span>
|
|
|
|
+ <span> 一 </span>
|
|
|
|
+ <span class="report-text-name">{{ doc.docName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="padding-top: 5px;">
|
|
|
|
+ <span>
|
|
|
|
+ <el-icon>
|
|
|
|
+ <Avatar />
|
|
|
|
+ </el-icon>
|
|
|
|
+ {{ doc.consignor }}</span>
|
|
|
|
+ <span>
|
|
|
|
+ <el-tag style="margin-left: 5px;">
|
|
|
|
+ {{ doc.businessType }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ <el-tag style="margin-left: 5px;" type="success">
|
|
|
|
+ {{ doc.businessCate }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ </span>
|
|
|
|
+ <span style="float: right; color:darkgrey">
|
|
|
|
+ {{ doc.updateTime }}
|
|
|
|
+ </span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </el-tab-pane>
|
|
|
|
- <el-tab-pane label="已完成的项目" name="finished">Role</el-tab-pane>
|
|
|
|
- </el-tabs>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="report-button">
|
|
|
|
+ <el-icon>
|
|
|
|
+ <Download />
|
|
|
|
+ </el-icon>
|
|
|
|
+ </div>
|
|
|
|
+ </el-card>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pagination">
|
|
|
|
+ <el-pagination background layout="prev, pager, next" style="--el-color-primary: #ff6154"
|
|
|
|
+ :page-count="listQuery1.pages" v-model:current-page="listQuery1.current" @current-change="getFinishedDocuments" />
|
|
|
|
+ </div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ </el-tabs>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import documentProduction from '@/api/documentProduction';
|
|
|
|
+import wordLog from '../../../assets/icons/word.png'
|
|
|
|
+import excelLog from '../../../assets/icons/excel.png'
|
|
|
|
+import folderLog from '../../../assets/icons/folder.png'
|
|
export default {
|
|
export default {
|
|
name: 'houseParent',
|
|
name: 'houseParent',
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
msg: 0,
|
|
msg: 0,
|
|
- activeName: 'all'
|
|
|
|
|
|
+ activeName: 'all',
|
|
|
|
+ allPage: [],
|
|
|
|
+ listQuery1: {
|
|
|
|
+ current: 1,
|
|
|
|
+ size: 10,
|
|
|
|
+ pages: null,
|
|
|
|
+ total: null,
|
|
|
|
+ state:null,
|
|
|
|
+ },
|
|
|
|
+ pendingPage: [],
|
|
|
|
+ listQuery2: {
|
|
|
|
+ current: 1,
|
|
|
|
+ size: 10,
|
|
|
|
+ pages: null,
|
|
|
|
+ total: null,
|
|
|
|
+ state:0
|
|
|
|
+ },
|
|
|
|
+ finshedPage: [],
|
|
|
|
+ listQuery3: {
|
|
|
|
+ current: 1,
|
|
|
|
+ size: 10,
|
|
|
|
+ pages: null,
|
|
|
|
+ total: null,
|
|
|
|
+ state:1
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ created() {
|
|
|
|
+ this.getAllDocuments();
|
|
|
|
+ },
|
|
|
|
+
|
|
methods: {
|
|
methods: {
|
|
createWord() {
|
|
createWord() {
|
|
this.$router.push('/home/houseWorkbench/consignor')
|
|
this.$router.push('/home/houseWorkbench/consignor')
|
|
},
|
|
},
|
|
- nextFolder(folderName){
|
|
|
|
- this.$router.push({path:'/home/house/folder',query:{'folderName':folderName}})
|
|
|
|
|
|
+ nextFolder(folderName) {
|
|
|
|
+ this.$router.push({ path: '/home/house/folder', query: { 'folderName': folderName } })
|
|
},
|
|
},
|
|
- createFolder(){
|
|
|
|
|
|
+ createFolder() {
|
|
ElMessageBox.prompt('请输入项目文件夹名称', '', {
|
|
ElMessageBox.prompt('请输入项目文件夹名称', '', {
|
|
- confirmButtonText: '创建',
|
|
|
|
- cancelButtonText: '取消',
|
|
|
|
- })
|
|
|
|
- .then(({ value }) => {
|
|
|
|
- ElMessage({
|
|
|
|
- type: 'success',
|
|
|
|
- message: `Your email is:${value}`,
|
|
|
|
|
|
+ confirmButtonText: '创建',
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
+ })
|
|
|
|
+ .then(({ value }) => {
|
|
|
|
+ ElMessage({
|
|
|
|
+ type: 'success',
|
|
|
|
+ message: `Your email is:${value}`,
|
|
|
|
+ })
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ handleClick(tab){
|
|
|
|
+ if(tab.props.name==='pending'){
|
|
|
|
+ this.getPendingDocuments();
|
|
|
|
+ }
|
|
|
|
+ if (tab.props.name==='finished'){
|
|
|
|
+ this.getFinishedDocuments();
|
|
|
|
+ }
|
|
|
|
+ if (tab.props.name === 'all'){
|
|
|
|
+ this.getAllDocuments();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ getAllDocuments() {
|
|
|
|
+ documentProduction.page(this.listQuery1).then(res => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.allPage = res.data.records;
|
|
|
|
+ this.listQuery1.pages = res.data.pages;
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ getPendingDocuments() {
|
|
|
|
+ documentProduction.page(this.listQuery2).then(res => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.pendingPage = res.data.records;
|
|
|
|
+ this.listQuery2.pages = res.data.pages;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ getFinishedDocuments() {
|
|
|
|
+ documentProduction.page(this.listQuery3).then(res => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.finshedPage = res.data.records;
|
|
|
|
+ this.listQuery3.pages = res.data.pages;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ docLog(docType) {
|
|
|
|
+ switch (docType) {
|
|
|
|
+ case 'CALCULATE_TABLE':
|
|
|
|
+ return excelLog;
|
|
|
|
+ case 'FOLDER':
|
|
|
|
+ return folderLog;
|
|
|
|
+ default:
|
|
|
|
+ return wordLog;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ docDetail(id){
|
|
|
|
+ this.$router.push({path:"/home/houseWorkbench/consignor",query:{'id':id}})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -247,10 +346,20 @@ export default {
|
|
margin-top: 20%;
|
|
margin-top: 20%;
|
|
color: var(--vt-c-text-light-2);
|
|
color: var(--vt-c-text-light-2);
|
|
}
|
|
}
|
|
|
|
+
|
|
.no-border {
|
|
.no-border {
|
|
border: none;
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
+
|
|
.no-border:hover {
|
|
.no-border:hover {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.pagination {
|
|
|
|
+ margin-top: 10px;
|
|
|
|
+ margin-left: 160px;
|
|
|
|
+ width: 58.5%;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ display: flex;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|