diff --git a/src/views/modules/visual/basicinfo/cpts/topic-info.vue b/src/views/modules/visual/basicinfo/cpts/topic-info.vue index bccd5855..159f4b54 100644 --- a/src/views/modules/visual/basicinfo/cpts/topic-info.vue +++ b/src/views/modules/visual/basicinfo/cpts/topic-info.vue @@ -7,7 +7,8 @@ 话题详情 -
+
@@ -15,12 +16,10 @@
话题内容
{{ info.topicContent }}
- +
发布时间: @@ -37,65 +36,57 @@
-
+
-
+
{{ item.label }}
-
+
-
+
- + 加载中
-
- +
+
-
- +
+
-
+
议题标题: @@ -113,7 +104,8 @@ 议题发起人: {{ issueInfo.issueInitiator }}
-
+
议题来源: {{ issueInfo.topicInfo.groupName }}
@@ -143,22 +135,20 @@
- +
-
- +
+
-
+
项目标题: @@ -176,33 +166,36 @@ 当前处理部门: {{ projectInfo.departmentNameList.join("、") }}
-
+
分类: -
+
{{ item.name }}
-
+
标签: -
+
{{ item.name }}
-
+
处理进展
-
+
{{ item.processName }}
@@ -215,20 +208,16 @@
{{ item.departmentName }}
-
+
说 明:
{{ item.publicReply }}
-
+
内部备注:
{{ @@ -238,12 +227,10 @@
- + {{ att.name }} @@ -253,11 +240,10 @@
-
- +
+
@@ -276,7 +262,7 @@ import analyse from "@/views/modules/visual/cpts/analyse"; import foldText from "@/views/components/foldText"; import dateFormat from "dai-js/tools/dateFormat"; -function iniData() { +function iniData () { return { groupList: [ { label: "研判分析" }, @@ -434,7 +420,7 @@ export default { computed: {}, watch: { - topicId() { + topicId () { let data = iniData(); Object.keys(data).forEach((k) => { this[k] = data[k]; @@ -443,16 +429,16 @@ export default { }, }, - mounted() { + mounted () { this.getApiData(); }, methods: { - watchImg(src) { + watchImg (src) { window.open(src); }, - addStartGroupIndex() { + addStartGroupIndex () { const { startGroupIndex, groupList } = this; if (startGroupIndex < groupList.length - 9) { this.startGroupIndex = startGroupIndex + 1; @@ -460,7 +446,7 @@ export default { this.startGroupIndex = groupList.length - 9; } }, - subStartGroupIndex() { + subStartGroupIndex () { const { startGroupIndex, groupList } = this; if (startGroupIndex > 0) { this.startGroupIndex = startGroupIndex - 1; @@ -468,11 +454,11 @@ export default { this.startGroupIndex = 0; } }, - handleClose() { + handleClose () { this.$emit("close"); }, - async getApiData() { + async getApiData () { this.getComment(); await this.getInfo(); await this.getIssueInfo(); @@ -484,7 +470,7 @@ export default { }, //加载组织数据 - async getInfo() { + async getInfo () { const url = "/resi/group/topic/gettopicdetail"; const { data, code, msg } = await requestPost(url, { @@ -499,7 +485,7 @@ export default { }, //加载组织数据 - async getComment() { + async getComment () { const url = "/resi/group/comment/getcommentlistoftopic"; const { data, code, msg } = await requestPost(url, { @@ -526,7 +512,7 @@ export default { } }, - checkTopicCommentImg(index) { + checkTopicCommentImg (index) { const { comment: { srcList }, } = this; @@ -536,7 +522,7 @@ export default { }, //加载组织数据 - async getIssueInfo() { + async getIssueInfo () { const { info: { issueId }, } = this; @@ -555,7 +541,7 @@ export default { }, //加载组织数据 - async getIssueTrend() { + async getIssueTrend () { const { info: { issueId }, } = this; @@ -592,7 +578,7 @@ export default { }, //加载组织数据 - async getProjectProcess() { + async getProjectProcess () { const { issueInfo } = this; if (!issueInfo || !issueInfo.projectId) return; const url = "/gov/project/trace/processlist-v2"; @@ -615,7 +601,7 @@ export default { }, //加载组织数据 - async getProjectInfo() { + async getProjectInfo () { const { issueInfo } = this; if (!issueInfo || !issueInfo.projectId) return; const url = "/gov/project/trace/projectdetail"; @@ -631,7 +617,7 @@ export default { } }, - async getProjectCate() { + async getProjectCate () { const { issueInfo } = this; if (!issueInfo || !issueInfo.projectId) return; const url = "/gov/project/projectcategory/categorytaglist"; @@ -649,7 +635,7 @@ export default { }, //加载组织数据 - async getYanPan() { + async getYanPan () { const url = "/gov/project/project/topic-research-analysis"; if (!this.issueInfo.projectId) return; @@ -685,13 +671,13 @@ export default { } }, - toUserInfo(item) { + toUserInfo (item) { this.$router.push({ path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`, }); }, - toProjectInfo(item) { + toProjectInfo (item) { console.log(item); this.topicId = item.topicId; }, diff --git a/src/views/modules/visual/communityGovern/cpt/project-info.vue b/src/views/modules/visual/communityGovern/cpt/project-info.vue index 2810747b..2645a050 100644 --- a/src/views/modules/visual/communityGovern/cpt/project-info.vue +++ b/src/views/modules/visual/communityGovern/cpt/project-info.vue @@ -173,7 +173,8 @@ 议题发起人: {{ issueInfo.issueInitiator }}
-
+
议题来源: {{ issueInfo.topicInfo.groupName }}