Commit a2a01f2c by 胡鑫

不合格品处理增加审批流程发起 查看

parent 99dd1c39
......@@ -41,7 +41,7 @@ export async function exportDesign(id: string, mode: ErrorMessageMode = 'modal')
/**
* @description: 查询Workflow分页列表
*/
export async function getDesignPage(params: WorkflowPageParams, mode: ErrorMessageMode = 'modal') {
export async function getDesignPage(params: WorkflowPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<WorkflowPageResult>(
{
url: Api.Page,
......
......@@ -123,7 +123,7 @@
};
let res = await getDesignPage(params);
page.total = res.total;
template.list = res.list;
// template.list = res.list;
} catch (error) {}
}
function submit() {
......
......@@ -169,7 +169,7 @@
try {
let res = await getDesignPage(searchParams);
data.pagination.total = res.total;
data.list = res.list;
// data.list = res.list;
} catch (error) {}
}
......
......@@ -60,17 +60,19 @@
}
});
async function look() {
if (props.processId) {
showLoading.value = false;
showLoading.value = false;
visible.value = true;
} else {
showLoading.value = false;
notification.open({
type: 'error',
message: t('查看'),
description: t('请选择一个流程进行查看'),
});
}
// if (props.processId) {
// showLoading.value = false;
// visible.value = true;
// } else {
// showLoading.value = false;
// notification.open({
// type: 'error',
// message: t('查看'),
// description: t('请选择一个流程进行查看'),
// });
// }
}
function close() {
visible.value = false;
......
......@@ -150,7 +150,7 @@ export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'lydjlx',
title: '来源单据',
title: '来源单据111',
componentType: 'input',
fixed: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment