Commit 1fac2288 by xue_wengang

Update detailHbyp.vue

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