diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss
index b59c7a1d..989b7d56 100644
--- a/src/assets/scss/modules/visual/incident-info.scss
+++ b/src/assets/scss/modules/visual/incident-info.scss
@@ -176,6 +176,8 @@
}
.m-line {
+ min-width: 400px;
+
.stat {
margin: 20px 0 10px;
display: flex;
diff --git a/src/views/components/foldText.vue b/src/views/components/foldText.vue
new file mode 100644
index 00000000..4438e0c7
--- /dev/null
+++ b/src/views/components/foldText.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+ {{ isFolded ? "展开" : "收起" }}
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/basicinfo/cpts/incident-info.vue b/src/views/modules/visual/basicinfo/cpts/incident-info.vue
index ce0975e1..e95e2fe2 100644
--- a/src/views/modules/visual/basicinfo/cpts/incident-info.vue
+++ b/src/views/modules/visual/basicinfo/cpts/incident-info.vue
@@ -15,7 +15,12 @@
+
-
@@ -206,8 +212,111 @@ import screenLoading from "@/views/modules/visual/cpts/loading";
import { requestPost } from "@/js/dai/request";
import cptTb from "@/views/modules/visual/cpts/tb";
import analyse from "@/views/modules/visual/cpts/analyse";
+import foldText from "@/views/components/foldText";
import dateFormat from "dai-js/tools/dateFormat";
+function iniData() {
+ return {
+ groupList: [
+ { label: "研判分析" },
+ { label: "查看回复" },
+ { label: "查看项目" },
+ ],
+ groupIndex: 0,
+ startGroupIndex: 0,
+
+ info: {
+ eventTime: "",
+ eventContent: "",
+ eventAddress: "",
+ gridName: "",
+ isClosed: true,
+ isResolve: true,
+ isRollback: true,
+ eventImgs: [],
+ eventPerson: [],
+ eventOrg: [],
+ eventPeopleName: "",
+ projectInfo: {
+ projectId: "",
+ operationName: "",
+ operationTime: "",
+ projectDeclare: "",
+ },
+ },
+
+ comment: {
+ loading: true,
+ colList: [
+ {
+ align: "center",
+ width: "20%",
+ },
+ {
+ align: "center",
+ width: "30%",
+ },
+ {
+ align: "left",
+ width: "50%",
+ },
+ ],
+ header: ["回复者", "回复时间", "回复内容"],
+ list: [],
+ },
+
+ projectProcess: [],
+
+ projectInfo: {
+ backGround: "",
+ departmentList: [
+ // { departmentName: "南宁社区-南宁第二网格", staffList: ["周相成"] },
+ ],
+ departmentNameList: [],
+ internalRemark: "",
+ isSend: false,
+ locateAddress: "",
+ locateDimension: "",
+ locateLongitude: "",
+ origin: "",
+ originId: "",
+ platformIds: [],
+ processable: false,
+ projectId: "",
+ projectStatus: "pending",
+ projectTitle: "",
+ publicReply: "",
+ returnable: false,
+ },
+
+ projectCate: [],
+ projectTag: [],
+
+ yanPan: {
+ loading: false,
+
+ icResiUserId: "",
+ houseId: "",
+ icUserName: "",
+ epmetUserIdList: [],
+ houseUserList: [
+ // {
+ // icResiUserId: '',
+ // icUserName: '',
+ // }
+ ],
+ categoryList: [],
+ projectData: [
+ // {
+ // firstCategoryCode: '',
+ // firstCategoryName: '',
+ // projectList: [],
+ // }
+ ],
+ },
+ };
+}
+
export default {
name: "demandInfo",
props: {
@@ -230,114 +339,19 @@ export default {
cptTb,
analyse,
screenLoading,
+ foldText,
},
- data() {
- return {
- groupList: [
- { label: "研判分析" },
- { label: "查看回复" },
- { label: "查看项目" },
- ],
- groupIndex: 0,
- startGroupIndex: 0,
-
- info: {
- eventTime: "",
- eventContent: "",
- eventAddress: "",
- gridName: "",
- isClosed: true,
- isResolve: true,
- isRollback: true,
- eventImgs: [],
- eventPerson: [],
- eventOrg: [],
- eventPeopleName: "",
- projectInfo: {
- projectId: "",
- operationName: "",
- operationTime: "",
- projectDeclare: "",
- },
- },
-
- comment: {
- loading: true,
- colList: [
- {
- align: "center",
- width: "20%",
- },
- {
- align: "center",
- width: "30%",
- },
- {
- align: "left",
- width: "50%",
- },
- ],
- header: ["回复者", "回复时间", "回复内容"],
- list: [],
- },
-
- projectProcess: [],
-
- projectInfo: {
- backGround: "",
- departmentList: [
- // { departmentName: "南宁社区-南宁第二网格", staffList: ["周相成"] },
- ],
- departmentNameList: [],
- internalRemark: "",
- isSend: false,
- locateAddress: "",
- locateDimension: "",
- locateLongitude: "",
- origin: "",
- originId: "",
- platformIds: [],
- processable: false,
- projectId: "",
- projectStatus: "pending",
- projectTitle: "",
- publicReply: "",
- returnable: false,
- },
-
- projectCate: [],
- projectTag: [],
-
- yanPan: {
- loading: false,
-
- icResiUserId: "",
- houseId: "",
- icUserName: "",
- epmetUserIdList: [],
- houseUserList: [
- // {
- // icResiUserId: '',
- // icUserName: '',
- // }
- ],
- categoryList: [],
- projectData: [
- // {
- // firstCategoryCode: '',
- // firstCategoryName: '',
- // projectList: [],
- // }
- ],
- },
- };
- },
+ data: iniData,
computed: {},
watch: {
resiEventId() {
+ let data = iniData();
+ Object.keys(data).forEach((k) => {
+ this[k] = data[k];
+ });
this.getApiData();
},
},
@@ -347,6 +361,10 @@ export default {
},
methods: {
+ watchImg(src) {
+ window.open(src);
+ },
+
addStartGroupIndex() {
const { startGroupIndex, groupList } = this;
if (startGroupIndex < groupList.length - 9) {
@@ -496,6 +514,7 @@ export default {
statusName:
subItem.projectStatus == "pending" ? "待处理" : "结案",
projectId: subItem.projectId,
+ resiEventId: subItem.resiEventId,
};
}),
};
@@ -512,6 +531,11 @@ export default {
path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`,
});
},
+
+ toProjectInfo(item) {
+ console.log(item);
+ this.resiEventId = item.resiEventId;
+ },
},
};
diff --git a/src/views/modules/visual/basicinfo/cpts/topic-info.vue b/src/views/modules/visual/basicinfo/cpts/topic-info.vue
index 3bb9f932..ed1861d7 100644
--- a/src/views/modules/visual/basicinfo/cpts/topic-info.vue
+++ b/src/views/modules/visual/basicinfo/cpts/topic-info.vue
@@ -15,7 +15,12 @@
话题内容
{{ info.topicContent }}
-
![]()
+
发布时间:
@@ -68,6 +73,7 @@
:userName="yanPan.icUserName"
:singleList="yanPan.categoryList"
@user="toUserInfo"
+ @project="toProjectInfo"
/>
加载中
@@ -137,7 +143,10 @@
-