Commit c2129a11 by lp784568205

提交代码

parent 213a67dc
......@@ -7,10 +7,15 @@
<div class="bottom"></div>
</div>
</div> -->
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="标识号管理" name="bshgl">
<div class="Content paneDiv paneDiv2" style="margin: 8px 20px">
<div class="Content paneDiv paneDiv2" style="margin: 8px 20px 0 22px">
<div class="cxtjWrap">
<el-row>
<el-col :span="24">
<span class="flTtitle" style="padding-left: 20px">查询条件</span>
</el-col>
</el-row>
<el-form
label-position="right"
label-width="140px"
......@@ -224,7 +229,7 @@
<div class="">
<el-row style="width: 99%; margin: 0 auto">
<el-col :span="24">
<span class="flTtitle">案件信息</span>
<span class="flTtitle">信息列表</span>
<!--可配置化图标-->
<div class="total">
<span> {{ tableDataLength }} </span>
......@@ -246,10 +251,11 @@
</el-row>
<!--表格-->
<div v-loading="tableLoading">
<el-table
v-if="pageShow"
id="ajzbQuery"
v-loading="tableLoading"
element-loading-text="拼命加载中"
:key="key"
ref="itsmDataTable"
......@@ -362,6 +368,7 @@
<!--分页-->
<el-pagination
background
v-if="activeName == 'bshgl'"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage1"
......@@ -369,15 +376,20 @@
:page-size="page_size"
layout="sizes,prev, pager, next"
:total="tableDataLength"
v-if="pageShow"
>
</el-pagination>
</div>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="白名单管理" name="bmdgl">
<div class="Content paneDiv paneDiv2" style="margin: 8px 20px">
<div class="Content paneDiv paneDiv2" style="margin: 8px 20px 0 22px">
<div class="cxtjWrap">
<el-row>
<el-col :span="24">
<span class="flTtitle" style="padding-left: 20px">查询条件</span>
</el-col>
</el-row>
<el-form
label-position="right"
label-width="140px"
......@@ -591,7 +603,7 @@
<div class="">
<el-row style="width: 99%; margin: 0 auto">
<el-col :span="24">
<span class="flTtitle">案件信息</span>
<span class="flTtitle">信息列表</span>
<!--可配置化图标-->
<div class="total">
<span> {{ tableDataLength }} </span>
......@@ -613,10 +625,11 @@
</el-row>
<!--表格-->
<div v-loading="tableLoading">
<el-table
v-if="pageShow"
id="ajzbQuery"
v-loading="tableLoading"
id="ajzbQuery2"
element-loading-text="拼命加载中"
:key="key"
ref="itsmDataTable"
......@@ -728,17 +741,18 @@
</el-table>
<!--分页-->
<el-pagination
v-if="activeName == 'bmdgl'"
background
@size-change="handleSizeChangeBmd"
@current-change="handleCurrentChangeBmd"
:current-page.sync="currentPage1"
:current-page.sync="currentPage2"
:page-sizes="[10, 20, 50, 100]"
:page-size="page_size"
:page-size="page_size2"
layout="sizes,prev, pager, next"
:total="tableDataLength"
v-if="pageShow"
>
</el-pagination>
</div>
</div>
</div>
</el-tab-pane>
......@@ -797,7 +811,9 @@ export default {
pageBszfc: this.pageBs,
tableLoading: true, //loading
currentPage1: 1, //表格页码
currentPage2: 1, //表格页码2
page_size: 10, //每页显示多少条
page_size2: 10, //每页显示多少条2
// pageShow: this.pageShow, //是否显示分页
formData: this.cxFormData, //查询条件form
propQueryField: this.cxQueryField, //查询条件
......@@ -876,11 +892,13 @@ export default {
bshlx: scope.bshlx,
}).then((res) => {
if (res.code == 200) {
this.$message.success("生成线索组成功");
this.$message.success("添加白名单成功");
this.tableInfor = [];
window.location.reload();
// window.location.reload();
this.activeName = 'bmdgl'
this.doQueryBmd('yes')
} else if (res.data.result == "0") {
this.$message.error("生成线索组失败");
this.$message.error("添加白名单失败");
}
});
})
......@@ -995,16 +1013,6 @@ export default {
showLoading() {
this.tableLoading = true;
},
handleSizeChange(val) {
this.page_size = val;
this.formData.rows = val;
this.doQuery("yes");
},
handleSizeChangeBmd(val) {
this.page_size = val;
this.formData.rows = val;
this.doQueryBmd("yes");
},
clearData() {
let self = this;
for (let i in self.formData) {
......@@ -1042,13 +1050,25 @@ export default {
});
return arr;
},
handleSizeChange(val) {
this.page_size = val;
this.formData.rows = val;
this.doQuery("yes");
},
//新加的切换页码
handleSizeChangeBmd(val) {
this.page_size2 = val;
this.formData.rows = val;
this.doQueryBmd("yes");
},
handleCurrentChange(val) {
this.currentPage1 = val;
this.formData.page = val;
this.doQuery("yes");
},
//新家的翻页
handleCurrentChangeBmd(val) {
this.currentPage1 = val;
this.currentPage2 = val;
this.formData.page = val;
this.doQueryBmd("yes");
},
......@@ -1075,6 +1095,7 @@ export default {
doQuery(flag) {
let self = this,
formDatas = {};
this.showLoading()
for (let i in self.formData) {
if (i != "cxSj") {
formDatas[i] = self.formData[i];
......@@ -1093,6 +1114,13 @@ export default {
response.data.rows || response.data.data || response.data.result;
self.tableDataLength = response.data.total;
self.tPage = Math.ceil(response.data.total / self.page_size);
self.tableData.map((item) => {
this.propQueryField[1].codeOptions.map((good) => {
if(item.bshlx == good.id) {
item.bshlxStr = good.label.substring(0,good.label.length-4)
}
})
})
self.closeLoading();
} else {
/*self.$message({
......@@ -1104,6 +1132,7 @@ export default {
});
}
},
doQueryBmd(flag) {
this.showLoading();
let self = this,
......@@ -1119,13 +1148,22 @@ export default {
}
}
if (flag) {
post(this.cxUrlBmd, formDatas).then((response) => {
formDatas.page = this.currentPage2
formDatas.rows = this.page_size2
post(this.cxUrlBmd, formDatas).then((response) => {
if (response.code == 200) {
debugger;
self.tableData =
response.data.rows || response.data.data || response.data.result;
self.tableDataLength = response.data.total;
self.tPage = Math.ceil(response.data.total / self.page_size);
self.tableData.map((item) => {
this.propQueryField[1].codeOptions.map((good) => {
if(item.bshlx == good.id) {
item.bshlxStr = good.label.substring(0,good.label.length-4)
}
})
})
self.closeLoading();
} else {
/*self.$message({
......@@ -1233,11 +1271,12 @@ export default {
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
/deep/.el-tabs__header.is-top {
margin-top: 20px;
margin-top: 10px;
margin-bottom: -13px;
background-color: #fff;
width: 97.5%;
margin-left: 20px;
width: 97.2%;
margin-left: 22px;
/*margin-right: 22px;*/
border-bottom: 0px solid;
border-radius: 8px;
z-index: 200;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div class="Content">
<right-content :cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:pageBs='pageBs'
ref="rightContent"
></right-content>
<right-content :cxFormData="cxFormData" :cxQueryField="cxQueryField" :cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl" :pageBs='pageBs' ref="rightContent"></right-content>
</div>
</template>
......@@ -22,13 +17,15 @@ export default {
},
data() {
return {
pageBs:'queryAj',
pageBs: 'queryAj',
cxFormData: {
asjbh: '',
ajmc: '',
asjkssj: '',
asjjssj: '',
ladw: '',
asjbh: '',
ajmc: '',
asjkssj: '',
asjjssj: '',
ladwdm: '',
limit: 10,
page: 1,
},
cxQueryField: [
{
......@@ -93,21 +90,30 @@ export default {
prop: 'ajlbdmMc',
},
{
label: '小案类别',
label: '小类案别代码',
prop: 'ajzlb',
},
{
label: '小类案别',
prop: 'ajzlbMc',
},
{
label: '细案类别',
label: '细类案别代码',
prop: 'ajxzlb',
},
{
label: '细类案别',
prop: 'ajxzlbMc',
},
{
label: '案发时间',
prop: 'asjfssjAsjfskssj',
},
{
label: '不合格原因',
prop: 'ms',
},
{
label: '不合格原因',
prop: 'ms',
},
{
label: '简要案情',
prop: 'jyaq',
......@@ -137,16 +143,17 @@ export default {
this.$route.query.asjkssj
);
this.$set(this.cxFormData, "asjjssj", this.$route.query.asjjssj);
this.$set(this.cxFormData, "ladw", this.$route.query.ladw);
this.$set(this.cxFormData, "ladwdm", this.$route.query.ladw);
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
......@@ -154,38 +161,47 @@ export default {
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;
......
......@@ -333,7 +333,7 @@ export default {
// },
{
label: "串并依据",
prop: "bshlx(cbxgfwbzh)",
prop: "bshlx_cbxgfwbzh",
},
{
label: "串并时间",
......
......@@ -70,7 +70,7 @@ export default {
// },
{
label: '标识号类型',
prop: 'bshlx'
prop: 'bshlxStr'
// width: '280'
},
{
......
......@@ -204,7 +204,7 @@ export default {
},
{
label: "串并依据",
prop: "ryXm(rySfhm)",
prop: "ryXm_rySfhm",
},
// {
// label: "嫌疑人数",
......
......@@ -204,7 +204,7 @@ export default {
},
{
label: "串并依据",
prop: "ryXm(rySfhm)",
prop: "ryXm_rySfhm",
},
// {
// label: "嫌疑人数",
......
......@@ -130,18 +130,51 @@
codeTree: "CODE_AJLB_bz",
},
{
name: "破案状态",
id: "pazt",
type: "radio",
name: "发案时间",
id: "fasjStart",
id2: "fasjEnd",
type: "zdyDate",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "所有", val: "" },
{ label: "已破", val: "0" },
{ label: "未破", val: "1" },
],
},
{
name: "案件数",
id: "ajsStart",
id2: "ajsEnd",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "嫌疑人数",
id: "xyrStart",
id2: "xyrEnd",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "串并时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
// {
// name: "标识号",
// id: "cbxgfwbzh",
......@@ -163,41 +196,11 @@
// codeOptions: [],
// codeTree: "CODE_BLHLX",
// },
{
name: "嫌疑人数",
id: "xyrStart",
id2: "xyrEnd",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "案件数",
id: "ajsStart",
id2: "ajsEnd",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "案件线索来源",
id: "cbxsly",
type: "radio",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "全部", val: "" },
{ label: "本辖区", val: "bxq" },
{ label: "全省 ", val: "qs" },
],
},
......@@ -238,6 +241,7 @@
placeholder2: "请输入",
col: "3",
},
{
name: "破案数",
id: "paStart",
......@@ -249,13 +253,19 @@
placeholder2: "请输入",
col: "3",
},
{
name: "发案时间",
id: "fasjStart",
id2: "fasjEnd",
type: "zdyDate",
name: "破案状态",
id: "pazt",
type: "radio",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "所有", val: "" },
{ label: "已破", val: "0" },
{ label: "未破", val: "1" },
],
},
......@@ -271,13 +281,19 @@
},
{
name: "串并时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
name: "案件线索来源",
id: "cbxsly",
type: "radio",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "全部", val: "" },
{ label: "本辖区", val: "bxq" },
{ label: "全省 ", val: "qs" },
],
},
// {
// name: "标识号类型",
......@@ -312,7 +328,7 @@
{
label: "线索组名称",
prop: "cbajAjmc",
width: "250",
width: "450",
},
{
label: "案件数",
......@@ -344,8 +360,8 @@
// },
{
label: "串并依据",
prop: "bshlx(cbxgfwbzh)",
prop: "bshlx_cblx",
width: "200",
},
{
label: "串并时间",
......
......@@ -6,29 +6,36 @@
color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件</span>
<span>{{ titleProp }}</span>
</div>
<div class="header" v-if="bzType == '1'">
<div class="header" v-else-if="bzType == '1'">
<span><font color="#E6A23C">{{routeQuery.djsj}}</font>串并<font
color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件</span>
<span>{{ titleProp }}</span>
</div>
<div class="header" v-if="type == 'zwbzcbxs'">
<div class="header" v-else-if="type == 'zwbzcbxs'">
<span><font color="#E6A23C"></font><font color="#E6A23C">{{routeQuery.djsj}}</font>通过<font color="#E6A23C"></font><font
color="#E6A23C">{{routeQuery.ryXm}}({{routeQuery.cbxgfwbzh}})</font></font>串并<font
color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件</span>
<span>{{ titleProp }}</span>
</div>
<div class="header" v-if="type == 'dwbzcbxs'">
<div class="header" v-else-if="type == 'dwbzcbxs'">
<span><font color="#E6A23C"></font><font color="#E6A23C">{{routeQuery.djsj}}</font>通过<font color="#E6A23C">{{routeQuery.bshlx}}</font><font
color="#E6A23C">{{ JSON.parse(routeQuery.cbxgfwbzh).join(",") }}</font></font>串并<font
color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件</span>
<span>{{ titleProp }}</span>
</div>
<div class="header" v-if="type == 'rgcb'">
<div class="header" v-else-if="type == 'rgcb'">
<span><font color="#E6A23C">{{routeQuery.djsj}}</font>通过<font color="#E6A23C">人工</font>
串并<font color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件
</span>
<span>{{ titleProp }}</span>
</div>
<div class="header" v-else>
<span><font color="#E6A23C"></font><font color="#E6A23C">{{routeQuery.djsj}}</font>通过<font color="#E6A23C"></font><font
color="#E6A23C">{{routeQuery.ryXm}}{{routeQuery.bshlx}}({{routeQuery.cbxgfwbzh}})</font></font>串并<font
color="#E6A23C">{{routeQuery.cbxsypCbajs}}</font>起案件</span>
<span>{{ titleProp }}</span>
</div>
<right-content
:pageBs="pageBs"
:header="header"
......
......@@ -336,7 +336,7 @@
// },
{
label: "串并依据",
prop: "bshlx(cbxgfwbzh)",
prop: "bshlx_cbxgfwbzh",
},
{
label: "串并时间",
......
......@@ -204,7 +204,7 @@ export default {
},
{
label: "串并依据",
prop: "ryXm(rySfhm)",
prop: "ryXm_rySfhm",
},
// {
// label: "嫌疑人数",
......
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