From 9c81ab87188929f98abfd56eb3d0aa13e0077990 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 14 九月 2025 19:42:01 +0800
Subject: [PATCH] 删除无用代码
---
src/views/wel/components/TodolistLeft.vue | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/views/wel/components/TodolistLeft.vue b/src/views/wel/components/TodolistLeft.vue
index 91ef4d5..84d2316 100644
--- a/src/views/wel/components/TodolistLeft.vue
+++ b/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: 'program',
+ 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')
--
Gitblit v1.9.3