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";
......
......@@ -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;
});
},
......
......@@ -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",
},
{
......
......@@ -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>
<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>
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