提交 775c7bbd authored 作者: jinrb's avatar jinrb

效果评估抽查历史接口增加pgtype参数

上级 e2eaa4f8
<template>
<BasicModal v-bind="$attrs" @register="registerModal" :title="title" width="70%">
<template #footer></template>
<HistoryInfo :wrdkid="wrdkid" :scjdbm="scjdbm" dksdzt="1" :faid="faid" :type="type" />
<HistoryInfo :wrdkid="wrdkid" :scjdbm="scjdbm" dksdzt="1" :faid="faid" :type="type" :pgtype="pgtype" />
</BasicModal>
</template>
......@@ -14,6 +14,7 @@
const dksdzt = ref('');
const faid = ref('');
const type = ref('');
const pgtype = ref('');
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
setModalProps({ confirmLoading: false, showCancelBtn: data?.showFooter, showOkBtn: data?.showFooter });
......@@ -21,6 +22,7 @@
scjdbm.value = data.record.scjdbm;
faid.value = data.record?.faid || '';
type.value = data.record?.type || '';
pgtype.value = data.record?.pgtype || '';
});
//设置标题
const title = ref('抽查历史');
......
......@@ -102,7 +102,7 @@
} else {
localData.value = await getCcHis({
wrdkid: props.wrdkid,
// pgtype: props.pgtype,
pgtype: props.pgtype,
scjdbm: props.scjdbm,
faid: props.faid,
});
......
......@@ -390,6 +390,7 @@
scjdbm: 'S6',
faid: selectedRows.value[0].id,
type: 'gkpg',
pgtype: selectedRows.value[0].pgtype,
};
openCcModal(true, {
record: params,
......
......@@ -329,6 +329,7 @@
scjdbm: 'S6',
faid: selectedRows.value[0].id,
type: 'gkxfpg',
pgtype: selectedRows.value[0].pgtype,
};
openCcModal(true, {
record: params,
......
......@@ -407,6 +407,7 @@
scjdbm: 'S6',
faid: selectedRowKeys.value[0],
type: 'xfpg',
pgtype: selectedRows.value[0].pgtype,
};
openCcModal(true, {
record: params,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论