项目评估结果tab页下的查看页面,点击查询按钮,提示程序异常

This commit is contained in:
yanyizhou
2021-08-23 15:52:17 +08:00
parent 9f3b88e759
commit 5164456f61
@@ -109,6 +109,13 @@
<div class="search-area">
<div class="left">
<el-form :inline="true" :model="sarProStateEO" class="label-input-form">
<el-form-item label="项目编号" class="search-item search-item-last">
<el-input
v-model="sarProStateEO.productId"
placeholder="根据项目编号查找"
:maxlength="100"
clearable></el-input>
</el-form-item>
<el-form-item label="项目名称" class="search-item search-item-last">
<el-input
v-model="sarProStateEO.productName"
@@ -116,13 +123,6 @@
:maxlength="100"
clearable></el-input>
</el-form-item>
<el-form-item label="项目编号" class="search-item search-item-last">
<el-input
v-model="sarProStateEO.standId"
placeholder="根据项目编号查找"
:maxlength="100"
clearable></el-input>
</el-form-item>
<el-form-item class="search-item btn-box">
<el-button
type="primary"
@@ -327,7 +327,7 @@ export default {
pageSize: this.$store.getters.userInfo.configContent,
sarProStateEO: {
productName: "",
standId: "",
productId: "",
type: ""
},
sarProStateTotal: 0,
@@ -335,7 +335,7 @@ export default {
sarProStatePageSize: this.$store.getters.userInfo.configContent,
sarProStateListDatas: [], // 符合性项目列表数据
sarProStateTableHeight: null, // 符合性项目列表高度
standId: "" // 符合性项目Id
productId: "" // 符合性项目Id
};
},
methods: {
@@ -384,16 +384,18 @@ export default {
}, // 外层清空条件查询
handleProjectCompliance(row) {
this.sarProStateEO.type = row.type
this.standId = row.standId;
this.productId = row.productId;
this.querySarProStateZero();
}, // 查看项目符合性
querySarProStateZero(page) {
console.log(page)
if (page) {
this.sarProStateTotalPage = page
} else {
this.sarProStateTotalPage = 1;
}
var form = this.sarProStateEO;
console.log('395',form)
// form.standId = this.standId
form.current = this.sarProStateTotalPage;
form.size = this.sarProStatePageSize;
@@ -416,15 +418,15 @@ export default {
}, // 查询项目数据
clearSearchProState() {
this.sarProStateEO.productName = "";
this.sarProStateEO.standId = "";
this.sarProStateEO.productId = "";
this.sarProStateTotalPage = 1;
this.querySarProStateZero();
}, // 清空条件查询
clearSearchPro() {
this.sarProStateEO.productName = "";
this.sarProStateEO.standId = "";
this.sarProStateEO.productId = "";
this.showSarProStateModal = false;
this.standId = "";
this.productId = "";
}, // 关闭查看事件
pageProStateChange(page) {
this.sarProStateTotalPage = page;