update:查询功能完成
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目名称" class="search-item">
|
<el-form-item label="项目名称" class="search-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="localProTableSearch.productName"
|
v-model="projectLibrarySearch.projectName"
|
||||||
placeholder="根据项目名称查找"
|
placeholder="根据项目名称查找"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
clearable
|
clearable
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目分类" class="search-item">
|
<el-form-item label="项目分类" class="search-item">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="localProTableSearch.productType"
|
v-model="projectLibrarySearch.projectSort"
|
||||||
placeholder="请选择项目类别"
|
placeholder="请选择项目类别"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目状态" class="search-item search-item-last">
|
<el-form-item label="项目状态" class="search-item search-item-last">
|
||||||
<el-select v-model="localProTableSearch.productBrand" placeholder="请选择项目状态" clearable>
|
<el-select v-model="projectLibrarySearch.projectStatus" placeholder="请选择项目状态" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="opr in xmztOptions"
|
v-for="opr in xmztOptions"
|
||||||
:key="opr.value"
|
:key="opr.value"
|
||||||
@@ -249,6 +249,13 @@ export default {
|
|||||||
ifMaintaince:"Maintenance",
|
ifMaintaince:"Maintenance",
|
||||||
|
|
||||||
deptUser: [],
|
deptUser: [],
|
||||||
|
//查询3类
|
||||||
|
projectLibrarySearch: {
|
||||||
|
projectName: '',
|
||||||
|
projectSort: '',
|
||||||
|
projectStatus: '',
|
||||||
|
|
||||||
|
},
|
||||||
// 查询条件
|
// 查询条件
|
||||||
localProTableSearch: {
|
localProTableSearch: {
|
||||||
page: 1,
|
page: 1,
|
||||||
@@ -1085,17 +1092,21 @@ export default {
|
|||||||
},
|
},
|
||||||
// 条件分页查询
|
// 条件分页查询
|
||||||
getLocalProductTableBtn () {
|
getLocalProductTableBtn () {
|
||||||
this.localProTableSearch.page = 1
|
this.projectLibrarySearch.page = 1
|
||||||
this.localProTableSearch.advanceSearchVOStr = ''
|
|
||||||
this.getLocalProductTable()
|
this.getLocalProductTable()
|
||||||
},
|
},
|
||||||
// 查询本地产品
|
// 查询本地产品
|
||||||
getLocalProductTable () {
|
getLocalProductTable () {
|
||||||
this.localProTableSearch.prodectCode = this.ifMaintaince
|
this.localProTableSearch.prodectCode = this.ifMaintaince
|
||||||
console.log(this.localProTableSearch.prodectCode)
|
// console.log(this.localProTableSearch.prodectCode)
|
||||||
this.localProTableSearch.dataType = this.insideTabsActiveName
|
this.localProTableSearch.dataType = this.insideTabsActiveName
|
||||||
this.SarExportSearchEo = this.localProTableSearch
|
this.SarExportSearchEo = this.localProTableSearch
|
||||||
this.$http.get('sarStandProjectLibrary/queryProject', this.localProTableSearch, {
|
this.$http.get('sarStandProjectLibrary/queryProject',{
|
||||||
|
projectName: this.projectLibrarySearch.projectName,
|
||||||
|
projectClassification: this.projectLibrarySearch.projectSort,
|
||||||
|
projectStatus: this.projectLibrarySearch.projectStatus
|
||||||
|
},{
|
||||||
_this: this, loading: 'loading'
|
_this: this, loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
// console.log(res.data)
|
// console.log(res.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user