|
@@ -15,18 +15,18 @@
|
|
round
|
|
round
|
|
style="float: left"
|
|
style="float: left"
|
|
/>
|
|
/>
|
|
-<!-- <el-select-->
|
|
|
|
-<!-- v-model="listQuery.state"-->
|
|
|
|
-<!-- placeholder="状态"-->
|
|
|
|
-<!-- clearable-->
|
|
|
|
-<!-- filterable-->
|
|
|
|
-<!-- style="margin-left: 20px;width: 100px;float: left;"-->
|
|
|
|
-<!-- class="filter-item"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <el-option label="进行中" value="进行中"/>-->
|
|
|
|
-<!-- <el-option label="已完成" value="已完成"/>-->
|
|
|
|
-<!-- <el-option label="未开始" value="未开始"/>-->
|
|
|
|
-<!-- </el-select>-->
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="listQuery.state"
|
|
|
|
+ placeholder="状态"
|
|
|
|
+ clearable
|
|
|
|
+ filterable
|
|
|
|
+ style="margin-left: 20px;width: 100px;float: left;"
|
|
|
|
+ class="filter-item"
|
|
|
|
+ >
|
|
|
|
+ <el-option label="进行中" value="进行中"/>
|
|
|
|
+ <el-option label="已完成" value="已完成"/>
|
|
|
|
+ <el-option label="未开始" value="未开始"/>
|
|
|
|
+ </el-select>
|
|
<el-input
|
|
<el-input
|
|
v-model="listQuery.name"
|
|
v-model="listQuery.name"
|
|
placeholder="项目名称"
|
|
placeholder="项目名称"
|
|
@@ -62,44 +62,49 @@
|
|
<span>{{ row.name }}</span>
|
|
<span>{{ row.name }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="事业部流水号" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="事业部流水号" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.businessNo }}</span>
|
|
<span>{{ row.businessNo }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="项目编号" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="项目编号" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.oaNo }}</span>
|
|
<span>{{ row.oaNo }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="所属部门" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="所属部门" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.departmentName }}</span>
|
|
<span>{{ row.departmentName }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="业务来源" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="业务来源" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.businessSource }}</span>
|
|
<span>{{ row.businessSource }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="委托单位" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="委托单位" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.clientUnit}}</span>
|
|
<span>{{ row.clientUnit}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="委托人" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="委托人" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.clientName}}</span>
|
|
<span>{{ row.clientName}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="合同金额" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="合同金额" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<span>{{ row.amount}}</span>
|
|
<span>{{ row.amount}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="状态" align="center" width="140">
|
|
|
|
|
|
+ <el-table-column label="状态" align="center" width="130">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <span>{{ row.state}}</span>
|
|
|
|
|
|
+ <el-tag>{{ row.state}}</el-tag>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="当前阶段" align="center" width="130">
|
|
|
|
+ <template slot-scope="{row}">
|
|
|
|
+ <el-tag>{{computedStageName(row.stageName)}}</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
@@ -159,7 +164,7 @@
|
|
name=""
|
|
name=""
|
|
type="success"
|
|
type="success"
|
|
:page-jump="true"
|
|
:page-jump="true"
|
|
- :page-query="{id: row.id,itemName:row.name}"
|
|
|
|
|
|
+ :page-query="{id: row.id,itemName:row.name,stageName:row.stageName,stageId:row.stageId}"
|
|
round
|
|
round
|
|
size="mini"
|
|
size="mini"
|
|
/>
|
|
/>
|
|
@@ -205,7 +210,8 @@
|
|
// name: '',
|
|
// name: '',
|
|
// staffNo: '',
|
|
// staffNo: '',
|
|
descs: 'id',
|
|
descs: 'id',
|
|
- me: false
|
|
|
|
|
|
+ me: false,
|
|
|
|
+ state:null
|
|
},
|
|
},
|
|
listQueryKey: 'keyword',
|
|
listQueryKey: 'keyword',
|
|
importLoading: false,
|
|
importLoading: false,
|
|
@@ -213,6 +219,9 @@
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
const that = this;
|
|
const that = this;
|
|
|
|
+ if (this.$router.currentRoute.path === '/item/list/me'){
|
|
|
|
+ this.listQuery.state = "进行中";
|
|
|
|
+ }
|
|
that.getList()
|
|
that.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -221,9 +230,20 @@
|
|
current: 1,
|
|
current: 1,
|
|
size: 10,
|
|
size: 10,
|
|
descs: 'id',
|
|
descs: 'id',
|
|
|
|
+ me: false
|
|
|
|
+ }
|
|
|
|
+ if (this.$router.currentRoute.path === '/item/list/me'){
|
|
|
|
+ this.listQuery.me = true;
|
|
}
|
|
}
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
|
|
+ computedStageName(val){
|
|
|
|
+ if (val===null || val===undefined || val === ''){
|
|
|
|
+ return "无";
|
|
|
|
+ }else {
|
|
|
|
+ return val;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
removeHandle(row) {
|
|
removeHandle(row) {
|
|
// console.log(data)
|
|
// console.log(data)
|
|
const that = this
|
|
const that = this
|