diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 6ca8f83..9380592 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -105,9 +105,10 @@
@@ -152,23 +153,38 @@ >
- {{ item.manageStatusName || item.processName }} + {{ + item.manageStatusName || + item.processName + }}
- {{ item.manageTime || item.processTime }} + {{ + item.manageTime || item.processTime + }} +
+
+ 编辑
-
编辑
办理人:
- {{ item.manageResi || item.departmentName }} + {{ + item.manageResi || + item.departmentName + }}
-
-
办理人电话:
+
+
+ 办理人电话: +
{{ item.manageResiTel }}
@@ -421,7 +437,7 @@ function iniData() { issuePageType: "", issueDetailData: {}, - editProcessData:{} + editProcessData: {}, }; } @@ -514,7 +530,10 @@ export default { if (code === 0) { this.projectProcess = data.map((item) => { - if (typeof item.manageStatus=='number' && item.processName == "回复") { + if ( + typeof item.manageStatus == "number" && + item.processName == "回复" + ) { item.manageStatusName = replyOptions[item.manageStatus].label; } @@ -712,7 +731,9 @@ export default { this.replayInfo.icEventId = this.eventId; console.log("replayInfo", this.replayInfo); //回复属性赋值 - let url = this.replayInfo.processId ? "/gov/project/icEvent/updateReply" : "/gov/project/icEvent/reply"; + let url = this.replayInfo.processId + ? "/gov/project/icEvent/updateReply" + : "/gov/project/icEvent/reply"; await this.submitDispose(url, this.replayInfo); } else if (this.formData.operationType === "1") { this.replayInfo = {}; @@ -763,9 +784,9 @@ export default { } }, - editProcess(obj){ - this.editProcessData = obj; - }, + editProcess(obj) { + this.editProcessData = obj; + }, handleClose() { if (this.pageTypeCopy === "add") { diff --git a/src/views/modules/shequzhili/event/cpts/process-form-replay.vue b/src/views/modules/shequzhili/event/cpts/process-form-replay.vue index 41fb71d..64ae4b5 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-replay.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-replay.vue @@ -61,6 +61,32 @@ > + + +
+ + + + +
+
+
+ item.staffId == id); + this.formData.manageResi = item.staffName; + this.formData.manageResiTel = item.mobile; + }, + async getCategoryList() { const url = "/gov/issue/issueprojectcategorydict/list"; @@ -296,6 +347,44 @@ export default { } }, + async getGriderList() { + const gridId = this.eventDetailData.gridId || this.gridId; + console.log("============getGriderList", gridId); + + if (!gridId) return; + + const url = "/data/aggregator/epmetuser/listStaffByOrgAndRoles"; + + let params = { + orgId: gridId, //组织ID + orgType: "grid", //组织类型 + name: "", + mobile: "", + roleKeys: ["grid_member", "grid_manager"], + workType: "", + pageSize: 200, //接口有分页,直接固定每页200人 + pageNo: 1, + }; + + const { data, code, msg } = await requestPost(url, params); + + if (code === 0) { + if (data) { + let ids = []; + this.griderList = (data.list || []).filter((item) => { + if (ids.find((val) => val == item.staffId)) { + return false; + } else { + ids.push(item.staffId); + return true; + } + }); + } + } else { + // this.$message.error(msg); + } + }, + handleChangeCate() { console.log(this.$refs["myCascader"].getCheckedNodes()[0].data); this.selCateObj = diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue index e25fded..b038b05 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form.vue @@ -31,6 +31,7 @@