Commit 6fd120ca by gao_yingdong

合成研判成品

parent b6791236
......@@ -53,6 +53,10 @@ export const queryByXxzjbh = params =>
export const getRwgzByRwxxzjbh = params =>
post(`${base.alyIP}/hcyprw/getRwgzByRwxxzjbh`, params);
// 6.12查询合成研判任务跟踪列表
export const hqypcp = params =>
post(`${base.alyIP}/hcyprw/hqypcp`, params);
// 23.1申请专业研判
export const sqzyyp = params =>
post(`${base.alyIP}/hcyprw/sqzyyp`, params);
......
......@@ -40,7 +40,14 @@ const menuLayouts = [
},
component: () => import("@/views/hbyprw/hbyprw/detailHbyp.vue")
},
{
path: "/detailHcypcp",
name: "detailHcypcp",
meta: {
title: '合成研判产品详情'
},
component: () => import("@/views/hbyprw/hbyprw/detailHcypcp.vue")
},
{
path: "/jjhcyp",
name: "jjhcyp",
......
......@@ -219,13 +219,13 @@ export default {
col: "3",
},
{
label: "是否督办:",
prop: "sfdbStr",
label: "是否专业研判:",
prop: "sfzyypStr",
col: "3",
},
{
label: "是否反馈:",
prop: "sffkStr",
label: "是否快速审批:",
prop: "sfksspStr",
col: "3",
},
{
......
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="合成研判产品详情"
>
</right-content>
<div style="display: flex">
<div
style="
background: rgb(255, 255, 255);
margin: -56px 0px 0px 20px;
border-radius: 10px;
width: 48%;
"
>
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span
style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
"
>督办列表</span
>
<div class="quan">{{db}}</div>
</div>
<div
class="block"
v-loading="loadingTime"
style="padding: 30px 50px 10px"
>
<el-timeline>
<el-timeline-item
v-for="(activity, index) in activitiesDb"
:key="index"
:icon="activity.icon"
:type="activity.type"
:color="activity.color"
:size="activity.size"
:timestamp="activity.djsj"
>
{{ activity.czjyms }}
</el-timeline-item>
</el-timeline>
</div>
</div>
<div
style="
background: rgb(255, 255, 255);
margin: -56px 0px 0px 20px;
border-radius: 10px;
width: 48%;
"
>
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span
style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
"
>反馈列表</span
>
<div class="quan">{{fk}}</div>
</div>
<div
class="block"
v-loading="loadingTime"
style="padding: 30px 50px 10px"
>
<el-timeline>
<el-timeline-item
v-for="(activity, index) in activitiesFk"
:key="index"
:icon="activity.icon"
:type="activity.type"
:color="activity.color"
:size="activity.size"
:timestamp="activity.djsj"
>
{{ activity.czjyms }}
</el-timeline-item>
</el-timeline>
</div>
</div>
</div>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh, hqypcp } from "@/api/hbyp/hbyp.js";
export default {
name: "queryZdxx",
components: {
rightContent,
},
data() {
return {
fk:'1',
db:'1',
loadingTime: false,
activitiesDb: [
// {
// content: "支持使用图标",
// timestamp: "2018-04-12 20:46",
// size: "large",
// type: "primary",
// icon: "el-icon-more",
// },
// {
// content: "支持自定义颜色",
// timestamp: "2018-04-03 20:46",
// color: "#0bbd87",
// },
// {
// content: "支持自定义尺寸",
// timestamp: "2018-04-03 20:46",
// size: "large",
// },
// {
// content: "默认样式的节点",
// timestamp: "2018-04-03 20:46",
// },
],
activitiesFk: [],
cxQueryField: [
{
title: "合并研判产品信息",
id: 1,
objStr: "", //对象中的对应字段
data: [
{
label: "信息主键编号:",
prop: "xxzjbh",
col: "3",
},
{
label: "研判任务分类:",
prop: "yprwfldmStr",
col: "3",
},
{
label: "当前工作简要情况:",
prop: "dqgzJyqk",
col: "3",
},
{
label: "工作要求简要情况:",
prop: "gzyqJyqk",
col: "3",
},
{
label: "工作目标简要情况:",
prop: "gzmbJyqk",
col: "3",
},
{
label: "工作期限:",
prop: "gzsx",
col: "3",
},
{
label: "截止日期:",
prop: "jzrq",
col: "3",
},
{
label: "办结时间:",
prop: "bjsj",
col: "3",
},
{
label: "办结简要情况:",
prop: "bjJyqk",
col: "3",
},
],
},
],
pageFooterProps: [],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getRwgzByRwxxzjbh() {
hqypcp({
xxzjbh: this.xxzjbh,
}).then((res) => {
this.activitiesDb = res.data.dbList;
this.activitiesFk = res.data.fkList;
this.db = res.data.dbCount
this.fk = res.data.fkCount
});
},
getInfor() {
let params = new FormData();
params.append("xxzjbh", this.xxzjbh);
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
queryByXxzjbh(params).then((res) => {
if (res.success && res.code == 200) {
var result = res.data.rows;
this.pageObject = result;
loading.close();
}
});
},
},
created() {
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
this.getRwgzByRwxxzjbh();
},
};
</script>
<style scoped lang="scss">
.quan {
width: 20px;
height: 20px;
background: #ecaa0c;
text-align: center;
border-radius: 25px;
float: right;
margin-right: 86%;
color: #fff;
}
</style>
......@@ -60,7 +60,12 @@
@click="toYppg(scope.scope)"
>专业研判评估</span
>
<span
v-if="scope.scope.row.sfbjPdbz == 1"
class="hbyp"
@click="tohqhcp (scope.scope)"
>获取合成研判产品</span
>
<span
v-if="scope.scope.row.sfkxg == 1"
class="hbyp"
......@@ -921,6 +926,15 @@ export default {
},
});
},
tohqhcp(scope) {
debugger
this.$router.push({
path: "/detailHcypcp",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
......
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