From eae8e788c987209b26b1add902c70a6e4f17e9ac Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Fri, 20 May 2022 09:54:13 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E9=A3=9E=E9=A3=9E=E9=A3=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../scss/modules/shequzhili/project-info.scss | 4 ++
src/views/components/dateShow.vue | 48 +++++++++++++++++
src/views/components/selectStaff.vue | 12 +++--
.../shequzhili/xiangmu/cpts/event-info.vue | 3 +-
.../shequzhili/xiangmu/cpts/issue-info.vue | 53 +++++++++++++++++--
.../shequzhili/xiangmu/cpts/project-info.vue | 20 +++++--
6 files changed, 125 insertions(+), 15 deletions(-)
create mode 100644 src/views/components/dateShow.vue
diff --git a/src/assets/scss/modules/shequzhili/project-info.scss b/src/assets/scss/modules/shequzhili/project-info.scss
index 656180803..7f2b67434 100644
--- a/src/assets/scss/modules/shequzhili/project-info.scss
+++ b/src/assets/scss/modules/shequzhili/project-info.scss
@@ -81,12 +81,16 @@
.info-pics {
display: flex;
margin: 20px 0;
+ min-width: 200px;
+ padding-left: 15px;
+
img {
display: block;
width: 32%;
height: 90px;
margin-right: 9px;
object-fit: cover;
+ cursor: pointer;
}
}
diff --git a/src/views/components/dateShow.vue b/src/views/components/dateShow.vue
new file mode 100644
index 000000000..81739e351
--- /dev/null
+++ b/src/views/components/dateShow.vue
@@ -0,0 +1,48 @@
+
+ {{ showText }}
+
+
+
diff --git a/src/views/components/selectStaff.vue b/src/views/components/selectStaff.vue
index f6bd9db4b..c7478383b 100644
--- a/src/views/components/selectStaff.vue
+++ b/src/views/components/selectStaff.vue
@@ -1307,7 +1307,7 @@ export default {
.name {
@include toe;
width: 70%;
- font-size: 18px;
+ font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
@@ -1316,11 +1316,13 @@ export default {
position: relative;
display: inline-block;
vertical-align: middle;
- padding: 0 5px * 0.5;
- height: 24px * 0.5;
- line-height: 24px * 0.5;
+ box-sizing: content-box;
+ top: -2px;
+ padding: 0 4px;
+ height: 16px;
+ line-height: 16px;
border: 1px * 0.5 solid rgba(187, 19, 19, 1);
- border-radius: 12px * 0.5;
+ border-radius: 16px;
font-size: 10px;
font-family: PingFang SC;
font-weight: 500;
diff --git a/src/views/modules/shequzhili/xiangmu/cpts/event-info.vue b/src/views/modules/shequzhili/xiangmu/cpts/event-info.vue
index 372b36016..d25b8b1dc 100644
--- a/src/views/modules/shequzhili/xiangmu/cpts/event-info.vue
+++ b/src/views/modules/shequzhili/xiangmu/cpts/event-info.vue
@@ -7,7 +7,7 @@
事件内容
{{ info.eventContent }}
-
+
- 议题建议:
+ 处理建议:
{{ issueInfo.issueSuggestion }}
+
+ 话题内容:
+ {{ issueInfo.topicInfo.topicContent }}
+
+
+
![]()
+
+
+
所属网格:
{{ issueInfo.belongsGridName || "--" }}
-
- 议题发起人:
- {{ issueInfo.issueInitiator }}
-
+
议题来源:
{{ issueInfo.topicInfo.groupName }}
+
+
+ 议题发起人:
+ {{ issueInfo.issueInitiator }}
+
+
+
+ 话题发表人:
+ {{ issueInfo.topicInfo.publishedUser }}
+
+
转议题时间:
{{ issueInfo.shiftIssueTime }}
+
+
+ 话题发表时间:
+
+
@@ -134,6 +175,7 @@
diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue
index 84905e414..e952ece1c 100644
--- a/src/views/modules/shequzhili/event/cpts/event-info.vue
+++ b/src/views/modules/shequzhili/event/cpts/event-info.vue
@@ -35,7 +35,8 @@
事件详情
+ :eventId="eventId"
+ :eventDetailData="eventDetailData">
处理
+ :eventId="eventId"
+ :eventDetailData="eventDetailData">
{
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 1320d10d0..678100301 100644
--- a/src/views/modules/shequzhili/event/cpts/process-form-replay.vue
+++ b/src/views/modules/shequzhili/event/cpts/process-form-replay.vue
@@ -46,14 +46,15 @@ export default {
return {
btnDisable: false,
formData: {
+ operationType: '0',//处理方式[0:已回复 1:已转项目 1:已转需求]
content: '',
status: ''
},
status: false,
- okflag: false
-
+ okflag: false,
+ eventDetailCopy: {}
};
},
@@ -71,16 +72,25 @@ export default {
},
- props: {},
+ props: {
+
+ eventDetailData: {
+ type: Object,
+ default () {
+ return {}
+ }
+ },
+ },
watch: {},
async mounted () {
-
+ if (this.eventId) {
+ this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData));
+ }
},
methods: {
-
async getReplayInfo () {
this.okflag = false
this.$refs["ref_form1"].validate((valid, messageObj) => {
diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue
index eb48d64ab..6ab88929e 100644
--- a/src/views/modules/shequzhili/event/cpts/process-form.vue
+++ b/src/views/modules/shequzhili/event/cpts/process-form.vue
@@ -32,11 +32,13 @@
@@ -44,7 +46,8 @@
:eventId="eventId"
:demandUserId="demandUserId"
:demandUserName="demandUserName"
- :demandUserMobile="demandUserMobile">
+ :demandUserMobile="demandUserMobile"
+ :eventDetailData="eventDetailData">
@@ -67,9 +70,7 @@ export default {
data () {
return {
- btnDisable: false,
- gridList: [],//所属网格list--场所区域
- categrayList: [],
+
casOptions: [],
iscascaderShow: 0,
selCategoryArray: [
@@ -84,14 +85,15 @@ export default {
},
- operationType: '1',
-
+ operationType: '0',
categoryList: [],
replayInfo: {},
demand: {},
project: {},
- okflag: false
+ okflag: false,
+
+ eventDetailCopy: {}
};
},
@@ -132,6 +134,12 @@ export default {
type: String,
default: "",
},
+ eventDetailData: {
+ type: Object,
+ default () {
+ return {}
+ }
+ },
},
watch: {
@@ -141,30 +149,28 @@ export default {
async mounted () {
const { user } = this.$store.state
this.agencyId = user.agencyId
- this.loadGrid();
- this.getCategoryList()
-
- },
-
- methods: {
+ await this.getCategoryList()
+ if (this.eventId) {
+ this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData));
+ if (this.eventDetailCopy.parentCategoryId && this.eventDetailCopy.categoryId) {
+ this.selCategoryArray = []
+ this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId)
+ this.selCategoryArray.push(this.eventDetailCopy.categoryId)
+
+ this.selCateObj = {
+ name: this.eventDetailCopy.categoryName,
+ id: this.eventDetailCopy.categoryId
+ }
+ }
+ }
- async loadGrid () {
- const url = "/gov/org/customergrid/gridoption"
- let params = {
- agencyId: this.agencyId
- }
- const { data, code, msg } = await requestPost(url, params)
+ },
- if (code === 0) {
- this.gridList = data
+ methods: {
- } else {
- this.$message.error(msg)
- }
- },
async getCategoryList () {
const url = "/gov/issue/issueprojectcategorydict/list"
@@ -175,11 +181,11 @@ export default {
if (code === 0) {
let treeDataNew = this.filterTree(data)
- // this.categrayList = data
+
//组织级联数据
++this.iscascaderShow
this.casOptions = []
- this.selCategoryArray = ["1001", "1015"]
+
this.casOptions = treeDataNew
@@ -226,15 +232,17 @@ export default {
this.categoryList = []
this.categoryList.push(this.selCategoryArray[1])
- console.log(this.categoryList)
+
if (this.operationType === '0') {
this.$refs.ref_process_form_replay.getReplayInfo()
if (this.$refs.ref_process_form_replay.okflag) {
+
this.replayInfo = this.$refs.ref_process_form_replay.formData
- this.replayInfo.categoryId = this.selCateObj.id
- this.replayInfo.categoryList = []
- this.replayInfo.categoryList.push(this.selCateObj)
+
+ this.replayInfo.categoryId = this.categoryList[0]
+ this.replayInfo.categoryList = this.categoryList
+
this.okflag = true
} else {
@@ -245,10 +253,13 @@ export default {
} else if (this.operationType === '1') {
this.$refs.ref_process_form_project.getProjectInfo()
if (this.$refs.ref_process_form_project.okflag) {
+
this.project = this.$refs.ref_process_form_project.formData
+
this.project.categoryList = []
this.project.categoryList.push(this.selCateObj)
+
//赋值分类信息
this.okflag = true
diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue
index 585657dc9..5bc4f19cc 100644
--- a/src/views/modules/shequzhili/event/eventList.vue
+++ b/src/views/modules/shequzhili/event/eventList.vue
@@ -153,6 +153,7 @@
@@ -196,13 +198,14 @@