Commit ac818457 authored by 14699's avatar 14699

'接口添加参数'

parent 1222607b
...@@ -153,7 +153,7 @@ const router = useRouter(); ...@@ -153,7 +153,7 @@ const router = useRouter();
const pdfPre = (item) => { const pdfPre = (item) => {
if (item.esignFlowId) { if (item.esignFlowId) {
router.push({ path: '/contractsign/views/pdfprelist', query: { esignFlowId: item.esignFlowId } }) router.push({ path: '/contractsign/views/pdfprelist', query: { esignFlowId: item.esignFlowId,projectId:item.projectId } })
} else { } else {
Toast('未获取到签署合同,请联系管理员!'); Toast('未获取到签署合同,请联系管理员!');
} }
......
...@@ -33,11 +33,12 @@ let refreshing = $ref(true); ...@@ -33,11 +33,12 @@ let refreshing = $ref(true);
const finished = $ref(true); const finished = $ref(true);
const esignFlowId = route.query.esignFlowId; const esignFlowId = route.query.esignFlowId;
const projectId = route.query.projectId;
let preList = $ref([]); let preList = $ref([]);
const getDailyLiquidatedDetail = async () => { const getDailyLiquidatedDetail = async () => {
const res = await api.preListQuery({ "esignFlowId": esignFlowId }) const res = await api.preListQuery({ "esignFlowId": esignFlowId,"projectId":projectId})
refreshing = false; refreshing = false;
if (res.success) { if (res.success) {
preList = res.rows preList = res.rows
......
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