Commit 38b9c59b by mr.wang

线索查询比对

parents b2c37529 9a93c64d
......@@ -43,3 +43,6 @@ export const updateZjbzjg = params =>
postform(`${base.alyIP}/ZjZjbzxx/updateZjbzjg`, params);
export const saveZwbzrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzrw`, params);
//提取
export const selectRyxxBysfz = params =>
postform(`${base.alyIP}/xxgzry/selectRyxxBysfz`, params);
......@@ -38,4 +38,15 @@ export const pageTbYwWjpjckxq = params =>
// 21.4.3 功能运行分析
export const getGnyxFxjg = params =>
post(`${base.alyIP}/gnXnpg/getGnyxFxjg`, params);
\ No newline at end of file
post(`${base.alyIP}/gnXnpg/getGnyxFxjg`, params);
//查询阶段性微决评价
export const queryJdswjpj = params =>
post(`${base.alyIP}/wjpjwszx/queryJdswjpj`, params);
//查询模型策略基本信息
export const getTbYwMxclzx = params =>
post(`${base.alyIP}/mxclzx/getTbYwMxclzx`, params);
//查询模型策略基本信息
export const wjpjwszxGetTbYwMxclzx = params =>
post(`${base.alyIP}/wjpjwszx/getTbYwMxclzx`, params);
......@@ -60,3 +60,10 @@ export const getFjdcwqResult = params =>
//人力情报线索类型统计
export const getRlqbxslxResult = params =>
postform(`${base.alyIP}/rlqb/getRlqbxslxResult`, params);
//人力情报线索全省案件
export const getAjListByS = params =>
postform(`${base.alyIP}/rlqb/getAjListByS`, params);
//人力情报线索全国案件
export const getAjListByQg = params =>
postform(`${base.alyIP}/rlqb/getAjListByQg`, params);
\ No newline at end of file
......@@ -36,4 +36,19 @@ export const bkxxSp = params =>
// 1.2.4.7 线索布控结果查询
export const getTaskResult = params =>
post(`${base.alyIP}/xsbk/getTaskResult`, params);
\ No newline at end of file
post(`${base.alyIP}/xsbk/getTaskResult`, params);
// 1.2.4.7 线索布控删除
export const deleteBkxx = params =>
post(`${base.alyIP}/xsbk/deleteBkxx`, params);
// 1.2.4.7 提请审批
export const bkxxTqsp = params =>
post(`${base.alyIP}/xsbk/bkxxTqsp`, params);
// 1.2.4.7 撤回审批
export const bkxxChsp = params =>
post(`${base.alyIP}/xsbk/bkxxChsp`, params);
\ No newline at end of file
......@@ -43,9 +43,6 @@ export const zczlQs = params =>
//增加回报或续报
export const doAddHb = params =>
postform(`${base.alyIP}/zczl/doAddHbNew`, params);
//根据分派编号与是否续报编号拿到回报信息
export const getHbxxDoHbxgByFpbh = params =>
post(`${base.alyIP}/zczl/getHbDetailByFpbh`, params);
//修改回报信息
export const doHbEdit = params =>
postform(`${base.alyIP}/zczl/doHbEdit`, params);
......@@ -59,6 +56,9 @@ export const doYjNew = params =>
//指令回报修改或续报修改
export const getHbDetailByFpbh = params =>
post(`${base.alyIP}/zczl/getHbDetailByFpbh`, params);
//本级回报上级的所有回报信息
export const getAllResponseFromMe = params =>
post(`${base.alyIP}/zczl/getAllResponseFromMe`, params);
//
export const getChildUnitAndPeople = params =>
post(`${base.alyIP}/zczl/getChildUnitAndPeople`, params);
......@@ -74,7 +74,7 @@ export const doEvaluate = params =>
postform(`${base.alyIP}/zczl/doEvaluate`, params);
//回报信息
export const getAllHbInfoByFpbh = params =>
post(`${base.alyIP}/zczl/getAllHbInfoByFpbh`, params);
post(`${base.alyIP}/zczl/getAllChildHbInfo`, params);
//附件下载
export const downloadZczlAttachment = params =>
post(`${base.alyIP}/zczl/downloadZczlAttachment`, params);
import { post, postform, postdown } from "@/utils/http.js";
import base from "@/api/base";
//损失弹药
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失非机动车
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失机动车
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失卡类
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失其他物品
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失枪支
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失文物
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失移动通讯设备
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
//损失证件
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
......@@ -94,10 +94,16 @@ const xjZczlzt = {
'2': '已签收未回报',
'3': '已签收已回报',
}
<<<<<<< HEAD
// 认定标识
const rdbs = {
'0': '未认定',
'1': '已认定',
=======
const zlType = {
'1' : '指令下发',
'2' : '指令分派'
>>>>>>> 9a93c64d2a3ea7af78515c4c076e925608039d6b
}
export {
spsftg,
......@@ -116,5 +122,9 @@ export {
xbpjdj,
zczlzt,
xjZczlzt,
<<<<<<< HEAD
rdbs
=======
zlType
>>>>>>> 9a93c64d2a3ea7af78515c4c076e925608039d6b
}
......@@ -544,6 +544,7 @@
>
<template slot="append"
><span
v-if="realIndex == 0"
@click="
messageTq(formLabelAlign[item2.id][0])
"
......@@ -816,7 +817,7 @@
</div>
</div>
<div class="addChildBtn">
<el-button type="primary" @click="handelFrom(item2)">
<el-button type="primary" @click="handelFrom(item2,index2)">
<i class="el-icon-plus"></i><span>添加</span>
</el-button>
</div>
......@@ -1577,7 +1578,9 @@ export default {
return isJPG && isLt2M;
},
//新增表单数据
handelFrom(obj) {
handelFrom(obj,index2) {
debugger
console.log(index2);
console.log(obj);
let self = this,
addObj;
......@@ -1593,15 +1596,19 @@ export default {
}
if (!obj.flag) {
self.$set(obj, "flag", true);
debugger
} else {
debugger
self.propFormField.forEach((groupItem) => {
groupItem.data.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2, index2) => {
//遍历list数组
// debugger;
// val2.list[1].name[1].type = 'text'
if (val2 == obj) {
//通过比较两个对象是否相等 将formLabelAlign里绑定的数据复制了一份
debugger
addObj = JSON.parse(
JSON.stringify(self.formLabelAlign[val2.id][0])
);
......@@ -1609,6 +1616,8 @@ export default {
for (var val3 in addObj) {
addObj[val3] = "";
}
debugger
self.$set(
self.formLabelAlign[val2.id],
self.formLabelAlign[val2.id].length,
......@@ -1625,6 +1634,8 @@ export default {
self.$set(self.rules, rulesName, self.$rules[val7.prop]);
}
});
debugger
for (var f = 0; f < val2.list[0].name.length; f++) {
if (val2.list[0].name[f].type == "file") {
self.fileLists[val2.id][
......
......@@ -426,6 +426,7 @@
pageBs != 'qyeryrlqbxsBJ' &&
pageBs != 'addCase' &&
pageBs != 'addSwtz' &&
pageBs != 'queryHbyp' &&
pageBs != 'addQtsf' &&
pageBs != 'addWffzjl' &&
pageBs != 'addGxr' &&
......@@ -436,14 +437,18 @@
pageBs != 'addRygd' &&
pageBs != 'addBshgj' &&
pageBs != 'addRyhd' &&
pageBs != 'cxyhz' &&
pageBs != 'queryXshb' &&
pageBs != 'addRysc' &&
pageBs != 'queryGnxnpg' &&
pageBs != 'addRyyp' &&
pageBs != 'xsbk' &&
pageBs != 'addThjl' &&
pageBs != 'addGlbsh' &&
pageBs != 'addTxl' &&
pageASs != 'nonewAdd' &&
pageBs != 'dzajzb' &&
pageBs != 'queryXsxx' &&
pageBs != 'qyeryrlqbxsGl' &&
pageBs != 'fzjcgxlfx' &&
pageBs != 'qyeryrlqbxsDetailList'
......@@ -782,6 +787,7 @@
:prop="columnTitle.prop"
:key="columnTitle.label"
:label="columnTitle.label"
:show-overflow-tooltip="columnTitle.overflow"
>
<template slot-scope="scope">
<div
......@@ -1354,6 +1360,7 @@
pageBs == 'queryXshbs' ||
pageBs == 'addTxl' ||
pageBs == 'gzrygl' ||
pageBs == 'myaddZdry' ||
pageBs == 'qyeryrlqbxsDetailList' ||
pageBs == 'queryWjpj' ||
pageBs == 'queryFzth' ||
......@@ -1545,6 +1552,8 @@
pageBs != 'queryCklz' &&
pageBs != 'gzzkyxs' &&
pageBs != 'queryLklz' &&
pageBs != 'queryShsery' &&
pageBs != 'myaddZdry' &&
pageBs != 'queryRlqbxs' &&
pageBs != 'queryLz'
"
......@@ -1628,7 +1637,6 @@
class="edit"
style="margin-right: 16px"
v-if="
pageBs == 'rySp' ||
pageBs == 'xywspdzczl'
"
>审批</span
......
......@@ -46,6 +46,7 @@ import mxglRoutes from "./modules/mxgl";
import xshbRoutes from "./modules/xshb";
import brainPhotoRoutes from "./modules/brainPhoto";
import brainPhotoXxxxRoutes from "./modules/brainPhotoXxxx";
import zdsswpRoutes from "./modules/zdsswp";
import rwddRoutes from "./modules/rwddzx";
......@@ -109,6 +110,7 @@ const mainRouters = [
brainPhotoXxxxRoutes,
rwddRoutes,
zcxwRoutes,
zdsswpRoutes,
...qgccjRoutes,
{
path: "*",
......
......@@ -255,6 +255,14 @@ export default [
component: () => import("@/views/sf/dwxnpgbg.vue")
},
{
path: "/queryMxlbReport",
name: "queryMxlbReport",
meta: {
title: '模型列表'
},
component: () => import("@/views/mxgl/cxmxlb/report.vue")
},
{
path: "/grxnpgbg",
name: "grxnpgbg",
meta: {
......@@ -262,4 +270,4 @@ export default [
},
component: () => import("@/views/sf/grxnpgbg.vue")
},
]
\ No newline at end of file
]
......@@ -37,15 +37,23 @@ const menuLayouts = [
path: "/xsbk",
name: "xsbk",
meta: {
title: '线索布控'
title: '我发起的线索布控'
},
component: () => import("@/views/xshb/xsbk/xsbk.vue")
},
{
path: "/xsbksp",
name: "xsbksp",
meta: {
title: '我审批的线索布控'
},
component: () => import("@/views/xshb/xsbk/xsbksp.vue")
},
{
path: "/detailXsbks",
name: "detailXsbks",
meta: {
title: '线索布控详情'
title: '我发起的线索布控详情'
},
component: () => import("@/views/xshb/xsbk/detailXsbks.vue")
},
......@@ -53,7 +61,7 @@ const menuLayouts = [
path: "/adjustXsbks",
name: "adjustXsbks",
meta: {
title: '线索布控新增'
title: '我发起的线索布控新增'
},
component: () => import("@/views/xshb/xsbk/adjustXsbks.vue")
},
......@@ -61,7 +69,7 @@ const menuLayouts = [
path: "/queryXsbkResult",
name: "queryXsbkResult",
meta: {
title: '线索布控结果查询'
title: '我发起的线索布控结果查询'
},
component: () => import("@/views/xshb/xsbk/queryXsbkResult.vue")
},
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/addZdssdy",
name: "addZdssdy",
meta: {
title: '损失弹药'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssdy/addZdssdy.vue")
},
{
path: "/detailZdssdy",
name: "detailZdssdy",
meta: {
title: '损失弹药详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssdy/detailZdssdy.vue")
},
{
path: "/addZdssfjdc",
name: "addZdssfjdc",
meta: {
title: '损失非机动车'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssfjdc/addZdssfjdc.vue")
},
{
path: "/detailZdssfjdc",
name: "detailZdssfjdc",
meta: {
title: '损失非机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssfjdc/detailZdssfjdc.vue")
},
{
path: "/addZdssjdc",
name: "addZdssjdc",
meta: {
title: '损失机动车'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssjdc/addZdssjdc.vue")
},
{
path: "/detailZdssjdc",
name: "detailZdssjdc",
meta: {
title: '损失机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssjdc/detailZdssjdc.vue")
},
{
path: "/addZdsskl",
name: "addZdsskl",
meta: {
title: '损失卡类'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sskl/addZdsskl.vue")
},
{
path: "/detailZdsskl",
name: "detailZdsskl",
meta: {
title: '损失卡类详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sskl/detailZdsskl.vue")
},
{
path: "/addZdssqtwp",
name: "addZdssqtwp",
meta: {
title: '损失其他物品'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqtwp/addZdssqtwp.vue")
},
{
path: "/detailZdssqtwp",
name: "detailZdssqtwp",
meta: {
title: '损失其他物品详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqtwp/detailZdssqtwp.vue")
},
{
path: "/addZdssqz",
name: "addZdssqz",
meta: {
title: '损失枪支'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqz/addZdssqz.vue")
},
{
path: "/detailZdssqz",
name: "detailZdssqz",
meta: {
title: '损失枪支详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqz/detailZdssqz.vue")
},
{
path: "/addZdssww",
name: "addZdssww",
meta: {
title: '损失文物'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssww/addZdssww.vue")
},
{
path: "/detailZdssww",
name: "detailZdssww",
meta: {
title: '损失文物详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssww/detailZdssww.vue")
},
{
path: "/addZdssydtxsb",
name: "addZdssydtxsb",
meta: {
title: '损失移动通讯设备'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssydtxsb/addZdssydtxsb.vue")
},
{
path: "/detailZdssydtxsb",
name: "detailZdssydtxsb",
meta: {
title: '损失移动通讯设备详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssydtxsb/detailZdssydtxsb.vue")
},
{
path: "/addZdsszj",
name: "addZdsszj",
meta: {
title: '损失证件'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sszj/addZdsszj.vue")
},
{
path: "/detailZdsszj",
name: "detailZdsszj",
meta: {
title: '损失证件详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sszj/detailZdsszj.vue")
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
......@@ -10,15 +10,20 @@
@add="add"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
<template #jrnt="scope">
<span
class="hbyps"
class="hbyp"
@click="toBrai(scope.scope)"
v-if="scope.scope.row.spzt == '审批通过'"
>进入脑图</span
>
<span
class="hbyps"
class="hbyp"
@click="sqspBtna(scope.scope)"
v-if="scope.scope.row.spzt == '未发起申请'"
>申请审批</span
......@@ -468,7 +473,7 @@ export default {
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.hbyps {
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
......@@ -482,4 +487,19 @@ export default {
line-height: 28px;
text-align: center;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
\ No newline at end of file
......@@ -35,7 +35,7 @@
data() {
return {
tableOperation:true,
tableOperationWidth:800,
tableOperationWidth:100,
header: "DNA信息",
pageBs: "dswtzxxlbxx",
cxFormData: {
......
......@@ -45,30 +45,12 @@
index: 0,
data: [
{
name: "姓名:",
id: "xm",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "公民身份号码:",
id: "gmsfhm",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
disabled:true
},
{
name: "左虹膜:",
id: "hmsjLeft",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
col: "2",
},
{
name: "右虹膜:",
......@@ -76,7 +58,7 @@
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
col: "2",
},
],
},
......
......@@ -7,6 +7,7 @@
:propTitle="title"
@handleRemove="handleRemove"
@removePhoto="removePhoto"
@ajtq="ajtq"
pageBs="addsqfbzl"
ref="formCompontent"
>
......@@ -17,7 +18,7 @@
<script>
import formCompontent from "@c/form.vue";
import { insertRyxx,selectRyxxById, selectRyzpList, updateRyxx} from "@/api/dswtzxx.js";
import { insertRyxx,selectRyxxById, selectRyzpList, updateRyxx,selectRyxxBysfz} from "@/api/dswtzxx.js";
export default {
name: "addryxx",
components: {
......@@ -33,30 +34,7 @@
objStr: "",
index: 0,
data: [
{
name: "正面照片:",
id: "R_ZMZP_File",
type: "photo",
value: "",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
col: "2",
},
{
name: "左侧面照片:",
id: "R_ZCMZP_File",
type: "photo",
value: "",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
col: "2",
},
{
name: "右侧面照片:",
id: "R_YCMZP_File",
type: "photo",
value: "",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
col: "2",
},
{
name: "姓名:",
id: "xm",
......@@ -88,7 +66,7 @@
{
name: "证件号码:",
id: "zjhm",
type: "text",
type: "textTq",
value: "",
placeholder: "请输入",
col: "2",
......@@ -196,6 +174,30 @@
};
},
methods: {
ajtq(gmsfzh){
let params = new FormData();
let self = this;
params.append('zjhm',gmsfzh)
selectRyxxBysfz(params).then(res=>{
if(res.code===200){
let result = res.data.rows;
if(result.hasOwnProperty('xm')){
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
}
else {
this.$message.warning('暂无此证件号码信息')
}
}
})
},
submit(params) {
let loading = this.$loading({
lock: true,
......
......@@ -122,11 +122,7 @@
label: "性别",
prop: "xbdmStr",
},
{
label: "十指指纹编号",
prop: "szzwbh",
width:'200'
},
],
cxUrl: "/rycj/selectRyxxList",
Menu: [
......
......@@ -8,9 +8,13 @@
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
>
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
<template #btnGroup="scope">
<span
v-if="scope.scope.row.sfkfk == '1'"
......@@ -42,12 +46,8 @@
@click="toDb(scope.scope)"
>督办合并研判</span
>
<span
v-if="scope.scope.row.sfkfk == 1"
class="hbyp"
@click="toFk(scope.scope)"
>反馈合并研判</span
>
<!-- v-if="scope.scope.row.sfkfk == 1" -->
<span class="hbyp" @click="toFk(scope.scope)">反馈合并研判</span>
<span class="hbyp" @click="toCbyp(scope.scope)">串并研判</span>
<span class="hbyp" @click="toXdzl(scope.scope)">下达指令</span>
<span
......@@ -113,6 +113,23 @@
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="附件:" style="width:100%">
<el-upload
class="upload-demo"
ref="upload"
action="/"
:on-change="handleChange"
:on-remove="handleRemove"
:file-list="fileList"
:auto-upload="false"
>
<el-button slot="trigger" size="small" type="primary"
>选取文件</el-button
>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
......@@ -823,6 +840,8 @@ export default {
},
fileArr: [],
zdXxzjbh: "",
fileList: [],
xls: {},
};
},
created() {
......@@ -831,6 +850,40 @@ export default {
this.$store.commit("user/SET_Header", this.header);
},
methods: {
handleChange(file, fileList) {
debugger;
this.xls = file.raw;
// if (fileList.length < 3) {
// var index = file.name.lastIndexOf(".");
// const isJPG = /^.*\.(xls)$/i.test(file.name.substring(index));
// if (isJPG) {
// this.xls = file.raw;
// } else {
// fileList.forEach((item, index) => {
// if (file.raw.uid == item.uid) {
// fileList.splice(index, 1);
// }
// });
// this.$message.error("请上传正确的文件格式!");
// }
// } else {
// fileList.forEach((item, index) => {
// if (file.raw.uid == item.uid) {
// fileList.splice(index, 1);
// }
// });
// this.$message.error("当前只能上传两个xls文件!");
// }
},
handleRemove(file, fileList) {
debugger;
console.log(file, fileList);
// fileList.forEach((item, index) => {
// if (file.raw.uid == item.uid) {
// fileList.splice(index, 1);
// }
// });
},
add() {
this.$router.pushToTab({
path: "/queryAdd",
......@@ -1168,4 +1221,19 @@ export default {
.black {
color: black;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -72,7 +72,7 @@
</el-table-column>
<el-table-column prop="cyyw" label="参与业务" width="200">
</el-table-column>
<el-table-column fixed="right" prop="sffb" label="操作" width="300">
<el-table-column fixed="right" prop="sffb" label="操作" width="350">
<template slot-scope="scope">
<el-button type="text" @click="showGxlfxDialog('yw', scope)"
>业务贡献率分析</el-button
......@@ -80,6 +80,9 @@
<el-button type="text" @click="showGxlfxDialog('fz', scope)"
>辅助决策贡献率分析</el-button
>
<el-button type="text" @click="toQueryMxlbReport( scope)"
>生成报告</el-button
>
</template>
</el-table-column>
</el-table>
......@@ -255,8 +258,14 @@ export default {
});
console.log("res", this.gxlfxList);
},
toQueryMxlbReport(scoppe){
console.log(scoppe);
this.$router.push({
path:'/queryMxlbReport',
query:{xxzjbh:scoppe.row.xxzjbh}
})
},
showGxlfxDialog(type, scoppe) {
debugger;
var obj = JSON.parse(sessionStorage.getItem("userInfo"));
if (type == "yw") {
this.types = "1";
......
<!--
* @Author: your name
* @Date: 2021-11-24 10:16:47
* @LastEditTime: 2021-11-30 20:26:54
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \刑侦二期(1)\founder_vue\src\views\sf\xnpgbg.vue
-->
<template>
<div style="width: 1200px; margin: 0 auto; margin-bottom: 70px">
<div class="xnbox" v-if="tableLoading">
<div class="bgbox">
<div class="bg">
<span><img :src="header" alt="" /></span>
<span class="xnbg">模型报告</span>
</div>
<div class="btn">
<el-button icon="el-icon-download" @click="print">导出报告</el-button>
</div>
</div>
<div style="padding: 0 20px; margin-bottom: 10px">
<div class="htitle">
<span class="hfont">模型基础信息</span>
</div>
</div>
<div style="padding: 0 20px; margin-bottom: 10px">
<ul class="boxUl">
<li v-for="(i,k) in table" :key="k">
<span>{{i.name}}</span>{{info[i.keys]}}
</li>
</ul>
</div>
<div style="padding: 0 20px; margin-bottom: 10px">
<div class="htitle">
<span class="hfont">业务贡献率</span>
</div>
</div>
<el-form style="padding: 0 20px;" v-if="YWFX">
<el-form-item
v-for="(item, index) in gxlfxList"
:key="index"
:label="item.name"
class="one-form">
<el-rate disabled v-model="item.value" :colors="colors"></el-rate>
</el-form-item>
<!-- <el-form-item label="总分:" class="one-form">
<el-rate
v-model="value"
disabled
show-score
text-color="#ff9900"
score-template="{value}"
>
</el-rate>
</el-form-item>-->
</el-form>
<div v-else style="text-align: center">暂无评价</div>
<div style="padding: 0 20px; margin-bottom: 10px">
<div class="htitle">
<span class="hfont">辅助决策贡献率</span>
</div>
</div>
<el-form style="padding: 0 20px;" v-if="FZFX">
<el-form-item
v-for="(item, index) in gxlfxList1"
:key="index"
:label="item.name"
class="one-form">
<el-rate disabled v-model="item.value" :colors="colors"></el-rate>
</el-form-item>
<!-- <el-form-item label="总分:" class="one-form">
<el-rate
v-model="value"
disabled
show-score
text-color="#ff9900"
score-template="{value}"
>
</el-rate>
</el-form-item>-->
</el-form>
<div v-else style="text-align: center;margin-bottom: 20px;">暂无评价</div>
</div>
</div>
</template>
<script>
import {getTbYwMxclzx,wjpjwszxGetTbYwMxclzx} from "@/api/fzjc.js";
export default {
name: "dwxnpgbg",
data() {
return {
tableLoading: false,
header: require("../../../assets/xnpgbg/header.png"),
info:{},
table:[
{name:'名称', keys:'mxmc'},
{name:'类型', keys:'mxlx'},
{name:'路径', keys:'mxlj'},
{name:'描述', keys:'mxms'},
{name:'输入参数名称', keys:'mxsrCsmc'},
{name:'输入参数类型', keys:'mxsrCslx'},
{name:'输入参数描述', keys:'mxsrCsms'},
{name:'输出参数名称', keys:'mxscCsmc'},
{name:'输出参数类型', keys:'mxscCslx'},
{name:'输出参数描述', keys:'mxscCsms'},
{name:'计算资源', keys:'jszy'},
{name:'参与业务', keys:'cyyw'},
],
colors: ["#99A9BF", "#F7BA2A", "#FF9900"],
dialogFormVisiblePj: false,
gxlfxList: [
{
name: "发现工作问题:",
value: 0,
},
{
name: "发现证据问题:",
value: 0,
},
{
name: "引导工作方向:",
value: 0,
},
{
name: "减少审批环节:",
value: 0,
},
],
gxlfxList1: [
{
name: "发现工作问题:",
value: 0,
},
{
name: "发现证据问题:",
value: 0,
},
{
name: "引导工作方向:",
value: 0,
},
{
name: "减少审批环节:",
value: 0,
},
],
value:1,
YWFX:false,
FZFX:false,
};
},
created() {
getTbYwMxclzx({xxzjbh:this.$route.query.xxzjbh}).then(res=>{
if(res.code === 200){
this.info = res.data.result;
this.tableLoading =true;
}
})
wjpjwszxGetTbYwMxclzx({mxclzxXxzjbh:this.$route.query.xxzjbh,pflx:1}).then(res=>{
if(res.code===200){
if(res.data.result){
this.gxlfxList[0].value = res.data.result.fxgzwtfs;
this.gxlfxList[1].value = res.data.result.fxzjwtfs;
this.gxlfxList[2].value = res.data.result.ydgzfxfs;
this.gxlfxList[3].value = res.data.result.jssphjfs;
this.YWFX = true
}
}
})
wjpjwszxGetTbYwMxclzx({mxclzxXxzjbh:this.$route.query.xxzjbh,pflx:2}).then(res=>{
if(res.code===200){
this.gxlfxList1[0].value = res.data.result.fxgzwtfs;
this.gxlfxList1[1].value = res.data.result.fxzjwtfs;
this.gxlfxList1[2].value = res.data.result.ydgzfxfs;
this.gxlfxList1[3].value = res.data.result.jssphjfs;
this.FZFX = true
}
})
},
methods: {
print() {
window.print();
},
},
};
</script>
<style lang="scss" scoped>
.boxUl{
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
li{
width: 33.33%;
font-size: 14px;
margin-top: 20px;
span{
color: #363636;
}
}
}
.title {
font-size: 28px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 48px;
color: #1f212c;
opacity: 1;
margin: 38px 0 38px 0px;
}
.el-button {
padding: 12px 16px;
margin-right: 0px !important;
}
.xnbox {
width: 100%;
background: #ffffff;
border: 1px solid #e4e4e4;
opacity: 1;
border-radius: 8px;
box-sizing: border-box;
.bgbox {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e2e2e2;
margin: 0px 20px 0 20px;
}
.bg {
height: 64px;
background: rgba(255, 255, 255, 0);
// border: 1px solid #e2e2e2;
border-radius: 8px 8px 0px 0px;
display: flex;
align-items: center;
box-sizing: border-box;
img {
width: 24px;
height: 24px;
}
.xnbg {
margin-left: 14px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 31px;
color: #1f212c;
opacity: 1;
}
.btn /deep/ {
margin-right: 20px !important;
}
}
}
.min /deep/ {
height: 72px;
display: flex;
align-items: center;
padding: 0 20px;
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 120px;
height: 32px;
}
.zhi {
margin: 0 8px;
font-size: 12px;
font-family: Microsoft YaHei;
font-weight: 400;
line-height: 16px;
color: #c7cbd3;
opacity: 1;
}
.sele {
.el-select {
width: 96px;
height: 32px;
margin-left: 26px;
}
}
.police {
.el-select {
width: 200px;
height: 32px;
margin-left: 8px;
}
}
}
.demo-form-inline {
padding-top: 30px;
}
.zdybtn {
width: 76px;
height: 32px;
// background: #FFFFFF;
border: 1px solid #d9d9d9;
opacity: 1;
border-radius: 4px;
line-height: 32px;
text-align: center;
margin-left: 12px;
cursor: pointer;
}
.htitle {
background: linear-gradient(90deg, #e1e1e1 0%, #ffffff 100%);
opacity: 1;
height: 40px;
display: flex;
align-items: center;
margin: 20px 0;
.hfont {
margin-left: 20px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 31px;
color: #363636;
opacity: 1;
}
}
.Info {
font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 28px;
color: #595e6c;
opacity: 1;
text-indent: 2em;
margin: 20px;
}
.echars {
height: 500px;
// background: pink;
}
.demo-form-inline {
padding-top: 10px;
}
/deep/.el-form-item {
margin-bottom: 0 !important;
}
</style>
<style>
.xnbox .el-rate{
position: relative;
top: 10px;
}
</style>
......@@ -7,8 +7,14 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:tableOperation="true"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<el-button size="small" @click="DBFX(scope.scope,'阶段性对比分析')">阶段性对比分析</el-button>
<el-button size="small" @click="DBFX(scope.scope,'单位对比分析')">单位对比分析</el-button>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toXq(scope.scope)">查看详情</span>
<!-- <span class="hbyp" @click="toWjpj(scope.scope)">微决评价</span> -->
......@@ -57,12 +63,27 @@
</div>
</div>
</el-dialog>
<el-dialog :title="DBFXSHOWTITLE" :visible.sync="DBFXSHOW" width="60%">
<div class="block_fzjcgxlfx" style="width: 400px;margin: 20px;display: flex;justify-content: space-between">
<el-date-picker
v-model="value1"
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
<el-button size="mini" style="margin-left: 20px;" @click="getDate">查询</el-button>
</div>
<div v-if="DBFXSHOW" id="charts" ref="charts" ></div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { pageTbYwWjpjckxq } from "@/api/fzjc.js";
import { pageTbYwWjpjckxq,queryJdswjpj } from "@/api/fzjc.js";
export default {
name: "queryHbyp",
components: {
......@@ -70,12 +91,19 @@
},
data() {
return {
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now();
},
},
selectedId:[],
loading: false,
value1: [],
tableData: [],
dwss: "",
page: 1,
limit: 5,
pflx: 1,
pflx: 2,
tableDataLength: 0,
tableData1: [
{
......@@ -139,6 +167,8 @@
pjForm: {},
value: 0,
dialogFormVisible: false,
DBFXSHOW: false,
DBFXSHOWTITLE: '',
colors: ["#99A9BF", "#F7BA2A", "#FF9900"],
dialogFormVisiblePj: false,
formLabelWidth: "130px",
......@@ -161,33 +191,23 @@
},
],
header: "微决评价完善中心",
pageBs: "queryWjpj",
pageBs: "fzjcgxlfx",
cxFormData: {
limit: 10,
page: 1,
mxmc: "",
sfmc: "",
dw: "",
pflx:'2'
},
cxQueryField: [
{
name: "模型名称",
id: "mxmc",
id: "sfmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "单位",
id: "dw",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
],
cxDefaultFormThead: [
{
......@@ -246,12 +266,69 @@
},
fileArr: [],
zdXxzjbh: "",
gllx: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
getDate(){
this.DBFX(1,this.DBFXSHOWTITLE )
},
selectionChange(row){
this.selectedId = [];
row.forEach((item) => {
this.selectedId.push(item.xxzjbh);
});
},
DBFX(i,t){
this.DBFXSHOWTITLE =t;
this.DBFXSHOW = true;
let fxFlag='';
if(t==='阶段性对比分析'){fxFlag=1} else {fxFlag=2};
let kssj,jssj,xxzjbhList;
if(this.value1){kssj=this.value1[0];jssj=this.value1[1];}
if(this.selectedId.length){xxzjbhList = this.selectedId.toString()}
queryJdswjpj({
pflx:this.cxFormData.pflx,
fxFlag:fxFlag,kssj,jssj,xxzjbhList})
.then(res=>{
if( res.code===200){
let rows = res.data.rows;
let jdPjf = [];
let mxmc = [];
rows.find((v)=>{
jdPjf.push(v['jdPjf']);
mxmc.push(v['mxmc'])
})
let myChart = this.$echarts.init(this.$refs.charts);
let option = {
xAxis: {
type: 'category',
data: mxmc
},
yAxis: {
type: 'value'
},
series: [
{
data: jdPjf,
type: 'bar',
showBackground: true,
backgroundStyle: {
color: 'rgba(180, 180, 180, 0.2)'
}
}
]
};
myChart.setOption(option)
}
})
},
handleSizeChange(val) {
this.limit = val;
this.getZbzzList();
......@@ -263,16 +340,18 @@
// 详情
toXq(scope) {
this.dialogFormVisible = true;
this.dwss = scope.row.mxmc;
this.dwss = scope.row.sfmc;
this.gllx = scope.row.gllx;
this.getZbzzList();
},
getZbzzList() {
this.loading = true;
pageTbYwWjpjckxq({
mxmc: this.dwss,
sfmc: this.dwss,
page: this.page,
limit: this.limit,
pflx: this.pflx,
gllx: this.gllx,
}).then((res) => {
this.tableData = res.data.rows;
this.loading = false;
......@@ -347,6 +426,11 @@
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
.rightContent .el-input__icon, #formCommonPage .el-input__icon, .el-input__suffix-inner{
display: flex;
flex-direction: column;
justify-content: center;
}
</style>
<style scoped lang="scss">
.el-form-item {
......@@ -385,4 +469,9 @@
/deep/.el-select.el-select--mini {
width: 100px;
}
#charts {
background-color: #fff;
width: 100%;
height: 400px;
}
</style>
......@@ -7,8 +7,14 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:tableOperation="true"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<el-button size="small" @click="DBFX(scope.scope,'阶段性对比分析')">阶段性对比分析</el-button>
<el-button size="small" @click="DBFX(scope.scope,'单位对比分析')">单位对比分析</el-button>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toXq(scope.scope)">查看详情</span>
<!-- <span class="hbyp" @click="toWjpj(scope.scope)">微决评价</span> -->
......@@ -57,12 +63,28 @@
</div>
</div>
</el-dialog>
<el-dialog :title="DBFXSHOWTITLE" :visible.sync="DBFXSHOW" width="60%">
<div class="block_fzjcgxlfx" style="width: 400px;margin: 20px;display: flex;justify-content: space-between">
<el-date-picker
v-model="value1"
:picker-options="pickerOptions"
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
<el-button size="mini" style="margin-left: 20px;" @click="getDate">查询</el-button>
</div>
<div v-if="DBFXSHOW" id="charts" ref="charts" ></div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { pageTbYwWjpjckxq } from "@/api/fzjc.js";
import { pageTbYwWjpjckxq,queryJdswjpj } from "@/api/fzjc.js";
export default {
name: "queryHbyp",
components: {
......@@ -70,7 +92,14 @@
},
data() {
return {
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now();
},
},
selectedId:[],
loading: false,
value1: [],
tableData: [],
dwss: "",
page: 1,
......@@ -139,6 +168,8 @@
pjForm: {},
value: 0,
dialogFormVisible: false,
DBFXSHOW: false,
DBFXSHOWTITLE: '',
colors: ["#99A9BF", "#F7BA2A", "#FF9900"],
dialogFormVisiblePj: false,
formLabelWidth: "130px",
......@@ -161,33 +192,23 @@
},
],
header: "微决评价完善中心",
pageBs: "queryWjpj",
pageBs: "fzjcgxlfx",
cxFormData: {
limit: 10,
page: 1,
mxmc: "",
sfmc: "",
dw: "",
pflx:'1'
},
cxQueryField: [
{
name: "模型名称",
id: "mxmc",
id: "sfmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "单位",
id: "dw",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
],
cxDefaultFormThead: [
{
......@@ -246,12 +267,70 @@
},
fileArr: [],
zdXxzjbh: "",
gllx: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
getDate(){
this.DBFX(1,this.DBFXSHOWTITLE )
console.log(this.value1);
},
selectionChange(row){
this.selectedId = [];
row.forEach((item) => {
this.selectedId.push(item.xxzjbh);
});
},
DBFX(i,t){
this.DBFXSHOWTITLE =t;
this.DBFXSHOW = true;
let fxFlag='';
if(t==='阶段性对比分析'){fxFlag=1} else {fxFlag=2};
let kssj,jssj,xxzjbhList;
if(this.value1){kssj=this.value1[0];jssj=this.value1[1];}
if(this.selectedId.length){xxzjbhList = this.selectedId.toString()}
queryJdswjpj({
pflx:this.cxFormData.pflx,
fxFlag:fxFlag,kssj,jssj,xxzjbhList})
.then(res=>{
if( res.code===200){
let rows = res.data.rows;
let jdPjf = [];
let mxmc = [];
rows.find((v)=>{
jdPjf.push(v['jdPjf']);
mxmc.push(v['mxmc'])
})
let myChart = this.$echarts.init(this.$refs.charts);
let option = {
xAxis: {
type: 'category',
data: mxmc
},
yAxis: {
type: 'value'
},
series: [
{
data: jdPjf,
type: 'bar',
showBackground: true,
backgroundStyle: {
color: 'rgba(180, 180, 180, 0.2)'
}
}
]
};
myChart.setOption(option)
}
})
},
handleSizeChange(val) {
this.limit = val;
this.getZbzzList();
......@@ -263,16 +342,18 @@
// 详情
toXq(scope) {
this.dialogFormVisible = true;
this.dwss = scope.row.mxmc;
this.dwss = scope.row.sfmc;
this.gllx = scope.row.gllx;
this.getZbzzList();
},
getZbzzList() {
this.loading = true;
pageTbYwWjpjckxq({
mxmc: this.dwss,
sfmc: this.dwss,
page: this.page,
limit: this.limit,
pflx: this.pflx,
gllx: this.gllx,
}).then((res) => {
this.tableData = res.data.rows;
this.loading = false;
......@@ -347,6 +428,11 @@
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
.rightContent .el-input__icon, #formCommonPage .el-input__icon, .el-input__suffix-inner{
display: flex;
flex-direction: column;
justify-content: center;
}
</style>
<style scoped lang="scss">
.el-form-item {
......@@ -385,4 +471,9 @@
/deep/.el-select.el-select--mini {
width: 100px;
}
#charts {
background-color: #fff;
width: 100%;
height: 400px;
}
</style>
......@@ -459,6 +459,10 @@ export default {
}).then((res) => {
loading.close();
var result = res.data.rows;
if(res.data.rows.sfzsxstgz == 0) {
this.cxQueryField.splice(1,1)
result.tgz = []
}
this.pageObject = result;
});
},
......
......@@ -240,15 +240,15 @@
:cxDefaultFormThead="sendMessage.cxDefaultFormThead"
:cxUrl="sendMessage.cxUrl"
@sendMessageTo="sendMessageTo"
ref="rightContent"
ref="rightContentFS"
></right-content>
<span slot="footer" class="dialog-footer">
<el-button @click="searchDialogVisiable = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogS" width="55%">
<right-content
<el-dialog title="关联案件" :visible.sync="dialogS" width="64%">
<!-- <right-content
:pageBs="bshglajS.pageBs"
:cxFormData="bshglajS.cxFormData"
:cxQueryField="bshglajS.cxQueryField"
......@@ -256,14 +256,89 @@
@toInforDa="toInforDa"
:cxUrl="bshglajS.cxUrl"
ref="rightContentS"
></right-content>
></right-content> -->
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajS.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<template slot-scope="scope">
<div v-if="columnTitle.prop == 'jyaq'">
<div class="ajxq_s">
<span class="none" v-html="scope.row[columnTitle.prop]"></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style="
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
</div>
<div class="ajxq_n" style="display: none">
<span
style="display: block"
v-html="scope.row[columnTitle.prop]"
></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[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>收起</a
>
</div>
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }}
</div>
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS"
>
</el-pagination>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="55%">
<right-content
<el-dialog title="关联案件" :visible.sync="dialogG" width="64%">
<!-- <right-content
:pageBs="bshglajG.pageBs"
:cxFormData="bshglajG.cxFormData"
:cxQueryField="bshglajG.cxQueryField"
......@@ -271,7 +346,82 @@
@toInforDa="toInforDa"
:cxUrl="bshglajG.cxUrl"
ref="rightContentG"
></right-content>
></right-content> -->
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajG.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<template slot-scope="scope">
<div v-if="columnTitle.prop == 'jyaq'">
<div class="ajxq_s">
<span class="none" v-html="scope.row[columnTitle.prop]"></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style="
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
</div>
<div class="ajxq_n" style="display: none">
<span
style="display: block"
v-html="scope.row[columnTitle.prop]"
></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[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>收起</a
>
</div>
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }}
</div>
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG"
>
</el-pagination>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
......@@ -281,7 +431,13 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx, doAnalyse, insertUserMessage } from "@/api/rlqbxs.js";
import {
deleteKyxsxx,
doAnalyse,
insertUserMessage,
getAjListByS,
getAjListByQg,
} from "@/api/rlqbxs.js";
import base from "@/api/base";
export default {
name: "rlqbxsxx",
......@@ -640,6 +796,16 @@ export default {
],
cxUrl: "/rlqb/getAjListByQg",
},
tableDataS: [],
tableDataG: [],
pagesize: 5,
tableDataSLength: '',
tableDataGLength: '',
pageShowS:false,
pageShowG:false,
currentPage1G: 1,
currentPage1S: 1,
};
},
created() {
......@@ -648,6 +814,16 @@ export default {
this.$store.commit("user/SET_Header", this.header);
},
methods: {
handleCurrentChangeS(val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val
this.showDialogS()
},
handleCurrentChangeG(val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val
this.showDialogG()
},
oneClickAnalize() {
// debugger
console.log(this.$refs);
......@@ -705,10 +881,10 @@ export default {
console.log(item);
var params = new FormData();
params.append("qbxsmc", this.sendOutMessage.qbxsmc);
params.append("qbxsmc", this.sendOutMessage.qbxsnr);
params.append("qbxsmc", this.sendOutMessage.xxzjbh);
params.append("qbxsmc", item.identitycard);
params.append("qbxsmc", item.unitcode);
params.append("qbxsnr", this.sendOutMessage.qbxsnr);
params.append("xxzjbh", this.sendOutMessage.xxzjbh);
params.append("identitycard", item.identitycard);
params.append("unitcode", item.unitcode);
insertUserMessage(params).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("发送成功");
......@@ -759,18 +935,49 @@ export default {
});
},
showDialogS(data) {
// console.log(data);
// this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
params.append("rlqbxxzjbh", data.row.xxzjbh);
getAjListByS(params).then((res) => {
if (res.success && res.code == 200) {
this.tableDataS = [...res.data.rows];
this.tableDataSLength = res.data.total
if(this.tableDataSLength >= 5) {
this.pageShowS = true;
} else {
this.pageShowS = false;
}
}
});
// this.tableDataS = [ ...this.tableDataS ]
this.dialogS = true;
console.log(data);
this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajS.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
},
showDialogG(data) {
this.dialogG = true;
console.log(data);
this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajG.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
// console.log(data);
// this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
params.append("rlqbxxzjbh", data.row.xxzjbh);
getAjListByQg(params).then((res) => {
if (res.success && res.code == 200) {
this.tableDataG = res.data.rows;
this.tableDataGLength = res.data.total
if(this.tableDataGLength >= 5) {
this.pageShowG = true;
} else {
this.pageShowG = false;
}
}
});
},
handleSizeChange(val) {
this.page_size = val;
this.formData.limit = val;
},
toInforDa(scope) {
debugger;
......@@ -814,7 +1021,9 @@ export default {
// this.$refs.rightContent.doQuery("yes");
// },
},
mounted() {},
mounted() {
console.log(this.$refs);
},
};
</script>
<style>
......
......@@ -9,13 +9,15 @@
:cxUrl="cxUrl"
@toInfor="toInfor"
:pageASs='pageASs'
@add="add"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="toSb(scope.scope)">上报</span>
<span class="hbyps" @click="toXf(scope.scope)">下发</span>
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="xsFk(scope.scope)">线索反馈</span>
......
......@@ -631,12 +631,20 @@ export default {
},
{
id: "xsbk",
label: "线索布控",
label: "我发起的线索布控",
index: "xsbk",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "xsbksp",
label: "我审批的线索布控",
index: "xsbksp",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
......
......@@ -20,11 +20,7 @@
<script>
import formCompontent from "@c/form.vue";
import {
addBkxx,
updateBkxx,
getBkxxByXxzjbh,
} from "@/api/xshb/xsbk.js";
import { addBkxx, updateBkxx, getBkxxByXxzjbh } from "@/api/xshb/xsbk.js";
export default {
name: "adjustXsbks",
components: {
......@@ -41,15 +37,15 @@ export default {
objStr: "",
index: 0,
data: [
{
name: "线索编号:",
id: "xsbh",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
// {
// name: "线索编号:",
// id: "xsbh",
// type: "text",
// value: "",
// prop: "checkEmpty",
// placeholder: "请输入",
// col: "2",
// },
{
name: "布控对象类型:",
id: "bkdxLxdm",
......@@ -156,7 +152,7 @@ export default {
disabled: false,
},
],
xxzjbh:'',//信息主键编号
xxzjbh: "", //信息主键编号
};
},
methods: {
......@@ -177,20 +173,66 @@ export default {
},
//新增保存
addSubmit(params, loading) {
params.append(
"glxxlx",
this.$route.query.glxxlx ? this.$route.query.glxxlx : "0001"
);
params.append(
"glxxXxzjbh",
this.$route.query.glxxXxzjbh ? this.$route.query.glxxXxzjbh : ""
);
addBkxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.$router.push("/xsbk");
sessionStorage.setItem("routerPath", "xsbk");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
},
});
if (res.data.flag == 1) {
this.$confirm(`${res.data.result}`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
params.append("saveFlag", "true");
addBkxx(params).then((res) => {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.$router.push("/xsbk");
sessionStorage.setItem("routerPath", "xsbk");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
},
});
});
})
.catch(() => {
loading.close();
this.$message({
type: "info",
message: "已取消重新布控",
});
});
} else if (res.data.flag == 2) {
this.$message({
type: "error",
message: `${res.data.result}`,
});
loading.close();
} else if (res.data.flag == 0) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.$router.push("/xsbk");
sessionStorage.setItem("routerPath", "xsbk");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
},
});
}
} else {
loading.close();
}
......@@ -279,24 +321,20 @@ export default {
},
created() {
if (this.$route.query.xxzjbh) {
this.title = "修改线索布控信息";
this.title = "修改我发起的线索布控信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}else{
//新增时,需要回显登录人的信息
let userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
this.propFormField[0].data.forEach(el=>{
let value = '';
if(el.id == 'sqrLxdh') value = userInfo.phone
if(el.id == 'sqrJh') value = userInfo.account
if(el.id == 'sqrZjhm') value = userInfo.identitycard
if(el.id == 'sqrXm') value = userInfo.realname
this.$set(
this.formLabelAlign,
el.id,
value
);
})
} else {
//新增时,需要回显登录人的信息
let userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
this.propFormField[0].data.forEach((el) => {
let value = "";
if (el.id == "sqrLxdh") value = userInfo.phone;
if (el.id == "sqrJh") value = userInfo.account;
if (el.id == "sqrZjhm") value = userInfo.identitycard;
if (el.id == "sqrXm") value = userInfo.realname;
this.$set(this.formLabelAlign, el.id, value);
});
}
},
};
......
......@@ -37,14 +37,14 @@ export default {
id: 1,
objStr: "", //对象中的对应字段
data: [
{
label: "线索编号:",
prop: "xsbh",
col: "3",
},
// {
// label: "线索编号:",
// prop: "xsbh",
// col: "3",
// },
{
label: "布控对象类型:",
prop: "bkdxLxdm",
prop: "bkdxLxdmStr",
col: "3",
},
{
......
......@@ -8,113 +8,337 @@
-->
<template>
<div class="Content contentDiv contentTab">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="最新位置信息" name="zxwz">
<el-table :data="resultData.zxwz" style="width: 100%" min-height="350">
<el-table-column prop="bshm" label="姓名" align="center"> </el-table-column>
<el-table-column prop="bslxStr" label="证件类型" align="center"></el-table-column>
<el-table-column prop="wzqh" label="出现位置" align="center"></el-table-column>
<el-table-column label="经纬度" align="center">
<template slot-scope="scope">
<div>{{ scope.row.jd }} , {{ scope.row.wd }}</div>
</template>
</el-table-column>
<el-table-column prop="stti" label="出发时间"> </el-table-column>
</el-table
></el-tab-pane>
<el-tab-pane label="民航信息" name="mh">
<el-table :data="resultData.mh" style="width: 100%" min-height="350">
<el-table-column prop="nm" label="姓名" align="center"></el-table-column>
<el-table-column prop="cety" label="证件类型" align="center"></el-table-column>
<el-table-column prop="ceco" label="证件号码" align="center"></el-table-column>
<el-table-column prop="orpl" label="户籍地" align="center"></el-table-column>
<el-table-column prop="depa" label="出发地" align="center"></el-table-column>
<el-table-column prop="dest" label="目的地" align="center"></el-table-column>
<el-table-column prop="flnu" label="航班号" align="center"></el-table-column>
<el-table-column prop="stti" label="出发时间" align="center"></el-table-column>
</el-table
></el-tab-pane>
<el-tab-pane label="铁路信息" name="tl">
<el-table :data="resultData.tl" style="width: 100%" max-height="350">
<el-table-column prop="tino" label="车票号" align="center"></el-table-column>
<el-table-column prop="nm" label="姓名" align="center"></el-table-column>
<el-table-column prop="ceco" label="证件号码" align="center"></el-table-column>
<el-table-column prop="tist" label="车票状态" align="center"></el-table-column>
<el-table-column prop="cono" label="车厢号" align="center"></el-table-column>
<el-table-column prop="trno" label="车次" align="center"></el-table-column>
<el-table-column prop="frsa" label="发站名称" align="center"></el-table-column>
<el-table-column prop="tost" label="到站名称" align="center"></el-table-column>
<el-table-column prop="seat" label="座位信息" align="center"></el-table-column>
</el-table
></el-tab-pane>
<el-tab-pane label="旅店信息" name="ld">
<el-table :data="resultData.ld" style="width: 100%" min-height="350">
<el-table-column prop="nm" label="姓名" align="center"></el-table-column>
<el-table-column prop="cety" label="证件类型" align="center"></el-table-column>
<el-table-column prop="ceco" label="证件号码" align="center"></el-table-column>
<el-table-column prop="orpl" label="户籍地" align="center"></el-table-column>
<el-table-column prop="sina" label="旅店名称" align="center"></el-table-column>
<el-table-column prop="newa" label="旅店编号" align="center"></el-table-column>
<el-table-column prop="siad" label="旅馆地址" align="center"></el-table-column>
<el-table-column prop="stti" label="入住时间" align="center"></el-table-column>
<el-table-column prop="entm" label="退房时间" align="center"></el-table-column>
<el-table-column prop="roid" label="房间号" align="center"></el-table-column>
</el-table
></el-tab-pane>
<el-tab-pane label="网吧信息" name="wb">
<el-table :data="resultData.wb" style="width: 100%" min-height="350">
<el-table-column prop="nm" label="姓名" align="center"></el-table-column>
<el-table-column prop="cety" label="证件类型" align="center"></el-table-column>
<el-table-column prop="ceco" label="证件号码" align="center"></el-table-column>
<el-table-column prop="orpl" label="户籍地" align="center"></el-table-column>
<el-table-column prop="sina" label="网吧名称" align="center"></el-table-column>
<el-table-column prop="newa" label="网吧编号" align="center"></el-table-column>
<el-table-column prop="siad" label="网吧地址" align="center"></el-table-column
><el-table-column prop="stti" label="上网时间" align="center"></el-table-column>
</el-table
></el-tab-pane>
<el-tab-pane label="卡口信息" name="clkk">
<!-- <span slot="label"> 卡口信息({{ pqLength1 }})</span> -->
<el-table :data="resultData.clkk" style="width: 100%" min-height="350">
<el-table-column prop="veco" label="车牌号码" align="center"></el-table-column>
<el-table-column prop="lnno" label="车道编号" align="center"></el-table-column>
<el-table-column prop="vhsp" label="车辆速度" align="center"></el-table-column>
<el-table-column prop="newa" label="卡口编码" align="center"></el-table-column>
<el-table-column prop="vccl" label="号牌颜色" align="center"></el-table-column>
<el-table-column prop="vhln" label="车外部长" align="center"></el-table-column>
<el-table-column prop="ddir" label="行驶方向" align="center"></el-table-column>
</el-table
></el-tab-pane>
</el-tabs>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane
label="最新位置信息"
name="zxwz"
v-if="type == '02' || type == '03'"
>
<el-table :data="resultData.zxwz" style="width: 100%" min-height="350">
<el-table-column prop="bshm" label="姓名" align="center">
</el-table-column>
<el-table-column
prop="bslxStr"
label="证件类型"
align="center"
></el-table-column>
<el-table-column
prop="wzqh"
label="出现位置"
align="center"
></el-table-column>
<el-table-column label="经纬度" align="center">
<template slot-scope="scope">
<div>{{ scope.row.jd }} , {{ scope.row.wd }}</div>
</template>
</el-table-column>
<el-table-column prop="stti" label="出发时间">
</el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="民航信息" name="mh" v-if="type == '04'">
<el-table :data="resultData.mh" style="width: 100%" min-height="350">
<el-table-column
prop="nm"
label="姓名"
align="center"
></el-table-column>
<el-table-column
prop="cety"
label="证件类型"
align="center"
></el-table-column>
<el-table-column
prop="ceco"
label="证件号码"
align="center"
></el-table-column>
<el-table-column
prop="orpl"
label="户籍地"
align="center"
></el-table-column>
<el-table-column
prop="depa"
label="出发地"
align="center"
></el-table-column>
<el-table-column
prop="dest"
label="目的地"
align="center"
></el-table-column>
<el-table-column
prop="flnu"
label="航班号"
align="center"
></el-table-column>
<el-table-column
prop="stti"
label="出发时间"
align="center"
></el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="铁路信息" name="tl" v-if="type == '04'">
<el-table :data="resultData.tl" style="width: 100%" max-height="350">
<el-table-column
prop="tino"
label="车票号"
align="center"
></el-table-column>
<el-table-column
prop="nm"
label="姓名"
align="center"
></el-table-column>
<el-table-column
prop="ceco"
label="证件号码"
align="center"
></el-table-column>
<el-table-column
prop="tist"
label="车票状态"
align="center"
></el-table-column>
<el-table-column
prop="cono"
label="车厢号"
align="center"
></el-table-column>
<el-table-column
prop="trno"
label="车次"
align="center"
></el-table-column>
<el-table-column
prop="frsa"
label="发站名称"
align="center"
></el-table-column>
<el-table-column
prop="tost"
label="到站名称"
align="center"
></el-table-column>
<el-table-column
prop="seat"
label="座位信息"
align="center"
></el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="旅店信息" name="ld" v-if="type == '04'">
<el-table :data="resultData.ld" style="width: 100%" min-height="350">
<el-table-column
prop="nm"
label="姓名"
align="center"
></el-table-column>
<el-table-column
prop="cety"
label="证件类型"
align="center"
></el-table-column>
<el-table-column
prop="ceco"
label="证件号码"
align="center"
></el-table-column>
<el-table-column
prop="orpl"
label="户籍地"
align="center"
></el-table-column>
<el-table-column
prop="sina"
label="旅店名称"
align="center"
></el-table-column>
<el-table-column
prop="newa"
label="旅店编号"
align="center"
></el-table-column>
<el-table-column
prop="siad"
label="旅馆地址"
align="center"
></el-table-column>
<el-table-column
prop="stti"
label="入住时间"
align="center"
></el-table-column>
<el-table-column
prop="entm"
label="退房时间"
align="center"
></el-table-column>
<el-table-column
prop="roid"
label="房间号"
align="center"
></el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="网吧信息" name="wh" v-if="type == '04'">
<el-table :data="resultData.wb" style="width: 100%" min-height="350">
<el-table-column
prop="nm"
label="姓名"
align="center"
></el-table-column>
<el-table-column
prop="cety"
label="证件类型"
align="center"
></el-table-column>
<el-table-column
prop="ceco"
label="证件号码"
align="center"
></el-table-column>
<el-table-column
prop="orpl"
label="户籍地"
align="center"
></el-table-column>
<el-table-column
prop="sina"
label="网吧名称"
align="center"
></el-table-column>
<el-table-column
prop="newa"
label="网吧编号"
align="center"
></el-table-column>
<el-table-column
prop="siad"
label="网吧地址"
align="center"
></el-table-column
><el-table-column
prop="stti"
label="上网时间"
align="center"
></el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="卡口信息" name="clkk" v-if="type == '05'">
<!-- <span slot="label"> 卡口信息({{ pqLength1 }})</span> -->
<el-table :data="resultData.clkk" style="width: 100%" min-height="350">
<el-table-column
prop="veco"
label="车牌号码"
align="center"
></el-table-column>
<el-table-column
prop="lnno"
label="车道编号"
align="center"
></el-table-column>
<el-table-column
prop="vhsp"
label="车辆速度"
align="center"
></el-table-column>
<el-table-column
prop="newa"
label="卡口编码"
align="center"
></el-table-column>
<el-table-column
prop="vccl"
label="号牌颜色"
align="center"
></el-table-column>
<el-table-column
prop="vhln"
label="车外部长"
align="center"
></el-table-column>
<el-table-column
prop="ddir"
label="行驶方向"
align="center"
></el-table-column> </el-table
></el-tab-pane>
<el-tab-pane label="话单信息" name="hd" v-if="type == '01'">
<el-table :data="resultData.hd" style="width: 100%" min-height="350">
<el-table-column
prop="sjhm"
label="手机号码"
align="center"
></el-table-column>
<el-table-column
prop="dfsjhm"
label="对方手机号码"
align="center"
></el-table-column>
<el-table-column
prop="thsjKssj"
label="通话开始时间"
align="center"
></el-table-column>
<el-table-column
prop="thsjJssj"
label="通话结束时间"
align="center"
></el-table-column>
<el-table-column
prop="thsc"
label="通话时长"
align="center"
></el-table-column> </el-table
></el-tab-pane>
</el-tabs>
<div>
<!--分页-->
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage11"
:page-sizes="[10, 20, 50, 100]"
:page-size="page_size1"
layout="sizes,prev, pager, next"
:total="tableDataLength"
>
</el-pagination>
</div>
</div>
</template>
<script>
import {
getTaskResult,
} from "@/api/xshb/xsbk.js";
import { getTaskResult } from "@/api/xshb/xsbk.js";
export default {
name: "queryXsbkResult",
components: {},
data() {
return {
activeName:'zxwz',
resultData:{
zxwz:[],
mh:[],
tl:[],
ld:[],
wb:[],
clkk:[],
xl: "",
currentPage11: 1, //表格页码
page_size1: 10, //每页显示多少条
tableDataLength: 0, //表格总数
activeName: "zxwz",
resultData: {
zxwz: [],
mh: [],
tl: [],
ld: [],
wb: [],
clkk: [],
hd: [],
},
xxzjbh:'',
xxzjbh: "",
type: "",
};
},
mounted() {},
methods: {
handleClick(value){
console.log(value,'valuevaluevavasd')
handleClick(value) {
debugger;
console.log(value.name, "valuevaluevavasd");
this.xl = value.name;
this.getInfor();
},
getInfor() {
let loading = this.$loading({
......@@ -123,25 +347,68 @@ export default {
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let lxs = "";
if (this.type == "04") {
lxs = this.xl ? this.xl : "mh";
}
getTaskResult({
xxzjbh: this.xxzjbh,
}).then((res)=>{
console.log(res,'rerererere')
for(let key in this.resultData){
this.resultData[key] = res.data[key] || []
xxzjbh: this.xxzjbh,
type: this.type,
page: this.currentPage11,
lx: lxs ? lxs : "",
limit: this.page_size1,
}).then((res) => {
if (res.code == "200") {
this.tableDataLength = res.data.total;
if (this.type == "05") {
this.resultData.clkk = res.data.rows;
} else if (this.type == "04" && lxs == "mh") {
this.resultData.mh = res.data.rows;
} else if (this.type == "04" && lxs == "tl") {
this.resultData.tl = res.data.rows;
} else if (this.type == "04" && lxs == "ld") {
this.resultData.ld = res.data.rows;
} else if (this.type == "04" && lxs == "wh") {
this.resultData.wb = res.data.rows;
} else if (this.type == "01") {
this.resultData.hd = res.data.rows;
} else if (this.type == "02" || this.type == "03") {
this.resultData.hd = res.data.rows;
}
loading.close();
})
}
// for(let key in this.resultData){
// this.resultData[key] = res.data[key] || []
// }
});
},
handleSizeChange(val) {
this.page_size1 = val;
this.getInfor();
},
handleCurrentChange(val) {
this.currentPage11 = val;
this.getInfor();
},
},
created() {
this.xxzjbh = this.$route.query.xxzjbh;
this.type = this.$route.query.type;
if (this.type == "01") {
this.activeName = "hd";
} else if (this.type == "04") {
this.activeName = "mh";
} else if (this.type == "05") {
this.activeName = "clkk";
} else {
this.activeName = "zxwz";
}
this.getInfor();
},
};
</script>
<style scoped lang="scss">
.contentTab{
.contentTab {
margin: 20px;
padding: 15px 10px;
border-radius: 5px;
......
......@@ -7,35 +7,69 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@toInfor="toInfor"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
<template #btnGroup="scope">
<span
v-if="scope.scope.row.bkzt == '01' || scope.scope.row.bkzt == '03'"
v-if="
scope.scope.row.bkzt == '0' &&
(scope.scope.row.spjgPdbz == '3' || scope.scope.row.spjgPdbz == '2')
"
class="hbyp"
@click="edit(scope.scope)"
>修改</span
>
<span
v-if="scope.scope.row.bkzt == '01'"
v-if="
scope.scope.row.bkzt == '0' &&
(scope.scope.row.spjgPdbz == '3' || scope.scope.row.spjgPdbz == '2')
"
class="hbyp"
@click="dele(scope.scope)"
>删除</span
>
<span
v-if="scope.scope.row.bkzt == '1'"
class="hbyp"
@click="toCk(scope.scope)"
>撤控</span
>
<span
v-if="scope.scope.row.bkzt == '01'"
<!-- <span
v-if="scope.scope.row.bkzt == '0' && scope.scope.row.spjgPdbz == '0'"
class="hbyp"
@click="toXXSP(scope.scope)"
>审批</span
>
> -->
<span
v-if="scope.scope.row.bkzt == '02'"
v-if="
(scope.scope.row.bkzt == '1' || scope.scope.row.bkzt == '2') &&
scope.scope.row.sfybkjg == '1'
"
class="hbyp"
@click="toJGCX(scope.scope)"
>结果查询</span
>
<span
v-if="
scope.scope.row.bkzt == '0' &&
scope.scope.row.spjgPdbz != '0' && scope.scope.row.spjgPdbz != '1'
"
class="hbyp"
@click="tqsp(scope.scope)"
>提请审批</span
>
<span
v-if="scope.scope.row.bkzt == '0' && scope.scope.row.spjgPdbz == '0'"
class="hbyp"
@click="chsp(scope.scope)"
>撤回审批</span
>
</template>
</right-content>
</div>
......@@ -43,7 +77,14 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { backBkxx, bkxxSp, getTaskResult } from "@/api/xshb/xsbk.js";
import {
backBkxx,
bkxxSp,
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxChsp,
} from "@/api/xshb/xsbk.js";
export default {
name: "xsbk",
components: {
......@@ -120,8 +161,8 @@ export default {
],
cxDefaultFormThead: [
{
label: "线索编号",
prop: "xsbh",
label: "信息主键编号",
prop: "xxzjbh",
toInfor: true,
width: "250",
},
......@@ -160,7 +201,7 @@ export default {
Menu: [
{
id: "xsbk",
label: "线索布控",
label: "我发起的线索布控",
index: "xsbk",
auth: "M0101",
className: "iconfont iconrizhi",
......@@ -179,6 +220,60 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
// 提请审批
tqsp(scope) {
this.$confirm("是否提请审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
bkxxTqsp({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "提请审批成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消提请审批",
});
});
},
// 撤回审批
chsp(scope) {
this.$confirm("是否撤回审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
bkxxChsp({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "撤回审批成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消撤回审批",
});
});
},
/**
* @description 新增
*/
......@@ -240,10 +335,12 @@ export default {
* @description 结果查询
*/
toJGCX(scope) {
debugger;
this.$router.pushToTab({
path: "/queryXsbkResult",
query: {
xxzjbh: scope.row.xxzjbh,
type: scope.row.bkdxLxdm,
},
});
},
......@@ -274,6 +371,33 @@ export default {
}
});
},
// 删除
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteBkxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
},
watch: {},
};
......@@ -345,4 +469,19 @@ export default {
margin-right: 16px;
cursor: pointer;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="toXXSP(scope.scope)">审批</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {
backBkxx,
bkxxSp,
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxChsp,
} from "@/api/xshb/xsbk.js";
export default {
name: "xsbk",
components: {
rightContent,
},
data() {
return {
header: "线索核办",
pageBs: "xsbk",
cxFormData: {
limit: 10,
page: 1,
bkdxLxdm: "",
bkdxHm: "",
sqrXm: "",
djsjStart: "",
djsjEnd: "",
spjgPdbz : "0",
},
cxQueryField: [
// {
// name: "线索编号",
// id: "xsbh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
{
name: "布控对象类型",
id: "bkdxLxdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_BKLXDM",
},
{
name: "布控对象号码",
id: "bkdxHm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
// {
// name: "布控状态",
// id: "bkzt",
// type: "codeTreeDialog",
// props: [], //字典弹框需要的字段
// value: "",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_BKZTDM",
// },
{
name: "申请人",
id: "sqrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "申请时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
prop: "xxzjbh",
toInfor: true,
width: "250",
},
{
label: "布控对象类型",
prop: "bkdxLxdmStr",
width: "200",
},
{
label: "布控对象号码",
prop: "bkdxHm",
width: "200",
},
{
label: "布控要求",
prop: "bkyq",
width: "300",
},
{
label: "布控依据",
prop: "bkyj",
width: "300",
},
{
label: "申请人",
prop: "sqrXm",
width: "200",
},
{
label: "申请时间",
prop: "djsj",
width: "200",
},
],
cxUrl: "/xsbk/getBkxxList",
Menu: [
{
id: "xsbksp",
label: "我审批的线索布控",
index: "xsbksp",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
toInfor(row) {
this.$router.pushToTab({
path: "/detailXsbks",
query: {
xxzjbh: row.xxzjbh,
},
});
},
toXXSP(scope) {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
backBkxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$alert("审批成功!", "提示", {
confirmButtonText: "确定",
type: "success",
});
loading.close();
} else {
this.$message({
type: "error",
message: res.message,
});
}
});
},
},
watch: {},
};
</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">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -8,10 +8,15 @@
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@dele="dele"
@add="add"
@toInfor="toInfor"
ref="rightContent"
></right-content>
>
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
</right-content>
<el-dialog title="新增用户组" :visible.sync="dialogFormVisible">
<span class="btx">*</span>
<eldialog-content
......@@ -350,7 +355,10 @@ export default {
params.append(`userList[${index}].yhLxdh`, item.telephone);
params.append(`userList[${index}].yhDwdm`, item.unitcode);
params.append(`userList[${index}].yhDwmc`, item.unitname);
params.append(`userList[${index}].yhJb`, index == this.indexRadio ? '0001' : '0000');
params.append(
`userList[${index}].yhJb`,
index == this.indexRadio ? "0001" : "0000"
);
});
// this.selectedId1.forEach((item, index) => {
// params.append(`userList[${index}].yhJb`, item.radio);
......@@ -452,4 +460,19 @@ export default {
left: 77px;
z-index: 100;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -174,7 +174,7 @@
</template>
</el-table-column>
</el-table>
<h1 style="margin: 20px 0;">级回报列表</h1>
<h1 style="margin: 20px 0;">级回报列表</h1>
<el-table
:data="melist"
style="width: 100%">
......@@ -196,6 +196,25 @@
</el-table-column>
</el-table>
<h1 style="margin: 20px 0;">本级回报列表</h1>
<el-table
:data="iResponseInfo"
style="width: 100%">
<el-table-column prop="zczlbh" label="工作指令编号"></el-table-column>
<el-table-column prop="hbrdwmc" label="回报单位"></el-table-column>
<el-table-column prop="hbType" label="回报类型"></el-table-column>
<el-table-column prop="hbnr" label="回报内容"></el-table-column>
<el-table-column prop="hbsjDate" label="回报时间"></el-table-column>
<el-table-column
fixed="right"
label="操作"
width="120">
<template slot-scope="scope">
<el-button @click.native.prevent="Seepingjia(scope, tableData)">查看评价</el-button>
</template>
</el-table-column>
</el-table>
</el-form>
</div>
<div v-if="sub==='YJ'" class="SP subBox" style="margin-top: 30px;">
......@@ -321,7 +340,8 @@ import {
getHbDetailByFpbh,
getZczltoMeInfomation,
getAllHbInfoByFpbh,
doEvaluate
doEvaluate,
getAllResponseFromMe
} from "@/api/zczl/zczl.js"
import SelectTreeDialog from "@c/treeCode_components.vue";
import axios from "@/utils/http.js"
......@@ -363,6 +383,7 @@ export default {
PJTableData: false,
tableData: [],
melist: [],
iResponseInfo: [],
fplist: [],
fileArr: [],
//需要我审批模块
......@@ -459,7 +480,7 @@ export default {
doEvaluate(params).then(res => {
if (res.code === 200) {
this.$message.success('评价成功');
getAllHbInfoByFpbh({fpbh: this.fpbh}).then(res => {
getAllHbInfoByFpbh({fpbh: this.fpbh, zczlbh: this.zczlbh}).then(res => {
if (res.code === 200) {
this.melist = res.data.hbDetailList;
this.fplist = res.data.fpDetailList;
......@@ -605,7 +626,8 @@ export default {
for (let f of this.list.values()) {
s.push(`${f.unitCode}|${f.peopleAccount}`)
}
this.FPForm.qsrjh = s
this.FPForm.qsrjh = s;
this.FPForm.ywlx = this.info.zczlMainInfo.ywlx;
this.$emit('post', this.FPForm)
},//分派
},
......@@ -675,10 +697,15 @@ export default {
})
}
if (this.sub === 'PJ') {
getAllHbInfoByFpbh({fpbh: this.fpbh}).then(res => {
getAllHbInfoByFpbh({fpbh: this.fpbh, zczlbh: this.zczlbh}).then(res => {
if (res.code === 200) {
this.melist = res.data.hbDetailList
}
});
getAllResponseFromMe({fpbh: this.fpbh}).then(response => {
if (response.code === 200) {
this.iResponseInfo = response.data.hbDetailList
}
})
}
},
......
......@@ -91,28 +91,6 @@
<el-dialog title="指令分派" :visible.sync="FP">
<el-form :inline="true" :model="FPForm" class="demo-form-inline">
<el-row>
<!-- <el-col :span="20" :offset="1" >
<el-form-item label="指令编号" style="width:100%" label-width="100px">
<el-input
disabled
type="text"
v-model="FPForm.zczlbh"
style="width: 400px"
placeholder="请输入"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="1">
<el-form-item label="分派编号" style="width:100%" label-width="100px">
<el-input
disabled
type="text"
v-model="FPForm.fpbh"
style="width: 400px"
placeholder="请输入"
></el-input>
</el-form-item>
</el-col>-->
<el-col :span="20" :offset="1" class="JKS">
<el-form-item label="接收单位" label-width="100px" style="width:500px">
<el-select v-model="FPForm.qsrgajgdm" placeholder="请选择" multiple style="width: 500px;">
......@@ -189,7 +167,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import {zczlQs, doAddHb, doFpNew, doYjNew, getChildUnitAndPeople, editHbInfo, doEvaluate} from "@/api/zczl/zczl.js"
import {zczlQs, doAddHb, doFpNew, doYjNew, getChildUnitAndPeople, editHbInfo, doEvaluate,queryLlys} from "@/api/zczl/zczl.js"
import {zlqszt, nfxb, nfhb, nfhbxg, nffp, zlhbzt, sfczhbxx, hbpjdj, xbpjdj,zczlzt,xjZczlzt} from "@/assets/js/transformFormTable.js";
import axios from "@/utils/http.js"
......@@ -468,7 +446,7 @@ export default {
},
{
label : "最近回报时间",
prop : "nearyResponseTime"
prop : "nearlyResponseTime"
}
// {
// label: "能否回报",
......@@ -665,7 +643,6 @@ export default {
},
methods: {
toInfor(row) {
this.sub = 'PJ';
this.drawer = true;
this.zczlbh = row.zczlbh
......@@ -722,13 +699,30 @@ export default {
})
}
if (this.sub === 'FP') {
let self = this;
queryLlys({unitcodes: params.qsrgajgdm.toString()}).then((res) => {
if (res.success && res.code == 200) {
if (res.data && res.data.flag == "0") {
this.$message.error("该单位没有联络员,不能发布指令");
} else {
let dwdm = params.get("zljsdwdm").split(",");
let resDwdm = res.data.flag.split(",");
self.$set(self.formLabelAlign, "zljsdwdm", resDwdm);
if (dwdm.length !== resDwdm.length) {
this.$message.warning("已自动过滤没有联络员的单位");
}
params.set("zljsdwdm", res.data.flag);
self.zczlSubmit(params);
}
}
});
let t = new FormData();
t.append('zczlbh', this.FPForm.zczlbh)
t.append('fpbh', this.FPForm.fpbh)
t.append('fpgzyq', params.fpgzyq)
t.append('ywlx', params.ywlx)
t.append('qsrjh', params.qsrjh.toString())
t.append('qsrgajgdm', params.qsrgajgdm.toString())
doFpNew(t).then(res => {
if (res.code == 200 && res.success) {
this.$message.success("指派成功");
......@@ -798,22 +792,24 @@ export default {
toXb(scope) {
this.sfxb = "1";
this.zczlbh = scope.row.zczlbh;
this.fpbh = scope.row.fpbh;
this.drawer = true
this.sub = 'HB'
this.$set(this.lkForm, "zczlbh", scope.row.zczlbh);
this.$set(this.lkForm, "fpbh", scope.row.fpbh);
this.$set(this.lkForm, "sfxb", this.sfxb);
},
toHb(scope) {
this.sfxb = "0";
this.zczlbh = scope.row.zczlbh;
this.drawer = true
this.fpbh = scope.row.fpbh;
this.drawer = true;
this.sub = 'HB'
this.$set(this.lkForm, "zczlbh", scope.row.zczlbh);
this.$set(this.lkForm, "fpbh", scope.row.fpbh);
this.$set(this.lkForm, "sfxb", this.sfxb);
// this.newlyVisiable = true;
// getHbxxDoHbxgByFpbh({ fpbh: scope.row.fpbh, sfxbxg: "" });
},
submitLKD() {
let params = new FormData();
......@@ -836,11 +832,13 @@ export default {
},
FenPai(scope) {
let rows = scope.row;
let zczlbh = rows.zczlbh
let fpbh = rows.fpbh
this.FPForm.zczlbh = zczlbh
this.FPForm.fpbh = fpbh
this.FPForm.ywlx = rows.ywlx
let zczlbh = rows.zczlbh;
let fpbh = rows.fpbh;
this.FPForm.zczlbh = zczlbh;
this.FPForm.fpbh = fpbh;
this.FPForm.ywlx = rows.ywlx;
this.zczlbh = zczlbh;
this.fpbh = fpbh;
this.drawer = true
this.sub = 'FP'
},
......@@ -864,23 +862,13 @@ export default {
this.sub = 'YJ'
this.drawer = true
let rows = scope.row;
let zczlbh = rows.zczlbh
let fpbh = rows.fpbh
this.YJForm.zczlbh = zczlbh
let zczlbh = rows.zczlbh;
let fpbh = rows.fpbh;
this.YJForm.zczlbh = zczlbh;
this.YJForm.fpbh = fpbh;
/* getChildUnitAndPeople({onlyLly:1,unitCode:'540100000000'}).then(res=>{
if (res.code == 200 && res.success) {
let list = res.data.unitChilds;
let account = JSON.parse(sessionStorage.getItem('userInfo')).account
for(let i in list){
let peopleAccount = list[i].peopleAccount;
if(peopleAccount ===account ){
list.splice(i,1)
}
}
this.unitChilds = list
}
})*/
this.zczlbh = zczlbh;
this.fpbh = fpbh;
},
PJ(scope) {
this.sub = 'PJ';
......
......@@ -17,10 +17,10 @@
</template>
</right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl infoType="1" fpbh="" v-if="drawer" @post="post" :zczlbh="zczlbh" sub="SP"></zczl>
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl infoType="1" :fpbh="fpbh" v-if="drawer" @post="post" :zczlbh="zczlbh" sub="SP"></zczl>
</el-drawer>
<!-- 撤控 -->
<el-dialog title="申请指令信息" :visible.sync="revokeVisiable" width="30%">
......@@ -71,21 +71,23 @@
import rightContent from "@c/ptCxForm_components.vue";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import {tjsp} from "@/api/zczl/zczl.js";
import {spsftg, ifsp} from "@/assets/js/transformFormTable.js";
import {spsftg, ifsp, zlType} from "@/assets/js/transformFormTable.js";
export default {
name: "rlqbxsxx",
components: {
rightContent,zczl
rightContent, zczl
},
data() {
return {
zczlbh:'',
zczlbh: '',
fpbh: '',
drawer: false,
tableOperation: true,
transformFormTable: {
ifsp,
spsftg
spsftg,
zlType
},
header: "需要我审批的工作指令",
pageBs: "xywspdzczl",
......@@ -178,33 +180,33 @@ export default {
value: "",
col: "3",
},
{
name: "审批是否通过",
id: "spsftg",
type: "select",
selectData: [
{
name: "全部",
value: "",
},
{
name: "待审批",
value: "2",
},
{
name: "通过",
value: "1",
},
{
name: "未通过",
value: "0",
},
],
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
},
/* {
name: "审批是否通过",
id: "spsftg",
type: "select",
selectData: [
{
name: "全部",
value: "",
},
{
name: "待审批",
value: "2",
},
{
name: "通过",
value: "1",
},
{
name: "未通过",
value: "0",
},
],
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
},*/
],
cxDefaultFormThead: [
{
......@@ -231,7 +233,7 @@ export default {
{
label: "业务编号",
prop: "zczlbh",
width:'300'
width: '300'
},
{
label: "业务类型",
......@@ -251,7 +253,11 @@ export default {
},
{
label: "业务名称",
prop: "spsftg",
prop: "ywmc",
},
{
label: "审批类型",
prop: "zlType",
},
],
cxUrl: "/zczl/getXywspdzczlListNew",
......@@ -271,7 +277,7 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
post(params){
post(params) {
tjsp(params).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("审批成功");
......@@ -295,49 +301,51 @@ export default {
});
},
examine(scope) {
console.log(scope.row.fpbh)
if (scope.row.ifsp == "不能") {
this.$message.error("不可以审批此条消息");
return;
}
this.drawer = true;
this.zczlbh = scope.row.zczlbh
/* let params = new FormData();
let self = this;
params.append("zczlbh", scope.row.zczlbh);
this.$set(self.params, "zczlbh", scope.row.zczlbh);
let loading = self.$loading({
lock: true,
text: "正在设置...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryZlxqByZczlbh(params).then((res) => {
if (res.code == 200 && res.success) {
loading.close();
let result = res.data.tbYwZczl;
if (result.qqfqrxm) {
this.$set(self.ckForm, "fqyxm", result.qqfqrxm);
this.$set(self.ckForm, "fqydwmc", result.qqfqrdwmc);
this.$set(self.ckForm, "fqylxdh", result.qqfqrlxdh);
this.$set(self.labelForm, "xm", "申请发起人姓名");
this.$set(self.labelForm, "dwmc", "申请发起人单位");
this.$set(self.labelForm, "dh", "申请发起人电话");
this.$set(self.params, "sfqqzl", "1");
} else {
this.$set(self.ckForm, "fqyxm", result.zlfqrxm);
this.$set(self.ckForm, "fqydwmc", result.zlfqrdwmc);
this.$set(self.ckForm, "fqylxdh", result.zlfqrlxdh);
this.$set(self.labelForm, "xm", "指令发起人姓名");
this.$set(self.labelForm, "dwmc", "指令发起人单位");
this.$set(self.labelForm, "dh", "指令发起人电话");
this.$set(self.params, "sfqqzl", "0");
}
self.revokeVisiable = true;
} else {
loading.close();
this.$message.error("提取信息失败");
}
});*/
this.zczlbh = scope.row.zczlbh;
this.fpbh = scope.row.fpbh
/* let params = new FormData();
let self = this;
params.append("zczlbh", scope.row.zczlbh);
this.$set(self.params, "zczlbh", scope.row.zczlbh);
let loading = self.$loading({
lock: true,
text: "正在设置...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryZlxqByZczlbh(params).then((res) => {
if (res.code == 200 && res.success) {
loading.close();
let result = res.data.tbYwZczl;
if (result.qqfqrxm) {
this.$set(self.ckForm, "fqyxm", result.qqfqrxm);
this.$set(self.ckForm, "fqydwmc", result.qqfqrdwmc);
this.$set(self.ckForm, "fqylxdh", result.qqfqrlxdh);
this.$set(self.labelForm, "xm", "申请发起人姓名");
this.$set(self.labelForm, "dwmc", "申请发起人单位");
this.$set(self.labelForm, "dh", "申请发起人电话");
this.$set(self.params, "sfqqzl", "1");
} else {
this.$set(self.ckForm, "fqyxm", result.zlfqrxm);
this.$set(self.ckForm, "fqydwmc", result.zlfqrdwmc);
this.$set(self.ckForm, "fqylxdh", result.zlfqrlxdh);
this.$set(self.labelForm, "xm", "指令发起人姓名");
this.$set(self.labelForm, "dwmc", "指令发起人单位");
this.$set(self.labelForm, "dh", "指令发起人电话");
this.$set(self.params, "sfqqzl", "0");
}
self.revokeVisiable = true;
} else {
loading.close();
this.$message.error("提取信息失败");
}
});*/
},
},
mounted() {
......
......@@ -8,10 +8,13 @@
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
></right-content>
>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="edit(scope.scope)">删除</span>
</template>
</right-content>
</div>
</template>
......@@ -349,4 +352,13 @@ export default {
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
</style>
......@@ -9,28 +9,29 @@
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@examine="examine"
></right-content>
>
<template #btnGroup="scope">
<span class="hbyp" @click="examine(scope.scope)">审批</span>
</template>
</right-content>
<!-- 审批意见框 -->
<el-dialog title="审批" :visible.sync="dialogVisible" width="30%" center>
<el-form :inline="true" :model="examineInfo" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="4" style="margin-top:20px;">
<el-col :span="20" :offset="4" style="margin-top: 20px">
<el-form-item label="审批意见" style="width:100%;">
<el-input
type="textarea"
v-model="examineInfo.spyj"
:autosize="{ minRows: 2, maxRows: 4}"
style="width:300px"
:autosize="{ minRows: 2, maxRows: 4 }"
style="width: 300px"
placeholder="审批意见"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="4" style="margin-top: -10px">
<el-form-item label="审批状态">
<el-radio v-model="examineInfo.splc" label="0"
>审批通过</el-radio
>
<el-radio v-model="examineInfo.splc" label="0">审批通过</el-radio>
<el-radio v-model="examineInfo.splc" label="2"
>审批不通过</el-radio
>
......@@ -40,9 +41,7 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="updatesplc"
>确 定</el-button
>
<el-button type="primary" @click="updatesplc">确 定</el-button>
</span>
</el-dialog>
</div>
......@@ -82,14 +81,14 @@ export default {
// { label: '一人多案', val: 'zd010015' }
// ]
// },
{
{
name: "人员分类",
id: "ryfl",
type: "codeTreeDialog",
value: "",
placeholder: "请选择",
col: "3",
multiple:true,
multiple: true,
codeOptions: [],
codeTree: "CODE_ZDGZRYFL",
},
......@@ -241,7 +240,7 @@ export default {
label: "作案年龄",
prop: "zanl",
},
{
{
label: "人员标签",
prop: "codeTxt",
width: "200",
......@@ -251,10 +250,10 @@ export default {
prop: "ryflText",
width: "200",
},
{
{
label: "案件类别",
prop: "ajlbCodeTxt",
width: '350px'
width: "350px",
},
{
label: "审批流程",
......@@ -285,17 +284,16 @@ export default {
},
mounted() {
let userInfo = window.sessionStorage.getItem("userInfo") || "";
var obj = JSON.parse(userInfo)
var obj = JSON.parse(userInfo);
console.log(obj);
this.cxFormData.sprjh = obj.account
this.cxFormData.sprjh = obj.account;
console.log(this.cxFormData.account);
this.$refs.rightContent.doQuery("yes");
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.getCode();
this.cxQueryField[10].value = '1';
this.cxQueryField[10].value = "1";
// debugger;
},
methods: {
......@@ -324,10 +322,10 @@ export default {
this.id = scope.row.id;
},
updatesplc(scope) {
var params = new FormData()
params.append('id',this.id)
params.append('splc',this.examineInfo.splc)
params.append('spyj',this.examineInfo.spyj)
var params = new FormData();
params.append("id", this.id);
params.append("splc", this.examineInfo.splc);
params.append("spyj", this.examineInfo.spyj);
updateAddZdry(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("审批成功!", "提示", {
......@@ -341,10 +339,9 @@ export default {
this.dialogVisible = false;
}
});
this.examineInfo.splc = "待审核"
this.examineInfo.spyj = ""
this.examineInfo.splc = "待审核";
this.examineInfo.spyj = "";
this.$refs.rightContent.doQuery("yes");
},
},
};
......@@ -398,4 +395,13 @@ export default {
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
</style>
......@@ -90,7 +90,7 @@
v-if="!!this.xxzjbh && this.xxzjbh != ''"
>
<div slot="header" class="clearfix">
<span>被布控物品</span>
<span>损失物品</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
......@@ -107,7 +107,7 @@
>
</div>
<div class="text item" v-show="showBK">
<right-content
<!-- <right-content
:pageBs="pageBs"
:cxFormData="cxFormDataBK"
:cxQueryField="cxQueryField"
......@@ -118,7 +118,135 @@
@edit="editBK"
@dele="deleBK"
@toInfor="toInforBK"
></right-content>
></right-content> -->
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="损失弹药" name="first">
<right-content
:pageBs="ssdy.pageBs"
:cxFormData="ssdy.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssdy.cxDefaultFormThead"
:cxUrl="ssdy.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失非机动车" name="second">
<right-content
:pageBs="ssfjdc.pageBs"
:cxFormData="ssfjdc.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssfjdc.cxDefaultFormThead"
:cxUrl="ssfjdc.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失机动车" name="third">
<right-content
:pageBs="ssjdc.pageBs"
:cxFormData="ssjdc.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssjdc.cxDefaultFormThead"
:cxUrl="ssjdc.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失卡类" name="fourth">
<right-content
:pageBs="sskl.pageBs"
:cxFormData="sskl.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="sskl.cxDefaultFormThead"
:cxUrl="sskl.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失其他物品" name="fifth">
<right-content
:pageBs="ssqtwp.pageBs"
:cxFormData="ssqtwp.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssqtwp.cxDefaultFormThead"
:cxUrl="ssqtwp.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失枪支" name="sixth">
<right-content
:pageBs="ssqz.pageBs"
:cxFormData="ssqz.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssqz.cxDefaultFormThead"
:cxUrl="ssqz.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失文物" name="seventh">
<right-content
:pageBs="ssww.pageBs"
:cxFormData="ssww.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssww.cxDefaultFormThead"
:cxUrl="ssww.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失移动通讯设备" name="eighth">
<right-content
:pageBs="ssydtxsb.pageBs"
:cxFormData="ssydtxsb.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="ssydtxsb.cxDefaultFormThead"
:cxUrl="ssydtxsb.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
<el-tab-pane label="损失证件" name="ninth">
<right-content
:pageBs="sszj.pageBs"
:cxFormData="sszj.cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="sszj.cxDefaultFormThead"
:cxUrl="sszj.cxUrl"
ref="rightContentSSWP"
@add="addSswp"
@edit="editSswp"
@dele="deleSswp"
@toInfor="toInforSswp"
></right-content>
</el-tab-pane>
</el-tabs>
</div>
</el-card>
<!-- 阵地线索信息 -->
......@@ -362,6 +490,278 @@ export default {
},
],
cxUrlXS: "/zdxsxx/selectZdyrxx",
//tab标签页
activeName: "first",
tabIndex: "0",
//列表数据
ssdy: {
pageBs: "queryZdssdy",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "弹药类型",
prop: "ssdyDylxdmStr",
toInfor: true,
},
{
label: "特征描述",
prop: "ssdyWptzms",
},
{
label: "弹药数量",
prop: "ssdyWpsl",
},
],
cxUrl: "/ssdy/queryAll",
},
ssfjdc: {
pageBs: "queryZdssfjdc",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "物品名称",
prop: "ssddfjdcPpxh",
toInfor: true,
},
{
label: "品牌型号",
prop: "ssddfjdcSawpdmStr",
},
{
label: "车牌照号",
prop: "ssddfjdcDdfjdcpzhWpbzh",
},
{
label: "物品价值(元)",
prop: "ssddfjdcWpjzrmby",
},
],
cxUrl: "/ssddfjdc/queryAll",
},
ssjdc: {
pageBs: "queryZdssjdc",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "物品类型",
prop: "ssjdcSawpdmStr",
toInfor: true,
},
{
label: "品牌类型",
prop: "ssjdcPpxh",
},
{
label: "使用性质",
prop: "ssjdcJdcsyxzdmStr",
},
{
label: "号牌是否为真",
prop: "ssjdcJdchphmzwPdbz",
},
{
label: "车辆识别号",
prop: "ssjdcClsbdh",
},
],
cxUrl: "/ssjdc/queryAll",
},
sskl: {
pageBs: "queryZdsskl",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "物品类型",
prop: "ssklSawpSawpdmStr",
toInfor: true,
},
{
label: "卡号",
prop: "ssklKhWpbzh",
},
{
label: "所有人名称",
prop: "ssklKsyrmc",
},
{
label: "发卡单位名称",
prop: "ssklFkdwDwmc",
},
{
label: "核发日期",
prop: "ssklHfrq",
},
],
cxUrl: "/sskl/queryAll",
},
ssqtwp: {
pageBs: "queryZdssqtwp",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "物品类型",
prop: "sswpSawpSawpdmStr",
toInfor: true,
},
{
label: "物品名称",
prop: "sswpWpmc",
},
{
label: "物品规格",
prop: "sswpWpgg",
},
{
label: "物品标识号",
prop: "sswpWpbzhWpbzhlbdm",
},
{
label: "物品价值(元)",
prop: "sswpWpjzrmby",
},
],
cxUrl: "/ssqtwp/queryAll",
},
ssqz: {
pageBs: "queryZdssqz",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "枪支类型",
prop: "ssqzQzlxdmStr",
toInfor: true,
},
{
label: "特征描述",
prop: "ssqzWptzms",
},
{
label: "物品数量",
prop: "ssqzWpsl",
},
{
label: "物品标识号",
prop: "ssqzQhWpbzh",
},
],
cxUrl: "/ssqz/queryAll",
},
ssww: {
pageBs: "queryZdssww",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "物品名称",
prop: "sswwWpmc",
toInfor: true,
},
{
label: "特征描述",
prop: "sswwWptzms",
},
{
label: "文物等级描述",
prop: "sswwWwdjms",
},
{
label: "文物价值",
prop: "sswwWpjzrmby",
},
],
cxUrl: "/ssww/queryAll",
},
ssydtxsb: {
pageBs: "queryZdssydtxsb",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "品牌型号",
prop: "ssydtxsbPpxhdmStr",
toInfor: true,
},
{
label: "移动电话",
prop: "ssydtxsbYddh",
},
{
label: "IMEI(设备码)",
prop: "ssydtxsbImeiWpbzh",
},
{
label: "物品价值",
prop: "ssydtxsbWpjzrmby",
},
{
label: "特征描述",
prop: "ssydtxsbWptzms",
},
],
cxUrl: "/ssydtxsb/queryAll",
},
sszj: {
pageBs: "queryZdsszj",
cxFormData: {
limit: 10,
page: 1,
// glzdxxzjbh: "",
},
cxDefaultFormThead: [
{
label: "证件类型",
prop: "sszjCyzjCyzjdmStr",
toInfor: true,
},
{
label: "证件号码",
prop: "sszjCyzjZjhm",
},
{
label: "证件所有人名称",
prop: "sszjZjsyrmc",
},
{
label: "核发日期",
prop: "sszjHfrq",
},
{
label: "发证单位",
prop: "sszjFzdwDwmc",
},
],
cxUrl: "/sszj/queryAll",
},
};
},
methods: {
......@@ -433,7 +833,7 @@ export default {
params.append("xxzjbh", this.xxzjbh);
getZdxxByxxzjbh(params).then((res) => {
var result = res.data.rows;
debugger;
// debugger;
self.propFormField.forEach((i, iIndex) => {
console.log(i);
if (i.data && i.data.length > 0) {
......@@ -671,6 +1071,168 @@ export default {
},
});
},
//标签方法
handleClick(tab, event) {
// console.log(tab, event);
this.tabIndex = tab.index;
},
//列表方法
addSswp() {
if (this.tabIndex == "0") {
this.$router.pushToTab("addZdssdy");
} else if (this.tabIndex == "1") {
this.$router.pushToTab("addZdssfjdc");
} else if (this.tabIndex == "2") {
this.$router.pushToTab("addZdssjdc");
} else if (this.tabIndex == "3") {
this.$router.pushToTab("addZdsskl");
} else if (this.tabIndex == "4") {
this.$router.pushToTab("addZdssqtwp");
} else if (this.tabIndex == "5") {
this.$router.pushToTab("addZdssqz");
} else if (this.tabIndex == "6") {
this.$router.pushToTab("addZdssww");
} else if (this.tabIndex == "7") {
this.$router.pushToTab("addZdssydtxsb");
} else if (this.tabIndex == "8") {
this.$router.pushToTab("addZdsszj");
}
},
editSswp(scope) {
if (this.tabIndex == "0") {
this.$router.pushToTab("addZdssdy");
} else if (this.tabIndex == "1") {
this.$router.pushToTab("addZdssfjdc");
} else if (this.tabIndex == "2") {
this.$router.pushToTab("addZdssjdc");
} else if (this.tabIndex == "3") {
this.$router.pushToTab("addZdsskl");
} else if (this.tabIndex == "4") {
this.$router.pushToTab("addZdssqtwp");
} else if (this.tabIndex == "5") {
this.$router.pushToTab("addZdssqz");
} else if (this.tabIndex == "6") {
this.$router.pushToTab("addZdssww");
} else if (this.tabIndex == "7") {
this.$router.pushToTab("addZdssydtxsb");
} else if (this.tabIndex == "8") {
this.$router.pushToTab("addZdsszj");
}
},
deleSswp(scope) {
if (this.tabIndex == "0") {
// this.$router.pushToTab({
// path: "addZdssdy",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "1") {
// this.$router.pushToTab({
// path: "addZdssfjdc",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "2") {
// this.$router.pushToTab({
// path: "addZdssjdc",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "3") {
// this.$router.pushToTab({
// path: "addZdsskl",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "4") {
// this.$router.pushToTab({
// path: "addZdssqtwp",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "5") {
// this.$router.pushToTab({
// path: "addZdssqz",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "6") {
// this.$router.pushToTab({
// path: "addZdssww",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "7") {
// this.$router.pushToTab({
// path: "addZdssydtxsb",
// query: { xxzjbh: scope.row.xxzjbh },
// });
} else if (this.tabIndex == "8") {
// this.$router.pushToTab({
// path: "addZdsszj",
// query: { xxzjbh: scope.row.xxzjbh },
// });
}
},
toInforSswp(scope) {
if (this.tabIndex == "0") {
this.$router.pushToTab({
path: "/detailZdssdy",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "1") {
this.$router.pushToTab({
path: "/detailZdssfjdc",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "2") {
this.$router.pushToTab({
path: "/detailZdssjdc",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "3") {
this.$router.pushToTab({
path: "/detailZdsskl",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "4") {
this.$router.pushToTab({
path: "/detailZdssqtwp",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "5") {
this.$router.pushToTab({
path: "/detailZdssqz",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "6") {
this.$router.pushToTab({
path: "/detailZdssww",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "7") {
this.$router.pushToTab({
path: "/detailZdssydtxsb",
query: {
xxzjbh: scope.xxzjbh,
},
});
} else if (this.tabIndex == "8") {
this.$router.pushToTab({
path: "/detailZdsszj",
query: {
xxzjbh: scope.xxzjbh,
},
});
}
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.Menu);
......
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssdy, updatessdy } from "@/api/qgccj/ssdy.js";
import axios from "@/utils/http.js";
import { ssdy_jbxx, ssdy_dyxx, ssdy_syrxx } from "@/utils/params.js";
export default {
name: "ssdy",
components: {
formCompontent,
},
data() {
return {
title: "新增损失弹药信息",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssdy_jbxx,
},
{
title: "弹药信息",
id: 2,
objStr: "",
index: 1,
data: ssdy_dyxx,
},
{
title: "所有人信息",
id: 3,
objStr: "",
index: 2,
data: ssdy_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssdy(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessdy(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
// this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失弹药";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失弹药详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssdy.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "ssdySawpbh",
col: "3",
},
],
},
{
title: "弹药信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "弹药类型:",
prop: "ssdyDylxdm",
col: "3",
},
{
label: "弹药型号:",
prop: "ssdyDyxhdm",
col: "3",
},
{
label: "弹药数量:",
prop: "ssdyWpsl",
col: "3",
},
{
label: "特征描述:",
prop: "ssdyWptzms",
col: "10",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 3,
objStr: "",
data: [
{
label: "姓名:",
prop: "ssdySoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "ssdySoyrCyzjdm",
col: "3",
},
{
label: "证件号码:",
prop: "ssdySoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "ssdySoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
-->
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssfjdc, updatessfjdc } from "@/api/qgccj/ssfjdc.js";
import axios from "@/utils/http.js";
import { ssfjdc_jbxx, ssfjdc_fjdcxx, ssfjdc_syrxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失非机动车",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssfjdc_jbxx,
},
{
title: "损失非机动车信息",
id: 2,
objStr: "",
index: 1,
data: ssfjdc_fjdcxx,
},
{
title: "所有人信息",
id: 2,
objStr: "",
index: 1,
data: ssfjdc_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssfjdc(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessfjdc(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失移动通讯设备";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失移动通讯设备详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssfjdc.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "ssddfjdcSawpbh",
col: "3",
},
],
},
{
title: "损失非机动车信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "物品类型:",
prop: "ssddfjdcSawpdmStr",
col: "3",
},
{
label: "品牌型号:",
prop: "ssddfjdcPpxh",
col: "3",
},
{
label: "电机号:",
prop: "ssddfjdcDdfjdcdjhWpbzh",
col: "3",
},
{
label: "车架号:",
prop: "ssddfjdcDdfjdccjhWpbzh",
col: "3",
},
{
label: "车牌照号:",
prop: "ssddfjdcDdfjdcpzhWpbzh",
col: "3",
},
{
label: "钢印号:",
prop: "ssddfjdcDdfjdcgyhWpbzh",
col: "3",
},
{
label: "物品颜色:",
prop: "ssddfjdcWpysWpysdmStr",
col: "3",
},
{
label: "物品价值(元):",
prop: "ssddfjdcWpjzrmby",
col: "3",
},
{
label: "物品购置日期:",
prop: "ssddfjdcWpgzrq",
col: "3",
},
{
label: "颜色补充描述:",
prop: "chclWpysDmbcms",
col: "10",
},
{
label: "特征描述:",
prop: "ssddfjdcWptzms",
col: "10",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 3,
objStr: "",
data: [
{
label: "所有人姓名:",
prop: "ssddfjdcSoyrXm",
col: "3",
},
{
label: "所有人常用证件:",
prop: "ssddfjdcSoyrCyzjdmStr",
col: "3",
},
{
label: "所有人证件号码:",
prop: "ssddfjdcSoyrZjhm",
col: "3",
},
{
label: "所有人联系电话:",
prop: "ssddfjdcSoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
-->
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssjdc, updatessjdc } from "@/api/qgccj/ssjdc.js";
import axios from "@/utils/http.js";
import { ssjdc_jbxx, ssjdc_sscl, ssjdc_syr } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失机动车",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssjdc_jbxx,
},
{
title: "损失车辆信息",
id: 21,
objStr: "",
index: 0,
data: ssjdc_sscl,
},
{
title: "所有人信息",
id: 3,
objStr: "",
index: 1,
data: ssjdc_syr,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssjdc(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessjdc(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失机动车";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失机动车详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssjdc.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "ssjdcSawpbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
],
},
{
title: "损失车辆", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "物品编号:",
prop: "ssjdcSawpbh",
col: "3",
},
{
label: "号牌号码:",
prop: "ssjdcJdchphm",
col: "3",
},
{
label: "品牌型号:",
prop: "ssjdcPpxh",
col: "3",
},
{
label: "号牌种类:",
prop: "ssjdcSsjdcJdchpzldmStr",
col: "3",
},
{
label: "物品名称:",
prop: "ssjdcWpmc",
col: "3",
},
{
label: "物品类型:",
prop: "ssjdcSawpdmStr",
col: "3",
},
{
label: "使用性质:",
prop: "ssjdcFfyyPdbz",
col: "3",
},
{
label: "是否非法运营:",
prop: "ssjdcJdcsyxzdmStr",
col: "3",
},
{
label: "号牌是否为真:",
prop: "ssjdcJdchphmzwPdbz",
col: "3",
},
{
label: "是否参加被盗抢险:",
prop: "ssjdcSfcjbdqxPdbz",
col: "3",
},
{
label: "车辆标识号:",
prop: "ssjdcClsbdh",
col: "3",
},
{
label: "是否修改车辆识别号:",
prop: "ssjdcJdcfdjddjxh",
col: "3",
},
{
label: "发动机号:",
prop: "ssjdcJdcfdjddjxh",
col: "3",
},
{
label: "是否修改发动机号:",
prop: "ssjdcSfxgjdcfdjddjhPdbz",
col: "3",
},
{
label: "车身颜色:",
prop: "ssjdcJdccsysJdccsysdmStr",
col: "3",
},
{
label: "颜色补充描述:",
prop: "ssjdcJdccsysDmbcms",
col: "3",
},
{
label: "物品价值(元):",
prop: "ssjdcWpjzrmby",
col: "3",
},
{
label: "购置日期:",
prop: "ssjdcWpgzrq",
col: "3",
},
{
label: "特征描述:",
prop: "ssjdcWptzms",
col: "3",
},
{
label: "车辆类型:",
prop: "ssjdcCllxdmStr",
col: "3",
},
{
label: "初登日期:",
prop: "ssjdcCdrq",
col: "3",
},
{
label: "流向行政区划:",
prop: "chcxLxxzqh",
col: "3",
},
{
label: "保险是否赔付:",
prop: "ssjdcBxsfpfPdbz",
col: "3",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 3,
objStr: "",
data: [
{
label: "姓名:",
prop: "ssjdcSoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "ssjdcSoyrCyzjdmStr",
col: "3",
},
{
label: "证件号码:",
prop: "ssjdcSoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "ssjdcSoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
-->
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertsskl, updatesskl } from "@/api/qgccj/sskl.js";
import axios from "@/utils/http.js";
import { sskl_jbxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失卡类",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: sskl_jbxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertsskl(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatesskl(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失卡类信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失卡类详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/sskl.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
{
label: "物品编号:",
prop: "ssklSawpbh",
col: "3",
},
{
label: "卡号:",
prop: "ssklKhWpbzh",
col: "3",
},
{
label: "所有人名称:",
prop: "ssklKsyrmc",
col: "3",
},
{
label: "发卡国家和地区:",
prop: "ssklFkdwGjhdqdmStr",
col: "3",
},
{
label: "发卡单位:",
prop: "ssklFkdwDwmc",
col: "3",
},
{
label: "核发日期:",
prop: "ssklHfrq",
col: "3",
},
{
label: "有效期开始日期:",
prop: "ssklYxqksrq",
col: "3",
},
{
label: "有效期截至日期:",
prop: "ssklYxqjzrq",
col: "3",
},
{
label: "卡是否为真:",
prop: "ssklWpzwPdbz",
col: "3",
},
{
label: "物品类型补充描述:",
prop: "ssklSawpDmbcms",
col: "3",
},
{
label: "证件类型:",
prop: "ssklCyzjCyzjdmStr",
col: "3",
},
{
label: "证件号码补充描述:",
prop: "ssklCyzjDmbcms",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssqtwp, updatessqtwp } from "@/api/qgccj/ssqtwp.js";
import axios from "@/utils/http.js";
import { ssqtwp_jbxx, ssqtwp_wpxx, ssqtwp_syrxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失其他物品",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssqtwp_jbxx,
},
{
title: "物品信息",
id: 2,
objStr: "",
index: 1,
data: ssqtwp_wpxx,
},
{
title: "所有人信息",
id: 3,
objStr: "",
index: 2,
data: ssqtwp_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssqtwp(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessqtwp(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失其他物品信息信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失其他物品详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssqtwp.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "sswpSawpbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
],
},
{
title: "物品信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "物品类型:",
prop: "sswpSawpSawpdm",
col: "3",
},
{
label: "补充描述:",
prop: "sswpSawpDmbcms",
col: "3",
},
{
label: "物品名称:",
prop: "sswpWpmc",
col: "3",
},
{
label: "品牌型号:",
prop: "sswpPpxh",
col: "3",
},
{
label: "物品标识号:",
prop: "sswpWpbzhWpbzh",
col: "3",
},
{
label: "物品规划:",
prop: "sswpWpgg",
col: "3",
},
{
label: "标识号类别:",
prop: "sswpWpbzhWpbzhlbdm",
col: "3",
},
{
label: "标识号补充描述:",
prop: "sswpWpbzhDmbcms",
col: "3",
},
{
label: "物品颜色:",
prop: "sswpWpysWpysdmStr",
col: "3",
},
{
label: "物品颜色补充描述:",
prop: "sswpWpysDmbcms",
col: "3",
},
{
label: "物品数量(个):",
prop: "sswpWpsl",
col: "3",
},
{
label: "物品重量:",
prop: "sswpWpzl",
col: "3",
},
{
label: "计量度量单位:",
prop: "sswpJldldw",
col: "3",
},
{
label: "物品价值(元):",
prop: "sswpWpjzrmby",
col: "3",
},
{
label: "物品购置日期:",
prop: "sswpWpgzrq",
col: "3",
},
{
label: "物品真伪:",
prop: "sswpWpzwPdbz",
col: "3",
},
{
label: "特征描述:",
prop: "sswpWptzms",
col: "3",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 3,
objStr: "",
data: [
{
label: "姓名:",
prop: "sswpSoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "sswpSoyrCyzjdmStr",
col: "3",
},
{
label: "证件号码:",
prop: "sswpSoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "sswpSoyrLxdh",
col: "3",
},
],
}
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
-->
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssqz, updatessqz } from "@/api/qgccj/ssqz.js";
import axios from "@/utils/http.js";
import { ssqzxx_jbxx, ssqzxx_fxxx, ssqzxx_syrxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失枪支信息",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssqzxx_jbxx,
},
{
title: "枪支信息",
id: 2,
objStr: "",
index: 0,
data: ssqzxx_fxxx,
},
{
title: "所有人信息",
id: 3,
objStr: "",
index: 1,
data: ssqzxx_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssqz(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessqz(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失枪支";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失枪支详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssqz.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "ssqzSawpbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
// {
// label: "物品编号:",
// prop: "ssqzSawpbh",
// col: "3",
// },
{
label: "枪支型号:",
prop: "ssqzQzxhdmStr",
col: "3",
},
{
label: "枪支口径:",
prop: "ssqzQzkj",
col: "3",
},
{
label: "枪支类型:",
prop: "ssqzQzlxdmStr",
col: "3",
},
{
label: "物品数量:",
prop: "ssqzWpsl",
col: "3",
},
{
label: "物品标识号:",
prop: "ssqzQhWpbzh",
col: "3",
},
{
label: "特征描述:",
prop: "ssqzWptzms",
col: "10",
},
],
},
{
title: "分析信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "是否走私:",
prop: "ssqzSfzsqzPdbz",
col: "3",
},
{
label: "是否完整:",
prop: "ssqzQzsfwzPdbz",
col: "3",
},
{
label: "完整情况描述:",
prop: "ssqzQzsfwzJyqk",
col: "10",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 3,
objStr: "",
data: [
{
label: "姓名:",
prop: "ssqzSoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "ssqzSoyrCyzjdmStr",
col: "3",
},
{
label: "证件号码:",
prop: "ssqzSoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "ssqzSoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertssww, updatessww } from "@/api/qgccj/ssww.js";
import axios from "@/utils/http.js";
import { ssww_jbxx, ssww_syrxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失文物",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssww_jbxx,
},
{
title: "所有人信息",
id: 2,
objStr: "",
index: 1,
data: ssww_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssww(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessww(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失文物信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失文物详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssww.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "物品编号:",
prop: "sswwSawpbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
{
label: "文物名称:",
prop: "sswwWpmc",
col: "3",
},
{
label: "是否准许市场流通:",
prop: "sswwWwzxcjPdbz",
col: "3",
},
{
label: "文物等级描述:",
prop: "sswwWwdjms",
col: "3",
},
{
label: "文物价值(元):",
prop: "sswwWpjzrmby",
col: "3",
},
{
label: "文物是否为真:",
prop: "sswwWpzwPdbz",
col: "3",
},
{
label: "文物类别:",
prop: "sswwWwlbdm",
col: "3",
},
{
label: "文物质地:",
prop: "sswwWwzddm",
col: "3",
},
{
label: "文物完整程度:",
prop: "sswwWwwzcddm",
col: "3",
},
{
label: "工艺类型:",
prop: "sswwGylxdm",
col: "3",
},
{
label: "文物年代:",
prop: "sswwWwnddm",
col: "3",
},
{
label: "文物来源:",
prop: "sswwWwlydm",
col: "3",
},
{
label: "文物尺寸:",
prop: "sswwWwcc",
col: "3",
},
{
label: "尺寸类型:",
prop: "sswwWwcclxdm",
col: "3",
},
{
label: "物品重量:",
prop: "sswwWpzl",
col: "3",
},
{
label: "计量度量单位:",
prop: "sswwWpzlJldldw",
col: "3",
},
{
label: "文物保存状态:",
prop: "sswwWpbcztdm",
col: "3",
},
{
label: "特征描述:",
prop: "sswwWptzms",
col: "3",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "姓名:",
prop: "sswwSoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "sswwSoyrCyzjdmStr",
col: "3",
},
{
label: "证件号码:",
prop: "sswwSoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "sswwSoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
-->
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import {
insertssydtxsb,
updatessydtxsb,
queryByXxzjbh,
} from "@/api/qgccj/ssydtxsb.js";
import axios from "@/utils/http.js";
import { ssydtxsb_jbxx, ssydtxsb_syrxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失移动通讯设备",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: ssydtxsb_jbxx,
},
{
title: "所有人信息",
id: 2,
objStr: "",
index: 1,
data: ssydtxsb_syrxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertssydtxsb(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatessydtxsb(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失移动通讯设备";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失移动通讯设备详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import {
insertssydtxsb,
updatessydtxsb,
queryByXxzjbh,
} from "@/api/qgccj/ssydtxsb.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "手机使用状态:",
prop: "sjsyzt",
col: "3",
},
{
label: "品牌型号:",
prop: "ssydtxsbPpxh",
col: "3",
},
{
label: "电话号码:",
prop: "ssydtxsbYddh",
col: "3",
},
{
label: "机主提供串码:",
prop: "ssydtxsbImeiWpbzh",
col: "3",
},
{
label: "IMSI(串号):",
prop: "ssydtxsbImsiFwbzh",
col: "3",
},
{
label: "ICCID(SIM卡号):",
prop: "ssydtxsbIccidWpbzh",
col: "3",
},
{
label: "物品颜色:",
prop: "ssydtxsbWpysdmStr",
col: "3",
},
{
label: "物品价值(元):",
prop: "ssydtxsbWpjzrmby",
col: "3",
},
{
label: "购置日期:",
prop: "ssydtxsbWpgzrq",
col: "3",
},
{
label: "涉案时间:",
prop: "sasj",
col: "3",
},
{
label: "网综串码:",
prop: "wzimei",
col: "3",
},
{
label: "特征描述:",
prop: "ssydtxsbWptzms",
col: "10",
},
],
},
{
title: "所有人信息", //如果不分小模块就删除title
id: 2,
objStr: "",
data: [
{
label: "姓名:",
prop: "ssydtxsbSoyrXm",
col: "3",
},
{
label: "证件类型:",
prop: "ssydtxsbSoyrCyzjdmStr",
col: "3",
},
{
label: "证件号码:",
prop: "ssydtxsbSoyrZjhm",
col: "3",
},
{
label: "联系电话:",
prop: "ssydtxsbSoyrLxdh",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div>
<form-compontent
class="formCompontent"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
></form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertsszj, updatesszj } from "@/api/qgccj/sszj.js";
import axios from "@/utils/http.js";
import { sszj_jbxx } from "@/utils/params.js";
export default {
name: "zdxx",
components: {
formCompontent,
},
data() {
return {
title: "新增损失身份证件",
propFormField: [
//基本信息
{
title: "基本信息",
id: 1,
objStr: "",
index: 0,
data: sszj_jbxx,
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
windowRefresh() {
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
insertsszj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatesszj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.windowRefresh();
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.glxxXxzjbh) {
this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
}
if (this.$route.query.xxzjbh) {
this.title = "修改损失身份证件";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
}
},
};
</script>
<style lang="scss" scoped>
.formCompontent /deep/ {
#spbtn {
width: calc(100% - 40px);
}
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-28 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="180px"
title="损失文物详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/sszj.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "基本信息", //如果不分小模块就删除title
id: 1,
objStr: "",
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
{
label: "物品编号:",
prop: "sszjSawpbh",
col: "3",
},
{
label: "常用证件:",
prop: "sszjCyzjCyzjdm",
col: "3",
},
{
label: "证件号码:",
prop: "sszjCyzjZjhm",
col: "3",
},
{
label: "证件所有人名称:",
prop: "sszjZjsyrmc",
col: "3",
},
{
label: "国家和地区:",
prop: "sszjFzdwGjhdqdm",
col: "3",
},
{
label: "发证单位:",
prop: "sszjFzdwDwmc",
col: "3",
},
{
label: "核发日期:",
prop: "sszjHfrq",
col: "3",
},
{
label: "有效期开始时间:",
prop: "sszjYxqksrq",
col: "3",
},
{
label: "有效期截至时间:",
prop: "sszjYxqjzrq",
col: "3",
},
{
label: "证件是否为真:",
prop: "sszjWpzwPdbz",
col: "3",
},
{
label: "证件补充描述:",
prop: "sszjCyzjDmbcms",
col: "10",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let _this = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
this.pageObject = result;
loading.close();
});
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
</script>
<style scoped lang="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