Commit b19d9e20 by zhangzhijie

新增标注统计模块,新增进入标注详情页时,案件类别,小案类别,细案类别默认选中的功能

parent 3faf0069
......@@ -28,6 +28,9 @@ postJson("/api/newAsjbz/updateBsh", params);
const saveAsjbzxx = params =>
post("/api/newAsjbz/saveAsjbzxx", params);
const initAjlbTree = params =>
post("/api/newAsjbz/initAjlbTree", params);
const getAsjbzxx = params =>
post("/api/newAsjbz/getAsjbzxx", params);
......@@ -53,9 +56,10 @@ export {
updateBsh,
insertFwbsh,
saveAsjbzxx,
initAjlbTree,
getAsjbzxx,
getRybhList,
getBarxxList,
deleteBsh,
updateBzStatus
}
\ No newline at end of file
}
......@@ -65,7 +65,7 @@
</div>
</div>
<div class="Content paneDiv paneDiv2">
<iframe :src="fineReportUrl" style="width: 100%;height: 700px" frameborder="0"></iframe>
<iframe v-if="iframeReload" :src="fineReportUrl" style="width: 100%;height: 700px" frameborder="0"></iframe>
</div>
<!-- 表格内容 -->
<!-- <div class="Content paneDiv paneDiv2">
......@@ -153,6 +153,7 @@ export default {
name: "bztj",
data() {
return {
iframeReload:false,
fineReportUrl: "",
tableLoading: false, // 表格loading
currentPage1: 1, //表格页码
......@@ -163,11 +164,12 @@ export default {
formData: {
asjfssjAsjfskssj: "",
asjfssjAsjfsjssj: "",
ladw:"",
},
// 输入框
BztjCxtj: [
{
name: "发案时间",
name: "立案日期",
id: "asjfssjAsjfskssj",
id2: "asjfssjAsjfsjssj",
type: "zdyDate",
......@@ -280,10 +282,17 @@ export default {
},
methods: {
getTjUrl() {
this.fineReportUrl = "http://localhost:8075/webroot/decision/view/report?viewlet=bztjDetail/bztj.cpt&op=view&";
this.iframeReload=false;
this.fineReportUrl = "http://10.100.17.124:9080/webroot/decision/view/report?viewlet=bztjDetail/bztj.cpt&op=view";
let userUnitcode = JSON.parse(sessionStorage.getItem("userInfo")).unitcode;
userUnitcode = '150000000000'
this.fineReportUrl = this.fineReportUrl + "tjdw=" + userUnitcode + "&" + "kssj=" + this.formData.asjfssjAsjfskssj + "&jssj=" + this.formData.asjfssjAsjfsjssj;
this.fineReportUrl = this.fineReportUrl + "&tjdw=" + userUnitcode
if (this.formData.asjfssjAsjfskssj != null && this.formData.asjfssjAsjfskssj != '') {
this.fineReportUrl = this.fineReportUrl + "&kssj=" + this.formData.asjfssjAsjfskssj
}
if (this.formData.asjfssjAsjfsjssj != null && this.formData.asjfssjAsjfsjssj != '') {
this.fineReportUrl = this.fineReportUrl + "&jssj=" + this.formData.asjfssjAsjfsjssj;
}
this.iframeReload=true;
},
formatDate(date) {
var y = date.getFullYear();
......
......@@ -14,7 +14,10 @@ export default {
if (res.code == 200) {
sessionStorage.setItem("token", "bearer " + res.data.accessToken);
sessionStorage.setItem("userInfo", JSON.stringify(res.data));
vm.$router.push("/queryAj");
if(vm.$router.currentRoute.query.type != null && vm.$router.currentRoute.query.type != ''){
let urlPath = "/"+vm.$router.currentRoute.query.type;
vm.$router.push(urlPath);
}
} else {
this.$confirm("未找到有效的用户信息!", {
confirmButtonText: "确定",
......
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