123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <template>
- <div class="app-container">
- <div class="title-container">
- <breadcrumb id="breadcrumb-container" class="breadcrumb-container" />
- </div>
- <y-page-list-layout :page-list="pageData" :page-para="listQuery" :get-page-list="selectRepertoryPage">
- <template slot="left">
- <el-input style="margin-left: 20px;width: 300px;float: left;" class="filter-item"
- v-model="listQuery.keyWord" placeholder="项目编号/报告号/项目名称/业务来源" clearable>
- </el-input>
- <el-button class="filter-item" style="margin-left: 10px;float: left;" type="primary" @click="searchList"
- round>搜索
- </el-button>
- <el-button class="filter-item" style="float: left;" round type="success" @click="resetParams()">重置
- </el-button>
- </template>
- <parentTable ref="table" v-loading="listLoading" :data="pageData.records" slot="table" style="width: 100%;">
- <el-table-column label="项目编号" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.orderId }}</span>
- </template>
- </el-table-column>
- <el-table-column label="项目名称" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.orderName }}</span>
- </template>
- </el-table-column>
- <el-table-column label="报告号" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.reportNo }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估目的" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.purposeName }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估方法" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.methodName }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估作业开始日" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.startTime }}</span>
- </template>
- </el-table-column>
- <el-table-column label="估价作业结束日" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.endTime }}</span>
- </template>
- </el-table-column>
- <el-table-column label="估价时点" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.valuationBasisDate }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估总值(万元)" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.evaluateAmount }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估单价(元)" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.evaluatePrice }}</span>
- </template>
- </el-table-column>
- <el-table-column label="评估部门" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.evaluateDepartment }}</span>
- </template>
- </el-table-column>
- <el-table-column label="市场部门" align="center" width="150">
- <template slot-scope="{row}">
- <span>{{ row.marketDepartment }}</span>
- </template>
- </el-table-column>
- </parentTable>
- </y-page-list-layout>
- </div>
- </template>
- <script>
- import YPageListLayout from '@/components/YPageListLayout'
- import Breadcrumb from '@/components/Breadcrumb'
- import PermissionButton from '@/components/PermissionButton/PermissionButton'
- export default {
- name: 'RepertoryList',
- components: {
- Breadcrumb,
- YPageListLayout,
- PermissionButton,
- },
- data() {
- return {
- pageData: { records: [] },
- listLoading: false,
- listQuery: {
- page: 1,
- size: 10,
- current: 1,
- // 节点code
- nodeCode: null,
- // 客户经理id
- clientManagerId: null,
- // 项目负责人id
- principalId: null,
- // 业务类型
- assetsBusinessGener: null,
- // 关键字
- keyWord: null
- },
- // 用户下拉列表
- allUsers: [],
- // 业务类型下拉列表
- assetsBusinessGeners: [
- {
- value: '单项资产',
- label: '单项资产'
- }, {
- value: '整体资产',
- label: '整体资产'
- }, {
- value: '无形资产',
- label: '无形资产'
- }, {
- value: '债权',
- label: '债权'
- }, {
- value: '其他',
- label: '其他'
- }
- ]
- }
- },
- created() {
- // 获取资产业务订单
- this.selectRepertoryPage();
- },
- methods: {
- // 无条件分页查询
- selectRepertoryPage() {
- this.$api.assets.selectRepertoryPage(this.listQuery).then(res => {
- if (res.code === 200) {
- this.pageData = res.data;
- }
- })
- },
- // 条件查询
- searchList() {
- // 重置分页
- this.listQuery.page = 1
- this.listQuery.size = 10
- this.selectRepertoryPage()
- },
- // 重置搜索条件
- resetParams() {
- this.$router.push({ query: {} });
- this.listQuery = {
- current: 1,
- size: 10,
- }
- this.selectRepertoryPage();
- }
- }
- }
- </script>
- <style lang="scss" scoped></style>
|