Commit 1fac2288 by xue_wengang

Update detailHbyp.vue

parent 4ba85d5c
......@@ -437,7 +437,7 @@
<template slot-scope="{ row }">
<span class="cz" @click="editXs(row)">修改</span>
<span class="cz" @click="delXs(row)">删除</span>
<span class="cz" @click="goDetailWrap(row)">GPS分析</span>
<span class="cz" @click="goDetailWrap(row, 'gps')">GPS分析</span>
<span
class="cz"
v-if="
......@@ -481,13 +481,17 @@
>
<span
class="cz"
v-if="row.xslx == '0007' || row.xslx == '0008' && !row.isResult"
v-if="
row.xslx == '0007' || (row.xslx == '0008' && !row.isResult)
"
@click="goDetailWrap(row, 'fqbd')"
>发起比对</span
>
<span
class="cz"
v-if="(row.xslx == '0007' || row.xslx == '0008') && row.isResult"
v-if="
(row.xslx == '0007' || row.xslx == '0008') && row.isResult
"
@click="goDetailWrap(row, 'result')"
>比对结果</span
>
......@@ -1029,7 +1033,9 @@
<div style="text-align: center; padding: 0 0 19px 0">
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisiblResult = false">取 消</el-button>
<el-button type="primary" @click="dialogVisiblResult = false">确 定</el-button>
<el-button type="primary" @click="dialogVisiblResult = false"
>确 定</el-button
>
</span>
</div>
</div>
......@@ -1076,7 +1082,7 @@ export default {
},
data() {
return {
dialogVisiblResult:false,
dialogVisiblResult: false,
xslxDict: [],
zczlbh: "",
fpbh: "",
......@@ -1710,7 +1716,7 @@ export default {
},
methods: {
goDetailWrap(item, type) {
debugger
debugger;
if (type == "nt") {
let type = "";
if (item.xslx == "0001") {
......@@ -1737,6 +1743,7 @@ export default {
// var params = {type:'KySj',kybh:item.row.kyxshmYdhm, userId: '142302198901012417'}
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
} else if (type == "sk") {
let path = "";
let identitycard = JSON.parse(
sessionStorage.getItem("userInfo")
).identitycard;
......@@ -1782,11 +1789,23 @@ export default {
let path = `http://xzxt-zhyy.dsj.xz/rxbd/#/jump?token=${rxtoken}&path=makeCompare`;
window.open(path, "_blank");
} else if (type == "fqbd") {
this.$set(item,'isResult',true)
this.$set(item, "isResult", true);
this.$message("发起比对成功");
} else if (type == "result") {
debugger
this.dialogVisiblResult = true
this.dialogVisiblResult = true;
} else if (type == "gps") {
let identitycard = JSON.parse(
sessionStorage.getItem("userInfo")
).identitycard;
let key =
"maplogin" +
encrypt.creattimeBumderNYR(new Date()).split("-").join("");
let vi =
"map_vues" +
encrypt.creattimeBumderNYR(new Date()).split("-").join("");
let skjm = encrypt.skEncrypt(identitycard, key.trim(), vi.trim());
let path = `http://xzxt-zhyy.dsj.xz/gps/#/jumplogin?idcard=${skjm}`;
window.open(path, "_blank");
}
},
toDetail(url, PARAMS) {
......
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