|
|
@ -6,10 +6,9 @@ |
|
|
|
width="80%"> |
|
|
|
<el-form :model="dataForm" ref="dataForm" style="width: 100%; height: 100%;"> |
|
|
|
<div class="project-handle"> |
|
|
|
<div style="width: 100%; height: 100%;"> |
|
|
|
<div class="project-detail"> |
|
|
|
<div class="project-detail-tip">议题详情</div> |
|
|
|
|
|
|
|
<div class="project-detail"> |
|
|
|
<div class="project-detail-tip">议题详情</div> |
|
|
|
<el-form label-position="right" label-width="120px"> |
|
|
|
<el-form-item label="议题内容:" |
|
|
|
prop="eventContent"> |
|
|
|
<div>{{dataForm.itemContent}}</div> |
|
|
@ -48,62 +47,60 @@ |
|
|
|
<span>支持 {{dataForm.approveNum}}</span> |
|
|
|
<span>不支持 {{dataForm.opposeNum}}</span> |
|
|
|
</el-form-item> |
|
|
|
<div class="container"> |
|
|
|
<div class="location"><span style="font-weight: bold;color: #606266">上报位置:</span> {{dataForm.issueAddress}}</div> |
|
|
|
<div id="map"></div> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
<div class="container"> |
|
|
|
<div class="location"><span style="font-weight: bold;color: #606266">上报位置:</span> {{dataForm.issueAddress}}</div> |
|
|
|
<div id="map"></div> |
|
|
|
</div> |
|
|
|
<div class="project-progress"> |
|
|
|
<div class="project-progress-tip">处理进展</div> |
|
|
|
<el-timeline> |
|
|
|
<el-timeline-item v-for="(item, index) in timeLineList" |
|
|
|
:key="item.id" |
|
|
|
:color="item.type === 'init' ? 'red' : item.type === 'project' ? '#009688' : '#ffa546'"> |
|
|
|
<div :id="`content${index}`" |
|
|
|
style="line-height:25px; "> |
|
|
|
<div :style="{ marginBottom: '10px', width: '35px', height: '20px', fontSize: '12px', borderRadius: '4px', background: item.type === 'project' ? '#009688': item.type === 'issue' || item.type === 'issue-project' ? '#ffa546' : '', color: '#fff', textAlign: 'center', lineHeight: '20px'}" |
|
|
|
v-if="item.type !== 'init'"> |
|
|
|
{{item.type === 'project' ? '项目': item.type === 'issue' || item.type === 'issue-project' ? '议题' : ''}} |
|
|
|
</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">[{{item | formatState}}]</span> {{item.createdTime}}</div> |
|
|
|
<div v-if="item.state === 3"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">来源社群:</span>{{item.groupName}}</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人:</span>{{item.handlerDept}}</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人电话:</span>{{item.mobile}}</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.state !== 3"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理部门:</span>{{item.handlerDept}}</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.itemDeptDTOS && item.itemDeptDTOS.length > 0" |
|
|
|
style="width: 100%; display: flex;"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">被吹哨部门:</span> </div> |
|
|
|
<div> |
|
|
|
</div> |
|
|
|
<div class="project-progress"> |
|
|
|
<div class="project-progress-tip">处理进展</div> |
|
|
|
<el-timeline> |
|
|
|
<el-timeline-item v-for="(item, index) in timeLineList" |
|
|
|
:key="item.id" |
|
|
|
:color="item.type === 'init' ? 'red' : item.type === 'project' ? '#009688' : '#ffa546'"> |
|
|
|
<div :id="`content${index}`" |
|
|
|
style="line-height:25px; "> |
|
|
|
<div :style="{ marginBottom: '10px', width: '35px', height: '20px', fontSize: '12px', borderRadius: '4px', background: item.type === 'project' ? '#009688': item.type === 'issue' || item.type === 'issue-project' ? '#ffa546' : '', color: '#fff', textAlign: 'center', lineHeight: '20px'}" |
|
|
|
v-if="item.type !== 'init'"> |
|
|
|
{{item.type === 'project' ? '项目': item.type === 'issue' || item.type === 'issue-project' ? '议题' : ''}} |
|
|
|
</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">[{{item | formatState}}]</span> {{item.createdTime}}</div> |
|
|
|
<div v-if="item.state === 3"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">来源社群:</span>{{item.groupName}}</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人:</span>{{item.handlerDept}}</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人电话:</span>{{item.mobile}}</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.state !== 3"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理部门:</span>{{item.handlerDept}}</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.itemDeptDTOS && item.itemDeptDTOS.length > 0" |
|
|
|
style="width: 100%; display: flex;"> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">被吹哨部门:</span> </div> |
|
|
|
<div> |
|
|
|
<span v-for="(csDept, index1) in item.itemDeptDTOS" |
|
|
|
:key="index1"> |
|
|
|
{{ csDept.deptName }}<br /> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理意见:</span> {{item.advice}}</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<el-image v-for="url in item.images" |
|
|
|
style="width: 60px; height: 60px; object-fit: cover; margin-right: 8px; border-radius: 2px;" |
|
|
|
:key="url" |
|
|
|
:src="url" |
|
|
|
:preview-src-list="previewImgList" |
|
|
|
alt="处理图片" |
|
|
|
@click="clickImg(url)"> |
|
|
|
</el-image> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-timeline-item> |
|
|
|
</el-timeline> |
|
|
|
</div> |
|
|
|
<el-form-item style="float: right;"> |
|
|
|
<el-button size="small" |
|
|
|
style="width: 95px" |
|
|
|
@click="back">返回</el-button> |
|
|
|
</el-form-item> |
|
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理意见:</span> {{item.advice}}</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<el-image v-for="url in item.images" |
|
|
|
style="width: 60px; height: 60px; object-fit: cover; margin-right: 8px; border-radius: 2px;" |
|
|
|
:key="url" |
|
|
|
:src="url" |
|
|
|
:preview-src-list="previewImgList" |
|
|
|
alt="处理图片" |
|
|
|
@click="clickImg(url)"> |
|
|
|
</el-image> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-timeline-item> |
|
|
|
</el-timeline> |
|
|
|
</div> |
|
|
|
<div style="width: 100%; text-align:center; float:left;"> |
|
|
|
<el-button size="medium" style="width: 95px" type="primary" @click="back">返回</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
@ -322,56 +319,99 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss"> |
|
|
|
.project-handle { |
|
|
|
.el-timeline { |
|
|
|
padding-left: 9px; |
|
|
|
font-size: 13px; |
|
|
|
} |
|
|
|
.el-textarea { |
|
|
|
width: 600px !important; |
|
|
|
.project-handle { |
|
|
|
.el-timeline { |
|
|
|
padding-left: 9px; |
|
|
|
font-size: 13px; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-input { |
|
|
|
width: 600px !important; |
|
|
|
.el-form-item__label { |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-form-item__label { |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.project-handle { |
|
|
|
width: 100%; |
|
|
|
height: calc(100vh - 120px); |
|
|
|
background: #ffffff; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 10px; |
|
|
|
.project-detail { |
|
|
|
width: 79%; |
|
|
|
height: 49%; |
|
|
|
border: 2px solid #ccc; |
|
|
|
.project-handle { |
|
|
|
width: 100%; |
|
|
|
height: calc(100vh - 120px); |
|
|
|
background: #ffffff; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 10px; |
|
|
|
padding-top: 20px; |
|
|
|
float: left; |
|
|
|
margin-bottom: 1%; |
|
|
|
position: relative; |
|
|
|
.project-detail-tip { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 80px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
color: #ffffff; |
|
|
|
background: #4ac38b; |
|
|
|
text-align: center; |
|
|
|
.project-detail { |
|
|
|
width: 79%; |
|
|
|
height: 80%; |
|
|
|
border: 2px solid #ccc; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 10px; |
|
|
|
padding-top: 20px; |
|
|
|
float:left; |
|
|
|
margin-bottom: 1%; |
|
|
|
position:relative; |
|
|
|
.project-detail-tip { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left:0; |
|
|
|
width: 80px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
color: #ffffff; |
|
|
|
background: #4ac38b; |
|
|
|
text-align:center; |
|
|
|
} |
|
|
|
.el-form { |
|
|
|
width: 58%; |
|
|
|
height: 100%; |
|
|
|
float:left; |
|
|
|
overflow-y:auto; |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 5px; |
|
|
|
height: 1px; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-thumb { |
|
|
|
border-radius: 5px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-track { |
|
|
|
border-radius: 10px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
.container { |
|
|
|
width: 40%; |
|
|
|
height: 100%; |
|
|
|
float: right; |
|
|
|
.location { |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
} |
|
|
|
#map { |
|
|
|
width: 100%; |
|
|
|
height: calc(100% - 30px); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.el-form { |
|
|
|
width: 58%; |
|
|
|
height: 100%; |
|
|
|
float: left; |
|
|
|
overflow-y: auto; |
|
|
|
.project-progress { |
|
|
|
width: 20%; |
|
|
|
height: 80%; |
|
|
|
float: right; |
|
|
|
border: 2px solid #ccc; |
|
|
|
box-sizing: border-box; |
|
|
|
margin-left: 1%; |
|
|
|
padding-top: 20px; |
|
|
|
overflow-y:auto; |
|
|
|
position: relative; |
|
|
|
padding-top: 40px; |
|
|
|
.project-progress-tip { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left:0; |
|
|
|
width: 80px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
color: #ffffff; |
|
|
|
background: #0098ff; |
|
|
|
text-align:center; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 5px; |
|
|
|
height: 1px; |
|
|
@ -382,90 +422,15 @@ export default { |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-track { |
|
|
|
border-radius: 10px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
.container { |
|
|
|
width: 40%; |
|
|
|
height: 100%; |
|
|
|
float: right; |
|
|
|
.location { |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
} |
|
|
|
#map { |
|
|
|
width: 100%; |
|
|
|
height: calc(100% - 30px); |
|
|
|
background: #ccc; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.project-progress { |
|
|
|
width: 20%; |
|
|
|
height: 100%; |
|
|
|
float: right; |
|
|
|
border: 2px solid #ccc; |
|
|
|
box-sizing: border-box; |
|
|
|
margin-left: 1%; |
|
|
|
padding-top: 40px; |
|
|
|
overflow-y: auto; |
|
|
|
position: relative; |
|
|
|
.project-progress-tip { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 80px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
color: #ffffff; |
|
|
|
background: #0098ff; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 5px; |
|
|
|
height: 1px; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-thumb { |
|
|
|
border-radius: 5px; |
|
|
|
background: #aaa; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-track { |
|
|
|
border-radius: 10px; |
|
|
|
background: #ccc; |
|
|
|
} |
|
|
|
} |
|
|
|
.handle-operation { |
|
|
|
padding-top: 20px; |
|
|
|
box-sizing: border-box; |
|
|
|
width: 79%; |
|
|
|
height: 49%; |
|
|
|
box-sizing: border-box; |
|
|
|
border: 2px solid #ccc; |
|
|
|
float: left; |
|
|
|
overflow-y: auto; |
|
|
|
position: relative; |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 5px; |
|
|
|
height: 1px; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-thumb { |
|
|
|
border-radius: 5px; |
|
|
|
background: #aaa; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-track { |
|
|
|
border-radius: 10px; |
|
|
|
background: #ccc; |
|
|
|
} |
|
|
|
.handle-operation-tip { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 80px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
color: #ffffff; |
|
|
|
background: #ff7600; |
|
|
|
text-align: center; |
|
|
|
.handle-operation { |
|
|
|
width: 79%; |
|
|
|
height: 49%; |
|
|
|
box-sizing: border-box; |
|
|
|
border: 2px solid #ccc; |
|
|
|
float:left; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|