Commit 978da8ac by lp784568205

修改单位字典码

parent dde31b67
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -420,6 +420,10 @@ export default {
cxUrl: String,
header: String,
pageFlag: String,
panelList: {
type: Array,
default: () => [],
},
},
data() {
return {
......@@ -442,18 +446,19 @@ export default {
propdefaultFormThead: this.cxDefaultFormThead, //表格表头
excelHeader: "案件标注",
cz: this.pageFlag,
navList: [
{
name: "案件标注信息",
path: "/queryAj",
isClock: false,
},
navList: this.panelList,
// [
// {
// name: "案件标注信息",
// path: "/queryAj",
// isClock: false,
// },
// {
// name: "标注查验信息",
// path: "/queryCheckAj",
// isClock: true,
// },
],
// ],
identitycard: JSON.parse(sessionStorage.getItem("userInfo")).identitycard,
isInclude: false,
active: "/queryAj",
......@@ -476,8 +481,8 @@ export default {
if (item.isClock && !this.isInclude) {
return;
} else {
this.active = item.path;
this.$router.push(item.path);
// this.active = item.path;
// this.$router.push(item.path);
}
},
goDetail(scope) {
......
......@@ -28,10 +28,21 @@
</el-col>
</el-row>
</div>
<div class="titleFlexG" style="width: 10%" v-if="bzztMs && bzztMs == '已标注'">
<el-tag style="font-size: 24px;color: #888;border:1px solid #888;">{{ bzztMs }}</el-tag>
<div
class="titleFlexG"
style="width: 10%"
v-if="bzztMs && bzztMs == '已标注'"
>
<el-tag
style="font-size: 24px; color: #888; border: 1px solid #888"
>{{ bzztMs }}</el-tag
>
</div>
<div class="titleFlexY" style="width: 10%" v-if="bzztMs && bzztMs == '未标注'">
<div
class="titleFlexY"
style="width: 10%"
v-if="bzztMs && bzztMs == '未标注'"
>
<el-tag style="font-size: 24px">{{ bzztMs }}</el-tag>
</div>
</div>
......@@ -44,11 +55,11 @@
<div class="leftBar" :class="topSamllCard">
<ul>
<li
v-for="item in barData"
:key="item.id"
ref="item.id"
:class="{ active: selectIndex === item.id }"
@click="halderTab(item.id)"
v-for="item in barData"
:key="item.id"
ref="item.id"
:class="{ active: selectIndex === item.id }"
@click="halderTab(item.id)"
>
{{ item.name }}
</li>
......@@ -94,10 +105,10 @@
<tr>
<td valign="top" width="80">简要案情:</td>
<td
colspan="3"
valign="top"
width="300"
v-html="jyaq"
colspan="3"
valign="top"
width="300"
v-html="jyaq"
></td>
</tr>
</table>
......@@ -113,9 +124,9 @@
<tr>
<td width="80">勘验编号:</td>
<td
width="300"
@click="toXk(xcbh)"
style="
width="300"
@click="toXk(xcbh)"
style="
cursor: pointer;
color: #096cc9;
white-space: nowrap;
......@@ -154,10 +165,10 @@
<div class="conTitleLeft conTitleleft" style="width: 40%">
<ul>
<li
v-for="data in ryList"
:key="data.ryid"
:class="{ liActive: selectIndex2 === data.ryid }"
@click="hanldRytab(data.ryid)"
v-for="data in ryList"
:key="data.ryid"
:class="{ liActive: selectIndex2 === data.ryid }"
@click="hanldRytab(data.ryid)"
>
{{ data.name }}
</li>
......@@ -169,18 +180,18 @@
<table v-for="(data, index) in xyrList1" :key="index">
<tr>
<td
rowspan="3"
style="text-align: center"
valign="top"
width="200"
rowspan="3"
style="text-align: center"
valign="top"
width="200"
>
<div class="demo-fit">
<div class="block">
<el-avatar
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
></el-avatar>
</div>
</div>
......@@ -205,26 +216,26 @@
</table>
</div>
<div
class="conContioner"
:class="topSamllCard"
v-show="shrqh"
style="style:width: 869px;"
class="conContioner"
:class="topSamllCard"
v-show="shrqh"
style="style:width: 869px;"
>
<table v-for="(data, index) in shrListqh" :key="index">
<tr>
<td
rowspan="4"
style="text-align: center"
valign="top"
width="200"
rowspan="4"
style="text-align: center"
valign="top"
width="200"
>
<div class="demo-fit">
<div class="block">
<el-avatar
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
></el-avatar>
</div>
</div>
......@@ -255,25 +266,25 @@
</table>
</div>
<div
class="conContioner"
:class="topSamllCard"
v-show="barrqh"
class="conContioner"
:class="topSamllCard"
v-show="barrqh"
>
<table v-for="(data, index) in barList" :key="index">
<tr>
<td
rowspan="3"
style="text-align: center"
valign="top"
width="200"
rowspan="3"
style="text-align: center"
valign="top"
width="200"
>
<div class="demo-fit">
<div class="block">
<el-avatar
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
shape="square"
:size="100"
fit="fill"
:src="'data:image/png;base64,' + data.zp"
></el-avatar>
</div>
</div>
......@@ -310,13 +321,12 @@
</div>
<div class="keywordCon">
<el-tag
type="warning"
v-for="data in word"
:key="data"
@click="wordHighlight(data)"
>{{ data }}
</el-tag
>
type="warning"
v-for="data in word"
:key="data"
@click="wordHighlight(data)"
>{{ data }}
</el-tag>
</div>
</el-card>
</div>
......@@ -328,8 +338,8 @@
<div class="conTitleLeft">标识号</div>
<div class="conTitleRighty">
<el-button
class="bianji"
@click="centerDialogVisible = true"
class="bianji"
@click="centerDialogVisible = true"
></el-button>
<el-button class="dell" @click="hanldDel"></el-button>
<el-button class="add" @click="addBsh"></el-button>
......@@ -339,9 +349,9 @@
<ul>
<li v-for="data in fwbzhList" :key="data.rcdid">
<span
style="width: 90%; display: flex"
@click="shrHighlight(data.gjc)"
><i
style="width: 90%; display: flex"
@click="shrHighlight(data.gjc)"
><i
:class="
data.rylx == '01'
? 'shrtype'
......@@ -349,91 +359,91 @@
? 'xyrtype'
: ''
"
></i
><i :class="data.bshlx"></i
><strong>{{ data.gjc }}</strong></span
></i
><i :class="data.bshlx"></i
><strong>{{ data.gjc }}</strong></span
>
<span style="width: 10%">
<i
class="el-icon-delete"
v-show="delShow"
@click="hanlDelete(data.rcdid)"
class="el-icon-delete"
v-show="delShow"
@click="hanlDelete(data.rcdid)"
></i>
</span>
</li>
</ul>
</div>
<el-dialog
title="标识号编辑"
:visible.sync="centerDialogVisible"
width="50%"
center
title="标识号编辑"
:visible.sync="centerDialogVisible"
width="50%"
center
>
<table class="bshTable">
<thead>
<tr>
<th>标识号</th>
<th>标识号详情</th>
<th>标识号类型</th>
<th style="width: 256px">人员类型</th>
</tr>
<tr>
<th>标识号</th>
<th>标识号详情</th>
<th>标识号类型</th>
<th style="width: 256px">人员类型</th>
</tr>
</thead>
<tbody>
<tr
<tr
v-for="(data, index) in fwbzhList"
:key="data.rcdid"
>
<td>
<el-input
>
<td>
<el-input
v-model="formLabelAlign[index]['gjc']"
placeholder="请输入"
></el-input>
</td>
<td>
<el-input
></el-input>
</td>
<td>
<el-input
v-model="formLabelAlign[index]['bshxq']"
placeholder="请输入"
></el-input>
</td>
<td>
<el-select
></el-input>
</td>
<td>
<el-select
v-model="formLabelAlign[index]['bshlx']"
clearable
placeholder="请选择"
>
<el-option
>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</td>
<td>
<el-select
>
</el-option>
</el-select>
</td>
<td>
<el-select
v-model="formLabelAlign[index]['rylx']"
clearable
placeholder="请选择"
>
<el-option
>
<el-option
v-for="item in options1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</td>
</tr>
>
</el-option>
</el-select>
</td>
</tr>
</tbody>
</table>
<span slot="footer" class="dialog-footer">
<el-button @click="centerDialogVisible = false"
>取 消</el-button
>取 消</el-button
>
<el-button type="primary" @click="handSumit()"
>确 定</el-button
>确 定</el-button
>
</span>
</el-dialog>
......@@ -446,7 +456,7 @@
<div class="grid-content bg-purple">
<el-card v-if="!bzFlag" class="box-card">
<div class="incidentTitle incidentTitle1">
<span style="font-size:15px">案事件标注</span>
<span style="font-size: 15px">案事件标注</span>
<div class="btn" @click="hanldTableBar()">重置</div>
</div>
<!-- <div class="incidentBtn">
......@@ -485,21 +495,21 @@
</div> -->
<div class="incidentConRight">
<div class="search">
<span style="font-size:15px">小案类别</span>
<span style="font-size: 15px">小案类别</span>
<el-input placeholder="关键词检索" v-model="filterText">
</el-input>
</div>
<div class="tree">
<el-tree
class="filter-tree"
:highlight-current="true"
node-key="id"
:data="laData"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree3"
@node-click="lzHandleNodeClick"
class="filter-tree"
:highlight-current="true"
node-key="id"
:data="laData"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree3"
@node-click="lzHandleNodeClick"
>
</el-tree>
</div>
......@@ -507,46 +517,42 @@
<div class="incidentConRight">
<div class="search">
<span style="font-size:15px">细案类别</span>
<span style="font-size: 15px">细案类别</span>
<el-input placeholder="关键词检索" v-model="filterText2">
</el-input>
</div>
<div class="tree">
<el-tree
class="filter-tree"
:highlight-current="true"
node-key="id"
:data="xaData"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree2"
@node-click="xaHandleNodeClick"
class="filter-tree"
:highlight-current="true"
node-key="id"
:data="xaData"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree2"
@node-click="xaHandleNodeClick"
>
</el-tree>
</div>
</div>
</div>
<div class="wcbzButton">
<el-button
type="primary"
@click="submitBz"
v-if="isCheck != 'Check'"
>完成标注
</el-button
>
type="primary"
@click="submitBz"
v-if="isCheck != 'Check'"
>完成标注
</el-button>
<el-button
type="primary"
@click="bjBack"
v-if="isCheck == 'Check' && bzzt == 1 && !bzztFlag"
>退回
</el-button
>
type="primary"
@click="bjBack"
v-if="isCheck == 'Check' && bzzt == 1 && !bzztFlag"
>退回
</el-button>
<el-button type="warning" @click="bzDetail"
>查看标注详情
</el-button
>
>查看标注详情
</el-button>
</div>
</el-card>
<el-card v-else class="box-card">
......@@ -560,16 +566,16 @@
<span>{{ ajlbdmStr }}</span>
</div>
<div
class="bztag2"
style="margin: 40px 0 0 60px"
v-show="bzxqtag2"
class="bztag2"
style="margin: 40px 0 0 60px"
v-show="bzxqtag2"
>
<span>{{ ajxzlbStr }}</span>
</div>
<div
class="bztag2"
style="margin: 40px 0 0 120px"
v-show="bzxqtag3"
class="bztag2"
style="margin: 40px 0 0 120px"
v-show="bzxqtag3"
>
<span>{{ ajxlbStr }}</span>
</div>
......@@ -589,74 +595,74 @@
<el-footer style="20px"></el-footer>
</el-container>
<el-dialog
title="标识号新增"
:visible.sync="centerDialogVisibles1"
width="800px"
center
v-drag="elementPos"
title="标识号新增"
:visible.sync="centerDialogVisibles1"
width="800px"
center
v-drag="elementPos"
>
<table class="bshTable">
<thead>
<tr>
<th>标识号</th>
<th>标识号详情</th>
<th>标识号类型</th>
<th style="width: 256px">人员类型</th>
</tr>
<tr>
<th>标识号</th>
<th>标识号详情</th>
<th>标识号类型</th>
<th style="width: 256px">人员类型</th>
</tr>
</thead>
<tbody>
<tr v-for="(data, index) in formLabelAlign2" :key="data.rcdid">
<!-- <td>{{ data.gjc }}</td> -->
<td>
<el-input
<tr v-for="(data, index) in formLabelAlign2" :key="data.rcdid">
<!-- <td>{{ data.gjc }}</td> -->
<td>
<el-input
v-model="formLabelAlign2[index]['gjc']"
placeholder="请输入"
></el-input>
</td>
<td>
<el-input
></el-input>
</td>
<td>
<el-input
v-model="formLabelAlign2[index]['bshxq']"
placeholder="请输入"
></el-input>
</td>
<td>
<el-select
></el-input>
</td>
<td>
<el-select
v-model="formLabelAlign2[index]['bshlx']"
clearable
placeholder="请选择"
>
<el-option
>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</td>
<td>
<el-select
>
</el-option>
</el-select>
</td>
<td>
<el-select
v-model="formLabelAlign2[index]['rylx']"
clearable
placeholder="请选择"
>
<el-option
>
<el-option
v-for="item in options1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</td>
</tr>
>
</el-option>
</el-select>
</td>
</tr>
</tbody>
</table>
<span slot="footer" class="dialog-footer">
<el-button
class="el-icon-edit"
style="float: left"
@click="addButton"
class="el-icon-edit"
style="float: left"
@click="addButton"
></el-button>
<el-button @click="cancel">取 消</el-button>
<el-button type="primary" @click="handSumits()">确 定</el-button>
......@@ -669,18 +675,18 @@
</span>
</el-dialog>
<el-dialog title="描述" :visible.sync="dialogVisible" width="30%">
<div style="padding:10px">
<div style="padding: 10px">
<el-input
type="textarea"
:rows="2"
placeholder="请输入内容"
v-model="textarea"
type="textarea"
:rows="2"
placeholder="请输入内容"
v-model="textarea"
>
</el-input>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="dialogVisible = false"
>取 消</el-button
>取 消</el-button
>
<el-button @click="cz">确认</el-button>
</span>
......@@ -703,9 +709,10 @@ import {
getBarxxList,
deleteBsh,
updateBzStatus,
initAjlbTree
initAjlbTree,
} from "@/api/ajbzDetail.js";
import {queryCodeByType} from "@/api/queryAj.js";
import axios from "@/utils/http.js";
import { queryCodeByType } from "@/api/queryAj.js";
export default {
name: "ajbzDetail",
......@@ -749,27 +756,27 @@ export default {
parentLb: {
parentId: "",
id: "",
childId: ""
childId: "",
}, //主类类别
centerDialogVisibles: false,
formLabelAlign: [],
formLabelAlign2: [],
barData: [
{id: 1, name: "案件信息"},
{id: 2, name: "现场信息"},
{id: 3, name: "人员"},
{ id: 1, name: "案件信息" },
{ id: 2, name: "现场信息" },
{ id: 3, name: "人员" },
],
tableBar: [
{key: 1, name: "盗窃案"},
{key: 2, name: "诈骗案"},
{key: 3, name: "抢劫案"},
{key: 4, name: "抢夺案"},
{key: 5, name: "招摇撞骗案"},
{ key: 1, name: "盗窃案" },
{ key: 2, name: "诈骗案" },
{ key: 3, name: "抢劫案" },
{ key: 4, name: "抢夺案" },
{ key: 5, name: "招摇撞骗案" },
],
ryList: [
{ryid: 1, name: "嫌疑人"},
{ryid: 2, name: "受害人"},
{ryid: 3, name: "报案人"},
{ ryid: 1, name: "嫌疑人" },
{ ryid: 2, name: "受害人" },
{ ryid: 3, name: "报案人" },
],
centerDialogVisible: false,
centerDialogVisible1: false,
......@@ -962,10 +969,10 @@ export default {
htms: "",
bzzt: "",
zatzjyqk: '',
zatzjyqk: "",
ajzlb: "",
ajxzlb: "",
ajxlb: '',
ajxlb: "",
};
},
created() {
......@@ -979,58 +986,74 @@ export default {
this.zaData = [];
this.laData = [];
this.xaData = [];
this.parentLb.id = "";
// this.parentLb.id = "";
this.parentLb.childId = "";
this.parentLb.parentId = "";
if (this.ajzlb != null && this.ajzlb != '') {
initAjlbTree({code: this.ajzlb, type: 'CODE_AJLB'}).then((res) => {
this.zaData = res.data.rows;
this.parentLb.parentId = this.ajzlb;
if (this.ajzlb != null && this.ajzlb != "") {
alert(1);
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
debugger;
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
console.log(this.laData);
this.parentLb.id = this.ajxzlb;
}
});
if (this.ajxzlb != null && this.ajxzlb != "") {
alert(2);
setTimeout(() => {
this.$refs.tree1.setCurrentKey(this.ajzlb);
}, 500)
})
if (this.$refs.tree3) {
this.$refs.tree3.setCurrentKey(this.ajxzlb);
}
}, 500);
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
return val;
}
});
console.log(this.xaData);
}
});
console.log(this.ajxlb);
if (this.ajxlb != null && this.ajxlb != "") {
alert(3);
if (this.ajxzlb != null && this.ajxzlb != '') {
initAjlbTree({code: this.ajxzlb, type: 'CODE_AJXZ'}).then((res) => {
this.laData = res.data.rows;
this.parentLb.id = this.ajxzlb;
setTimeout(() => {
this.$refs.tree3.setCurrentKey(this.ajxzlb);
}, 500)
})
if (this.ajxlb != null && this.ajxlb != '') {
initAjlbTree({code: this.ajxlb, type: 'CODE_AJXLB'}).then((res) => {
this.xaData = res.data.rows;
this.parentLb.childId = this.ajxlb;
setTimeout(() => {
this.$refs.tree2.setCurrentKey(this.ajxlb);
}, 500)
})
this.$refs.tree2.setCurrentKey(this.ajxlb);
}, 500);
} else {
queryCodeByType({type: 'CODE_AJXLB', id: this.ajxzlb}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.xaData = res.rows;
}
} else {
// let ajxzId = this.ajzlb + "0000";
alert(22);
axios
.get(`JsonData/CODE_AJXLB.json`)
.then((response) => {
if (response.success === true) {
console.log(respi);
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
return val;
}
});
}
}).catch((err) => {
})
.catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
}
} else {
let ajxzId = this.ajzlb + '0000';
queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.laData = res.rows;
}
}).catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
}
} else {
alert(11);
this.getQuery();
}
console.log(this.parentLb);
......@@ -1054,18 +1077,21 @@ export default {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
});
}).then(() => {});
}
},
toXk() {
window.open(this.xcbhUrl, "_blank");
},
submitBz() {
if ((this.parentLb.parentId == null || this.parentLb.parentId == '') &&
(this.parentLb.id == null || this.parentLb.id == '') &&
(this.parentLb.childId == null || this.parentLb.childId == '')) {
this.$message.error("未找到有效的标注数据,请选择案件类别后再进行标注保存");
if (
(this.parentLb.parentId == null || this.parentLb.parentId == "") &&
(this.parentLb.id == null || this.parentLb.id == "") &&
(this.parentLb.childId == null || this.parentLb.childId == "")
) {
this.$message.error(
"未找到有效的标注数据,请选择案件类别后再进行标注保存"
);
return;
}
this.$confirm("此操作将进行案件标注, 是否继续?", "提示", {
......@@ -1081,22 +1107,25 @@ export default {
// asjbzAjfl: self.parentLb.parentId.substring(0,2),
// ajzlb: self.parentLb.parentId,
// ajxzlb: self.parentLb.id,
ajzlb: self.parentLb.parentId,
ajzlb: this.ajzlb,
zatzjyqk: self.parentLb.id,
ajxlb: self.parentLb.childId,
bzzt: "1",
}).then((res) => {
if (res.code == 200) {
self.$message.success("标注成功");
self.$confirm("点击确定关闭当前窗口", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "success",
}).then(() => {
window.close();
}).catch(() => {
//this.getBz()
});
self
.$confirm("点击确定关闭当前窗口", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "success",
})
.then(() => {
window.close();
})
.catch(() => {
//this.getBz()
});
} else {
self.$message.error("标注失败");
}
......@@ -1111,11 +1140,11 @@ export default {
self.bzztMs = res.data.rows.bzztMs;
if (res.data.rows.bzzt == "" && res.data.rows.htms) {
self.czmsdm1 = true;
self.bzztFlag = true
self.bzztFlag = true;
self.htms = res.data.rows.htms;
} else {
self.czmsdm1 = false;
self.bzztFlag = false
self.bzztFlag = false;
}
self.selectIndex1 = parseInt(res.data.rows.asjflzt);
if (res.data.rows != null) {
......@@ -1123,27 +1152,27 @@ export default {
self.ajxzlb = res.data.rows.ajxzlb;
self.ajxlb = res.data.rows.ajxlb;
if (
self.ajlbdmStr == "" ||
self.ajlbdmStr == null ||
self.ajlbdmStr == undefined
self.ajlbdmStr == "" ||
self.ajlbdmStr == null ||
self.ajlbdmStr == undefined
) {
self.bzxqtag1 = false;
} else {
self.bzxqtag1 = true;
}
if (
self.ajxzlbStr == "" ||
self.ajxzlbStr == null ||
self.ajxzlbStr == undefined
self.ajxzlbStr == "" ||
self.ajxzlbStr == null ||
self.ajxzlbStr == undefined
) {
self.bzxqtag2 = false;
} else {
self.bzxqtag2 = true;
}
if (
self.ajxlbStr == "" ||
self.ajxlbStr == null ||
self.ajxlbStr == undefined
self.ajxlbStr == "" ||
self.ajxlbStr == null ||
self.ajxlbStr == undefined
) {
self.bzxqtag3 = false;
} else {
......@@ -1160,20 +1189,20 @@ export default {
wordHighlight(val) {
var array = this.jyaq.split(val);
this.jyaq =
array[0] +
"<span style='background: orange;'>" +
val +
"</span>" +
array[1];
array[0] +
"<span style='background: orange;'>" +
val +
"</span>" +
array[1];
},
shrHighlight(val) {
var array = this.jyaq.split(val);
this.jyaq =
array[0] +
"<span style='background: orange;'>" +
val +
"</span>" +
array[1];
array[0] +
"<span style='background: orange;'>" +
val +
"</span>" +
array[1];
},
ajbzRrturn() {
//this.getBz();
......@@ -1237,15 +1266,16 @@ export default {
getAsjxxDetail({
asjbh: this.asjbh,
}).then((res) => {
debugger;
this.ajmc = res.data.rows.ajmc;
this.ajlbdmStr = res.data.rows.ajlbdmStr;
this.ajxzlbStr = res.data.rows.ajxzlbStr;
this.ajxlbStr = res.data.rows.ajxlbStr;
this.ajzlb = res.data.rows.ajzlb;
this.ajxzlb = res.data.rows.ajxzlb;
this.zatzjyqk = res.data.rows.zatzjyqk;
debugger;
this.ajxlb = res.data.rows.ajxlb;
this.asjfssjKssjStr = res.data.rows.asjfssjKssjStr;
......@@ -1257,34 +1287,39 @@ export default {
this.jyaq = res.data.rows.jyaq;
this.fxasjddDzmc = res.data.rows.fxasjddDzmc;
this.bzztMs = res.data.rows.bzztMs;
if (res.data.rows.bzzt == "" && res.data.rows.htms) {
this.czmsdm1 = true;
this.bzztFlag = true
this.bzztFlag = true;
this.htms = res.data.rows.htms;
} else {
this.czmsdm1 = false;
this.bzztFlag = false
this.bzztFlag = false;
}
this.selectIndex1 = parseInt(res.data.rows.asjflzt);
if (this.ajlbdmStr == "" ||
this.ajlbdmStr == null ||
this.ajlbdmStr == undefined) {
if (
this.ajlbdmStr == "" ||
this.ajlbdmStr == null ||
this.ajlbdmStr == undefined
) {
this.bzxqtag1 = false;
} else {
this.bzxqtag1 = true;
}
if (this.ajxzlbStr == "" ||
this.ajxzlbStr == null ||
this.ajxzlbStr == undefined) {
if (
this.ajxzlbStr == "" ||
this.ajxzlbStr == null ||
this.ajxzlbStr == undefined
) {
this.bzxqtag2 = false;
} else {
this.bzxqtag2 = true;
}
if (this.ajxlbStr == "" ||
this.ajxlbStr == null ||
this.ajxlbStr == undefined) {
if (
this.ajxlbStr == "" ||
this.ajxlbStr == null ||
this.ajxlbStr == undefined
) {
this.bzxqtag3 = false;
} else {
this.bzxqtag3 = true;
......@@ -1297,32 +1332,32 @@ export default {
this.$refs.tree1.setCurrentKey(res.data.rows.ajzlb);
});*/
}),
getXckyDetail({
asjbh: this.asjbh,
}).then((res) => {
this.xcbh = res.data.rows.xcbh;
this.xcbhUrl = `${res.data.rows.xckyurl}${res.data.rows.xcbh}`;
this.kydd = res.data.rows.kydd;
this.kysjks = res.data.rows.kysjks;
this.kysjjs = res.data.rows.kysjjs;
this.kyjcry = res.data.rows.kyjcry;
this.jd = res.data.rows.jd;
this.wd = res.data.rows.wd;
this.kyjcqknr = res.data.rows.kyjcqknr;
}),
getZbfzxyrxxList({
asjbh: this.asjbh,
}).then((res) => {
this.xyrList1 = res.data.rows;
}),
getGjcList({
asjbh: this.asjbh,
}).then((res) => {
let newData = res.data.rows.map((item) => {
return item.gjc;
});
this.word = newData.filter((item) => item != "");
getXckyDetail({
asjbh: this.asjbh,
}).then((res) => {
this.xcbh = res.data.rows.xcbh;
this.xcbhUrl = `${res.data.rows.xckyurl}${res.data.rows.xcbh}`;
this.kydd = res.data.rows.kydd;
this.kysjks = res.data.rows.kysjks;
this.kysjjs = res.data.rows.kysjjs;
this.kyjcry = res.data.rows.kyjcry;
this.jd = res.data.rows.jd;
this.wd = res.data.rows.wd;
this.kyjcqknr = res.data.rows.kyjcqknr;
}),
getZbfzxyrxxList({
asjbh: this.asjbh,
}).then((res) => {
this.xyrList1 = res.data.rows;
}),
getGjcList({
asjbh: this.asjbh,
}).then((res) => {
let newData = res.data.rows.map((item) => {
return item.gjc;
});
this.word = newData.filter((item) => item != "");
});
getFwbzhList({
asjbh: this.asjbh,
......@@ -1389,13 +1424,26 @@ export default {
}
},
getQuery() {
queryCodeByType({
type: "CODE_AJLB",
startId: "",
}).then((res) => {
this.zaData = this.sxdata1 = res.rows.filter((val) => {
return val.parentId != "";
});
// queryCodeByType({
// type: "CODE_AJLB",
// startId: "",
// }).then((res) => {
// this.zaData = this.sxdata1 = res.rows.filter((val) => {
// return val.parentId != "";
// });
// });
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows.filter((val) => {
return val.parentId != "";
});
}
});
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
console.log(response.data.rows);
this.laData = response.data.rows;
}
});
},
......@@ -1487,46 +1535,79 @@ export default {
this.parentLb.id = "";
this.parentLb.childId = "";
this.parentLb.parentId = res.id;
queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.zaData = res.rows;
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.zaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
if (response.success === true) {
this.zaData = response.data.rows;
}
}).catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
let ajxzId = res.id + '0000';
queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.laData = res.rows;
let ajxzId = res.id + "0000";
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows;
}
}).catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
},
xaHandleNodeClick(data) {
this.parentLb.childId = data.id;
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows.filter((val) => {
return val.id == data.parentId;
});
}
});
setTimeout(() => {
this.$refs.tree3.setCurrentKey(data.parentId);
}, 50);
},
lzHandleNodeClick(res) {
this.xaData = [];
this.parentLb.childId = "";
this.parentLb.id = res.id;
queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.laData = res.rows;
}
}).catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
if (res.rows != null && res.rows.length > 0) {
this.xaData = res.rows;
// queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
// if (response.success === true) {
// this.laData = response.data.rows;
// }
// });
// queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.xaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
return val.parentId == res.id;
});
}
}).catch((err) => {
console.log(err);
this.$message.error("数据加载失败");
});
},
......@@ -1550,36 +1631,36 @@ export default {
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
const loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
deleteBsh({
rcdid: val,
.then(() => {
const loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
deleteBsh({
rcdid: val,
}).then((res) => {
getFwbzhList({
asjbh: this.asjbh,
}).then((res) => {
getFwbzhList({
asjbh: this.asjbh,
}).then((res) => {
this.fwbzhList = res.data.rows;
this.shrList = res.data.rows.filter((item) => item.rylx == "01");
this.xyrList = res.data.rows.filter((item) => item.rylx == "02");
loading.close();
this.$message({
type: "success",
message: "删除成功!",
});
this.fwbzhList = res.data.rows;
this.shrList = res.data.rows.filter((item) => item.rylx == "01");
this.xyrList = res.data.rows.filter((item) => item.rylx == "02");
loading.close();
this.$message({
type: "success",
message: "删除成功!",
});
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
filterNode(value, data) {
if (!value) return true;
......
......@@ -6,6 +6,7 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:panelList="panelList"
></right-content>
</div>
</template>
......@@ -39,6 +40,13 @@ export default {
asjfsddDzmc: "",
zbrXm:"",
},
panelList: [
{
name: "案件标注信息",
path: "/queryAjHN",
isClock: false,
},
],
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
......@@ -62,12 +70,12 @@ export default {
{
name: "立案单位",
id: "Ladw_gajgjgdms",
type: "lazyCodeTreeDialog",
type: "CodeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
codeTree: "CODE_UNITHN",
},
{
name: "案件类别",
......
......@@ -6,6 +6,7 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:panelList="panelList"
></right-content>
</div>
</template>
......@@ -39,6 +40,13 @@ export default {
asjfsddDzmc: "",
zbrXm:"",
},
panelList: [
{
name: "案件标注信息",
path: "/queryAjNM",
isClock: false,
},
],
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
......@@ -62,12 +70,12 @@ export default {
{
name: "立案单位",
id: "Ladw_gajgjgdms",
type: "lazyCodeTreeDialog",
type: "CodeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
codeTree: "CODE_UNITNM",
},
{
name: "案件类别",
......
......@@ -5,6 +5,7 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:panelList="panelList"
></right-content>
</div>
</template>
......@@ -38,6 +39,13 @@ export default {
asjfsddDzmc: "",
zbrXm:"",
},
panelList: [
{
name: "案件标注信息",
path: "/queryAj",
isClock: false,
},
],
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
......
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