diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue index 4bab4aea..1f2d19a2 100644 --- a/src/views/components/checkBox.vue +++ b/src/views/components/checkBox.vue @@ -35,7 +35,7 @@ export default { boxList: [], checkAll: false, checkedList: [], - isIndeterminate: true, + isIndeterminate: false, pid: '', } }, diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index ef2b7fa6..45f56bf3 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -712,7 +712,7 @@ export default { width: 200px; } .resi-cell--daterange { - width: 200px; + max-width: 260px; } .resi-cell-select { width: 200px; diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue index b93a4939..ec4a3eb3 100644 --- a/src/views/modules/base/diyInfo.vue +++ b/src/views/modules/base/diyInfo.vue @@ -87,7 +87,7 @@ 保存为常用模板 - 导出 + 导出 { - if (n == item.itemId) this.$refs[`checkbox${item.id}`][0].checkedList.splice(i, 1) + if (n == item.itemId) this.$refs[`checkbox${item.itemGroupId}`][0].checkedList.splice(i, 1) }) this.rightList.forEach((n, i) => { - if (n.id === item.id) { + if (n.id === item.itemGroupId) { n.queryItemList.splice(index, 1) if (n.queryItemList.length === 0) this.rightList.splice(i, 1) } @@ -272,6 +273,7 @@ export default { handleExport() { if (this.rightList.length === 0) return this.$message.error('请选择导出信息') if (this.form.isSaveTemp && !this.form.name) return this.$message.error('请输入模板名称') + this.exportLoading = true this.exportTemplate() }, @@ -324,9 +326,11 @@ export default { this.$message.success('导出成功') this.$emit('close') } else this.$message.error('下载失败') + this.exportLoading = false }) .catch(err => { console.log('err', err) + this.exportLoading = false return this.$message.error('网络错误') }) },