Commit 47faa1b8 by zhangzhijie

现勘跳转url变更

parent cbd9bd1e
......@@ -50,6 +50,9 @@ const updateBzStatus = params =>
const getPeopleFaceImgByUserIdCard = params =>
post(`/api/newAsjbz/getPeopleFaceImgByUserIdCard`, params);
const queryXckyUrl = param =>
get("/apiXcky/xcky/queryXckyUrl?type=1&number=" + param);
export {
getAsjxxDetail,
getXckyDetail,
......@@ -65,5 +68,6 @@ export {
getBarxxList,
deleteBsh,
updateBzStatus,
getPeopleFaceImgByUserIdCard
getPeopleFaceImgByUserIdCard,
queryXckyUrl
}
......@@ -848,6 +848,7 @@ import {
} from "@/api/ajbzDetail.js";
import axios from "@/utils/http.js";
import {asjbzSp, getEducationAndOccupation, saveAsjSsjz} from "@/views/neimengBZ/ajbzdetailNM.js";
import {queryXckyUrl} from "../../api/ajbzDetail";
export default {
......@@ -1267,8 +1268,16 @@ export default {
}
},
toXk(xcbh) {
let url = "http://26.3.4.162:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=" + xcbh
window.open(url, "_blank");
// let url = "http://26.3.4.162:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=" + xcbh
// window.open(url, "_blank");
queryXckyUrl(xcbh).then(res => {
if (res.code == 20000) {
let url = res.data.xckyUrl;
window.open(url)
} else {
this.$message.error(res.message)
}
})
},
submitBz() {
if (this.ajzlbList.indexOf(this.ajzlb) >= 0 && (this.parentLb.id == null || this.parentLb.id == "") && this.laData.length > 0) {
......
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