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