Commit b68a1cb0 by 叶富雄

调整

parent 1000c55e
......@@ -8,11 +8,6 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@toXdzl="toXdzl"
@examine="examine"
ref="rightContent"
>
<template #btnGroup="scope">
......@@ -25,7 +20,6 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import { loginByZjhm } from "@/api/index";
import {insertLkyj} from "@/api/jcyjzxt/hmd.js";
export default {
......@@ -38,7 +32,6 @@
zczlbh: '',
fpbh: '',
sub: '',
drawer: false,
tableOperation: true,
header: "抓捕犯罪嫌疑人列表",
pageBs: "zbfzxyrlist",
......@@ -82,7 +75,6 @@
{label: "性别代码", prop: "zhfzxyrXbdm"},
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
],
cxUrl: "/jcyj/pageTbXwjcZbfzxyr",
leftMenus: [
//左侧导航(模块第一个页面需要)
......@@ -174,52 +166,14 @@
},
methods: {
login() {
var self = this;
//JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard,
loginByZjhm({
zjhm:'142302198901012417'
}).then((res) => {});
},
examine(scope) {
console.log(scope);
this.$confirm("此操作将该指令提请审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlTqsp({
zczlbh: scope.row.zczlbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "提请审批成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消提请审批",
});
});
},
edit(scope) {
this.$router.push({
path: "addsqfbzl",
query: {xxzjbh: scope.row.zczlbh, type: "xdzl"},
});
},
toXdzl() {
this.$router.push({
path: "/addsqfbzl",
query: {
type: "xdzl",
},
});
let zjhm;
try {
zjhm = JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard;
}
catch (e) {
zjhm=''
}
loginByZjhm({zjhm});
},
setYJ(scope) {
let row = scope.row;
......@@ -248,47 +202,8 @@
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlToDelete({
zczlbh: scope.row.zczlbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.sub = 'XQ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
ONPJ(scope) {
this.sub = 'PJ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
},
mounted() {
},
};
</script>
<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