ludc
2023-10-31 608ba76865266795b4b43bc7d9c8ab68ac0bb83d
Source/UBCS-WEB/src/views/integration/applicationForm.vue
@@ -124,10 +124,10 @@
                    message: "请至少选择一条数据!"
                })
            } else {
                console.log(this.stateParam)
                // console.log(this.stateParam)
                const response = await queryApplyStat(this.stateParam)
                if (response.status === 200) {
                    console.log(response)
                    // console.log(response)
                }
            }
        },
@@ -135,15 +135,15 @@
            this.loading = true
            const { pageSize, currentPage, total } = this.page
            let param = { size: pageSize, current: currentPage }
            console.log(this.searchParam)
            // console.log(this.searchParam)
            this.searchParam = Object.keys(this.searchParam)
                .filter((key) => this.searchParam[key] !== null && this.searchParam[key] !== undefined && this.searchParam[key] !== "")
                .reduce((acc, key) => ({ ...acc, [key]: this.searchParam[key] }), {});
            console.log(this.searchParam)
            // console.log(this.searchParam)
            const response = await getList({ ...param, ...this.searchParam })
            if (response.status === 200) {
                this.loading = false
                console.log(response)
                // console.log(response)
                const data = response.data.data
                this.data = data.records
                this.page.total = data.total
@@ -160,7 +160,7 @@
            this.getDataList()
        },
        handleSearch(form, done) {
            console.log(form)
            // console.log(form)
            const { id, groupCode, operationType } = form
            let dataTime = { id, groupCode, operationType }
            if (form.hasOwnProperty('createTime')) {
@@ -175,13 +175,13 @@
            done()
        },
        selectionChange(list) {
            console.log(list)
            // console.log(list)
            let newData = list.map(item => {
                const { dataOid } = item
                return dataOid
            })
            this.stateParam = { oids: newData.toString() }
            console.log(newData)
            // console.log(newData)
        },
        handleRowClick(row) {
            this.$refs.crud.toggleRowSelection(row, true)