|
@ -15,7 +15,12 @@ |
|
|
<div class="info-title">事件内容</div> |
|
|
<div class="info-title">事件内容</div> |
|
|
<div class="info-content">{{ info.eventContent }}</div> |
|
|
<div class="info-content">{{ info.eventContent }}</div> |
|
|
<div class="info-pics"> |
|
|
<div class="info-pics"> |
|
|
<img :src="src" :key="src" v-for="src in info.eventImgs" /> |
|
|
<img |
|
|
|
|
|
:src="src" |
|
|
|
|
|
:key="src" |
|
|
|
|
|
v-for="src in info.eventImgs" |
|
|
|
|
|
@click="watchImg(src)" |
|
|
|
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<div class="info-prop"> |
|
|
<div class="info-prop"> |
|
|
<span>提交时间:</span> |
|
|
<span>提交时间:</span> |
|
@ -72,6 +77,7 @@ |
|
|
:userName="yanPan.icUserName" |
|
|
:userName="yanPan.icUserName" |
|
|
:singleList="yanPan.categoryList" |
|
|
:singleList="yanPan.categoryList" |
|
|
@user="toUserInfo" |
|
|
@user="toUserInfo" |
|
|
|
|
|
@project="toProjectInfo" |
|
|
/> |
|
|
/> |
|
|
<screen-loading v-else>加载中</screen-loading> |
|
|
<screen-loading v-else>加载中</screen-loading> |
|
|
</div> |
|
|
</div> |
|
@ -110,7 +116,7 @@ |
|
|
<span>当前处理部门:</span> |
|
|
<span>当前处理部门:</span> |
|
|
<span>{{ projectInfo.departmentNameList.join("、") }}</span> |
|
|
<span>{{ projectInfo.departmentNameList.join("、") }}</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="info-prop" v-if="projectCate.length>0"> |
|
|
<div class="info-prop" v-if="projectCate.length > 0"> |
|
|
<span>分类:</span> |
|
|
<span>分类:</span> |
|
|
<div> |
|
|
<div> |
|
|
<div :key="item.name" v-for="item in projectCate"> |
|
|
<div :key="item.name" v-for="item in projectCate"> |
|
@ -118,7 +124,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="info-prop" v-if="projectTag.length>0"> |
|
|
<div class="info-prop" v-if="projectTag.length > 0"> |
|
|
<span>标签:</span> |
|
|
<span>标签:</span> |
|
|
<div> |
|
|
<div> |
|
|
<div :key="item.name" v-for="item in projectTag"> |
|
|
<div :key="item.name" v-for="item in projectTag"> |
|
@ -208,31 +214,7 @@ import cptTb from "@/views/modules/visual/cpts/tb"; |
|
|
import analyse from "@/views/modules/visual/cpts/analyse"; |
|
|
import analyse from "@/views/modules/visual/cpts/analyse"; |
|
|
import dateFormat from "dai-js/tools/dateFormat"; |
|
|
import dateFormat from "dai-js/tools/dateFormat"; |
|
|
|
|
|
|
|
|
export default { |
|
|
function iniData() { |
|
|
name: "demandInfo", |
|
|
|
|
|
props: { |
|
|
|
|
|
resiEventId: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "", |
|
|
|
|
|
}, |
|
|
|
|
|
epmetUserIdList: { |
|
|
|
|
|
type: Array, |
|
|
|
|
|
default: [], |
|
|
|
|
|
}, |
|
|
|
|
|
icResiUserId: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "", |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
components: { |
|
|
|
|
|
cptCard, |
|
|
|
|
|
cptTb, |
|
|
|
|
|
analyse, |
|
|
|
|
|
screenLoading, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
data() { |
|
|
|
|
|
return { |
|
|
return { |
|
|
groupList: [ |
|
|
groupList: [ |
|
|
{ label: "研判分析" }, |
|
|
{ label: "研判分析" }, |
|
@ -332,12 +314,42 @@ export default { |
|
|
], |
|
|
], |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
name: "demandInfo", |
|
|
|
|
|
props: { |
|
|
|
|
|
resiEventId: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "", |
|
|
|
|
|
}, |
|
|
|
|
|
epmetUserIdList: { |
|
|
|
|
|
type: Array, |
|
|
|
|
|
default: [], |
|
|
|
|
|
}, |
|
|
|
|
|
icResiUserId: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "", |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
components: { |
|
|
|
|
|
cptCard, |
|
|
|
|
|
cptTb, |
|
|
|
|
|
analyse, |
|
|
|
|
|
screenLoading, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
data: iniData, |
|
|
|
|
|
|
|
|
computed: {}, |
|
|
computed: {}, |
|
|
|
|
|
|
|
|
watch: { |
|
|
watch: { |
|
|
resiEventId() { |
|
|
resiEventId() { |
|
|
|
|
|
let data = iniData(); |
|
|
|
|
|
Object.keys(data).forEach((k) => { |
|
|
|
|
|
this[k] = data[k]; |
|
|
|
|
|
}); |
|
|
this.getApiData(); |
|
|
this.getApiData(); |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
@ -347,6 +359,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
watchImg(src) { |
|
|
|
|
|
window.open(src); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
addStartGroupIndex() { |
|
|
addStartGroupIndex() { |
|
|
const { startGroupIndex, groupList } = this; |
|
|
const { startGroupIndex, groupList } = this; |
|
|
if (startGroupIndex < groupList.length - 9) { |
|
|
if (startGroupIndex < groupList.length - 9) { |
|
@ -496,6 +512,7 @@ export default { |
|
|
statusName: |
|
|
statusName: |
|
|
subItem.projectStatus == "pending" ? "待处理" : "结案", |
|
|
subItem.projectStatus == "pending" ? "待处理" : "结案", |
|
|
projectId: subItem.projectId, |
|
|
projectId: subItem.projectId, |
|
|
|
|
|
resiEventId: subItem.resiEventId, |
|
|
}; |
|
|
}; |
|
|
}), |
|
|
}), |
|
|
}; |
|
|
}; |
|
@ -512,6 +529,11 @@ export default { |
|
|
path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`, |
|
|
path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`, |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
toProjectInfo(item) { |
|
|
|
|
|
console.log(item) |
|
|
|
|
|
this.resiEventId = item.resiEventId; |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|