d41519eb by renchao@pashanhoo.com

style:证书信息查询跳转

1 parent 5e35dfe8
......@@ -69,15 +69,14 @@ class data extends filter {
},
{
label: "业务号",
prop: "ywh",
width: '100',
// render: (h, scope) => {
// return (
// <div>
// <el-link type="primary" onClick={() => { vm.openYwDialog(scope.row) }}>{scope.row.ywh}</el-link>
// </div>
// )
// }
render: (h, scope) => {
return (
<div>
<el-link type="primary" onClick={() => { vm.openYwDialog(scope.row) }}>{scope.row.ywh}</el-link>
</div>
)
}
},
{
label: "权利类型",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 16:11:47
* @LastEditTime: 2023-10-30 09:15:01
-->
<template>
<div class="from-clues">
......@@ -55,7 +55,7 @@
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zslqcx";
import { getBdcqzReceiveList } from "@/api/search.js"
import { bdcqzPreview } from "@/api/bdcqz.js"
import { getXtParamsByYwh, getBlParamsByYwh } from '@/api/djyw'
export default {
name: "zslqcx",
mixins: [table],
......@@ -114,23 +114,22 @@
* @author: renchao
*/
openYwDialog (item) {
getXtParamsByYwh(item.ywh).then(res => {
let data = res.result
if (item.sjlx == "3") {
item.djywbm = "DJBBL";
const { href } = this.$router.resolve(
"/djbworkFrameview?bsmSlsq=" +
item.bsmSlsq + "&bsmBusiness=" +
item.bsmBusiness + "&djywbm=" +
data.bsmSlsq + "&bsmBusiness=" +
data.bsmBusiness + "&djywbm=" +
item.djywbm
);
window.open(href, `djbworkFrameview${item.bsmSlsq}`);
} else {
const { href } = this.$router.resolve(
"/workFrameView?bsmSlsq=" +
item.bsmSlsq + "&bsmBusiness=" +
item.bsmBusiness
);
window.open(href, `workFrameView${item.bsmSlsq}`)
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
window.open(href, `urlname${new Date().getTime()}`)
}
})
}
}
}
......