Commit dde31b67 by lp784568205

新增标注

parent 939b1377
...@@ -353,14 +353,18 @@ ...@@ -353,14 +353,18 @@
text-overflow: ellipsis; text-overflow: ellipsis;
" "
> >
{{ scope.row[columnTitle.prop] }} <img v-if="scope.row.bzzt != 1" src="../assets/img/bianji.png"/> {{ scope.row[columnTitle.prop] }}
<img
v-if="scope.row.bzzt != 1"
src="../assets/img/bianji.png"
/>
</div> </div>
<div v-else-if="columnTitle.prop == 'bzzt'"> <div v-else-if="columnTitle.prop == 'bzzt'">
<div v-if="scope.row[columnTitle.prop] == 1"> <div v-if="scope.row[columnTitle.prop] == 1">
<span>已标注</span> <span>已标注</span>
</div> </div>
<div v-if="scope.row[columnTitle.prop] != 1"> <div v-if="scope.row[columnTitle.prop] != 1">
<span style="color: #DC0000">未标注</span> <span style="color: #dc0000">未标注</span>
</div> </div>
<!-- {{ scope.row[columnTitle.prop] == 1 ? '已标注' : '未标注'}} --> <!-- {{ scope.row[columnTitle.prop] == 1 ? '已标注' : '未标注'}} -->
</div> </div>
...@@ -477,7 +481,7 @@ export default { ...@@ -477,7 +481,7 @@ export default {
} }
}, },
goDetail(scope) { goDetail(scope) {
if (this.pageBs == "queryCheckBj") { if (this.pageBszfc == "queryCheckBj") {
this.$router.pushToTab({ this.$router.pushToTab({
path: "ajbzDetail", path: "ajbzDetail",
query: { query: {
...@@ -487,13 +491,31 @@ export default { ...@@ -487,13 +491,31 @@ export default {
}, },
}); });
} else { } else {
this.$router.pushToTab({ if (this.pageBszfc == "queryAjNM") {
path: "ajbzDetail", this.$router.pushToTab({
query: { path: "queryAjNM",
asjbh: scope.asjbh, query: {
bzzt: scope.bzzt, asjbh: scope.asjbh,
}, bzzt: scope.bzzt,
}); },
});
} else if (this.pageBs == "queryAjHN") {
this.$router.pushToTab({
path: "ajbzDetailNM",
query: {
asjbh: scope.asjbh,
bzzt: scope.bzzt,
},
});
} else {
this.$router.pushToTab({
path: "ajbzDetail",
query: {
asjbh: scope.asjbh,
bzzt: scope.bzzt,
},
});
}
} }
}, },
export2Excel() { export2Excel() {
......
export default [ export default [
{ {
path: "/queryAjHN", path: "/queryAjHN",
name: "queryAjHN", name: "queryAjHN",
meta: { meta: {
title: "案件标注", title: "案件标注",
auth: 5 auth: 5
}, },
component: () => import("@/views/hainanBZ/queryAj.vue") component: () => import("@/views/hainanBZ/queryAjHN.vue")
}, },
{ {
path: "/ajbzDetailHN", path: "/ajbzDetailHN",
...@@ -14,10 +14,26 @@ export default [ ...@@ -14,10 +14,26 @@ export default [
meta: { meta: {
title: "案件标注详情页", title: "案件标注详情页",
auth: 5 auth: 5
}, },
component: () => import("@/views/hainanBZ/ajbzDetail.vue") component: () => import("@/views/hainanBZ/ajbzDetailHN.vue")
},
{
path: "/queryAjNM",
name: "queryAjNM",
meta: {
title: "案件标注",
auth: 5
},
component: () => import("@/views/neimengBZ/queryAjNM.vue")
},
{
path: "/ajbzDetailNM",
name: "ajbzDetailNM",
meta: {
title: "案件标注详情页",
auth: 5
},
component: () => import("@/views/neimengBZ/ajbzDetailNM.vue")
}, },
] ]
<template> <template>
<div class="Content"> <div class="Content">
<right-content <right-content
pageBs="queryAjHN"
:cxFormData="cxFormData" :cxFormData="cxFormData"
:cxQueryField="cxQueryField" :cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead" :cxDefaultFormThead="cxDefaultFormThead"
......
...@@ -704,7 +704,7 @@ import { ...@@ -704,7 +704,7 @@ import {
deleteBsh, deleteBsh,
updateBzStatus, updateBzStatus,
initAjlbTree initAjlbTree
} from "./ajbzdetailHN"; } from "./ajbzdetailNM";
import {queryCodeByType} from "@/api/queryAj.js"; import {queryCodeByType} from "@/api/queryAj.js";
export default { export default {
......
import {
get,
post,
postform,
postJson
} from "@/utils/http.js";
const getAsjxxDetail = params =>
post("/api/newAsjbz/getAsjxxDetail", params);
const getXckyDetail = params =>
post("/api/newAsjbz/getXckyDetail", params);
const getZbfzxyrxxList = params =>
post("/api/newAsjbz/getZbfzxyrxxList", params);
const getGjcList = params =>
post("/api/newAsjbz/getGjcList", params);
const getFwbzhList = params =>
post("/api/newAsjbz/getFwbzhList", params);
const updateBsh = params =>
postJson("/api/newAsjbz/updateBsh", params);
const insertFwbsh = params =>
postJson("/api/newAsjbz/insertFwbsh", 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);
const getRybhList = params =>
post("/api/newAsjbz/getRybhList", params);
const getBarxxList = params =>
post("/api/newAsjbz/getBarxxList", params);
const deleteBsh = params =>
post("/api/newAsjbz/deleteBsh", params);
const updateBzStatus = params =>
post(`/api/newAsjbz/CheckBackQuery`, params);
export {
getAsjxxDetail,
getXckyDetail,
getZbfzxyrxxList,
getGjcList,
getFwbzhList,
updateBsh,
insertFwbsh,
saveAsjbzxx,
initAjlbTree,
getAsjbzxx,
getRybhList,
getBarxxList,
deleteBsh,
updateBzStatus
}
\ No newline at end of file
<template>
<div class="Content">
<right-content
pageBs="queryAjNM"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
// import { getAsjxxDetail } from '@/api/ajbzDetail.js'
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxFormData: {
page: 1,
rows: 10,
asjbh: "",
Ladw_gajgjgdms: "",
lasjRqsjKssj: "",
lasjRqsjJssj: "",
asjfssjKssj: "",
asjfssjJssj: "",
xszalxdm: "",
xslalxdm: "",
xsclalxdm: "",
bzzt: "",
asjfsdd_xzqhdm: "",
ajlbdm: [],
jyaq: "",
asjfsddDzmc: "",
zbrXm:"",
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "案(事)件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
// {
// name: '案(事)件类别',
// id: 'ajlbdm',
// type: 'codeTreeDialog',
// props: [], //字典弹框需要的字段
// value: '',
// col: '3',
// codeOptions: [],
// codeTree: 'CODE_AJLB'
// },
{
name: "立案单位",
id: "Ladw_gajgjgdms",
type: "lazyCodeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "案件类别",
id: "xszalxdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_AJLBDM",
},
// {
// name: "小案类别",
// id: "xslalxdm",
// type: "lazyCodeTreeDialog",
// props: [], //字典弹框需要的字段
// value: "",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_AJXZ",
// },
{
name: "立案时间",
id: "lasjRqsjKssj",
id2: "lasjRqsjJssj",
type: "zdyDateD",
value: "",
col: "3",
},
{
name: "发案时间",
id: "asjfssjKssj",
id2: "asjfssjJssj",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "主办人",
id: "zbrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "标注状态",
id: "bzzt",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{label: "全部", val: ""},
{label: "已标注", val: "1"},
{label: "未标注", val: "2"},
],
},
// {
// name: "案件分类",
// id: "ajlbdm",
// type: "checkbox",
// value: "05000200",
// placeholder: "",
// col: "15",
// checkList: [
// { label: "盗窃", val: "05000200" },
// { label: "诈骗案", val: "05000300" },
// { label: "抢劫案", val: "05000100" },
// { label: "抢夺案", val: "05000400" },
// { label: "招摇撞骗案", val: "06010300" },
// ],
// },
// {
// name: "损失总价值",
// id: "ssjzMin",
// id2: "ssjzMax",
// type: "zdyText",
// value: "",
// col: "3",
// },
// {
// name: "案发地行政区划",
// id: "asjfsdd_xzqhdm",
// type: "codeTreeDialog",
// props: [], //字典弹框需要的字段
// value: "",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_XZQH",
// },
// {
// name: "案发地详址",
// id: "asjfsddDzmc",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "15",
// },
],
cxDefaultFormThead: [
{
label: "案件编号",
prop: "asjbh",
width: "250",
},
{
label: "标注状态",
prop: "bzzt",
width: "100",
},
{
label: "案件名称",
prop: "ajmc",
width: "300",
},
{
label: "案件类别",
prop: "ajlbdmMc",
width: "100",
},
// {
// label: "主案类别",
// prop: "ajzlbMc",
// width: "220",
// },
// {
// label: "标注员姓名",
// prop: "bzrXm",
// width: "200",
// },
// {
// label: "主办人",
// prop: "bzrXm",
// width: "200",
// },
// {
// label: "标注人单位",
// prop: "bzrDwdmMc",
// width: "220",
// },
{
label: "小案类别",
prop: "zatzJyqkStr",
width: "200",
},
{
label: "细案类别",
prop: "ajxlbStr",
width: "200",
},
// {
// label: '案发地点',
// prop: 'asjfsddDzmc',
// width: '280'
// },
// {
// label: '损失总价值',
// prop: 'ssjzrmby',
// width: '180'
// },
{
label: "主办人",
prop: "zbrXm",
width: "100",
},
{
label: "立案单位名称",
prop: "ladwGajgjgdmMc",
width: "300",
},
{
label: "立案时间",
prop: "larq",
width: "150",
},
// {
// label: '案发开始时间',
// prop: 'asjfssjAsjfskssj',
// width: '220'
// },
// {
// label: '简要案情',
// prop: 'jyaq',
// width: '220'
// }
],
cxUrl: "/newAsjbz/esAsjQuery",
};
},
methods: {
// getAj() {
// getAsjxxDetail({
// asjbh: "A1501000000AAAAAAA22201",
// }).then((res) => {
// console.log(res);
// });
// },
},
created() {
// this.getAj()
var thisYear = new Date().getFullYear();
var start = new Date("1/1/" + thisYear);
var defaultStart = this.$moment(start.valueOf()).format("YYYY-MM-DD");
this.cxFormData.lasjRqsjKssj = defaultStart
this.cxFormData.lasjRqsjJssj = this.$moment().format("YYYY-MM-DD");
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
background: #f3f3f3;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "../../assets/styles/rightContent.scss";
</style>
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