|
@@ -285,8 +285,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.getList()
|
|
|
- this.getTreeselect()
|
|
|
+ // this.getList()
|
|
|
+ // this.getTreeselect()
|
|
|
|
|
|
},
|
|
|
props: ["orgId"],
|
|
@@ -349,8 +349,9 @@ export default {
|
|
|
// })
|
|
|
// 根据单位id获得消防设施带分页
|
|
|
// if (this.orgId !== null && this.orgId !== undefined) { //屏蔽后数据不转圈了
|
|
|
- // this.queryParams.orgId = this.orgId //屏蔽是暂时的,没有orgId
|
|
|
+ this.queryParams.orgId = this.orgId //屏蔽是暂时的,没有orgId
|
|
|
getFpdByOrgId(this.queryParams).then(response => {
|
|
|
+ console.log('firstresponse', response)
|
|
|
this.loading = false
|
|
|
this.list = response.data.records
|
|
|
this.total = response.data.total
|
|
@@ -446,6 +447,7 @@ export default {
|
|
|
}
|
|
|
this.resetForm("form")
|
|
|
this.form.orgId = this.orgId
|
|
|
+ this.queryParams.orgId=this.orgId?this.orgId:''
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|