Commit 552b6e08 by 叶富雄

侦查指令模块

parent 6600719b
...@@ -62,8 +62,19 @@ export const getHbDetailByFpbh = params => ...@@ -62,8 +62,19 @@ export const getHbDetailByFpbh = params =>
// //
export const getChildUnitAndPeople = params => export const getChildUnitAndPeople = params =>
post(`${base.alyIP}/zczl/getChildUnitAndPeople`, params); post(`${base.alyIP}/zczl/getChildUnitAndPeople`, params);
//人像比对详情 //详情
// export const rxdbDetail = params => export const getZczltoMeInfomation = params =>
// post(`${base.alyIP}/rxbz/queryByXxzjbh`, params); post(`${base.alyIP}/zczl/getZczltoMeInfomation`, params);
//修改回报
export const editHbInfo = params =>
postform(`${base.alyIP}/zczl/editHbInfo`, params);
//评价
export const doEvaluate = params =>
postform(`${base.alyIP}/zczl/doEvaluate`, params);
//回报信息
export const getAllHbInfoByFpbh = params =>
post(`${base.alyIP}/zczl/getAllHbInfoByFpbh`, params);
//附件下载
export const downloadZczlAttachment = params =>
post(`${base.alyIP}/zczl/downloadZczlAttachment`, params);
...@@ -129,6 +129,15 @@ const menuLayouts = [ ...@@ -129,6 +129,15 @@ const menuLayouts = [
}, },
component: () => import("@/views/zczl/zczl/addsqfbzl.vue") component: () => import("@/views/zczl/zczl/addsqfbzl.vue")
}, },
{
path: "/detailZczl",
name: "detailZczl",
meta: {
title: '侦查指令详情',
isAdd: true
},
component: () => import("@/views/zczl/zczl/detailZczl.vue")
},
]; ];
...@@ -136,4 +145,4 @@ export default { ...@@ -136,4 +145,4 @@ export default {
path: "/right", path: "/right",
component: menuLayout, component: menuLayout,
children: [...menuLayouts] children: [...menuLayouts]
}; };
\ No newline at end of file
<template>
<div>
</div>
</template>
<script>
export default {
name: "detail"
}
</script>
<style scoped>
</style>
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
</el-button> </el-button>
</template> </template>
</right-content> </right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl v-if="drawer" :zczlbh="zczlbh" :fpbh="fpbh" :sub="sub"></zczl>
</el-drawer>
</div> </div>
</template> </template>
...@@ -31,14 +37,18 @@ ...@@ -31,14 +37,18 @@
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js"; import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import {spsftg, sfczhbxx} from "@/assets/js/transformFormTable.js"; import {spsftg, sfczhbxx} from "@/assets/js/transformFormTable.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
export default { export default {
name: "rlqbxsxx", name: "rlqbxsxx",
components: { components: {
rightContent, rightContent,zczl
}, },
data() { data() {
return { return {
zczlbh:'',
fpbh:'',
sub:'',
drawer: false,
tableOperation: true, tableOperation: true,
tableOperationWidth: 200, tableOperationWidth: 200,
header: "我发起的工作指令", header: "我发起的工作指令",
...@@ -237,15 +247,12 @@ export default { ...@@ -237,15 +247,12 @@ export default {
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "工作指令编号", label: "侦查指令编号",
prop: "zczlbh", prop: "zczlbh",
width:'300',
toInfor:true
}, },
/* {
label: "分派编号",
prop: "fpbh",
},*/
{ {
/*table默认得表头*/
label: "指令事由", label: "指令事由",
prop: "zlsy", prop: "zlsy",
}, },
...@@ -386,13 +393,10 @@ export default { ...@@ -386,13 +393,10 @@ export default {
}); });
}, },
toInfor(scope) { toInfor(scope) {
this.$router.push({ this.sub = 'PJ';
path: "/detailRlqbxs", this.drawer = true;
query: { this.zczlbh = scope.zczlbh;
xxzjbh: scope.xxzjbh, this.fpbh = scope.fpbh;
type: "xdzl",
},
});
}, },
}, },
mounted() { mounted() {
......
...@@ -16,7 +16,12 @@ ...@@ -16,7 +16,12 @@
<el-button :disabled="scope.scope.row.ifsp!='能'" @click="examine(scope.scope)" type="text">审批</el-button> <el-button :disabled="scope.scope.row.ifsp!='能'" @click="examine(scope.scope)" type="text">审批</el-button>
</template> </template>
</right-content> </right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl v-if="drawer" @post="post" :zczlbh="zczlbh" sub="SP"></zczl>
</el-drawer>
<!-- 撤控 --> <!-- 撤控 -->
<el-dialog title="申请指令信息" :visible.sync="revokeVisiable" width="30%"> <el-dialog title="申请指令信息" :visible.sync="revokeVisiable" width="30%">
<el-form :inline="true" :model="ckForm" class="demo-form-inline"> <el-form :inline="true" :model="ckForm" class="demo-form-inline">
...@@ -64,16 +69,19 @@ ...@@ -64,16 +69,19 @@
<script> <script>
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
import {tjsp, queryZlxqByZczlbh} from "@/api/zczl/zczl.js"; 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} from "@/assets/js/transformFormTable.js";
export default { export default {
name: "rlqbxsxx", name: "rlqbxsxx",
components: { components: {
rightContent, rightContent,zczl
}, },
data() { data() {
return { return {
zczlbh:'',
drawer: false,
tableOperation: true, tableOperation: true,
transformFormTable: { transformFormTable: {
ifsp, ifsp,
...@@ -263,6 +271,17 @@ export default { ...@@ -263,6 +271,17 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
}, },
methods: { methods: {
post(params){
tjsp(params).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("审批成功");
this.drawer = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("审批失败");
}
});
},
submitCKD(tgzt) { submitCKD(tgzt) {
this.$set(this.params, "spsftg", tgzt); this.$set(this.params, "spsftg", tgzt);
tjsp(this.params).then((res) => { tjsp(this.params).then((res) => {
...@@ -280,7 +299,9 @@ export default { ...@@ -280,7 +299,9 @@ export default {
this.$message.error("不可以审批此条消息"); this.$message.error("不可以审批此条消息");
return; return;
} }
let params = new FormData(); this.drawer = true;
this.zczlbh = scope.row.zczlbh
/* let params = new FormData();
let self = this; let self = this;
params.append("zczlbh", scope.row.zczlbh); params.append("zczlbh", scope.row.zczlbh);
this.$set(self.params, "zczlbh", scope.row.zczlbh); this.$set(self.params, "zczlbh", scope.row.zczlbh);
...@@ -316,7 +337,7 @@ export default { ...@@ -316,7 +337,7 @@ export default {
loading.close(); loading.close();
this.$message.error("提取信息失败"); this.$message.error("提取信息失败");
} }
}); });*/
}, },
}, },
mounted() { mounted() {
......
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