yangys
2025-09-14 9c81ab87188929f98abfd56eb3d0aa13e0077990
src/views/wel/components/TodolistLeft.vue
@@ -29,7 +29,7 @@
</template>
<script>
import { getAppList,getSelectedAppList,getContent,removeAtt} from '@/api/flow/todolist';
import {getSelectedAppList,getContent,removeAtt} from '@/api/flow/todolist';
export default {
    props: {
        row: {
@@ -42,6 +42,7 @@
    },
    data() {
        return {
            fileType: '',
            showContentId: '',
            attForm: {
                att: '',
@@ -75,7 +76,7 @@
                            processNo: this.processNo,
                            processEdition: this.processEdition,
                            processInstanceId: this.replaceDataId,
                            fileType: attForm.fileType,
                            fileType: this.fileType,
                        },
                    }
                ]
@@ -133,6 +134,8 @@
        'attForm.fileType': {
            handler(newVal) {
                this.attOption.column[1].data.fileType = newVal;
                this.fileType = newVal;
                console.log(this.fileType)
            },
            immediate: true,
        },
@@ -180,12 +183,6 @@
            this.selectionList = list;
        },
        onLoad(page, params = {}) {
            const query = {}
            getAppList(page.currentPage, page.pageSize, Object.assign(query, params)).then(res => {
                const data = res.data.data;
                this.page.total = data.total;
                this.appData = data.records;
            });
        },
        add () {
            console.log('add')