Commit a2a01f2c by 胡鑫

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

parent 99dd1c39
...@@ -41,7 +41,7 @@ export async function exportDesign(id: string, mode: ErrorMessageMode = 'modal') ...@@ -41,7 +41,7 @@ export async function exportDesign(id: string, mode: ErrorMessageMode = 'modal')
/** /**
* @description: 查询Workflow分页列表 * @description: 查询Workflow分页列表
*/ */
export async function getDesignPage(params: WorkflowPageParams, mode: ErrorMessageMode = 'modal') { export async function getDesignPage(params: WorkflowPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<WorkflowPageResult>( return defHttp.get<WorkflowPageResult>(
{ {
url: Api.Page, url: Api.Page,
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
}; };
let res = await getDesignPage(params); let res = await getDesignPage(params);
page.total = res.total; page.total = res.total;
template.list = res.list; // template.list = res.list;
} catch (error) {} } catch (error) {}
} }
function submit() { function submit() {
......
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
try { try {
let res = await getDesignPage(searchParams); let res = await getDesignPage(searchParams);
data.pagination.total = res.total; data.pagination.total = res.total;
data.list = res.list; // data.list = res.list;
} catch (error) {} } catch (error) {}
} }
......
...@@ -60,17 +60,19 @@ ...@@ -60,17 +60,19 @@
} }
}); });
async function look() { async function look() {
if (props.processId) { showLoading.value = false;
showLoading.value = false;
visible.value = true; visible.value = true;
} else { // if (props.processId) {
showLoading.value = false; // showLoading.value = false;
notification.open({ // visible.value = true;
type: 'error', // } else {
message: t('查看'), // showLoading.value = false;
description: t('请选择一个流程进行查看'), // notification.open({
}); // type: 'error',
} // message: t('查看'),
// description: t('请选择一个流程进行查看'),
// });
// }
} }
function close() { function close() {
visible.value = false; visible.value = false;
......
...@@ -150,7 +150,7 @@ export const columns: BasicColumn[] = [ ...@@ -150,7 +150,7 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'lydjlx', dataIndex: 'lydjlx',
title: '来源单据', title: '来源单据111',
componentType: 'input', componentType: 'input',
fixed: false, 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