Commit 552b6e08 by 叶富雄

侦查指令模块

parent 6600719b
......@@ -62,8 +62,19 @@ export const getHbDetailByFpbh = params =>
//
export const getChildUnitAndPeople = params =>
post(`${base.alyIP}/zczl/getChildUnitAndPeople`, params);
//人像比对详情
// export const rxdbDetail = params =>
// post(`${base.alyIP}/rxbz/queryByXxzjbh`, params);
//详情
export const getZczltoMeInfomation = 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 = [
},
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 {
path: "/right",
component: menuLayout,
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 @@
</el-button>
</template>
</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>
</template>
......@@ -31,14 +37,18 @@
import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import {spsftg, sfczhbxx} from "@/assets/js/transformFormTable.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
export default {
name: "rlqbxsxx",
components: {
rightContent,
rightContent,zczl
},
data() {
return {
zczlbh:'',
fpbh:'',
sub:'',
drawer: false,
tableOperation: true,
tableOperationWidth: 200,
header: "我发起的工作指令",
......@@ -237,15 +247,12 @@ export default {
],
cxDefaultFormThead: [
{
label: "工作指令编号",
label: "侦查指令编号",
prop: "zczlbh",
width:'300',
toInfor:true
},
/* {
label: "分派编号",
prop: "fpbh",
},*/
{
/*table默认得表头*/
label: "指令事由",
prop: "zlsy",
},
......@@ -386,13 +393,10 @@ export default {
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
type: "xdzl",
},
});
this.sub = 'PJ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
},
mounted() {
......
......@@ -16,7 +16,12 @@
<el-button :disabled="scope.scope.row.ifsp!='能'" @click="examine(scope.scope)" type="text">审批</el-button>
</template>
</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-form :inline="true" :model="ckForm" class="demo-form-inline">
......@@ -64,16 +69,19 @@
<script>
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";
export default {
name: "rlqbxsxx",
components: {
rightContent,
rightContent,zczl
},
data() {
return {
zczlbh:'',
drawer: false,
tableOperation: true,
transformFormTable: {
ifsp,
......@@ -263,6 +271,17 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
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) {
this.$set(this.params, "spsftg", tgzt);
tjsp(this.params).then((res) => {
......@@ -280,7 +299,9 @@ export default {
this.$message.error("不可以审批此条消息");
return;
}
let params = new FormData();
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);
......@@ -316,7 +337,7 @@ export default {
loading.close();
this.$message.error("提取信息失败");
}
});
});*/
},
},
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