修复 标准合规评估结果 技术评估结果 查看 分页搜索功能bug

This commit is contained in:
yanyizhou
2021-09-02 13:55:50 +08:00
parent c9334b231d
commit 46afe87fea
2 changed files with 15 additions and 5 deletions
@@ -138,7 +138,7 @@
class="common-button-primary"
size="mini"
v-btn-permission="'0bdf3aecef5161bb66256ebcbbd4bdaa'"
@click="querySarProStateZero">查询</el-button>
@click="querySarProStateZeroBtn">查询</el-button>
</el-form-item>
<el-form-item class="search-item btn-box">
<el-button
@@ -306,7 +306,12 @@ name: "technologyInvolveProject",
handleProjectCompliance (row) {
this.standId = row.standId
this.querySarProStateZero()
}, // 查看项目符合性
},
querySarProStateZeroBtn(){
this.sarProStateTotalPage = 1
this.querySarProStateZero()
},
// 查看项目符合性
querySarProStateZero () {
var form = this.sarProStateEO
form.position = this.sarProject.position
@@ -328,7 +333,7 @@ name: "technologyInvolveProject",
this.sarProStateEO.standNumber = ''
this.sarProStateEO.standName = ''
this.sarProStateEO.specificItem = ''
this.querySarProStateZero()
this.querySarProStateZeroBtn()
}, // 清空条件查询
clearSearchPro () {
this.sarProStateEO.standNumber = ''
@@ -21,7 +21,7 @@
</el-form-item>
<el-form-item>
<el-button type="primary" size="mini" v-btn-permission="'02424c2bc370ee846aa5a6d60c49a6a5'"
class="common-button-primary" @click="getTableByPage('')">
class="common-button-primary" @click="getTableByPageBtn">
查询
</el-button>
</el-form-item>
@@ -203,6 +203,11 @@ export default {
})
}
},
// 查询之后跳回第一页
getTableByPageBtn(){
this.pageNo = 1
this.getTableByPage()
},
// 查询零部件table列表
getTableByPage() {
this.tableLoading.loadData = true
@@ -231,7 +236,7 @@ export default {
//零件分类号
partCategoryCode: ""
}
this.getTableByPage()
this.getTableByPageBtn()
},
// 分页事件
pageChange(page) {