diff --git a/src/views/basic/CorpMaintain.vue b/src/views/basic/CorpMaintain.vue index 1ef6a37..4270c92 100644 --- a/src/views/basic/CorpMaintain.vue +++ b/src/views/basic/CorpMaintain.vue @@ -24,7 +24,7 @@ type="primary" icon="search" width="1200px" - @click="getList" + @click="search" >查询 @@ -413,13 +413,16 @@ export default { }; this.getList(); }, + search() { + this.query.page = 1; + this.getList(); + }, getList() { this.loading = true; this.erpIdColumn = false; this.thirdIdColumn = false; getBasicUnitMaintains(this.query) .then((response) => { - console.log(response) this.loading = false; this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false; this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false; @@ -504,7 +507,6 @@ export default { this.editQuery.thirdName4 = null; let data = Object.assign({}, this.editQuery); - console.log('------2------'); basicUnitMaintainSave(data, this.formName) .then(response => { this.formLoading = false; diff --git a/src/views/basic/CorpRelevance.vue b/src/views/basic/CorpRelevance.vue index e1eaa59..e6bb66c 100644 --- a/src/views/basic/CorpRelevance.vue +++ b/src/views/basic/CorpRelevance.vue @@ -85,7 +85,7 @@ - 查询 + 查询 选入 @@ -187,12 +187,15 @@ export default { checkSelectable(row) { return !row.checked; }, + search() { + this.unitQuery.page = 1; + this.getList(); + }, getList() { this.loading = true; this.unitQuery.thirdSys = this.thirdSysFk; ucloudUnit(this.unitQuery) .then((response) => { - console.log(response); this.loading = false; if (response.code == 20000) { @@ -224,6 +227,7 @@ export default { .then((response) => { this.thirdSys = response.data.list || []; this.thirdSysFk = this.thirdSys[0].thirdId; + this.getList(); }) .catch(() => { this.loading = false; @@ -242,7 +246,6 @@ export default { } this.combineQuery.thirdSys = this.thirdSysFk; this.combineQuery.custmandocResponses = ids; - console.log(ids); combine(this.combineQuery) .then((response) => { if (response.code == 20000) { @@ -283,13 +286,11 @@ export default { }, handleCurrentChange(val) { - console.log(val); this.currentRow = val; this.unitQuery.key = this.currentRow.name; }, handleSelectionUdiChange(val) { - console.log("----" + val[0].id); this.multipleUdiSelection = val; }, }, diff --git a/src/views/basic/UdiInfoDb.vue b/src/views/basic/UdiInfoDb.vue index 776f70b..ae5cc76 100644 --- a/src/views/basic/UdiInfoDb.vue +++ b/src/views/basic/UdiInfoDb.vue @@ -70,6 +70,7 @@ + 查询 + + -
重要提示:本页功能仅供技术提供方修改 
@@ -356,7 +358,7 @@ { this.loading = false; - this.list = response.data || []; + this.list = response.data.list || []; + this.total = response.data.total; }) .catch(() => { this.loading = false; @@ -630,9 +633,11 @@ export default { }, - selectTemplateGetList() { - console.log(this.selectTemplateQuery) + selectTemplateGetList(val) { this.selectTemplateLoading = true; + if (val != null) { + this.selectTemplateQuery.page = val; + } systemPDFTemplateList(this.selectTemplateQuery) .then(response => { this.selectTemplateLoading = false;