| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getAppList,getSelectedAppList,getContent,removeAtt} from '@/api/flow/todolist'; |
| | | import {getSelectedAppList,getContent,removeAtt} from '@/api/flow/todolist'; |
| | | export default { |
| | | props: { |
| | | row: { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | fileType: '', |
| | | showContentId: '', |
| | | attForm: { |
| | | att: '', |
| | |
| | | processNo: this.processNo, |
| | | processEdition: this.processEdition, |
| | | processInstanceId: this.replaceDataId, |
| | | fileType: attForm.fileType, |
| | | fileType: this.fileType, |
| | | }, |
| | | } |
| | | ] |
| | |
| | | 'attForm.fileType': { |
| | | handler(newVal) { |
| | | this.attOption.column[1].data.fileType = newVal; |
| | | this.fileType = newVal; |
| | | console.log(this.fileType) |
| | | }, |
| | | immediate: true, |
| | | }, |
| | |
| | | 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') |