|
|
|
@ -60,7 +60,7 @@
|
|
|
|
icon="el-icon-search"
|
|
|
|
icon="el-icon-search"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
@click="getList"
|
|
|
|
@click="getList(true)"
|
|
|
|
>搜索</el-button
|
|
|
|
>搜索</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
@ -572,10 +572,13 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
async getList() {
|
|
|
|
async getList(refresh=false) {
|
|
|
|
if (this.loading) return
|
|
|
|
if (this.loading) return
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
if (refresh) {
|
|
|
|
|
|
|
|
this.select.page = 1
|
|
|
|
|
|
|
|
}
|
|
|
|
const res = await flowList(this.$route.params.type, this.select, false);
|
|
|
|
const res = await flowList(this.$route.params.type, this.select, false);
|
|
|
|
console.log(res);
|
|
|
|
console.log(res);
|
|
|
|
if (this.$route.params.type === 'todo') {
|
|
|
|
if (this.$route.params.type === 'todo') {
|
|
|
|
|