feat:流程版本
3.查询list 全查调整为page
This commit is contained in:
@ -102,7 +102,7 @@
|
||||
import ApproveProcessMonitorUser from './components/flow/ApproveProcessMonitorUser.vue';
|
||||
import { UpdateProcessVersionModal } from '/@/components/UpdateProcessVersion';
|
||||
import { deleteWorkflow, getProcessMonitorPage, postSetSuspended } from '/@/api/workflow/monitor';
|
||||
import { getDesignList } from '/@/api/workflow/design';
|
||||
import { getDesignList, getDesignPage } from '/@/api/workflow/design';
|
||||
import { Modal } from 'ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { notification, Tag } from 'ant-design-vue';
|
||||
@ -185,7 +185,7 @@
|
||||
value: definitionKey,
|
||||
componentProps: {
|
||||
mode: 'single',
|
||||
api: getDesignList,
|
||||
api: getDesignPageProcessed,
|
||||
showSearch: true,
|
||||
labelField: 'name',
|
||||
valueField: 'definitionKey',
|
||||
@ -428,4 +428,15 @@
|
||||
function getNextTick () {
|
||||
data.visibleVersion = true;
|
||||
}
|
||||
|
||||
async function getDesignPageProcessed() {
|
||||
const searchParams = {
|
||||
...{
|
||||
limit: 1,
|
||||
size: 100
|
||||
},
|
||||
};
|
||||
const response = await getDesignPage(searchParams);
|
||||
return response.list;
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user