|
@@ -414,8 +414,6 @@
|
|
|
:header-row-style="{ color: '#333333' }" border takeNumberItems style="width: 100%; margin-top:20px">
|
|
|
<el-table-column type="selection" width="55" :selectable="selectable">
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column prop="id" label="id" width="80" align="center">
|
|
|
- </el-table-column> -->
|
|
|
<el-table-column width="220" prop="statementNo" label="意见书号" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag type='success' v-if="scope.row.statementNo">
|
|
@@ -484,7 +482,8 @@
|
|
|
</el-button>
|
|
|
<el-button v-if="currentNode.nodeCode === 'SPOT_RECONNAISSANCE_DETERMINE_PRICE'" type="text"
|
|
|
size="small" @click="assetsTargetDelete(scope.row.id)">删除</el-button>
|
|
|
- <el-button v-if="(currentNode.nodeCode === 'REVIEW_STATEMENT' || currentNode.nodeCode === 'CHECK_REPORT') && !disabledStatus"
|
|
|
+ <el-button
|
|
|
+ v-if="(currentNode.nodeCode === 'REVIEW_STATEMENT' || currentNode.nodeCode === 'CHECK_REPORT') && !disabledStatus"
|
|
|
type="text" size="small" @click="openCheckValueDialog(scope.row.id);">审核定价</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -527,113 +526,11 @@
|
|
|
</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <!-- <el-table ref="multipleTable" :data="assetsProductionData" stripe :header-row-style="{ color: '#333333' }"
|
|
|
- border takeNumberItems style="width: 100%; margin-top:20px">
|
|
|
- <el-table-column prop="id" label="id" width="80" align="center">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column width="200" prop="productionNo" label="产品号" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="productionType" label="产品类型" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="{row}">
|
|
|
- <span v-if="row.productionType === 'STATEMENT'">价值意见书</span>
|
|
|
- <span v-if="row.productionType == 'LETTER'">意见函</span>
|
|
|
- <span v-if="row.productionType == 'CONSULT'">咨询报告</span>
|
|
|
- <span v-if="row.productionType == 'REPORT'">评估报告</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="clientName" label="委托方名称" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="clientTel" label="委托方电话" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="valuationBasisDate" label="评估基准日" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="evaluateAcreage" label="评估面积" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="evaluatePrice" label="评估单价" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="evaluateAmount" label="评估总价" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="owner" label="产权人" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="printCount" label="产品打印数量" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="createProductionDate" label="产品出具日期" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="comment" label="特殊情况说明" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="repertoryState" label="库存状态" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="{row}">
|
|
|
- <span v-if="row.repertoryState === null">未入库</span>
|
|
|
- <span v-if="row.repertoryState === true">已出库</span>
|
|
|
- <span v-if="row.repertoryState === false">已入库</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="repertoryInTime" label="入库时间" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="repertoryOutTime" label="出库时间" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="saveFileDate" label="归档日期" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="delivery" label="送达状态" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="{row}">
|
|
|
- <span v-if="!row.delivery">未送达</span>
|
|
|
- <span v-if="row.delivery">已送达</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作" align="center" width="180" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" size="small"
|
|
|
- @click="openWriteProductionDialog(true, 'detail'), getAssetsProductionDetail(scope.row.id)">
|
|
|
- 查看
|
|
|
- </el-button>
|
|
|
- <el-button v-if="currentNode.nodeCode === 'REVIEW_STATEMENT'" type="text" size="small"
|
|
|
- @click="openWriteProductionDialog(false, 'edit'), getAssetsProductionDetail(scope.row.id)">
|
|
|
- 编辑
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- v-if="currentNode.nodeCode === 'REVIEW_STATEMENT' && scope.row.productionType === 'STATEMENT'"
|
|
|
- type="text" size="small"
|
|
|
- @click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
- 审核意见书
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- v-if="currentNode.nodeCode === 'REEXAMINE_STATEMENT' && scope.row.productionType === 'STATEMENT'"
|
|
|
- type="text" size="small"
|
|
|
- @click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
- 复审意见书
|
|
|
- </el-button>
|
|
|
- <el-button v-if="currentNode.nodeCode === 'CHECK_REPORT' && scope.row.productionType !== 'STATEMENT'"
|
|
|
- type="text" size="small"
|
|
|
- @click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
- 审核报告
|
|
|
- </el-button>
|
|
|
- <el-button v-if="currentNode.nodeCode === 'RECHECK_REPORT' && scope.row.productionType !== 'STATEMENT'"
|
|
|
- type="text" size="small"
|
|
|
- @click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
- 复审报告
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- v-if="currentNode.nodeCode === 'FOURTH_CHECK_REPORT' && scope.row.productionType !== 'STATEMENT'"
|
|
|
- type="text" size="small"
|
|
|
- @click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
- 四审报告
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- v-if="(currentNode.nodeCode === 'STATEMENT_IN' || currentNode.nodeCode === 'REPORT_IN') && scope.row.repertoryState === null"
|
|
|
- type="text" size="small" @click="openWareHouseDialog(scope.row);">产品入库</el-button>
|
|
|
- <el-button
|
|
|
- v-if="(currentNode.nodeCode === 'STATEMENT_OUT' || currentNode.nodeCode === 'REPORT_OUT') && scope.row.repertoryState === false"
|
|
|
- type="text" size="small" @click="openWareHouseDialog(scope.row);">产品出库</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table> -->
|
|
|
<el-table :data="assetsProductionData" stripe :header-row-style="{ color: '#333333' }" border takeNumberItems
|
|
|
style="width: 100%; margin-top:20px">
|
|
|
<el-table-column type="expand">
|
|
|
<template slot-scope="props">
|
|
|
<el-form label-position="left">
|
|
|
- <!-- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
- style="font-size:16px">基本信息</span></el-tag> -->
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="委托方名称:">
|
|
@@ -688,9 +585,9 @@
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="资料附件:">
|
|
|
- <el-link type="primary" v-for="file in props.row.filePath" :key="file.name" :href="file.url">
|
|
|
- {{ file.name }}
|
|
|
- </el-link>
|
|
|
+ <span type="primary" v-for="file in props.row.filePath" :key="file.name">
|
|
|
+ <el-link @click="officeFileView(file.name, file.url)">{{ file.name }}</el-link>
|
|
|
+ </span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -709,19 +606,9 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <!-- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
- style="font-size:16px">库存状态</span></el-tag>
|
|
|
- <el-steps :active="props.row.repertoryState == null ? 0 : (props.row.repertoryState ? 2 : 1)"
|
|
|
- process-status="success" finish-status="success" simple style="margin: 10px 1% 20px 40px">
|
|
|
- <el-step title="未入库"></el-step>
|
|
|
- <el-step title="已入库"></el-step>
|
|
|
- <el-step title="已出库"></el-step>
|
|
|
- </el-steps> -->
|
|
|
</el-form>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column prop="id" label="id" width="120" align="center">
|
|
|
- </el-table-column> -->
|
|
|
<el-table-column prop="productionNo" label="产品号" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="{row}">
|
|
|
<el-tag type="success"><span>{{ row.productionNo }}</span></el-tag>
|
|
@@ -751,7 +638,7 @@
|
|
|
查看
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="(currentNode.nodeCode === 'REVIEW_STATEMENT' || (currentNode.nodeCode === 'GENERATE_STATEMENT' && scope.row.productionType === 'STATEMENT') || (currentNode.nodeCode === 'WRITE_REPORT' && scope.row.productionType !== 'STATEMENT')) && !disabledStatus"
|
|
|
+ v-if="(currentNode.nodeCode === 'REVIEW_STATEMENT' || (currentNode.nodeCode === 'GENERATE_STATEMENT' && scope.row.productionType === 'STATEMENT') || (currentNode.nodeCode === 'WRITE_REPORT' && scope.row.productionType !== 'STATEMENT')) && !disabledStatus"
|
|
|
type="text" size="small"
|
|
|
@click="openWriteProductionDialog(false, 'edit'), getAssetsProductionDetail(scope.row.id)">
|
|
|
编辑
|
|
@@ -768,12 +655,14 @@
|
|
|
@click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
复审意见书
|
|
|
</el-button>
|
|
|
- <el-button v-if="currentNode.nodeCode === 'CHECK_REPORT' && scope.row.productionType !== 'STATEMENT' && !disabledStatus"
|
|
|
+ <el-button
|
|
|
+ v-if="currentNode.nodeCode === 'CHECK_REPORT' && scope.row.productionType !== 'STATEMENT' && !disabledStatus"
|
|
|
type="text" size="small"
|
|
|
@click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
审核报告
|
|
|
</el-button>
|
|
|
- <el-button v-if="currentNode.nodeCode === 'RECHECK_REPORT' && scope.row.productionType !== 'STATEMENT' && !disabledStatus"
|
|
|
+ <el-button
|
|
|
+ v-if="currentNode.nodeCode === 'RECHECK_REPORT' && scope.row.productionType !== 'STATEMENT' && !disabledStatus"
|
|
|
type="text" size="small"
|
|
|
@click="productionPerformanceForm.productionId = scope.row.id, openProductionCheckDialog()">
|
|
|
复审报告
|
|
@@ -902,9 +791,8 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="12" :span="6">
|
|
|
- <el-form-item label=" 产权持有人:" prop="theHolder" label-width="200px"
|
|
|
- class="postInfo-container-item">
|
|
|
- <el-input v-model="targetForm.theHolder" class="filter-item" style="width: 100%" />
|
|
|
+ <el-form-item label=" 产权持有人:" prop="theHolder" label-width="200px" class="postInfo-container-item">
|
|
|
+ <el-input v-model="targetForm.theHolder" class="filter-item" style="width: 100%" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -2459,9 +2347,9 @@ export default {
|
|
|
handleExceed() {
|
|
|
this.$message.warning(`当前限制选择 3个文件!`);
|
|
|
},
|
|
|
- // 打开Windows文件选择器
|
|
|
handleAttachmentPreview(file) {
|
|
|
- window.open(file.url)
|
|
|
+ // window.open(file.url)
|
|
|
+ this.officeFileView(file.name,file.response.data.url);
|
|
|
},
|
|
|
// 移除文件
|
|
|
beforeRemove(file, fileList) {
|
|
@@ -3532,6 +3420,20 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ // 文档预览
|
|
|
+ officeFileView(name, url) {
|
|
|
+ const route = this.$router.resolve({
|
|
|
+ path: "/office/view/window",
|
|
|
+ query: {
|
|
|
+ // 文档标题
|
|
|
+ title: name,
|
|
|
+ // 文档url地址
|
|
|
+ url: url
|
|
|
+ }
|
|
|
+ });
|
|
|
+ // 在新窗口打开页面
|
|
|
+ window.open(route.href, "_blank");
|
|
|
}
|
|
|
}
|
|
|
|