Commit 28cbd279 by liyuhang19990520

更改

parent 7b90aaee
{
"code":200,
"data":{
"rows":[
{
"ids":"1296720",
"label":"标识号串并",
"codeType":"CODE_CBYP_CBLX",
"text":"标识号串并",
"pId":"",
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"1296721",
"label":"模板串并",
"codeType":"CODE_CBYP_CBLX",
"text":"模板串并",
"pId":"",
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"1296722",
"label":"现勘串并",
"codeType":"CODE_CBYP_CBLX",
"text":"现勘串并",
"pId":"",
"id":"03",
"isParent":true,
"children":[
{
"ids":"1296723",
"label":"指纹串并",
"codeType":"CODE_CBYP_CBLX",
"text":"指纹串并",
"pId":"03",
"id":"0301",
"isParent":false,
"children":[]
},
{
"ids":"1296724",
"label":"DNA串并",
"codeType":"CODE_CBYP_CBLX",
"text":"DNA串并",
"pId":"03",
"id":"0302",
"isParent":false,
"children":[]
},
{
"ids":"1296725",
"label":"足迹串并",
"codeType":"CODE_CBYP_CBLX",
"text":"足迹串并",
"pId":"03",
"id":"0303",
"isParent":false,
"children":[]
},
{
"ids":"1296726",
"label":"分析串并",
"codeType":"CODE_CBYP_CBLX",
"text":"分析串并",
"pId":"03",
"id":"0304",
"isParent":false,
"children":[]
},
{
"ids":"1296727",
"label":"综合串并",
"codeType":"CODE_CBYP_CBLX",
"text":"综合串并",
"pId":"03",
"id":"0305",
"isParent":false,
"children":[]
},
{
"ids":"1296728",
"label":"视频串并",
"codeType":"CODE_CBYP_CBLX",
"text":"视频串并",
"pId":"03",
"id":"0306",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1296729",
"label":"人工串并",
"codeType":"CODE_CBYP_CBLX",
"text":"人工串并",
"pId":"",
"id":"09",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
{
"code":200,
"data":{
"rows":[
{
"ids":"1298940",
"label":"本辖区",
"codeType":"CODE_CBYP_KD",
"text":"本辖区",
"pId":"",
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"1298941",
"label":"本市",
"codeType":"CODE_CBYP_KD",
"text":"本市",
"pId":"",
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"1298942",
"label":"本省",
"codeType":"CODE_CBYP_KD",
"text":"本省",
"pId":"",
"id":"03",
"isParent":false,
"children":[]
},
{
"ids":"1298943",
"label":"跨省",
"codeType":"CODE_CBYP_KD",
"text":"跨省",
"pId":"",
"id":"04",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
{
"code":200,
"data":{
"rows":[
{
"ids":"31531",
"label":"投案自首",
"codeType":"CODE_ZHFS",
"text":"投案自首",
"pId":null,
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"31532",
"label":"群众扭送",
"codeType":"CODE_ZHFS",
"text":"群众扭送",
"pId":null,
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"31533",
"label":"抓获现行",
"codeType":"CODE_ZHFS",
"text":"抓获现行",
"pId":null,
"id":"03",
"isParent":false,
"children":[]
},
{
"ids":"31534",
"label":"巡逻盘查",
"codeType":"CODE_ZHFS",
"text":"巡逻盘查",
"pId":null,
"id":"04",
"isParent":false,
"children":[]
},
{
"ids":"31535",
"label":"设卡盘查",
"codeType":"CODE_ZHFS",
"text":"设卡盘查",
"pId":null,
"id":"05",
"isParent":false,
"children":[]
},
{
"ids":"31536",
"label":"摸底排查",
"codeType":"CODE_ZHFS",
"text":"摸底排查",
"pId":null,
"id":"06",
"isParent":false,
"children":[]
},
{
"ids":"31537",
"label":"守候",
"codeType":"CODE_ZHFS",
"text":"守候",
"pId":null,
"id":"07",
"isParent":false,
"children":[]
},
{
"ids":"31538",
"label":"出入境检查",
"codeType":"CODE_ZHFS",
"text":"出入境检查",
"pId":null,
"id":"08",
"isParent":false,
"children":[]
},
{
"ids":"31539",
"label":"追击堵截",
"codeType":"CODE_ZHFS",
"text":"追击堵截",
"pId":null,
"id":"09",
"isParent":false,
"children":[]
},
{
"ids":"31540",
"label":"警犬追踪",
"codeType":"CODE_ZHFS",
"text":"警犬追踪",
"pId":null,
"id":"10",
"isParent":false,
"children":[]
},
{
"ids":"31541",
"label":"定点抓捕",
"codeType":"CODE_ZHFS",
"text":"定点抓捕",
"pId":null,
"id":"11",
"isParent":false,
"children":[]
},
{
"ids":"31542",
"label":"境外抓捕",
"codeType":"CODE_ZHFS",
"text":"境外抓捕",
"pId":null,
"id":"12",
"isParent":false,
"children":[]
},
{
"ids":"31543",
"label":"其它",
"codeType":"CODE_ZHFS",
"text":"其它",
"pId":null,
"id":"99",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-08-25 19:21:14
* @LastEditTime: 2021-10-19 11:55:21
* @LastEditTime: 2021-10-20 15:20:59
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\cbyp.js
......@@ -63,6 +63,12 @@ export const insertXzRgcbxx = params =>
export const insertBshWhiteList = params =>
post(`${base.alyIP}/bshgl/insertBshWhiteList`, params);
//删除我收藏的案件
//删除我收藏的案件
export const deleteWscdaj = params =>
post(`${base.alyIP}/wscdaj/deleteWscdaj`, params);
export const addBatchWscdaj = params =>
post(`${base.alyIP}/wscdaj/addBatchWscdaj`, params);
export const wscdajQry = params =>
post(`${base.alyIP}/wscdaj/wscdajQry`, params);
......@@ -237,6 +237,9 @@
</div>
<span class="export-btn">
<el-button @click="newXsz()">新增线索组</el-button>
<el-button @click="wdsc()" type="primary" size="mini"
>添加到我的收藏</el-button
>
</span>
</div>
<!-- <span class="export-btn">
......@@ -380,6 +383,45 @@
v-if="pageShow"
>
</el-pagination>
<el-dialog
title="收藏描述"
:visible.sync="dialogFormVisible"
width="30%"
>
<el-form :model="form" ref="scForm">
<el-form-item
label="收藏描述"
label-width="80px"
style="margin: 10px 0"
prop="scms"
:rules="[
{ required: true, message: '请输入收藏描述', trigger: 'blur' },
]"
>
<el-input
type="textarea"
style="height: auto"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
v-model="form.scms"
>
</el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button
@click="
() => {
$set(form, 'scms', '');
dialogFormVisible = false;
}
"
>取 消</el-button
>
<el-button type="primary" @click="saveBtn">确 定</el-button>
</div>
</el-dialog>
</div>
</div>
</div>
......@@ -392,7 +434,7 @@ import LazySelectTreeDialog from "@c/lazy_treeCode_components.vue";
import Http from "@/utils/http.js";
import axios from "axios";
import { esAsjQuery } from "@/api/queryAj.js";
import { insertXzRgcbxx } from "@/api/cbyp.js";
import { insertXzRgcbxx, addBatchWscdaj } from "@/api/cbyp.js";
import { get, post, postform } from "@/utils/http.js";
export default {
......@@ -448,6 +490,10 @@ export default {
excelHeader: "案件标注",
cz: this.pageFlag,
multipleTable: [], // 复选框中每条数据
form: {
scms: "",
},
dialogFormVisible: false,
};
},
methods: {
......@@ -456,6 +502,36 @@ export default {
debugger;
this.multipleTable = val;
},
saveBtn() {
this.$refs.scForm.validate((boo) => {
if (boo) {
let asjbhArr = this.multipleTable.map((i) => i.asjbh);
addBatchWscdaj({
asjbhs: asjbhArr.join(","),
scms: this.form.scms,
}).then((res) => {
if (res.code == 200) {
this.$message.success("添加收藏成功");
this.dialogFormVisible = false;
this.$set(this.form, "scms", "");
} else {
this.$message.error(res.message);
}
});
}
});
},
wdsc() {
if (this.multipleTable.length <= 0) {
return this.$alert("请选择案件后操作", "信息", {
confirmButtonText: "确定",
type: "warning",
});
} else {
this.dialogFormVisible = true;
}
},
// 新增线索组
newXsz() {
debugger;
......@@ -605,6 +681,7 @@ export default {
) {
self.formData[i] = "";
}
if (i == "zars") delete self.formData[i];
}
if (self.formData["rows"]) self.formData["rows"] = 10;
if (self.formData["limit"]) self.formData["limit"] = 10;
......
......@@ -585,6 +585,10 @@ export default {
cbxszbhs: val.xszajbh,
}).then((res) => {
if (res.code == 200) {
this.$message({
type: "success",
message: "删除成功!",
});
this.doQuery("yes");
} else {
this.$message({
......@@ -592,11 +596,7 @@ export default {
message: "删除失败",
});
}
this.$options.methods.doQuery();
});
this.$message({
type: "success",
message: "删除成功!",
// this.$options.methods.doQuery();
});
})
.catch(() => {
......@@ -606,7 +606,7 @@ export default {
});
});
} else if (type == "add") {
debugger;
console.log(val);
this.$router.pushToTab({
path: "djwzba",
query: {
......@@ -705,7 +705,7 @@ export default {
});
post(this.cxUrl, formDatas).then((res) => {
if (res.code === 200) {
let result = res.data.rows || res.data.data
let result = res.data.rows || res.data.data;
result.forEach((item) => {
item.xszmc = `${item.cbajAjmc}(组号:${item.xszajbh})`;
item.cbajAjmc = `${item.cbajAjmc}(组号:${item.xszajbh})`;
......@@ -769,8 +769,8 @@ export default {
},
handleSizeChange(val) {
this.page_size = val;
if(this.formData.rows) this.formData.rows = val;
if(this.formData.limit) this.formData.limit = val;
if (this.formData.rows) this.formData.rows = val;
if (this.formData.limit) this.formData.limit = val;
this.doQuery("yes");
},
clearData() {
......@@ -788,8 +788,8 @@ export default {
self.formData[i] = "";
}
}
if(self.formData["rows"]) self.formData["rows"] = 10;
if(self.formData["limit"]) self.formData["limit"] = 10;
if (self.formData["rows"]) self.formData["rows"] = 10;
if (self.formData["limit"]) self.formData["limit"] = 10;
self.formData["page"] = 1;
},
formatJson(filterVal, jsonData) {
......
......@@ -401,7 +401,7 @@
</el-form>
<!--按钮-->
<div class="btm-btns" v-if="name !== 'toAddXlajRelated'">
<div class="btm-btns btnGrounp" v-if="name !== 'toAddXlajRelated'">
<el-button
type="primary"
size="small"
......@@ -426,10 +426,16 @@
<div class="">
<el-row style="width: 99%; margin: 0 auto">
<el-col :span="24">
<span class="flTtitle">案件信息</span>
<!--可配置化图标-->
<div class="total">
<span> {{ tableDataLength }} </span>
<div
style="
display: flex;
align-items: center;
justify-content: space-between;
"
>
<div>
<span class="flTtitle">信息列表</span>
<span class="flTotal">{{ tableDataLength }}条信息</span>
</div>
<span class="export-btn">
<div class="handleBtns" v-for="item in tableBtns" :key="item">
......@@ -464,6 +470,7 @@
<!-- >导出-->
<!-- </el-button>-->
</span>
</div>
</el-col>
</el-row>
......@@ -621,6 +628,7 @@
</template>
<script>
import Bus from '@/utils/Bus'
import SelectTree from "@c/tree_components.vue";
import SelectTreeDialog from "@c/treeCode_components.vue";
import LazySelectTreeDialog from "@c/lazy_treeCode_components.vue";
......@@ -687,8 +695,8 @@ export default {
// 添加
addAj(row) {
console.log(row);
var self = this
debugger
var self = this;
// debugger;
this.$confirm("确认添加案件?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -698,6 +706,7 @@ export default {
cbxgfwbzh: self.$route.query.cbxgfwbzh,
xszajbh: self.$route.query.xszajbh,
asjbh: row.asjbh,
addType: ''
}).then((res) => {
if (res.code == 200) {
self.$message.success("添加成功!");
......@@ -714,7 +723,7 @@ export default {
},
goDetail(scope) {
this.$router.pushToTab({
path: "ajbzDetail",
path: "/ajbzDetail",
query: {
asjbh: scope.asjbh,
},
......@@ -759,10 +768,12 @@ export default {
this.cxUrl(JSON.stringify(json)).then((response) => {
if (response.code === 200) {
require.ensure([], () => {
const { export_json_to_excel } = require("../../utils/Export2Excel");
const {
export_json_to_excel,
} = require("../../utils/Export2Excel");
const list = response.data.rows;
const data = self.formatJson(filterVal, list);
debugger;
// debugger;
export_json_to_excel(tHeader, data, self.excelHeader);
});
loading.close();
......@@ -896,7 +907,7 @@ export default {
let self = this,
json = {};
for (let i in self.formData) {
debugger
// debugger;
if (i == "ajlbdm") {
if (self.formData[i].length > 0) {
var str = "";
......
......@@ -10,6 +10,14 @@
}"
>
<div class="cxtjWrap">
<el-row>
<el-col :span="24">
<span class="flTtitle" v-if="name !== 'toAddXlajRelated'"
>查询条件</span
>
<span class="flTtitle" v-else></span>
</el-col>
</el-row>
<el-form
label-position="right"
label-width="140px"
......@@ -106,7 +114,7 @@
<!--文本域-->
<el-input
type="textarea"
autosize
:autosize="{ minRows: 2 }"
resize="none"
:placeholder="item.placeholder"
v-model="formData[item.id]"
......@@ -401,7 +409,7 @@
</el-form>
<!--按钮-->
<div class="btm-btns" v-if="name !== 'toAddXlajRelated'">
<div class="btm-btns btnGrounp" v-if="name !== 'toAddXlajRelated'">
<el-button
type="primary"
size="small"
......@@ -433,10 +441,16 @@
<div class="">
<el-row style="width: 99%; margin: 0 auto">
<el-col :span="24">
<div
style="
display: flex;
align-items: center;
justify-content: space-between;
"
>
<div>
<span class="flTtitle">案件信息</span>
<!--可配置化图标-->
<div class="total">
<span> {{ tableDataLength }} </span>
<span class="flTotal">{{ tableDataLength }}条信息</span>
</div>
<span class="export-btn">
<div class="handleBtns" v-for="item in tableBtns" :key="item">
......@@ -471,6 +485,7 @@
>导出
</el-button>
</span>
</div>
</el-col>
</el-row>
......@@ -627,6 +642,7 @@ export default {
LazySelectTreeDialog,
},
props: {
skey: String,
pageBs: String,
cxQueryField: {
type: Array,
......@@ -936,14 +952,17 @@ export default {
},
mounted() {
let self = this;
console.log(this.tableInfor, this.skey, 111111111111);
/*获取字典*/
this.getTreeData();
if (!this.tableInfor || this.tableInfor.length <= 0) {
if (this.skey == "add") {
self.doQuery("yes");
this.key = 1;
} else {
this.tableData = this.tableInfor;
this.pageShow = false;
this.tableDataLength = this.tableInfor.length;
this.key = 2;
this.closeLoading();
this.$nextTick(() => {
this.$refs.itsmDataTable.doLayout();
......@@ -982,6 +1001,7 @@ export default {
},
tableInfor: {
handler: function (val) {
console.log(this.key)
let self = this;
this.getTreeData();
if (this.name == "toAddXlajAdd") {
......@@ -1138,6 +1158,9 @@ export default {
border-bottom: 1px dashed $base-color;
}
}
.el-textarea {
height: auto !important;
}
.pageBtns {
> div {
display: inline-block;
......
......@@ -275,8 +275,9 @@
pageBs != 'queryXczj' &&
pageBs != 'llygl' &&
pageBs != 'zczltj' &&
pageBs != 'queryZjcl'&&
pageBs != 'wscdaj'
pageBs != 'queryZjcl' &&
pageBs != 'wscdaj' &&
pageBs != 'wscdajtj'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -415,6 +416,21 @@
@selection-change="handleSelectionChange"
>
<el-table-column
align="center"
label="操作"
v-if="pageBs == 'wscdajtj'"
:width="'200'"
>
<span
@click="$emit('sctjcb', scope)"
class="edit"
style="margin-right: 16px"
slot-scope="scope"
>添加</span
>
</el-table-column>
<el-table-column
type="selection"
width="55"
v-if="
......@@ -492,13 +508,22 @@
v-html="scope.row[columnTitle.prop]"
></span>
</div>
<div v-else-if="columnTitle.prop == 'zpbw' && columnTitle.type == 'select'">
<span v-if="scope.row[columnTitle.prop] == '1'">二代证(人像)</span>
<div
v-else-if="
columnTitle.prop == 'zpbw' && columnTitle.type == 'select'
"
>
<span v-if="scope.row[columnTitle.prop] == '1'"
>二代证(人像)</span
>
<span v-if="scope.row[columnTitle.prop] == '2'">正面照片</span>
<span v-if="scope.row[columnTitle.prop] == '3'">左侧面照片</span>
<span v-if="scope.row[columnTitle.prop] == '4'">右侧面照片</span>
<span v-if="scope.row[columnTitle.prop] == '5'">二代证(国徽)</span>
<span v-if="scope.row[columnTitle.prop] == '5'"
>二代证(国徽)</span
>
</div>
<div v-else-if="columnTitle.prop == 'xzgzryzt'"></div>
<div
v-else-if="
......@@ -718,6 +743,9 @@
: "查询"
}}
</div>
<div v-else-if="columnTitle.prop == 'sfcb'">
{{ scope.row[columnTitle.prop] == "1" ? "是" : "否" }}
</div>
<div v-else v-html="scope.row[columnTitle.prop]">
{{ columnTitle.prop }}
</div>
......@@ -746,7 +774,8 @@
pageBs == 'queryLklz' ||
pageBs == 'queryCklz' ||
pageBs == 'zjclrz' ||
pageBs == 'qjgnsyrz'
pageBs == 'qjgnsyrz' ||
pageBs == 'wscdajtj'
)
"
>
......@@ -763,7 +792,8 @@
pageBs == 'rwbdjs' ||
pageBs == 'queryRlqbxsSH' ||
pageBs == 'queryZjcl' ||
pageBs == 'llygl'
pageBs == 'llygl' ||
pageBs == 'wscdaj'
)
"
>修改</span
......
/*
* @Author: your name
* @Date: 2021-10-18 09:54:58
* @LastEditTime: 2021-10-19 18:32:33
* @LastEditTime: 2021-10-20 14:36:19
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\ajbz.js
......@@ -99,14 +99,7 @@ const menuLayouts = [
},
component: () => import("@/views/cbyp/xkcb.vue")
},
{
path: "/ajsx",
name: "ajsx",
meta: {
title: '案件筛选'
},
component: () => import("@/views/cbyp/ajsx.vue")
},
{
......@@ -118,15 +111,7 @@ const menuLayouts = [
},
component: () => import("@/views/cbyp/qgaj.vue")
},
{
path: "/hbxsz",
name: "hbxsz",
meta: {
title: "合并线索组",
auth: 5
},
component: () => import("@/views/cbyp/hbxsz.vue")
},
{
path: "/cbaAdd",
name: "cbaAdd",
......@@ -136,24 +121,7 @@ const menuLayouts = [
},
component: () => import("@/views/cbyp/cbaAdd.vue")
},
{
path: "/xzrgcb",
name: "xzrgcb",
meta: {
title: "新增人工串并",
auth: 5
},
component: () => import("@/views/cbyp/xzrgcb.vue")
},
{
path: "/toAddXlaj",
name: "toAddXlaj",
meta: {
title: "新增我的系列",
auth: 5
},
component: () => import("@/views/cbyp/toAddXlaj.vue")
},
{
path: "/qgxxxx",
name: "qgxxxx",
......@@ -163,45 +131,8 @@ const menuLayouts = [
},
component: () => import("@/views/cbyp/qgxxxx.vue")
},
{
path: "/tobjcba",
name: "tobjcba",
meta: {
title: "系列案件详情",
auth: 5
},
component: () => import("@/views/cbyp/tobjcba.vue")
},
{
path: "/djwzba",
name: "djwzba",
redirect: '/djwzba/xgaj',
meta: {
title: "登记为串并案",
auth: 5
},
component: () => import("@/views/cbyp/cba/djwzba.vue"),
children: [
{
path: "xgaj",
name: "xgaj",
meta: {
title: "相关案件",
auth: 5
},
component: () => import("@/views/cbyp/cba/xgaj.vue"),
},
{
path: "tjaj",
name: "tjaj",
meta: {
title: "添加案件",
auth: 5
},
component: () => import("@/views/cbyp/cba/tjaj.vue"),
}
]
}
];
export default {
......
......@@ -73,4 +73,109 @@ export default [
},
component: () => import("@/views/kyxs/yhkxs/qsAj.vue")
},
{
path: "/tobjcba",
name: "tobjcba",
meta: {
title: "系列案件详情",
auth: 5
},
component: () => import("@/views/cbyp/tobjcba.vue")
},
{
path: "/hbxsz",
name: "hbxsz",
meta: {
title: "合并线索组",
auth: 5
},
component: () => import("@/views/cbyp/hbxsz.vue")
},
{
path: "/xzrgcb",
name: "xzrgcb",
meta: {
title: "新增人工串并",
auth: 5
},
children: [
{
path: "scaj",
name: "scaj",
meta: {
title: "收藏",
auth: 5
},
component: () => import("@/views/cbyp/cba/scaj.vue"),
}
],
component: () => import("@/views/cbyp/xzrgcb.vue")
},
{
path: "/toAddXlaj",
name: "toAddXlaj",
meta: {
title: "新增我的系列",
auth: 5
},
children: [
{
path: "scaj",
name: "scaj",
meta: {
title: "收藏",
auth: 5
},
component: () => import("@/views/cbyp/cba/scaj.vue"),
}
],
component: () => import("@/views/cbyp/toAddXlaj.vue")
},
{
path: "/ajsx",
name: "ajsx",
meta: {
title: '案件筛选'
},
component: () => import("@/views/cbyp/ajsx.vue")
},
{
path: "/djwzba",
name: "djwzba",
redirect: '/djwzba/xgaj',
meta: {
title: "登记为串并案",
auth: 5
},
component: () => import("@/views/cbyp/cba/djwzba.vue"),
children: [
{
path: "xgaj",
name: "xgaj",
meta: {
title: "相关案件",
auth: 5
},
component: () => import("@/views/cbyp/cba/xgaj.vue"),
},
{
path: "tjaj",
name: "tjaj",
meta: {
title: "添加案件",
auth: 5
},
component: () => import("@/views/cbyp/cba/tjaj.vue"),
},
{
path: "scaj",
name: "scaj",
meta: {
title: "收藏",
auth: 5
},
component: () => import("@/views/cbyp/cba/scaj.vue"),
}
]
}
]
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-09-08 09:15:53
* @LastEditTime: 2021-09-08 16:35:47
* @LastEditors: your name
* @LastEditTime: 2021-10-20 18:16:35
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\store\modules\user.js
*/
......@@ -18,7 +18,7 @@ const state = {
topMenu: [],
Breadcrumbs: [],
leftMenu: [],
header:''
header: ''
};
const mutations = {
......
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.
......@@ -622,9 +622,16 @@ export default {
filterText1(val) {
this.$refs.tree1.filter(val);
},
loadingIndex() {
if (this.loadingIndex == 0) {
this.loading.close();
}
},
},
data() {
return {
loadingIndex: 0,
loading: "",
elementPos: {
left: null,
top: null,
......@@ -850,10 +857,10 @@ export default {
};
},
created() {
this.getQuery();
this.getQuerys();
this.query();
this.getBz();
this.getQuery("yes");
this.getQuerys("yes");
this.query("yes");
this.getBz("yes");
},
methods: {
toXk() {
......@@ -883,13 +890,17 @@ export default {
});
});
},
getBz() {
getBz(boo) {
var self = this;
if (boo) {
this.loadingIndex++;
}
getAsjbzxx({
asjbh: this.asjbh,
}).then((res) => {
self.bzztMs = res.data.rows.bzztMs;
self.selectIndex1 = parseInt(res.data.rows.asjflzt);
this.loadingIndex--;
if (res.data.rows != null) {
self.ajzlbStr = res.data.rows.ajzlbStr;
self.ajxzlbStr = res.data.rows.ajxzlbStr;
......@@ -996,11 +1007,21 @@ export default {
this.$set(self.formLabelAlign2, 0, []);
this.centerDialogVisibles1 = true;
},
query() {
query(boo) {
var self = this;
this.loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (boo) {
this.loadingIndex += 5;
}
getAsjxxDetail({
asjbh: this.asjbh,
}).then((res) => {
this.loadingIndex--;
this.ajmc = res.data.rows.ajmc;
this.ajlbdm_str = res.data.rows.ajlbdmStr;
this.asjfssjKssjStr = res.data.rows.asjfssjKssjStr;
......@@ -1012,10 +1033,11 @@ export default {
// if (this.ajlbdm_str == "" || this.ajlbdm_str == null) {
// this.ajlbdmSow = false;
// }
}),
});
getXckyDetail({
asjbh: this.asjbh,
}).then((res) => {
this.loadingIndex--;
this.xcbh = res.data.rows.xcbh;
this.xcbhUrl = `${res.data.rows.xckyurl}${res.data.rows.xcbh}`;
this.kydd = res.data.rows.kydd;
......@@ -1025,16 +1047,19 @@ export default {
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.loadingIndex--;
this.xyrList1 = res.data.rows;
console.log(this.xyrList1, "1765111");
}),
});
getGjcList({
asjbh: this.asjbh,
}).then((res) => {
this.loadingIndex--;
let newData = res.data.rows.map((item) => {
return item.gjc;
});
......@@ -1044,6 +1069,7 @@ export default {
getFwbzhList({
asjbh: this.asjbh,
}).then((res) => {
this.loadingIndex--;
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");
......@@ -1105,23 +1131,30 @@ export default {
self.$message.success("标识号修改成功");
}
},
getQuery() {
getQuery(boo) {
if (boo) {
this.loadingIndex++;
}
queryCodeByType({
type: "CODE_GABAJZLB",
startId: "",
}).then((res) => {
debugger;
this.loadingIndex--;
this.data1 = this.sxdata1 = res.rows.filter((val) => {
return val.parentId != "";
});
});
},
getQuerys() {
getQuerys(boo) {
if (boo) {
this.loadingIndex++;
}
queryCodeByType({
type: "CODE_GABAJXZLB",
startId: "",
}).then((res) => {
debugger;
this.loadingIndex--;
this.data = this.sxdata = res.rows;
});
},
......@@ -1144,6 +1177,12 @@ export default {
hanldRytab(val) {
console.log(val);
this.selectIndex2 = val;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (val == 1) {
this.ryqh = true;
this.shrqh = false;
......@@ -1152,6 +1191,7 @@ export default {
asjbh: this.asjbh,
}).then((res) => {
this.xyrList = res.data.rows;
loading.close();
});
} else if (val == 2) {
this.ryqh = false;
......@@ -1161,6 +1201,7 @@ export default {
asjbh: this.asjbh,
}).then((res) => {
this.shrListqh = res.data.rows;
loading.close();
});
} else if (val == 3) {
this.ryqh = false;
......@@ -1170,6 +1211,7 @@ export default {
asjbh: this.asjbh,
}).then((res) => {
this.barList = res.data.rows;
loading.close();
});
}
},
......@@ -1337,7 +1379,7 @@ export default {
.contioner {
width: calc(100% - 50px);
height: 980px;
background: #1f212c;
background: rgba(0, 0, 0, 0.6);
margin: 20px;
box-sizing: border-box;
}
......
......@@ -122,24 +122,6 @@ export default {
codeTree: "CODE_GABAJXZLB",
},
{
name: "作案时段",
id: "startTime",
id2: "endTime",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "作案地域",
id: "zady",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XZQH",
},
{
name: "作案人数",
id: "zars",
type: "radio",
......@@ -154,20 +136,6 @@ export default {
],
},
{
name: "性别",
id: "bhrxb",
type: "radio",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "未知性别", val: "1" },
{ label: "男", val: "2" },
{ label: "女", val: "3" },
{ label: "未说明的性别", val: "4" },
],
},
{
name: "年龄",
id: "bhrmlRange",
type: "radio",
......
<!--
* @Author: your name
* @Date: 2021-10-19 18:32:41
* @LastEditTime: 2021-10-19 18:32:42
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\cbyp\ajsx.vue
-->
<template>
<div class="Content" id="toAddXlaj">
<div class="topTitle">
<span>我的系列</span>
<div class="subTitle">
<div class="ajTitle" @click="cut('add')">添加案件</div>
<div :class="{ bottom: true, hidden: key !== 'add' }"></div>
</div>
<div class="subTitle" @click="cut('related')">
<div class="ajTitle">收藏案件</div>
<div :class="{ bottom: true, hidden: key !== 'related' }"></div>
</div>
</div>
<right-content
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:skey="key"
:pageBtns="pageBtns"
ref="rightContent"
:formType="formType"
@addTableEvent="addTableEvent"
@delTableItem="delTableItem"
@pageSave="pageSave"
:tableInfor="tableInfor"
:name="name"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ajbz/rgcb_wdxl/ptCxForm_components.vue";
import { insertCbzxx, addBatchWscdaj } from "@/api/cbyp.js";
import {
EsAsjQuery,
getTableTitleRedis,
EsShrQuery,
EsXyrQuery,
} from "@/api/dictionaryCode.js";
export default {
name: "toAddXlaj",
components: {
rightContent,
},
data() {
return {
pageBtns: ["add"],
formType: "haveTitle",
cxFormData: {
page: 1,
rows: 10,
asjbh: "",
sldwGajgjgdm: "",
asjfsddXzqhdm: "",
ajlbdm: "",
larqStart: "",
larqEnd: "",
asjfssjAsjfskssjStart: "",
asjfssjAsjfskssjEnd: "",
ajzlb: "",
ajxzlb: "",
xalbdmbcms: "",
zhfzxyrAsjxgrybh: "",
zhfzxyrCyzjZjhm: "",
zhfzxyrXm: "",
zhfzxyrCym: "",
zhfzxyrBmch: "",
zhfzxyrXbdm: "",
zhfzxyrCsrqRqgzxxStart: "",
zhfzxyrCsrqRqgzxxEnd: "",
zhfzxyrMzdm: "",
zhfzxyrGjdm: "",
zhfzxyrHjdzXzqhdm: "",
zhfzxyrXzzXzqhdm: "",
zhfzxyrTzMin: "",
zhfzxyrTzMax: "",
zhfzxyrZcMin: "",
zhfzxyrZcMax: "",
zhfsZhfsdm: "",
zhfzxyrFzxyrdaztdm: "",
zhfzxyrSfjsbrPdbz: "",
zhdwGajgjgdm: "",
zhrqStart: "",
zhrqEnd: "",
},
cxQueryField: [
{
title: "案件特征",
id: "1",
children: [
{
name: "案(事)件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "受理单位",
id: "sldwGajgjgdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_UNIT",
value: "",
col: "3",
},
{
name: "案发地行政区划",
id: "asjfsddXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "案(事)件类别",
id: "ajlbdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_AJLB",
value: "",
col: "3",
},
{
name: "立案时间",
id: "larqStart",
id2: "larqEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "案发时间",
id: "asjfssjAsjfskssjStart",
id2: "asjfssjAsjfskssjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "主案类别",
id: "ajzlb",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GABAJZLB",
value: "",
col: "3",
},
{
name: "类案类别",
id: "ajxzlb",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GABAJXZLB",
value: "",
col: "3",
},
// {
// name: "次类案类别",
// id: "xalbdmbcms",
// type: "code",
// codeOptions: [],
// codeTree: "CODE_XALBDMBCMS",
// value: "",
// col: "3",
// },
],
},
{
title: "人员特征",
id: "2",
children: [
{
name: "人员编号",
id: "zhfzxyrAsjxgrybh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件号码",
id: "zhfzxyrCyzjZjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "姓名",
id: "zhfzxyrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "曾用名",
id: "zhfzxyrCym",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "别名绰号",
id: "zhfzxyrBmch",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "性别",
id: "zhfzxyrXbdm",
type: "code",
codeOptions: [],
codeTree: "CODE_XB",
value: "",
col: "3",
},
{
name: "出生日期",
id: "zhfzxyrCsrqRqgzxxStart",
id2: "zhfzxyrCsrqRqgzxxEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "民族",
id: "zhfzxyrMzdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_MZ",
value: "",
col: "3",
},
{
name: "国籍",
id: "zhfzxyrGjdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GJ",
value: "",
col: "3",
},
{
name: "户籍地行政区划",
id: "zhfzxyrHjdzXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "现住址行政区划",
id: "zhfzxyrXzzXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "体重",
id: "zhfzxyrTzMin",
id2: "zhfzxyrTzMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "足长",
id: "zhfzxyrZcMin",
id2: "zhfzxyrZcMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "抓获方式",
id: "zhfsZhfsdm",
type: "codeTreeDialog",
codeOptions: [],
codeTree: "CODE_ZHFS",
value: "",
col: "3",
},
{
name: "人员状态",
id: "zhfzxyrFzxyrdaztdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
codeTree: "CODE_DAZT",
value: "",
col: "3",
},
{
name: "是否有精神病",
id: "zhfzxyrSfjsbrPdbz",
type: "select",
value: "",
placeholder: "请选择",
col: "3",
selectData: [
{ value: "1", name: "是" },
{ value: "0", name: "否" },
],
},
{
name: "抓获单位",
id: "zhdwGajgjgdm",
type: "codeTreeDialog", //字典弹框
codeTree: "CODE_UNIT",
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
value: "",
col: "3",
},
{
name: "抓获日期",
id: "zhrqStart",
id2: "zhrqEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
},
],
cxDefaultFormThead: [
{
label: "案件编号",
prop: "asjbh",
width: "220",
},
{
label: "案件类别",
prop: "ajlbdmMc",
width: "200",
},
{
label: "主案类别",
prop: "ajzlbMc",
width: "220",
},
{
label: "类案类别",
prop: "ajxzlbMc",
width: "220",
},
{
label: "案件名称",
prop: "ajmc",
width: "150",
},
{
label: "案发地点",
prop: "asjfsddDzmc",
width: "280",
},
{
label: "损失总价值",
prop: "ssjzrmby",
width: "180",
},
{
/*table默认得表头*/
label: "立案日期",
prop: "larq",
width: "200",
},
{
label: "立案单位名称",
prop: "ladwGajgjgdmMc",
width: "220",
},
{
label: "案发开始时间",
prop: "asjfssjAsjfskssj",
width: "220",
},
{
label: "简要案情",
prop: "jyaq",
width: "220",
},
],
cxUrl: EsAsjQuery,
selectItem: [],
tableInfor: [],
key: "add",
name: "toAddXlajAdd",
};
},
methods: {
/**
* @description: 点击添加表格内容添加到相关案件里面
* @param {*} arr
* @return {*}
*/
addTableEvent(arr) {
this.selectItem = arr;
this.$refs.rightContent.tableSelectItem = [];
this.$message.success("添加成功");
},
/**
* @description: 切换选项卡
* @param {*} key 选项卡key值
* @return {*}
*/
cut(key) {
this.key = key;
},
/**
* @description: 添加案件配置
* @param {*}
* @return {*}
*/
addPrps() {
this.tableInfor = [];
this.formType = "formType";
this.pageBtns = ["add"];
this.name = "toAddXlajAdd";
this.cxQueryField = [
{
title: "案件特征",
id: "1",
children: [
{
name: "案(事)件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "受理单位",
id: "sldwGajgjgdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_UNIT",
value: "",
col: "3",
},
{
name: "案发地行政区划",
id: "asjfsddXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "案(事)件类别",
id: "ajlbdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_AJLB",
value: "",
col: "3",
},
{
name: "立案时间",
id: "larqStart",
id2: "larqEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "案发时间",
id: "asjfssjAsjfskssjStart",
id2: "asjfssjAsjfskssjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "主案类别",
id: "ajzlb",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GABAJZLB",
value: "",
col: "3",
},
{
name: "类案类别",
id: "ajxzlb",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GABAJXZLB",
value: "",
col: "3",
},
// {
// name: "次类案类别",
// id: "xalbdmbcms",
// type: "code",
// codeOptions: [],
// codeTree: "CODE_XALBDMBCMS",
// value: "",
// col: "3",
// },
],
},
{
title: "人员特征",
id: "2",
children: [
{
name: "人员编号",
id: "zhfzxyrAsjxgrybh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件号码",
id: "zhfzxyrCyzjZjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "姓名",
id: "zhfzxyrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "曾用名",
id: "zhfzxyrCym",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "别名绰号",
id: "zhfzxyrBmch",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "性别",
id: "zhfzxyrXbdm",
type: "code",
codeOptions: [],
codeTree: "CODE_XB",
value: "",
col: "3",
},
{
name: "出生日期",
id: "zhfzxyrCsrqRqgzxxStart",
id2: "zhfzxyrCsrqRqgzxxEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "民族",
id: "zhfzxyrMzdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_MZ",
value: "",
col: "3",
},
{
name: "国籍",
id: "zhfzxyrGjdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_GJ",
value: "",
col: "3",
},
{
name: "户籍地行政区划",
id: "zhfzxyrHjdzXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "现住址行政区划",
id: "zhfzxyrXzzXzqhdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
codeTree: "CODE_XZQH",
value: "",
col: "3",
},
{
name: "体重",
id: "zhfzxyrTzMin",
id2: "zhfzxyrTzMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "足长",
id: "zhfzxyrZcMin",
id2: "zhfzxyrZcMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
{
name: "抓获方式",
id: "zhfsZhfsdm",
type: "code",
codeOptions: [],
codeTree: "CODE_ZHFS",
value: "",
col: "3",
},
{
name: "人员状态",
id: "zhfzxyrFzxyrdaztdm",
type: "codeTreeDialog", //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
codeTree: "CODE_DAZT",
value: "",
col: "3",
},
{
name: "是否有精神病",
id: "zhfzxyrSfjsbrPdbz",
type: "select",
value: "",
placeholder: "请选择",
col: "3",
selectData: [
{ value: "1", name: "是" },
{ value: "0", name: "否" },
],
},
{
name: "抓获单位",
id: "zhdwGajgjgdm",
type: "codeTreeDialog", //字典弹框
codeTree: "CODE_UNIT",
props: [], //字典弹框需要的字段
codeOptions: [],
placeholder: "请选择",
value: "",
col: "3",
},
{
name: "抓获日期",
id: "zhrqStart",
id2: "zhrqEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
},
];
this.cxFormData = {
page: 1,
rows: 10,
asjbh: "",
sldwGajgjgdm: "",
asjfsddXzqhdm: "",
ajlbdm: "",
larqStart: "",
larqEnd: "",
asjfssjAsjfskssjStart: "",
asjfssjAsjfskssjEnd: "",
ajzlb: "",
ajxzlb: "",
xalbdmbcms: "",
zhfzxyrAsjxgrybh: "",
zhfzxyrCyzjZjhm: "",
zhfzxyrXm: "",
zhfzxyrCym: "",
zhfzxyrBmch: "",
zhfzxyrXbdm: "",
zhfzxyrCsrqRqgzxxStart: "",
zhfzxyrCsrqRqgzxxEnd: "",
zhfzxyrMzdm: "",
zhfzxyrGjdm: "",
zhfzxyrHjdzXzqhdm: "",
zhfzxyrXzzXzqhdm: "",
zhfzxyrTzMin: "",
zhfzxyrTzMax: "",
zhfzxyrZcMin: "",
zhfzxyrZcMax: "",
zhfsZhfsdm: "",
zhfzxyrFzxyrdaztdm: "",
zhfzxyrSfjsbrPdbz: "",
zhdwGajgjgdm: "",
zhrqStart: "",
zhrqEnd: "",
};
this.formType = "haveTitle";
},
/**
* @description: 相关案件配置
* @param {*}
* @return {*}
*/
relatedProps() {
this.tableInfor = this.selectItem;
this.formType = "formType";
this.pageBtns = ["save", "off"];
this.name = "toAddXlajRelated";
this.cxQueryField = [
{
name: "收藏描述",
id: "cbxxms",
type: "textarea",
value: "",
placeholder: "请输入",
col: "15",
},
];
this.cxFormData = {
cbxxms: "",
};
this.haveTitle = null;
},
pageSave(form) {
// debugger;
let scms = form.cbxxms;
if (this.tableInfor.length <= 0 || !this.tableInfor) {
this.$message.error("请添加数据后进行操作");
} else if (!scms) {
this.$message.error("请填写收藏描述");
} else {
let asjbhArr = this.tableInfor.map((i) => i.asjbh);
addBatchWscdaj({
asjbhs: asjbhArr.join(","),
scms,
}).then((res) => {
if (res.code == "200") {
this.$message.success("添加收藏成功");
this.tableInfor = [];
this.cxFormData = {
cbxxms: "",
};
} else {
this.$message.error(res.message);
}
});
}
},
/**
* @description: 删除相关案件的表格内容
* @param {*} asjbh
* @return {*}
*/
delTableItem(asjbh) {
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
let index = this.tableInfor.findIndex((i) => i.asjbh == asjbh);
if (index >= 0) {
this.tableInfor.splice(index, 1);
this.$message({
type: "success",
message: "删除成功!",
});
}
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
},
watch: {
key(val) {
if (val == "add") {
this.addPrps();
} else {
this.relatedProps();
}
},
},
created() {},
};
</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";
.topTitle {
width: 100%;
height: 56px;
background: #0061f7;
display: flex;
align-items: center;
span {
font-size: 18px;
font-weight: bold;
line-height: 24px;
color: #ffffff;
margin-left: 35px;
}
.subTitle {
width: 138px;
margin-left: 90px;
text-align: center;
margin-top: 19px;
cursor: pointer;
.ajTitle {
font-size: 14px;
font-weight: 400;
color: #ffffff;
opacity: 1;
}
.bottom {
height: 4px;
background: #f1970f;
opacity: 1;
margin-top: 7px;
}
.hidden {
visibility: hidden;
}
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-25 09:47:35
* @LastEditTime: 2021-10-19 16:13:21
* @LastEditTime: 2021-10-20 15:10:09
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\cba\djwzba.vue
......@@ -49,6 +49,7 @@ export default {
routerList: [
{ path: "/djwzba/xgaj", title: "相关案件" },
{ path: "/djwzba/tjaj", title: "添加案件" },
{ path: "/djwzba/scaj", title: "收藏案件" },
// { path: '/djwzba/', title: '我的收藏案件' }
],
cxFormData: {
......@@ -90,6 +91,7 @@ export default {
},
],
selectedArr: [],
selectAsjbhs: [],
restFlag: false,
};
},
......@@ -100,6 +102,9 @@ export default {
cbmcList.forEach((element) => {
this.selectedArr.push(element.ajmc);
});
cbmcList.forEach((element) => {
this.selectAsjbhs.push(element.asjbh);
});
// this.str = arr.join(',')
});
Bus.$on("reset", () => {
......@@ -110,17 +115,27 @@ export default {
},
methods: {
async saveAj() {
console.log(this.cxFormData.cblx);
let cblx = null;
let asjbhs = null;
if (this.cxFormData.cblx.length) {
cblx = this.cxFormData.cblx.join(",");
}
if (this.selectedArr.length <= 0) {
this.$message.error("请选择相关案件");
return;
} else {
asjbhs = this.selectAsjbhs.join(",");
console.log(asjbhs);
}
console.log(this.cxFormData, cblx);
if (this.cxFormData.cbmc && cblx && this.cxFormData.cbxxms) {
let obj = {
cbmc: this.cxFormData.cbmc,
cblx: cblx,
cbxxms: this.cxFormData.cbxxms,
glxxXszajbh: this.$route.query.xszajbh,
asjbhs,
flag: "",
};
let res = await addxszglasj(obj);
console.log(res);
......@@ -187,8 +202,8 @@ export default {
font-size: 16px;
background: #fff;
border-bottom: 1px dashed #ccc;
padding: 0 8px;
margin-bottom: 5px;
margin: 0 20px 0;
.tabItem {
height: 100%;
line-height: 40px;
......
<!--
* @Author: your name
* @Date: 2021-09-11 10:30:21
* @LastEditTime: 2021-10-20 17:34:55
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xsjsdb\queryrwbd.vue
-->
<template>
<div class="rightContent">
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@sctjcb="sctjcb"
ref="rightContent"
></right-content>
<!-- 反馈信息 -->
</div>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { insertCbxsajxx } from "@/api/cbyp.js";
import Bus from "@/utils/Bus";
export default {
name: "queryRwbd",
components: {
rightContent,
},
data() {
return {
header: "我收藏的案件",
pageBs: "wscdajtj",
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
djsjStart: "",
djsjEnd: "",
sfcb: "",
},
cxQueryField: [
{
name: "案件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "收藏时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否串并",
id: "sfcb",
type: "codeTreeDialog",
codeTree: "CODE_IF",
props: [],
codeOptions: [],
value: "",
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlb",
},
{
label: "收藏时间",
prop: "djsj",
},
{
label: "是否串并",
prop: "sfcb",
},
{
label: "收藏描述",
prop: "scms",
},
],
cxUrl: "/wscdaj/wscdajQry",
xxzjbh: "",
Menu: [
{
id: "wscdaj",
label: "我收藏的案件",
index: "wscdaj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
sctjcb(scope) {
var self = this;
// debugger;
this.$confirm("确认添加案件?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
insertCbxsajxx({
cbxgfwbzh: self.$route.query.cbxgfwbzh || '',
xszajbh: self.$route.query.xszajbh || '',
asjbh: scope.row.asjbh,
addType: "wscdaj",
}).then((res) => {
if (res.code == 200) {
self.$message.success("添加成功!");
} else {
self.$message.error(res.message);
}
});
});
Bus.$emit("updataTable");
},
},
};
</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;
}
.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>
......@@ -52,36 +52,36 @@ export default {
asjbh: "",
sldwGajgjgdm: "",
asjfsddXzqhdm: "",
ajlbdm: '',
ajlbdm: "",
larqStart: "",
larqEnd: "",
asjfssjAsjfskssjStart: "",
asjfssjAsjfskssjEnd: "",
ajzlb: '',
ajxzlb: '',
ajzlb: "",
ajxzlb: "",
xalbdmbcms: "",
zhfzxyrAsjxgrybh: "",
zhfzxyrCyzjZjhm: "",
zhfzxyrXm: "",
zhfzxyrCym: '',
zhfzxyrCym: "",
zhfzxyrBmch: "",
zhfzxyrXbdm: "",
zhfzxyrCsrqRqgzxxStart:'',
zhfzxyrCsrqRqgzxxEnd: '',
zhfzxyrMzdm: '',
zhfzxyrGjdm: '',
zhfzxyrHjdzXzqhdm: '',
zhfzxyrXzzXzqhdm: '',
zhfzxyrTzMin: '',
zhfzxyrTzMax: '',
zhfzxyrZcMin: '',
zhfzxyrZcMax: '',
zhfsZhfsdm: '',
zhfzxyrFzxyrdaztdm: '',
zhfzxyrSfjsbrPdbz: '',
zhdwGajgjgdm: '',
zhrqStart: '',
zhrqEnd: '',
zhfzxyrCsrqRqgzxxStart: "",
zhfzxyrCsrqRqgzxxEnd: "",
zhfzxyrMzdm: "",
zhfzxyrGjdm: "",
zhfzxyrHjdzXzqhdm: "",
zhfzxyrXzzXzqhdm: "",
zhfzxyrTzMin: "",
zhfzxyrTzMax: "",
zhfzxyrZcMin: "",
zhfzxyrZcMax: "",
zhfsZhfsdm: "",
zhfzxyrFzxyrdaztdm: "",
zhfzxyrSfjsbrPdbz: "",
zhdwGajgjgdm: "",
zhrqStart: "",
zhrqEnd: "",
},
cxQueryField: [
{
......@@ -300,7 +300,7 @@ export default {
{
name: "抓获方式",
id: "zhfsZhfsdm",
type: "code",
type: "codeTreeDialog",
codeOptions: [],
codeTree: "CODE_ZHFS",
value: "",
......@@ -720,36 +720,36 @@ export default {
asjbh: "",
sldwGajgjgdm: "",
asjfsddXzqhdm: "",
ajlbdm: '',
ajlbdm: "",
larqStart: "",
larqEnd: "",
asjfssjAsjfskssjStart: "",
asjfssjAsjfskssjEnd: "",
ajzlb: '',
ajxzlb: '',
ajzlb: "",
ajxzlb: "",
xalbdmbcms: "",
zhfzxyrAsjxgrybh: "",
zhfzxyrCyzjZjhm: "",
zhfzxyrXm: "",
zhfzxyrCym: '',
zhfzxyrCym: "",
zhfzxyrBmch: "",
zhfzxyrXbdm: "",
zhfzxyrCsrqRqgzxxStart:'',
zhfzxyrCsrqRqgzxxEnd: '',
zhfzxyrMzdm: '',
zhfzxyrGjdm: '',
zhfzxyrHjdzXzqhdm: '',
zhfzxyrXzzXzqhdm: '',
zhfzxyrTzMin: '',
zhfzxyrTzMax: '',
zhfzxyrZcMin: '',
zhfzxyrZcMax: '',
zhfsZhfsdm: '',
zhfzxyrFzxyrdaztdm: '',
zhfzxyrSfjsbrPdbz: '',
zhdwGajgjgdm: '',
zhrqStart: '',
zhrqEnd: '',
zhfzxyrCsrqRqgzxxStart: "",
zhfzxyrCsrqRqgzxxEnd: "",
zhfzxyrMzdm: "",
zhfzxyrGjdm: "",
zhfzxyrHjdzXzqhdm: "",
zhfzxyrXzzXzqhdm: "",
zhfzxyrTzMin: "",
zhfzxyrTzMax: "",
zhfzxyrZcMin: "",
zhfzxyrZcMax: "",
zhfsZhfsdm: "",
zhfzxyrFzxyrdaztdm: "",
zhfzxyrSfjsbrPdbz: "",
zhdwGajgjgdm: "",
zhrqStart: "",
zhrqEnd: "",
};
this.formType = "haveTitle";
},
......@@ -862,56 +862,56 @@ export default {
};
</script>
<style>
.el-dialog__body {
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
}
.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 {
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.topTitle {
@import "@/assets/styles/rightContent.scss";
.topTitle {
width: 100%;
height: 56px;
background: #1f212c;
......@@ -946,5 +946,5 @@ export default {
visibility: hidden;
}
}
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-25 09:47:52
* @LastEditTime: 2021-10-19 15:27:31
* @LastEditTime: 2021-10-20 09:29:12
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\cba\xgaj.vue
......@@ -9,7 +9,13 @@
<template>
<div class="xgal">
<el-button type="danger" class="btn" @click="delAj">删除案件</el-button>
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center">
</el-table-column>
<el-table-column label="案件编号" width="265" align="center">
......@@ -42,10 +48,7 @@
<el-table-column label="简要案情" width="420" align="center">
<template slot-scope="scope">
<div class="ajxq_s">
<span
class="none"
v-html="scope.row['jyaq']"
></span
<span class="none" v-html="scope.row['jyaq']"></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
......@@ -57,127 +60,124 @@
font-weight: 600;
"
id="open"
v-show="
scope.row['jyaq'] != '' &&
scope.row['jyaq'] != null
"
v-show="scope.row['jyaq'] != '' && scope.row['jyaq'] != null"
>展开</a
>
</div>
<div class="ajxq_n" style="display: none">
<span
style="display: block"
v-html="scope.row['jyaq']"
></span
<span style="display: block" v-html="scope.row['jyaq']"></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style="float: right; color: #3692c6; font-weight: 600"
id="stop"
v-show="
scope.row['jyaq'] != '' &&
scope.row['jyaq'] != null
"
v-show="scope.row['jyaq'] != '' && scope.row['jyaq'] != null"
>收起</a
>
</div>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="prev, pager, next" @current-change="changePage" :total="total">
<div>
<el-pagination
background
layout="prev, pager, next"
@current-change="changePage"
:total="total"
>
</el-pagination>
</div>
</div>
</template>
<script>
import Bus from '@/utils/Bus'
import Bus from "@/utils/Bus";
import { queryxszglasj, delxszglasj } from "@/api/cbyp.js";
export default {
data () {
data() {
return {
tableData: [],
multipleSelection: [],
total: 10
}
total: 10,
};
},
mounted () {
mounted() {
console.log(this.$route);
this.getData(1, 10);
Bus.$on('reset', () => {
Bus.$on("reset", () => {
this.$refs.multipleTable.clearSelection();
})
Bus.$on('updataTable', () => {
});
Bus.$on("updataTable", () => {
this.getData(1, 10);
})
});
},
methods: {
async delAj() {
let arr = []
this.multipleSelection.forEach(item => {
arr.push(item.asjbh)
})
let str = arr.join(',')
let arr = [];
this.multipleSelection.forEach((item) => {
arr.push(item.asjbh);
});
let str = arr.join(",");
console.log(str);
let sfscxsz = 0
if(this.multipleSelection.length == this.total) {
sfscxsz = 1
let sfscxsz = 0;
if (this.multipleSelection.length == this.total) {
sfscxsz = 1;
} else {
sfscxsz = 0
sfscxsz = 0;
}
let obj = {
asjbhs: str,
xszajbh: this.$route.query.xszajbh,
sfscxsz: sfscxsz
}
let res = await delxszglasj(obj)
sfscxsz: sfscxsz,
};
let res = await delxszglasj(obj);
console.log(res);
if(res.code == 200) {
this.$message.success('删除成功!')
this.getData(1, 10)
if (res.code == 200) {
this.$message.success("删除成功!");
this.getData(1, 10);
} else {
this.$message.error('删除失败!')
this.$message.error("删除失败!");
}
},
async getData (page, limit) {
async getData(page, limit) {
let fromData = {
page,
limit,
xszajbh: this.$route.query.xszajbh
}
let res = await queryxszglasj(fromData)
xszajbh: this.$route.query.xszajbh,
};
let res = await queryxszglasj(fromData);
console.log(res);
if (res.code == 200) {
this.tableData = res.data.data
this.total = res.data.recordsTotal
this.tableData = res.data.data;
this.total = res.data.total;
} else {
this.$message.error('请求数据失败!')
this.$message.error("请求数据失败!");
}
},
toggleSelection (rows) {
toggleSelection(rows) {
if (rows) {
rows.forEach(row => {
rows.forEach((row) => {
this.$refs.multipleTable.toggleRowSelection(row);
});
} else {
this.$refs.multipleTable.clearSelection();
}
},
handleSelectionChange (val) {
handleSelectionChange(val) {
this.multipleSelection = val;
Bus.$emit('addCbmc', this.multipleSelection)
Bus.$emit("addCbmc", this.multipleSelection);
},
changePage (page) {
changePage(page) {
console.log(page);
this.getData(page, 10)
}
}
}
this.getData(page, 10);
},
},
};
</script>
<style lang="scss" scoped>
.xgal {
padding: 0 20px;
button {
margin: 5px;
}
......
......@@ -493,7 +493,7 @@ export default {
debugger;
self.tableLoadingSelf = false;
self.tableLoadingOther = false;
self.Loading.close()
self.Loading.close();
});
},
},
......@@ -504,7 +504,7 @@ export default {
#xszhb {
.top_title {
height: 52px;
background: #1f212c;
background: #0061f7;
padding-left: 32px;
display: flex;
align-items: center;
......
......@@ -10,12 +10,18 @@
<div class="ajTitle">相关案件</div>
<div :class="{ bottom: true, hidden: key !== 'related' }"></div>
</div>
<div class="subTitle" @click="cut('wdsc')">
<div class="ajTitle">我的收藏</div>
<div :class="{ bottom: true, hidden: key !== 'wdsc' }"></div>
</div>
</div>
<right-content
v-if="key !== 'wdsc'"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:skey="key"
:pageBtns="pageBtns"
ref="rightContent"
:formType="formType"
......@@ -25,12 +31,32 @@
:tableInfor="tableInfor"
:name="name"
></right-content>
<router-view v-if="key == 'wdsc'"></router-view>
<!-- <div class="rightContent">
<div class="Content">
<right-list
v-if="key == 'wdsc'"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@sctjcb="sctjcb"
ref="rightList"
></right-list>
</div>
</div> -->
</div>
</template>
<script>
import rightContent from "@c/ajbz/rgcb_wdxl/ptCxForm_components.vue";
import { insertCbzxx } from "@/api/cbyp.js";
import rightList from "@c/ptCxForm_components.vue";
import { insertCbxsajxx } from "@/api/cbyp.js";
import Bus from "@/utils/Bus";
import {
EsAsjQuery,
getTableTitleRedis,
......@@ -41,6 +67,7 @@ export default {
name: "toAddXlaj",
components: {
rightContent,
rightList,
},
data() {
return {
......@@ -300,7 +327,7 @@ export default {
{
name: "抓获方式",
id: "zhfsZhfsdm",
type: "code",
type: "codeTreeDialog",
codeOptions: [],
codeTree: "CODE_ZHFS",
value: "",
......@@ -808,7 +835,6 @@ export default {
this.haveTitle = null;
},
pageSave(form) {
debugger;
if (this.tableInfor.length <= 0 || !this.tableInfor) {
this.$message.error("请添加数据后进行操作");
} else {
......@@ -819,16 +845,17 @@ export default {
cbxxms: form.cbmc,
glxxXszajbh: "",
asjbhs: asjbhArr.join(","),
flag: "xlaj",
}).then((res) => {
if (res.data.result == "1") {
this.$message.success("生成线索组成功");
if (res.code == "200") {
this.$message.success("保存成功");
this.tableInfor = [];
this.cxFormData = {
cbmc: "",
cblx: "",
cbxxms: "",
};
} else if (res.data.result == "0") {
} else {
this.$message.error(res.message);
}
});
......@@ -865,10 +892,15 @@ export default {
},
watch: {
key(val) {
// debugger;
if (val == "add") {
this.$router.push("/toAddXlaj");
this.addPrps();
} else {
} else if (val == "related") {
this.$router.push("/toAddXlaj");
this.relatedProps();
} else if (val == "wdsc") {
this.$router.push("/toAddXlaj/scaj");
}
},
},
......@@ -928,7 +960,7 @@ export default {
.topTitle {
width: 100%;
height: 56px;
background: #1f212c;
background: #0061f7;
display: flex;
align-items: center;
span {
......@@ -948,7 +980,7 @@ export default {
font-size: 14px;
font-weight: 400;
color: #ffffff;
opacity: 0.8;
opacity: 1;
}
.bottom {
height: 4px;
......
......@@ -66,7 +66,6 @@
<div class="contentBox">
<el-table
:data="messageTableData"
stripe
height="400"
style="width: 100%; margin-top: 20px"
......@@ -183,7 +182,6 @@
<div class="contentBox">
<el-table
:data="criminalTableData"
stripe
height="400"
style="width: 100%; margin-top: 20px"
......@@ -263,7 +261,6 @@
<div class="contentBox">
<el-table
:data="victimTableData"
stripe
height="400"
style="width: 100%; margin-top: 20px"
......@@ -359,7 +356,7 @@ export default {
criminalTableData: [],
victimTableData: [],
//线索组编号
xlajbh: "L1500000000002021080008",
xlajbh: "",
page01: 1,
page02: 1,
page03: 1,
......@@ -373,7 +370,7 @@ export default {
};
},
created() {
this.xlajbh = "L1500000000002021080008";
this.xlajbh = this.$route.query.xlajbh;
this.getMessage();
this.getCriminalMessage();
this.getVictimMessage();
......@@ -387,7 +384,7 @@ export default {
limit: this.rows,
};
queryCbzAsjGlxx(params).then((res) => {
this.messageTableData = res.data.result;
this.messageTableData = res.data.result || [];
this.totalrows01 = res.data.recordsTotal;
});
},
......@@ -408,7 +405,7 @@ export default {
limit: this.rows,
};
getCbzXyry(params).then((res) => {
this.criminalTableData = res.data.result;
this.criminalTableData = res.data.result || [];
this.totalrows02 = res.data.recordsTotal;
});
},
......@@ -419,7 +416,7 @@ export default {
limit: this.rows,
};
getCbzBhry(params).then((res) => {
this.victimTableData = res.data.result;
this.victimTableData = res.data.result || [];
this.totalrows03 = res.data.recordsTotal;
});
},
......@@ -458,7 +455,6 @@ export default {
}
.el-form-item__content {
line-height: 30px !important;
}
</style>
<style lang="scss" scoped>
......@@ -470,14 +466,13 @@ export default {
}
.el-form-item__content {
line-height: 30px !important;
}
.tobjcba {
margin: 0;
padding: 0;
.title {
height: 52px;
background: #1f212c;
background: #0061f7;
padding-left: 32px;
display: flex;
align-items: center;
......
<!--
* @Author: your name
* @Date: 2021-09-11 10:30:21
* @LastEditTime: 2021-10-19 14:29:54
* @LastEditTime: 2021-10-20 14:39:05
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xsjsdb\queryrwbd.vue
......@@ -149,7 +149,7 @@ export default {
});
},
ajsx() {
this.$router.push("ajsx");
this.$router.pushToTab("/ajsx");
},
},
};
......
......@@ -10,12 +10,18 @@
<div class="ajTitle">查看线索组</div>
<div :class="{ bottom: true, hidden: key !== 'related' }"></div>
</div>
<div class="subTitle" @click="cut('wdsc')">
<div class="ajTitle">我的收藏</div>
<div :class="{ bottom: true, hidden: key !== 'wdsc' }"></div>
</div>
</div>
<right-content
v-if="key !== 'wdsc'"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:skey="key"
:pageBtns="pageBtns"
ref="rightContent"
@addTableEvent="addTableEvent"
......@@ -24,6 +30,8 @@
:tableInfor="tableInfor"
:name="name"
></right-content>
<router-view v-if="key == 'wdsc'"></router-view>
</div>
</template>
......@@ -335,7 +343,7 @@ export default {
});
},
pageSave() {
debugger
debugger;
if (this.tableInfor.length <= 0 || !this.tableInfor) {
this.$message.error("请添加数据后进行操作");
} else {
......@@ -541,10 +549,15 @@ export default {
created() {},
watch: {
key(val) {
// debugger;
if (val == "add") {
this.$router.push("/xzrgcb");
this.addPrps();
} else {
} else if (val == "related") {
this.relatedProps();
this.$router.push("/xzrgcb");
} else if (val == "wdsc") {
this.$router.push("/xzrgcb/scaj");
}
},
},
......@@ -603,7 +616,7 @@ export default {
.topTitle {
width: 100%;
height: 56px;
background: #1f212c;
background: #0061f7;
display: flex;
align-items: center;
span {
......@@ -623,7 +636,7 @@ export default {
font-size: 14px;
font-weight: 400;
color: #ffffff;
opacity: 0.8;
opacity: 1;
}
.bottom {
height: 4px;
......
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