Commit 96aa2aa8 by liyuhang19990520

侦查指令

parent 1a5fcb36
File added
/*
* @Author: your name
* @Date: 2021-10-15 10:55:14
* @LastEditTime: 2021-10-15 10:59:54
* @LastEditTime: 2021-10-22 17:01:29
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zczl\xxgl.js
......@@ -13,8 +13,14 @@ import base from "@/api/base";
//删除联络员
export const llyDel = params =>
postform(`${base.alyIP}/zczl/llyDel`, params);
//人像比对详情
// export const rxdbDetail = params =>
// post(`${base.alyIP}/rxbz/queryByXxzjbh`, params);
//查询是否可以设置联络员
export const checkLly = params =>
postform(`${base.alyIP}/zczl/checkLly`, params);
//设置联络员
export const setLly = params =>
postform(`${base.alyIP}/zczl/setLly`, params);
//权限分配
export const doQxfp = params =>
post(`${base.alyIP}/zczl/doQxfp`, params);
/*
* @Author: your name
* @Date: 2021-10-15 10:55:14
* @LastEditTime: 2021-10-15 16:48:15
* @LastEditTime: 2021-10-22 16:37:48
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zczl\xxgl.js
......@@ -15,6 +15,17 @@ export const exportZczlExcel = params =>
postdown(`${base.alyIP}/zczl/exportZczlExcel`, params);
export const getTjListPic = params =>
post(`${base.alyIP}/zczl/getTjListPic`, params);
//新增侦查指令
export const doAddZczlxx = params =>
postform(`${base.alyIP}/zczl/doAddZczlxx`, params);
//侦查指令审批
export const tjsp = params =>
post(`${base.alyIP}/zczl/tjsp`, params);
//通过侦查指令编号查询指令详情
export const queryZlxqByZczlbh = params =>
postform(`${base.alyIP}/zczl/queryZlxqByZczlbh`, params);
//人像比对详情
// export const rxdbDetail = params =>
// post(`${base.alyIP}/rxbz/queryByXxzjbh`, params);
......
......@@ -291,7 +291,11 @@
pageBs != 'wscdajtj' &&
pageBs != 'queryXnpg' &&
pageBs != 'queryPgtj' &&
pageBs != 'wscdaj'
pageBs != 'wscdaj' &&
pageBs != 'wsqfbdzczl' &&
pageBs != 'llycx' &&
pageBs != 'xywspdzczl' &&
pageBs != 'sqqxgl'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -306,6 +310,13 @@
<el-button
type="primary"
size="mini"
v-if="pageBs == 'wsqfbdzczl'"
@click="$emit('sqfbzl', formData)"
>申请发布指令</el-button
>
<el-button
type="primary"
size="mini"
v-if="pageBs == 'wscdaj'"
@click="$emit('ajsx')"
>案件筛选</el-button
......@@ -736,12 +747,22 @@
pageBs == 'queryZjcl' ||
pageBs == 'llygl' ||
pageBs == 'wscdaj' ||
pageBs == 'queryRyzp'
pageBs == 'queryRyzp' ||
pageBs == 'llycx' ||
pageBs == 'xywspdzczl' ||
pageBs == 'sqqxgl'
)
"
>修改</span
>
<span
@click="$emit('szlly', scope)"
class="edit"
style="margin-right: 16px"
v-if="pageBs == 'llycx' && scope.row.sflly == 0"
>设置联络员</span
>
<span
@click="editRole(scope)"
class="edit"
style="margin-right: 16px"
......@@ -771,7 +792,10 @@
pageBs != 'yhkxsGl' &&
pageBs != 'rwbd' &&
pageBs != 'rwbdjs' &&
pageBs != 'queryRlqbxsSH'
pageBs != 'queryRlqbxsSH' &&
pageBs != 'llycx' &&
pageBs != 'xywspdzczl' &&
pageBs != 'sqqxgl'
"
>删除</span
>
......@@ -782,6 +806,12 @@
>审核</span
>
<span
@click="$emit('qxfp', scope)"
class="dele"
v-if="pageBs == 'sqqxgl'"
>权限分配</span
>
<span
@click="guoDetail(scope, 'guo')"
class="dele"
v-if="pageBszfc == 'yhkxsGl'"
......@@ -796,7 +826,7 @@
@click="examine(scope)"
class="edit"
style="margin-right: 16px"
v-if="pageBs == 'rySp'"
v-if="pageBs == 'rySp' || pageBs == 'xywspdzczl'"
>审批</span
>
<span
......@@ -1090,7 +1120,7 @@ import {
getXdryDetail,
updateZdyCode,
} from "@/api/zdry/zdryGl.js";
import {postform } from "@/utils/http.js";
import { postform } from "@/utils/http.js";
export default {
name: "ptCxForm",
components: {
......@@ -1618,16 +1648,22 @@ export default {
}
}
if (flag) {
if (self.formData.hasOwnProperty('file') || self.formData.hasOwnProperty('imageFile')) {
if (
self.formData.hasOwnProperty("file") ||
self.formData.hasOwnProperty("imageFile")
) {
let formDatas = new FormData();
for (let i in self.formData) {
if (i == "file" || i == "imageFile") {
formDatas.append(i,JSON.stringify(self.imgRaw) == "{}" ? '' : self.imgRaw)
formDatas.append(
i,
JSON.stringify(self.imgRaw) == "{}" ? "" : self.imgRaw
);
} else {
formDatas.append(i,self.formData[i])
formDatas.append(i, self.formData[i]);
}
}
postform(`${url.alyIP}${this.cxUrl}`,formDatas).then((response) => {
postform(`${url.alyIP}${this.cxUrl}`, formDatas).then((response) => {
if (response.success === true) {
self.tableData = response.data.rows;
self.tableDataLength = response.data.total;
......
/*
* @Author: your name
* @Date: 2021-10-14 15:35:19
* @LastEditTime: 2021-10-15 16:41:30
* @LastEditTime: 2021-10-22 11:39:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\zczl.js
......@@ -112,6 +112,15 @@ const menuLayouts = [
},
component: () => import("@/views/zczl/zczlxd/zczlxdList.vue")
},
{
path: "/addsqfbzl",
name: "addsqfbzl",
meta: {
title: '侦查指令',
isAdd: true
},
component: () => import("@/views/zczl/zczl/addsqfbzl.vue")
},
];
......
......@@ -7,10 +7,7 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@szlly="szlly"
ref="rightContent"
></right-content>
</div>
......@@ -18,7 +15,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
import { checkLly, setLly } from "@/api/zczl/xxgl.js";
export default {
name: "rlqbxsxx",
components: {
......@@ -112,32 +109,41 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
settingPerson(scope, loading) {
let params = new FormData();
params.append("userId", scope.row.userId);
setLly(params).then((res) => {
loading.close();
if (res.code == 200 && res.success) {
this.$message.success("设置联络员成功");
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("设置联络员失败");
}
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
szlly(scope) {
let self = this;
this.$confirm("此操作将设置该人员为联络员, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
let params = new FormData();
let loading = self.$loading({
lock: true,
text: "正在设置...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.$refs.rightContent.doQuery("yes");
params.append("userId", scope.row.userId);
checkLly(params).then((res) => {
if (res.code == 200 && res.data.flag == "1") {
self.settingPerson(scope, loading);
} else {
loading.close();
self.$message.error("该人员不可设置为联络员");
}
});
})
......@@ -148,14 +154,6 @@ export default {
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
},
mounted() {},
};
......
......@@ -7,10 +7,7 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@qxfp="qxfp"
ref="rightContent"
></right-content>
</div>
......@@ -18,7 +15,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
import { doQxfp } from "@/api/zczl/xxgl.js";
export default {
name: "rlqbxsxx",
components: {
......@@ -26,8 +23,8 @@ export default {
},
data() {
return {
header: "联络员管理",
pageBs: "llygl",
header: "申请权限管理",
pageBs: "sqqxgl",
cxFormData: {
unitcode: "",
truename: "",
......@@ -122,9 +119,9 @@ export default {
cxUrl: "/zczl/getSpUserList",
Menu: [
{
id: "llygl",
label: "联络员管理",
index: "llygl",
id: "sqqxgl",
label: "申请权限管理",
index: "sqqxgl",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -136,32 +133,24 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
qxfp(scope) {
this.$confirm("此操作将分配该人员权限, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
xxzjbh: scope.row.xxzjbh,
doQxfp({
userid: scope.row.userId,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
message: "分配成功",
});
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("分配失败");
}
});
})
......@@ -172,14 +161,6 @@ export default {
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
},
mounted() {},
};
......
<template>
<div>
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { doAddZczlxx } from "@/api/zczl/zczl.js";
import { djfc } from "@/utils/params.js";
export default {
name: "addGzry",
components: {
formCompontent,
},
data() {
return {
title: "新增侦查指令",
propFormField: [
//基本信息
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "文件列表:",
id: "file",
type: "file",
value: "",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
col: "1",
// acceptType: "image/jpeg,image/gif,image/png",
},
{
name: "业务名称:",
id: "ywmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "回报期限:",
id: "hbqx",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "业务类型:",
id: "ywlx",
type: "codeTree",
codeTree: "CODE_YWLXDM",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "指令类型:",
id: "zllx",
type: "codeTree",
codeTree: "CODE_ZLLXDM",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "指令接收单位:",
id: "zljsdwdm",
type: "codeTree",
codeTree: "CODE_UNIT",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "指令事由:",
id: "zlsy",
type: "textarea",
value: "",
placeholder: "请输入",
col: "18",
},
{
name: "工作要求:",
id: "gzyq",
type: "textarea",
value: "",
placeholder: "请输入",
col: "18",
},
],
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "房产信息列表",
to: "/queryFcxx",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改房产信息" : "新增房产信息",
to: "/addFcxx",
isActive: true,
},
],
glxxXxzjbh: "",
xxzjbh: "",
};
},
methods: {
submit(params) {
params.append("glxxXxzjbh", this.glxxXxzjbh);
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);
}
},
addSubmit(params, loading) {
doAddZczlxx(params).then((res) => {
console.log(111111,res)
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.$router.push("queryFcxx");
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updateGzryFc(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
this.$router.push("queryFcxx");
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
selectFcById({
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.$set(this.propFormField[0], "title", "修改房产信息");
this.title = "修改侦查指令";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
\ No newline at end of file
<!--
* @Author: your name
* @Date: 2021-09-03 09:32:50
* @LastEditTime: 2021-10-15 17:39:38
* @LastEditTime: 2021-10-22 10:41:54
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\zdry\dytj.vue
......@@ -249,7 +249,13 @@ export default {
position: relative;
.datetimerange {
margin-bottom: 10px;
/deep/ {
.el-icon-time {
transform: translateY(-4px);
}
}
}
#noDataText {
text-align: center;
position: absolute;
......
......@@ -98,7 +98,7 @@ export default {
col: "3",
},
{
name: "指令接单位",
name: "指令接单位",
id: "zljsdwdm",
type: "codeTreeDialog",
props: "checkEmpty",
......
......@@ -11,6 +11,7 @@
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@sqfbzl="sqfbzl"
ref="rightContent"
></right-content>
</div>
......@@ -258,6 +259,9 @@ export default {
add() {
this.$router.push("adjustRlqbxs");
},
sqfbzl(){
this.$router.push("addsqfbzl");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
......
......@@ -7,18 +7,58 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@examine="examine"
ref="rightContent"
></right-content>
<!-- 撤控 -->
<el-dialog title="申请指令信息" :visible.sync="revokeVisiable" width="30%">
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item :label="labelForm.xm" style="width:100%">
<el-input
disabled
type="text"
v-model="ckForm.fqyxm"
style="width: 120px"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item :label="labelForm.dwmc" style="width:100%">
<el-input
disabled
type="text"
v-model="ckForm.fqydwmc"
style="width: 120px"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item :label="labelForm.dh" style="width:100%">
<el-input
disabled
type="text"
v-model="ckForm.fqylxdh"
style="width: 120px"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="danger" @click="submitCKD('0')">不通过</el-button>
<el-button type="primary" @click="submitCKD('1')">通过</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
import { tjsp, queryZlxqByZczlbh } from "@/api/zczl/zczl.js";
export default {
name: "rlqbxsxx",
components: {
......@@ -28,6 +68,19 @@ export default {
return {
header: "需要我审批的侦查指令",
pageBs: "xywspdzczl",
revokeVisiable: false,
zlxx: "",
ckForm: {
fqyxm: "",
fqydwmc: "",
fqylxdh: "",
},
labelForm: {
xm: "申请发起人姓名",
dwmc: "申请发起人单位",
dh: "申请发起人电话",
},
params: {},
cxFormData: {
zlwh: "",
ywlx: "",
......@@ -192,48 +245,57 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
submitCKD(tgzt) {
this.$set(this.params, "spsftg", tgzt);
tjsp(this.params).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
this.$message.success("审批成功");
this.revokeVisiable = false;
} else {
this.$message.error("审批失败");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
},
examine(scope) {
if (scope.row.ifsp == "0") {
this.$message.error("不可以审批此条消息");
return;
}
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 {
this.$message.error("提取信息失败");
}
});
},
},
......@@ -289,4 +351,9 @@ export default {
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.el-input {
/deep/ .el-input__inner {
color: #333;
}
}
</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