190f34d8 by renchao@pashanhoo.com

style:登记簿详情跳转逻辑

1 parent d2e071f1
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-19 16:12:50
* @LastEditTime: 2023-10-19 16:57:33
-->
<template>
<div class="tableBox">
......@@ -72,7 +72,7 @@
{{ getQsztName(row[item.prop]) }}
</span>
<el-link v-if="['zxywh', 'ywh'].includes(item.prop)"
@click="handleSelectYwh(row)"
@click="handleSelectYwh(row, row[item.prop])"
type="primary">{{ row[item.prop] }}</el-link>
<span v-if="!['qszt','ywh', 'zxywh' ].includes(item.prop)">{{ row[item.prop] }}</span>
</p>
......@@ -217,19 +217,18 @@
})
},
// 选择业务号
handleSelectYwh (row) {
handleSelectYwh (row, ywh) {
let sjlx = row.sjlx,
bsmQlxx = row.bsmQlxx
if (sjlx == '系统数据') {
getXtParamsByYwh(row.ywh).then(res => {
getXtParamsByYwh(ywh).then(res => {
let data = res.result
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
window.open(href, `urlname${data.bsmSlsq}`)
})
} else {
getBlParamsByYwh(row.ywh, bsmQlxx).then(res => {
getBlParamsByYwh(ywh, bsmQlxx).then(res => {
let data = res.result
console.log(data, 'datadatadatadata');
this.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '60%',
formData: data
......
......@@ -73,7 +73,7 @@
{{ getQsztName(row[item.prop]) }}
</span>
<el-link v-if=" ['zxywh', 'ywh'].includes(item.prop)"
@click="handleSelectYwh(row)"
@click="handleSelectYwh(row, row[item.prop])"
type="primary">{{ row[item.prop] }}</el-link>
<el-tooltip
v-if="['djyy', 'fj'].includes(item.prop)"
......@@ -280,17 +280,17 @@
});
},
// 选择业务号
handleSelectYwh (row) {
handleSelectYwh (row, ywh) {
let sjlx = row.sjlx,
bsmQlxx = row.bsmQlxx
if (sjlx == '系统数据') {
getXtParamsByYwh(row.ywh).then(res => {
getXtParamsByYwh(ywh).then(res => {
let data = res.result
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
window.open(href, `urlname${data.bsmSlsq}`)
})
} else {
getBlParamsByYwh(row.ywh, bsmQlxx).then(res => {
getBlParamsByYwh(ywh, bsmQlxx).then(res => {
let data = res.result
this.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '60%',
......