d83c37d5 by lihua

修改江苏资产登记传参

1 parent d290190e
......@@ -20,6 +20,10 @@ const props = defineProps({
type: Object,
default: {
}
},
isBizGuid: {
type: Boolean,
default: false
}
})
......@@ -53,7 +57,7 @@ const gettableList = () => {
getCrossDetailList({
pageIndex: 1,
pageSize: -1,
bizGuid: props.currentRowInfo.guid
bizGuid: props.isBizGuid ? props.currentRowInfo.bizGuid : props.currentRowInfo.guid
}).then((res: any) => {
tableInfo.value.loading = false;
if (res.code == proxy.$passCode) {
......
......@@ -605,7 +605,7 @@ const rejectDialogBtnClick = (btn, info) => {
</div>
<Dialog :dialogInfo="passDialogInfo" @btnClick="passDialogBtnClick" />
<Dialog :dialogInfo="rejectDialogInfo" @btnClick="rejectDialogBtnClick" />
<DialogApproval :visible="approvalDialogVisible" :currentRowInfo="systemApproveCurrentRowInfo"
<DialogApproval :visible="approvalDialogVisible" :currentRowInfo="systemApproveCurrentRowInfo" :isBizGuid="true"
@dialog-cancel="handleApprovalDialogCancel"></DialogApproval>
</div>
</template>
......
......@@ -118,12 +118,19 @@ const tableInfo = ref({
loading: false,
fields: [{ label: "序号", type: "index", width: 56, align: "center" },
{
label: "数据资产名称", field: "daName", width: 180, align: "left", type: 'text_btn', value: 'assetDetail', columClass: 'text_btn', click: (scope) => {
label: "数据资产名称", field: "damName", width: 180, align: "left", type: 'text_btn', value: 'assetDetail', columClass: 'text_btn', click: (scope) => {
let row = scope.row;
router.push({
name: 'registerInfoDetail',
query: { guid: row.guid, name: row.daName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' }
});
if (row.dataSource == '1') {
router.push({
name: 'registerInfoJSZQDetail',
query: { guid: row.bizGuid, name: row.damName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' }
});
} else {
router.push({
name: 'registerInfoDetail',
query: { guid: row.bizGuid, name: row.damName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' }
});
}
}
},
{ label: "所属公司", field: "tenantName", width: 240 },
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!