|
@@ -2,6 +2,12 @@
|
2
|
2
|
<div>
|
3
|
3
|
<el-row>
|
4
|
4
|
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="88px">
|
|
5
|
+ <el-form-item label="项目类型" prop="projectType">
|
|
6
|
+ <el-select v-model="projectType" clearable filterable placeholder="请输入项目类型" size="large"
|
|
7
|
+ style="width: 240px" @keyup.enter.native="handleQuery()">
|
|
8
|
+ <el-option v-for="item in typeList" :key="item.typeId" :label="item.typeName" :value="item.typeName"/>
|
|
9
|
+ </el-select>
|
|
10
|
+ </el-form-item>
|
5
|
11
|
<el-form-item label="项目编号" prop="projectNumber">
|
6
|
12
|
<el-input v-model="queryParams.projectNumber" placeholder="请输入项目编号" clearable
|
7
|
13
|
@keyup.enter.native="handleQuery()" />
|
|
@@ -65,6 +71,8 @@ export default {
|
65
|
71
|
projectLeader: undefined,
|
66
|
72
|
projectName: '',
|
67
|
73
|
},
|
|
74
|
+ projectType: '测绘',
|
|
75
|
+ typeList: [{typeId: 1, typeName: "测绘"}, {typeId: 2, typeName: "勘察"}],
|
68
|
76
|
projectList: [],
|
69
|
77
|
userList: [],
|
70
|
78
|
total: 0,
|
|
@@ -80,6 +88,12 @@ export default {
|
80
|
88
|
// 查询项目列表
|
81
|
89
|
getList() {
|
82
|
90
|
this.loading = true
|
|
91
|
+ if (this.projectType == '测绘') {
|
|
92
|
+ this.queryParams.undertakingDept = undefined
|
|
93
|
+ }
|
|
94
|
+ if (this.projectType == '勘察') {
|
|
95
|
+ this.queryParams.undertakingDept = 113
|
|
96
|
+ }
|
83
|
97
|
listProject(this.queryParams).then(response => {
|
84
|
98
|
this.projectList = response.rows;
|
85
|
99
|
this.total = response.total;
|