|
|
@@ -12,60 +12,31 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="投资经理" prop="investHead">
|
|
|
+ <el-form-item label="尽调名称" prop="investigateName">
|
|
|
<el-input
|
|
|
- v-model.trim="queryParams.investHead"
|
|
|
- placeholder="请输入投资经理"
|
|
|
- clearable
|
|
|
+ v-model.trim="queryParams.investigateName"
|
|
|
+ placeholder="请输入尽调名称"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="公司联系人" prop="projectContacts">
|
|
|
+ <el-form-item label="尽调地点" prop="investigatePlace">
|
|
|
<el-input
|
|
|
- v-model.trim="queryParams.projectContacts"
|
|
|
- placeholder="请输入公司联系人"
|
|
|
+ v-model.trim="queryParams.investigatePlace"
|
|
|
+ placeholder="请输入尽调地址"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="渠道" prop="channel">
|
|
|
- <el-select v-model="queryParams.channel" placeholder="全部" clearable>
|
|
|
- <el-option
|
|
|
- v-for="item in channelList"
|
|
|
- :key="item.id"
|
|
|
- :label="item.channelName"
|
|
|
- :value="item.id"
|
|
|
- />
|
|
|
- <el-option label="无" value="-1" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="所属组别" prop="projectGroup">
|
|
|
- <el-select
|
|
|
- v-model="queryParams.projectGroup"
|
|
|
- placeholder="全部"
|
|
|
- clearable
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="dict in dict.type.project_group"
|
|
|
- :key="dict.value"
|
|
|
- :label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
-
|
|
|
- <el-form-item label="项目公司" prop="company">
|
|
|
+<!-- <el-form-item label="股权/其他合作商务条款" prop="provision">
|
|
|
<el-input
|
|
|
- v-model.trim="queryParams.company"
|
|
|
- placeholder="请输入项目所属公司"
|
|
|
+ v-model.trim="queryParams.provision"
|
|
|
+ placeholder="请输入股权/其他合作商务条款"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item>-->
|
|
|
<!-- 可继续扩展其他查询表单项目,比如项目编号、负责人等 -->
|
|
|
<el-form-item>
|
|
|
-<!-- <el-button type="primary" @click="handleQuery">查询</el-button>
|
|
|
- <el-button @click="handleReset">重置</el-button>-->
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -93,67 +64,70 @@
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName">
|
|
|
<template slot-scope="scope">
|
|
|
<div
|
|
|
- :title="scope.row.tProjectPool.projectName"
|
|
|
+ :title="scope.row.projectName"
|
|
|
class="public-text-blue public-cursor"
|
|
|
- @click.stop="handleDetail(scope.row)"
|
|
|
+ @click.stop="handleInvestOppDetail(scope.row)"
|
|
|
>
|
|
|
- {{ scope.row.tProjectPool.projectName }}
|
|
|
+ {{ scope.row.projectName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="公司名称"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.companyName"
|
|
|
- >
|
|
|
+ <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
+ ><template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.CUSTOMER_TRADE"
|
|
|
+ :value="scope.row.industry"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目阶段" align="center" prop="projectStage">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.companyName">
|
|
|
- {{ scope.row.tProjectCompany.companyName }}
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.project_stage"
|
|
|
+ :value="scope.row.projectStage"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目负责人" align="center" prop="investHead">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.investHead">
|
|
|
+ {{ scope.row.investHead }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="所在城市"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.registeredAddress"
|
|
|
- >
|
|
|
+ <el-table-column label="尽调名称" align="center" prop="investigateName">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.registeredAddress">
|
|
|
- {{ scope.row.tProjectCompany.registeredAddress }}
|
|
|
+ <div :title="scope.row.investigateName">
|
|
|
+ {{ scope.row.investigateName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
- ><template slot-scope="scope">
|
|
|
- <dict-tag
|
|
|
- :options="dict.type.CUSTOMER_TRADE"
|
|
|
- :value="scope.row.tProjectPool.industry"
|
|
|
- />
|
|
|
- </template>
|
|
|
+ <el-table-column label="尽调地点" align="center" prop="investigatePlace">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.investigatePlace">
|
|
|
+ {{ scope.row.investigatePlace }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="状态" align="center" prop="delFlag">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.delFlag === '1' ? '终止' : '正常'">
|
|
|
+ {{ scope.row.delFlag === "1" ? "终止" : "正常" }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
+ <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
<template slot-scope="scope">
|
|
|
<div :title="scope.row.startUserName">
|
|
|
{{ scope.row.startUserName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="备案时间"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.filingTime"
|
|
|
- >
|
|
|
+ <el-table-column label="申请日期" align="center" prop="createTime">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{
|
|
|
- parseTime(scope.row.tProjectCompany.filingTime, "{y}-{m}-{d}")
|
|
|
- }}</span>
|
|
|
+ <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<el-table-column label="当前节点" align="center" prop="taskName">
|
|
|
<template slot-scope="scope">
|
|
|
<div :title="scope.row.taskName" class="public-text-blue public-cursor" @click="handleReadImage(scope.row)">
|
|
|
@@ -168,25 +142,32 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="流程状态" align="center" prop="status">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.status">
|
|
|
+ <span v-if="scope.row.status === 0">暂存</span>
|
|
|
+ <span v-else-if="scope.row.status === 1">已提交</span>
|
|
|
+ <span v-else-if="scope.row.status === 2">审批中</span>
|
|
|
+ <span v-else-if="scope.row.status === 3">审批完成</span>
|
|
|
+ <span v-else-if="scope.row.status === 4">关闭</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<!-- fixed="right" -->
|
|
|
<el-table-column label="操作" align="center" width="150" fixed="right" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
-<!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">签收</el-button>–>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <el-button type="text" size="small" @click="handleFlowRecord(scope.row)">详情</el-button>-->
|
|
|
-
|
|
|
<el-button v-if="scope.row.taskDefKey=='modifyApply'" type="text" @click="handleEdit(scope.row)">处理</el-button>
|
|
|
<template v-else>
|
|
|
- <!-- 1. 签收按钮:无签收人时显示 -->
|
|
|
- <el-button v-if="!scope.row.assignee" type="primary" size="mini" @click="handleSign(scope.row)">签收</el-button>
|
|
|
+ <!-- 1. 签收按钮:无签收人时显示 -->
|
|
|
+ <el-button v-if="!scope.row.assignee" type="primary" @click="handleSign(scope.row)">签收</el-button>
|
|
|
<!-- 2. 处理按钮:有签收人时显示 -->
|
|
|
- <el-button v-else size="mini" type="text" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <!-- 3. 撤回按钮:需补充逻辑(比如仅未签收可撤回,可结合 signPerson 判断) -->
|
|
|
-<!-- <el-button v-if="!scope.row.assignee" size="mini" type="text" icon="el-icon-refresh-right" @click="handleWithdraw(scope.row)">撤回</el-button>-->
|
|
|
- <!-- 4. 详情按钮:一直显示 -->
|
|
|
+ <el-button v-else type="text" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
+ <!-- 3. 撤回按钮:需补充逻辑(比如仅未签收可撤回,可结合 signPerson 判断) -->
|
|
|
+ <!-- <el-button v-if="!scope.row.assignee" size="mini" type="text" icon="el-icon-refresh-right" @click="handleWithdraw(scope.row)">撤回</el-button>-->
|
|
|
+ <!-- 4. 详情按钮:一直显示 -->
|
|
|
|
|
|
</template>
|
|
|
- <el-button type="text" size="small" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
+ <el-button type="text" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -223,70 +204,76 @@
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName">
|
|
|
<template slot-scope="scope">
|
|
|
<div
|
|
|
- :title="scope.row.tProjectPool.projectName"
|
|
|
+ :title="scope.row.projectName"
|
|
|
class="public-text-blue public-cursor"
|
|
|
- @click.stop="handleDetail(scope.row)"
|
|
|
+ @click.stop="handleInvestOppDetail(scope.row)"
|
|
|
>
|
|
|
- {{ scope.row.tProjectPool.projectName }}
|
|
|
+ {{ scope.row.projectName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="公司名称"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.companyName"
|
|
|
- >
|
|
|
+ <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
+ ><template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.CUSTOMER_TRADE"
|
|
|
+ :value="scope.row.industry"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目阶段" align="center" prop="projectStage">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.companyName">
|
|
|
- {{ scope.row.tProjectCompany.companyName }}
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.project_stage"
|
|
|
+ :value="scope.row.projectStage"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目负责人" align="center" prop="investHead">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.investHead">
|
|
|
+ {{ scope.row.investHead }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="所在城市"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.registeredAddress"
|
|
|
- >
|
|
|
+ <el-table-column label="尽调名称" align="center" prop="investigateName">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.registeredAddress">
|
|
|
- {{ scope.row.tProjectCompany.registeredAddress }}
|
|
|
+ <div :title="scope.row.investigateName">
|
|
|
+ {{ scope.row.investigateName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
- ><template slot-scope="scope">
|
|
|
- <dict-tag
|
|
|
- :options="dict.type.CUSTOMER_TRADE"
|
|
|
- :value="scope.row.tProjectPool.industry"
|
|
|
- />
|
|
|
- </template>
|
|
|
+ <el-table-column label="尽调地点" align="center" prop="investigatePlace">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.investigatePlace">
|
|
|
+ {{ scope.row.investigatePlace }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
+ <el-table-column label="状态" align="center" prop="delFlag">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.delFlag === '1' ? '终止' : '正常'">
|
|
|
+ {{ scope.row.delFlag === "1" ? "终止" : "正常" }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
<template slot-scope="scope">
|
|
|
<div :title="scope.row.startUserName">
|
|
|
{{ scope.row.startUserName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="备案时间"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.filingTime"
|
|
|
- >
|
|
|
+ <el-table-column label="申请日期" align="center" prop="createTime">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{
|
|
|
- parseTime(scope.row.tProjectCompany.filingTime, "{y}-{m}-{d}")
|
|
|
- }}</span>
|
|
|
+ <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<el-table-column label="当前节点" align="center" prop="taskName">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.taskName" class="public-text-blue public-cursor" @click="handleReadImage(scope.row)">
|
|
|
+ <div v-if="scope.row.deployId !== null && scope.row.deployId !== undefined && scope.row.deployId !== ''" :title="scope.row.taskName" class="public-text-blue public-cursor" @click="handleReadImage(scope.row)">
|
|
|
+ {{ scope.row.taskName}}
|
|
|
+ </div>
|
|
|
+ <div v-else :title="scope.row.taskName">
|
|
|
{{ scope.row.taskName}}
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -298,27 +285,28 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="流程状态" align="center" prop="status">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.status">
|
|
|
+ <span v-if="scope.row.status === 0">暂存</span>
|
|
|
+ <span v-else-if="scope.row.status === 1">已提交</span>
|
|
|
+ <span v-else-if="scope.row.status === 2">审批中</span>
|
|
|
+ <span v-else-if="scope.row.status === 3">审批完成</span>
|
|
|
+ <span v-else-if="scope.row.status === 4">关闭</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<!-- fixed="right" -->
|
|
|
<el-table-column label="操作" align="center" width="150" fixed="right" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">签收</el-button>–>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <el-button type="text" size="small" @click="handleFlowRecord(scope.row)">详情</el-button>-->
|
|
|
- <!-- 1. 签收按钮:无签收人时显示 -->
|
|
|
-<!-- <el-button v-if="!scope.row.assignee" icon="el-icon-edit-outline" type="primary" size="mini" @click="handleSign(scope.row)">签收</el-button>
|
|
|
- <!– 2. 处理按钮:有签收人时显示 –>
|
|
|
- <el-button v-else size="mini" type="text" icon="el-icon-edit-outline" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <!– 3. 撤回按钮:需补充逻辑(比如仅未签收可撤回,可结合 signPerson 判断) –>
|
|
|
- <el-button v-if="!scope.row.assignee" size="mini" type="text" icon="el-icon-refresh-right" @click="handleWithdraw(scope.row)">撤回</el-button>-->
|
|
|
- <!-- 4. 详情按钮:一直显示 -->
|
|
|
<el-button type="text" size="small" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<!-- 分页 -->
|
|
|
<pagination
|
|
|
- v-show="myTotal > 0"
|
|
|
- :total="myTotal"
|
|
|
+ v-show="myDoneTaskTotal > 0"
|
|
|
+ :total="myDoneTaskTotal"
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
@pagination="getMyDoneTaskList"
|
|
|
@@ -346,70 +334,73 @@
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName">
|
|
|
<template slot-scope="scope">
|
|
|
<div
|
|
|
- :title="scope.row.tProjectPool.projectName"
|
|
|
+ :title="scope.row.projectName"
|
|
|
class="public-text-blue public-cursor"
|
|
|
- @click.stop="handleDetail(scope.row)"
|
|
|
+ @click.stop="handleInvestOppDetail(scope.row)"
|
|
|
>
|
|
|
- {{ scope.row.tProjectPool.projectName }}
|
|
|
+ {{ scope.row.projectName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="公司名称"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.companyName"
|
|
|
- >
|
|
|
+ <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
+ ><template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.CUSTOMER_TRADE"
|
|
|
+ :value="scope.row.industry"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目阶段" align="center" prop="projectStage">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.project_stage"
|
|
|
+ :value="scope.row.projectStage"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目负责人" align="center" prop="investHead">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.companyName">
|
|
|
- {{ scope.row.tProjectCompany.companyName }}
|
|
|
+ <div :title="scope.row.investHead">
|
|
|
+ {{ scope.row.investHead }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="所在城市"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.registeredAddress"
|
|
|
- >
|
|
|
+ <el-table-column label="尽调名称" align="center" prop="investigateName">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.tProjectCompany.registeredAddress">
|
|
|
- {{ scope.row.tProjectCompany.registeredAddress }}
|
|
|
+ <div :title="scope.row.investigateName">
|
|
|
+ {{ scope.row.investigateName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="所属行业" align="center" prop="industry"
|
|
|
- ><template slot-scope="scope">
|
|
|
- <dict-tag
|
|
|
- :options="dict.type.CUSTOMER_TRADE"
|
|
|
- :value="scope.row.tProjectPool.industry"
|
|
|
- />
|
|
|
- </template>
|
|
|
+ <el-table-column label="尽调地点" align="center" prop="investigatePlace">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.investigatePlace">
|
|
|
+ {{ scope.row.investigatePlace }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="状态" align="center" prop="investHead">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.delFlag === '1' ? '终止' : '正常'">
|
|
|
+ {{ scope.row.delFlag === "1" ? "终止" : "正常" }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
+ <el-table-column label="申请人" align="center" prop="startUserName">
|
|
|
<template slot-scope="scope">
|
|
|
<div :title="scope.row.startUserName">
|
|
|
{{ scope.row.startUserName }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="备案时间"
|
|
|
- align="center"
|
|
|
- prop="tProjectCompany.filingTime"
|
|
|
- >
|
|
|
+ <el-table-column label="申请日期" align="center" prop="createTime">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{
|
|
|
- parseTime(scope.row.tProjectCompany.filingTime, "{y}-{m}-{d}")
|
|
|
- }}</span>
|
|
|
+ <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<el-table-column label="当前节点" align="center" prop="taskName">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :title="scope.row.taskName" class="public-text-blue public-cursor" @click="handleReadImage(scope.row)">
|
|
|
+ <div :title="scope.row.taskName" class="public-text-blue public-cursor" @click="handleReadImage(scope.row)">
|
|
|
{{ scope.row.taskName}}
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -421,19 +412,19 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- fixed="right" -->
|
|
|
+ <el-table-column label="流程状态" align="center" prop="status">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :title="scope.row.status">
|
|
|
+ <span v-if="scope.row.status === 0">暂存</span>
|
|
|
+ <span v-else-if="scope.row.status === 1">已提交</span>
|
|
|
+ <span v-else-if="scope.row.status === 2">审批中</span>
|
|
|
+ <span v-else-if="scope.row.status === 3">审批完成</span>
|
|
|
+ <span v-else-if="scope.row.status === 4">关闭</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="150" fixed="right" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">签收</el-button>–>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <el-button type="text" size="small" @click="handleFlowRecord(scope.row)">详情</el-button>-->
|
|
|
- <!-- 1. 签收按钮:无签收人时显示 -->
|
|
|
- <!-- <el-button v-if="!scope.row.assignee" icon="el-icon-edit-outline" type="primary" size="mini" @click="handleSign(scope.row)">签收</el-button>
|
|
|
- <!– 2. 处理按钮:有签收人时显示 –>
|
|
|
- <el-button v-else size="mini" type="text" icon="el-icon-edit-outline" @click="handleProcess(scope.row)">处理</el-button>
|
|
|
- <!– 3. 撤回按钮:需补充逻辑(比如仅未签收可撤回,可结合 signPerson 判断) –>
|
|
|
- <el-button v-if="!scope.row.assignee" size="mini" type="text" icon="el-icon-refresh-right" @click="handleWithdraw(scope.row)">撤回</el-button>-->
|
|
|
- <!-- 4. 详情按钮:一直显示 -->
|
|
|
<el-button type="text" size="small" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -462,25 +453,14 @@
|
|
|
|
|
|
<script>
|
|
|
import { getMyTaskList,getMyDoneTaskList,getMyList } from "@/api/project/investigate/pool";
|
|
|
-import { selectByFlowKey,flowXmlAndNode } from "@/api/flowable/definition";
|
|
|
+import { flowXmlAndNode } from "@/api/flowable/definition";
|
|
|
import { listChannel } from "@/api/invest/channel";
|
|
|
-import dueDiligenceList from "../../invest/components/dueDiligenceList.vue";
|
|
|
-import followList from "../../invest/components/followList.vue";
|
|
|
-import meetingList from "../../invest/components/meetingList.vue";
|
|
|
-import businessUpdate from "../../invest/components/businessUpdate.vue";
|
|
|
import flow from '@/views/flowable/task/todo/detail/flow';
|
|
|
-
|
|
|
+import { getPool } from "@/api/invest/pool";
|
|
|
import { mapGetters } from "vuex";
|
|
|
-import pool from "../../invest/pool/index.vue";
|
|
|
export default {
|
|
|
dicts: ["project_group", "project_stage", "project_state", "CUSTOMER_TRADE"],
|
|
|
- components: {
|
|
|
- dueDiligenceList,
|
|
|
- followList,
|
|
|
- meetingList,
|
|
|
- businessUpdate,
|
|
|
- flow
|
|
|
- },
|
|
|
+ components: { flow },
|
|
|
data() {
|
|
|
return {
|
|
|
// 当前激活的 Tab
|
|
|
@@ -517,6 +497,8 @@ export default {
|
|
|
orderByColumn: "createTime",
|
|
|
isAsc: "desc",
|
|
|
createTime: null,
|
|
|
+ investigateName:null,
|
|
|
+ investigatePlace:null
|
|
|
},
|
|
|
// 数据列表(分开存储不同Tab的数据)
|
|
|
myTaskList: [], // 待办任务数据
|
|
|
@@ -638,13 +620,22 @@ export default {
|
|
|
clickRow(row) {
|
|
|
this.$refs.dataTable.toggleRowSelection(row);
|
|
|
},
|
|
|
+ /*投资机会详情*/
|
|
|
+ handleInvestOppDetail(row) {
|
|
|
+ const projectPoolId = row.projectPoolId;
|
|
|
+ getPool(projectPoolId).then((response) => {
|
|
|
+ const pInstId=response.data.procInstId;
|
|
|
+ this.$router.push({ path: "/project/investOpp/detail", query: { id:
|
|
|
+ projectPoolId , pInstId: pInstId } });
|
|
|
+ });
|
|
|
+ },
|
|
|
// 跳转到处理页面(暂存节点页面)
|
|
|
handleEdit(row){
|
|
|
const id = row.id || this.ids;
|
|
|
const poolId=row.projectPoolId;
|
|
|
const pInstId=row.procInstId;
|
|
|
const taskId=row.taskId;
|
|
|
- this.$router.push({ path: "/project/approval/edit", query: { id: poolId , pInstId: pInstId , taskId:taskId} });
|
|
|
+ this.$router.push({ path: "/project/investigate/edit", query: { id: poolId , pInstId: pInstId , taskId:taskId} });
|
|
|
},
|
|
|
// 签收操作
|
|
|
handleSign(row) {
|
|
|
@@ -654,21 +645,12 @@ export default {
|
|
|
},
|
|
|
// 跳转到处理页面
|
|
|
handleProcess(row){
|
|
|
- /*this.$router.push({ path: '/flowable/task/todo/detail/index',
|
|
|
- query: {
|
|
|
- procInsId: row.procInsId,
|
|
|
- executionId: row.executionId,
|
|
|
- deployId: row.deployId,
|
|
|
- taskId: row.taskId,
|
|
|
- taskName: row.taskName,
|
|
|
- startUser: row.startUserName + '-' + row.startDeptName,
|
|
|
- }})*/
|
|
|
const id = row.id || this.ids;
|
|
|
const poolId=row.projectPoolId;
|
|
|
const pInstId=row.procInstId;
|
|
|
const taskId=row.taskId;
|
|
|
this.$store.commit("SET_PROJECTITEMMESSAGE", row);
|
|
|
- this.$router.push({ path: "/project/approval/audit", query: { id:poolId , pInstId: pInstId ,taskId:taskId} });
|
|
|
+ this.$router.push({ path: "/project/investigate/audit", query: { id:poolId , pInstId: pInstId ,taskId:taskId} });
|
|
|
|
|
|
},
|
|
|
// 撤回操作
|
|
|
@@ -687,7 +669,7 @@ export default {
|
|
|
const id = row.id || this.ids;
|
|
|
const poolId=row.projectPoolId;
|
|
|
const pInstId=row.procInstId;
|
|
|
- this.$router.push({ path: "/project/approval/detail", query: { id: poolId , pInstId: pInstId } });
|
|
|
+ this.$router.push({ path: "/project/investigate/detail", query: { id: poolId , pInstId: pInstId } });
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|