You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1393 lines
48 KiB
1393 lines
48 KiB
<template>
|
|
<div class="project-handle">
|
|
<div style="width: 100%; height: 100%;">
|
|
<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>
|
|
<el-image v-for="url in dataForm.images"
|
|
style="width: 100px; height: 100px; margin-right: 10px"
|
|
:key="url"
|
|
:src="url"
|
|
:preview-src-list="previewImgList"
|
|
@click="clickImg(url)">
|
|
</el-image>
|
|
<div v-if="dataForm.voice">
|
|
<audio controls style="height: 30px;">
|
|
<source :src="dataForm.voice" >
|
|
</audio>
|
|
</div>
|
|
</el-form-item>
|
|
<el-form-item v-if="dataForm.groupName && dataForm.groupName.length > 0"
|
|
label="项目来源:"
|
|
prop="ownGrid">
|
|
<div>{{dataForm.groupName}}</div>
|
|
</el-form-item>
|
|
<el-form-item label="上报时间:"
|
|
prop="distributeTime">
|
|
<div>{{dataForm.distributeTime}}</div>
|
|
</el-form-item>
|
|
<el-form-item label="上报人:"
|
|
prop="nickName">
|
|
<div>{{dataForm.nickName}}</div>
|
|
</el-form-item>
|
|
<el-form-item label="电话:"
|
|
prop="mobile">
|
|
<div>{{dataForm.mobile}}</div>
|
|
</el-form-item>
|
|
<el-form-item label="所属类别:"
|
|
prop="categoryName">
|
|
<div>{{dataForm.categoryName}}</div>
|
|
</el-form-item>
|
|
<el-form-item label="项目态度:">
|
|
<span>表达态度 {{dataForm.approveNum + dataForm.opposeNum + dataForm.commentNum}}</span>
|
|
<span>评论 {{dataForm.commentNum}}</span>
|
|
<span>支持 {{dataForm.approveNum}}</span>
|
|
<span>不支持 {{dataForm.opposeNum}}</span>
|
|
</el-form-item>
|
|
<el-form-item label="项目评论:">
|
|
<el-button type="text"
|
|
@click="innerVisible = true">查看评论</el-button>
|
|
</el-form-item>
|
|
</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>
|
|
<div class="project-progress">
|
|
<div class="project-progress-tip">处理进展</div>
|
|
<!-- <div class="refresh"><el-button type="text" @click="refreshProgress"> <i class="el-icon-refresh"></i></el-button></div> -->
|
|
|
|
<el-timeline v-loading="timeloading" style="padding-top: 12px;">
|
|
<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>
|
|
<div class="handle-operation">
|
|
<div class="handle-operation-tip">处理操作</div>
|
|
<el-form ref="dataForm"
|
|
label-width="120px"
|
|
label-position="right"
|
|
style="width: 720px;"
|
|
:model="dataForm"
|
|
:rules="dataRule">
|
|
<el-form-item label="处置部门" prop="handlerDeptIdRule">
|
|
<el-cascader
|
|
ref="name"
|
|
v-model="dataForm.handlerDeptIdRule"
|
|
:options="options"
|
|
:props="{ multiple: false, checkStrictly: true }"
|
|
@change="changeHandle"
|
|
>
|
|
</el-cascader>
|
|
</el-form-item>
|
|
<el-form-item label="办理意见:"
|
|
|
|
prop="handleCategory">
|
|
<el-select v-model="postDataForm.handleCategoryShow"
|
|
placeholder="请选择" @visible-change="visibleChange">
|
|
<el-option v-for="handleResultDTO in dataForm.handleResultDTOS"
|
|
:key="handleResultDTO.processResult"
|
|
:label="handleResultDTO.processName"
|
|
:value="handleResultDTO.processResult">
|
|
</el-option>
|
|
</el-select>
|
|
</el-form-item>
|
|
<el-form-item label="吹哨部门:"
|
|
prop="deptResultDTOS"
|
|
v-if="deptResultDTOSVisible">
|
|
<el-select v-model="deptResult"
|
|
multiple
|
|
placeholder="请选择">
|
|
<el-option v-for="item in dataForm.deptResultDTOS"
|
|
:key="item.deptId"
|
|
:label="item.deptName"
|
|
:value="item.deptId">
|
|
</el-option>
|
|
</el-select>
|
|
</el-form-item>
|
|
<el-form-item label="所属类别:" prop="categoryIds" v-if="categoryVisible">
|
|
<div class="block">
|
|
<el-cascader v-model="categoryIds" placeholder="试试搜索:城市管理" :props="{ checkStrictly: true }" :options="categoryOptions" filterable></el-cascader>
|
|
</div>
|
|
</el-form-item>
|
|
|
|
<el-form-item v-if="!hideResident" label="回复居民意见:" prop="outHandleAdvice">
|
|
<el-input v-model="postDataForm.outHandleAdvice"
|
|
type="textarea"
|
|
maxlength="100"
|
|
show-word-limit
|
|
placeholder="请您选择居民诉求的处理情况及答复意见,向居民公开展示"></el-input>
|
|
</el-form-item>
|
|
<el-form-item v-if="!hideResident" label="居民意见图片:" v-loading="loading" prop="outHandleImagesPC">
|
|
<el-upload
|
|
:action="uploadUrl"
|
|
:disabled="isAble"
|
|
:class="{hide:hideUploadOut}"
|
|
list-type="picture-card"
|
|
:file-list="postDataForm.outHandleImagesPC"
|
|
:limit=3
|
|
:on-preview="handlePictureCardPreview"
|
|
:on-remove="handleRemove"
|
|
:on-success="handleAvatarSuccess"
|
|
:on-error="handelError"
|
|
:before-upload="beforeAvatarUpload"
|
|
style="width:480px">
|
|
<i class="el-icon-plus"></i>
|
|
</el-upload>
|
|
<el-dialog :visible.sync="dialogVisible">
|
|
<img width="100%" :src="dialogImageUrl" alt="">
|
|
</el-dialog>
|
|
<div><font color="gray">1~3张图</font></div>
|
|
</el-form-item>
|
|
<el-form-item label="项目处理意见:"
|
|
prop="handleAdvice" v-if="showAdvice">
|
|
<el-input v-model="postDataForm.handleAdvice"
|
|
type="textarea"
|
|
maxlength="100"
|
|
show-word-limit
|
|
placeholder="请您填写项目的实际办理情况(自己处理、吹哨报到、内部协调),便于相关部门了解项目的实际情况"></el-input>
|
|
</el-form-item>
|
|
<el-form-item label="当前办理情况:" prop="handleAdvice" v-if="!isShowDeal && typeKey == 'grid_party'" >
|
|
<span>网格层面无法办理,请点击“吹哨报到”,写明当前办理情况及无法办理的原因。<br/>
|
|
网格层面已办理完成,请上传照片,点击“结案申请”,写明答复依据、办理结果等要素(态度要真诚、容易接受,语言要朴实简练,杜绝出现错字别字、表述不清等现象,此内容经区级平台核查后,反馈给诉求人)。
|
|
</span>
|
|
</el-form-item>
|
|
|
|
<el-form-item label="当前办理情况:" prop="handleAdvice" v-if="!isShowDeal && typeKey == 'community_party'" >
|
|
<span>社区层面无法办理,请点击“吹哨报到”,写明当前办理情况及无法办理的原因。<br/>
|
|
社区层面已办理完成,请上传照片,点击“结案申请”,写明答复依据、办理结果等要素(态度要真诚、容易接受,语言要朴实简练,杜绝出现错字别字、表述不清等现象,此内容经区级平台核查后,反馈给诉求人)。
|
|
</span>
|
|
</el-form-item>
|
|
<el-form-item label="当前办理情况:" prop="handleAdvice" v-if="isShowDeal" >
|
|
<span>您反映的诉求属于 “ {{postDataForm.handleAdvice}} ” 情形,不属于平台受理范围,感谢您对“北尚诉办”台的持!
|
|
</span>
|
|
</el-form-item>
|
|
<el-form-item label="不予受理原因:" prop="handleAdvice" v-if="isShowDeal">
|
|
<el-radio-group v-model="postDataForm.handleAdvice" class="handleAdvice">
|
|
<el-radio label="历史遗留暂不具备解决条件的事项">1. 历史遗留暂不具备解决条件的事项</el-radio>
|
|
<el-radio label="依法应当通过诉讼、仲裁、行政复议解决的事项">2. 依法应当通过诉讼、仲裁、行政复议解决的事项</el-radio>
|
|
<el-radio label="已进入诉讼、仲裁、行政复议、信访、信息公开等法定程序或已通过上述法定程序处理的事项">3. 已进入诉讼、仲裁、行政复议、信访、信息公开等法定程序或已通过上述法定程序处理的事项</el-radio>
|
|
|
|
<el-radio label="属于军队职责范围的事项">4. 属于军队职责范围的事项</el-radio>
|
|
<el-radio label="涉及国家机密、商业秘密、个人隐私的事项">5. 涉及国家机密、商业秘密、个人隐私的事项</el-radio>
|
|
<el-radio label="违反法律法规、社会公序良俗以及恶意攻击、骚扰或无实质诉求内容的事项">6. 违反法律法规、社会公序良俗以及恶意攻击、骚扰或无实质诉求内容的事项</el-radio>
|
|
|
|
<el-radio label="依法应当通过110、119、120等紧急服务专线处理的事项">7. 依法应当通过110、119、120等紧急服务专线处理的事项</el-radio>
|
|
<el-radio label="涉及党组织、党员、监察对象的检举、控告和申诉,建议您到市北区纪委监委信访室(延吉路80号)反映问题,举报电话:12388">8. 涉及党组织、党员、监察对象的检举、控告和申诉,建议您到市北区纪委监委信访室(延吉路80号)反映问题,举报电话:12388</el-radio>
|
|
<el-radio label="不在市北区管辖范围的事项">9. 不在市北区管辖范围的事项</el-radio>
|
|
<el-radio label="其他不予受理的事项">10. 其他不予受理的事项</el-radio>
|
|
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
<el-form-item label="办理人:" prop="handlePeopleName" >
|
|
<el-input v-model="postDataForm.handlePeopleName"></el-input>
|
|
</el-form-item>
|
|
|
|
<el-form-item label="办理人办公电话:" prop="handlePeopleMobile" >
|
|
<el-input v-model="postDataForm.handlePeopleMobile"></el-input>
|
|
</el-form-item>
|
|
|
|
<el-form-item label="处理意见图片:" v-loading="loadingIn" prop="handleImagesPC">
|
|
<el-upload
|
|
:action="uploadUrl"
|
|
:disabled="isAble"
|
|
:class="{hide:hideUploadIn}"
|
|
list-type="picture-card"
|
|
:file-list="postDataForm.handleImagesPC"
|
|
:limit=3
|
|
:on-preview="handlePictureCardPreviewIn"
|
|
:on-remove="handleRemoveIn"
|
|
:on-success="handleAvatarSuccessIn"
|
|
:on-error="handelErrorIn"
|
|
:before-upload="beforeAvatarUploadIn"
|
|
style="width:480px">
|
|
<i class="el-icon-plus"></i>
|
|
</el-upload>
|
|
<div><font color="gray">1~3张图</font></div>
|
|
</el-form-item>
|
|
<el-form-item label="满意度评价:"
|
|
prop="evaluateDeptDTOS"
|
|
v-if="evaluateDeptDTOSVisible">
|
|
<div v-for="(evaluateDeptDTO, index) in dataForm.evaluateDeptDTOS"
|
|
:key="index">
|
|
<label>{{evaluateDeptDTO.deptName}}</label>
|
|
<el-radio-group v-model="evaluateDeptDTO.evaluationLevel">
|
|
<el-radio :label="2">非常满意</el-radio>
|
|
<el-radio :label="1">基本满意</el-radio>
|
|
<el-radio :label="0">不满意</el-radio>
|
|
</el-radio-group>
|
|
</div>
|
|
</el-form-item>
|
|
<el-form-item style="float: right;">
|
|
<!-- <el-button size="small"
|
|
type="primary"
|
|
:disabled="isAble"
|
|
style="width: 95px"
|
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> -->
|
|
<el-button size="small"
|
|
type="primary"
|
|
:disabled="isAble"
|
|
style="width: 95px"
|
|
v-show="isWhistle"
|
|
@click="dataFormSubmitHandle(1)">吹哨</el-button>
|
|
<el-button size="small"
|
|
type="primary"
|
|
:disabled="isAble"
|
|
style="width: 95px"
|
|
@click="dataFormSubmitHandle(11)">结案申请</el-button>
|
|
<el-button size="small"
|
|
style="width: 95px"
|
|
@click="backToItemDeal">返回</el-button>
|
|
</el-form-item>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
<el-dialog width="90%"
|
|
title="评论"
|
|
:visible.sync="innerVisible"
|
|
append-to-body>
|
|
<el-table :data="commentsDTOs"
|
|
border
|
|
style="width: 100%;">
|
|
<el-table-column prop="user.userName"
|
|
label="发言人"
|
|
header-align="center"
|
|
align="center"></el-table-column>
|
|
<el-table-column prop="commentTime"
|
|
label="发言时间"
|
|
header-align="center"
|
|
align="center"></el-table-column>
|
|
<el-table-column prop="content"
|
|
label="发言内容"
|
|
header-align="center"
|
|
align="center"></el-table-column>
|
|
<el-table-column prop="replyComment.userName"
|
|
label="被回复人"
|
|
header-align="center"
|
|
align="center"></el-table-column>
|
|
<el-table-column prop="replyComment.content"
|
|
label="被回复内容"
|
|
header-align="center"
|
|
align="center"></el-table-column>
|
|
<el-table-column :label="$t('handle')"
|
|
header-align="center"
|
|
align="center"
|
|
width="150">
|
|
<template slot-scope="scope">
|
|
<el-button v-if="scope.row.shieldFlag === '0'"
|
|
type="button"
|
|
size="small"
|
|
@click="deleteComment(scope.row.commentId)">屏蔽</el-button>
|
|
<el-button v-if="scope.row.shieldFlag === '1'"
|
|
type="text"
|
|
size="small">已屏蔽</el-button>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table>
|
|
<el-pagination :current-page="pageIndex"
|
|
:page-sizes="[10, 20, 50, 100]"
|
|
:page-size="limitVal"
|
|
:total="total"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
@size-change="pageSizeChangeHandleNew"
|
|
@current-change="pageCurrentChangeHandleNew">
|
|
</el-pagination>
|
|
</el-dialog>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import BMap from 'BMap'
|
|
import 'element-ui/lib/theme-chalk/timeline.css'
|
|
import 'element-ui/lib/theme-chalk/timeline-item.css'
|
|
import 'element-ui/lib/theme-chalk/image.css'
|
|
import debounce from 'lodash/debounce'
|
|
import Cookies from 'js-cookie'
|
|
import 'quill/dist/quill.snow.css'
|
|
export default {
|
|
name: 'itemDealDetailView',
|
|
data () {
|
|
return {
|
|
idea: '',
|
|
isWhistle: true, // 吹哨按钮
|
|
isShowDeal: false,
|
|
checkParentName: '',
|
|
timeloading: true,
|
|
map: '',
|
|
innerVisible: false,
|
|
showAdvice: true,
|
|
typeKey: '', // 社区标识
|
|
dataForm: {
|
|
id: '',
|
|
nickName: '',
|
|
distributeTime: '',
|
|
itemContent: '',
|
|
images: [],
|
|
issueAddress: '',
|
|
handleProgressResultDTOS: [],
|
|
issueProgressResultDTOS: [],
|
|
handleResultDTOS: [],
|
|
deptResultDTOS: [],
|
|
evaluateDeptDTOS: [],
|
|
handleAdvice: '',
|
|
outHandleAdvice: '',
|
|
handleCategory: '',
|
|
issueLatitude: '',
|
|
issueLongitude: '',
|
|
handlerDeptIdRule: '',
|
|
voice: ''
|
|
},
|
|
isAble: false,
|
|
previewImgList: [],
|
|
deptResult: [],
|
|
commentsDTOs: [],
|
|
pageIndex: 0,
|
|
limitVal: 10,
|
|
total: null,
|
|
postDataForm: {
|
|
id: '',
|
|
handlePeopleName: '',
|
|
handlePeopleMobile: '',
|
|
handleAdvice: '',
|
|
outHandleAdvice: '',
|
|
handleCategory: '',
|
|
handleCategoryShow: '',
|
|
deptResultDTOS: [],
|
|
evaluateDeptDTOS: [],
|
|
handleImagesPC: [],
|
|
outHandleImagesPC: [],
|
|
handleImages: [],
|
|
outHandleImages: [],
|
|
categoryId: ''
|
|
},
|
|
deptResultDTOSVisible: false,
|
|
evaluateDeptDTOSVisible: false,
|
|
timeLineList: [],
|
|
options: [],
|
|
loading: false,
|
|
loadingIn: false,
|
|
uploadUrl: '',
|
|
hideUploadOut: false,
|
|
hideUploadIn: false,
|
|
dialogImageUrl: '',
|
|
dialogVisible: false,
|
|
hideResident: true,
|
|
categoryVisible: false,
|
|
categoryIds: [],
|
|
categoryOptions: []
|
|
}
|
|
},
|
|
mounted () {
|
|
this.dataForm.id = this.$route.query.id
|
|
this.getOptions()
|
|
this.init()
|
|
},
|
|
filters: {
|
|
formatState (item) {
|
|
if (item.type === 'project') {
|
|
if (
|
|
item.state === 0 &&
|
|
item.itemDeptDTOS &&
|
|
item.itemDeptDTOS.length > 0
|
|
) {
|
|
return '吹哨'
|
|
} else if (
|
|
item.state === 0 &&
|
|
item.itemDeptDTOS &&
|
|
item.itemDeptDTOS.length === 0
|
|
) {
|
|
return '回应'
|
|
} else if (item.state === 5) {
|
|
return '不予受理'
|
|
} else if (item.state === 10) {
|
|
return '结案'
|
|
} else if (item.state === 11) {
|
|
return '结案申请'
|
|
} else if (item.state === 12 || item.state === 1001) {
|
|
return '响应拟办'
|
|
} else if (item.state === 13) {
|
|
return '直接办理'
|
|
} else if (item.state === 14) {
|
|
return '社区驳回'
|
|
} else if (item.state === 15) {
|
|
return '社区吹哨'
|
|
} else if (item.state === 20) {
|
|
return '网格化平台-受理'
|
|
} else if (item.state === 25) {
|
|
return '网格化平台-立案'
|
|
} else if (item.state === 30) {
|
|
return '网格化平台-派遣'
|
|
} else if (item.state === 35) {
|
|
return '网格化平台-中间再派'
|
|
} else if (item.state === 40) {
|
|
return '网格化平台-接单'
|
|
} else if (item.state === 45) {
|
|
return '网格化平台-处置完成'
|
|
} else if (item.state === 50) {
|
|
return '网格化平台-中间督办'
|
|
} else if (item.state === 55) {
|
|
return '网格化平台-催办'
|
|
} else if (item.state === 60) {
|
|
return '网格化平台-结案'
|
|
} else if (item.state === 65) {
|
|
return '网格化平台-办理'
|
|
} else if (item.state === 70) {
|
|
return '网格化平台-批转'
|
|
} else if (item.state === 75) {
|
|
return '网格化平台-退单'
|
|
} else if (item.state === 80) {
|
|
return '网格化平台-办结'
|
|
} else if (item.state === 85) {
|
|
return '项目延期-审核通过'
|
|
} else if (item.state === 90) {
|
|
return '项目熔断-审核通过'
|
|
} else {
|
|
return '网格化平台-派遣中'
|
|
}
|
|
} else if (item.type === 'issue' || item.type === 'init') {
|
|
if (item.state === 0) {
|
|
return '审核通过'
|
|
} else if (item.state === 1) {
|
|
return '回应'
|
|
} else if (item.state === 2) {
|
|
return '关闭'
|
|
} else if (item.state === 3) {
|
|
return '转议题'
|
|
}
|
|
} else if (item.type === 'issue-project') {
|
|
return '转项目'
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
dataRule () {
|
|
return {
|
|
handleAdvice: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
outHandleAdvice: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
handleCategoryShow: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
deptResultDTOS: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
evaluateDeptDTOS: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
handlerDeptIdRule: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
],
|
|
// handlePeopleName: [
|
|
// {
|
|
// required: true,
|
|
// message: "请输入办理人姓名",
|
|
// trigger: "blur",
|
|
// },
|
|
// ],
|
|
// handlePeopleMobile: [
|
|
// {
|
|
// required: true,
|
|
// message: "请输入办理人办公电话",
|
|
// trigger: "blur",
|
|
// },
|
|
// ],
|
|
categoryIds: [
|
|
{
|
|
required: true,
|
|
message: this.$t('validate.required'),
|
|
trigger: 'blur'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
watch: {
|
|
'postDataForm.handleAdvice': function (val) {
|
|
this.dataForm.handleAdvice = val
|
|
},
|
|
'postDataForm.outHandleAdvice': function (val) {
|
|
this.dataForm.outHandleAdvice = val
|
|
},
|
|
'postDataForm.handleCategoryShow': function (val) {
|
|
if (this.typeKey == 'community_party') {
|
|
if (val == 6) {
|
|
this.isShowDeal = true
|
|
this.showAdvice = false
|
|
this.isWhistle = false
|
|
this.postDataForm.handleAdvice = '历史遗留暂不具备解决条件的事项'
|
|
} else {
|
|
this.isShowDeal = false
|
|
this.showAdvice = true
|
|
this.isWhistle = true
|
|
this.postDataForm.handleAdvice = ''
|
|
}
|
|
}
|
|
if (val === 1) {
|
|
this.deptResultDTOSVisible = false
|
|
this.evaluateDeptDTOSVisible = false
|
|
for (
|
|
let index = 0;
|
|
index < this.dataForm.deptResultDTOS.length;
|
|
index++
|
|
) {
|
|
const deptResultDTO = this.dataForm.deptResultDTOS[index]
|
|
if (deptResultDTO.selected === true) {
|
|
// this.postDataForm.deptResultDTOS.push(deptResultDTO)
|
|
}
|
|
}
|
|
} else if (val === 10) {
|
|
if (this.dataForm.evaluateDeptDTOS.length === 0) {
|
|
return
|
|
}
|
|
this.evaluateDeptDTOSVisible = true
|
|
this.deptResultDTOSVisible = false
|
|
} else {
|
|
this.evaluateDeptDTOSVisible = false
|
|
this.deptResultDTOSVisible = false
|
|
}
|
|
if (val === 12 || val === 13) {
|
|
this.categoryVisible = true
|
|
} else {
|
|
this.categoryVisible = false
|
|
}
|
|
},
|
|
'postDataForm.handleCategory': function (val) {
|
|
if (val === 1) {
|
|
this.deptResultDTOSVisible = false
|
|
this.evaluateDeptDTOSVisible = false
|
|
for (
|
|
let index = 0;
|
|
index < this.dataForm.deptResultDTOS.length;
|
|
index++
|
|
) {
|
|
const deptResultDTO = this.dataForm.deptResultDTOS[index]
|
|
if (deptResultDTO.selected === true) {
|
|
// this.postDataForm.deptResultDTOS.push(deptResultDTO)
|
|
}
|
|
}
|
|
} else if (val === 10) {
|
|
if (this.dataForm.evaluateDeptDTOS.length === 0) {
|
|
return
|
|
}
|
|
this.evaluateDeptDTOSVisible = true
|
|
this.deptResultDTOSVisible = false
|
|
} else {
|
|
this.evaluateDeptDTOSVisible = false
|
|
this.deptResultDTOSVisible = false
|
|
}
|
|
if (val === 12 || val === 13) {
|
|
this.categoryVisible = true
|
|
} else {
|
|
this.categoryVisible = false
|
|
}
|
|
}
|
|
},
|
|
created: function () {
|
|
this.uploadUrl = `${
|
|
window.SITE_CONFIG['apiURL']
|
|
}/oss/file/uploadImg?token=${Cookies.get('token')}`
|
|
},
|
|
methods: {
|
|
refreshProgress () {
|
|
this.timeloading = true
|
|
this.$http
|
|
.get(`/events/platform/item/get/${this.dataForm.id}`)
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.getInfo()
|
|
// console.log(res)
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
getCategoryList () {
|
|
return this.$http
|
|
.get('/events/category/list')
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
var data = res.data
|
|
this.getSelectedNode(data, data)
|
|
this.categoryOptions = data
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
getSelectedNode (nodeData, parent) {
|
|
nodeData.forEach((item) => {
|
|
if ('children' in item && item.children.length === 0) {
|
|
delete item.children
|
|
} else if ('children' in item && item.children.length) {
|
|
this.getSelectedNode(item.children, item)
|
|
}
|
|
})
|
|
},
|
|
beforeAvatarUpload (file) {
|
|
if (this.postDataForm.outHandleImagesPC.length === 3) {
|
|
this.$message.error('最多上传3张图片!')
|
|
return false
|
|
}
|
|
this.loading = true
|
|
this.isAble = true
|
|
const isJPG = file.type === 'image/jpeg'
|
|
const isPNG = file.type === 'image/png'
|
|
// 判断是否符合格式要求
|
|
if (!isJPG && !isPNG) {
|
|
this.$message.error('上传文件必须是jpg、png格式!')
|
|
this.loading = false
|
|
this.isAble = false
|
|
return false
|
|
}
|
|
},
|
|
handleAvatarSuccess (res, file) {
|
|
this.loading = false
|
|
this.isAble = false
|
|
if (res === null || res.data === null || res.data.imgUrl === null) {
|
|
this.$message.error('文件上传失败!')
|
|
return false
|
|
}
|
|
this.postDataForm.outHandleImagesPC.push({
|
|
url: res.data.imgUrl,
|
|
thumbnail: res.data.thumbnail,
|
|
fileType: 1,
|
|
recordType: 1,
|
|
fileName: res.data.fileName
|
|
})
|
|
this.hideUploadOut = this.postDataForm.outHandleImagesPC.length >= 3
|
|
},
|
|
handelError () {
|
|
this.loading = false
|
|
this.loadingIn = false
|
|
this.isAble = false
|
|
this.$message.error('上传文件失败!')
|
|
},
|
|
handleRemove (file, fileList) {
|
|
for (var i = 0; i < this.postDataForm.outHandleImagesPC.length; i++) {
|
|
let item = this.postDataForm.outHandleImagesPC[i]
|
|
if (item.url === file.url) {
|
|
this.postDataForm.outHandleImagesPC.splice(i, 1)
|
|
}
|
|
}
|
|
this.hideUploadOut = this.postDataForm.outHandleImagesPC.length >= 3
|
|
},
|
|
handlePictureCardPreview (file) {
|
|
this.dialogImageUrl = file.url
|
|
this.dialogVisible = true
|
|
},
|
|
beforeAvatarUploadIn (file) {
|
|
if (this.postDataForm.handleImagesPC.length === 3) {
|
|
this.$message.error('最多上传3张图片!')
|
|
return false
|
|
}
|
|
this.loadingIn = true
|
|
this.isAble = true
|
|
const isJPG = file.type === 'image/jpeg'
|
|
const isPNG = file.type === 'image/png'
|
|
// 判断是否符合格式要求
|
|
if (!isJPG && !isPNG) {
|
|
this.$message.error('上传文件必须是jpg、png格式!')
|
|
this.loadingIn = false
|
|
this.isAble = false
|
|
return false
|
|
}
|
|
},
|
|
handleAvatarSuccessIn (res, file) {
|
|
this.loadingIn = false
|
|
this.isAble = false
|
|
if (res === null || res.data === null || res.data.imgUrl === null) {
|
|
this.$message.error('文件上传失败!')
|
|
return false
|
|
}
|
|
this.postDataForm.handleImagesPC.push({
|
|
url: res.data.imgUrl,
|
|
thumbnail: res.data.thumbnail,
|
|
fileType: 1,
|
|
recordType: 1,
|
|
fileName: res.data.fileName
|
|
})
|
|
this.hideUploadIn = this.postDataForm.handleImagesPC.length >= 3
|
|
},
|
|
handelErrorIn () {
|
|
this.loading = false
|
|
this.loadingIn = false
|
|
this.isAble = false
|
|
this.$message.error('上传文件失败!')
|
|
},
|
|
handleRemoveIn (file, fileList) {
|
|
for (var i = 0; i < this.postDataForm.handleImagesPC.length; i++) {
|
|
let item = this.postDataForm.handleImagesPC[i]
|
|
if (item.url === file.url) {
|
|
this.postDataForm.handleImagesPC.splice(i, 1)
|
|
}
|
|
}
|
|
this.hideUploadIn = this.postDataForm.handleImagesPC.length >= 3
|
|
},
|
|
handlePictureCardPreviewIn (file) {
|
|
this.dialogImageUrl = file.url
|
|
this.dialogVisible = true
|
|
},
|
|
backToItemDeal () {
|
|
this.$parent.selectComponent = 'ItemDeal'
|
|
},
|
|
getOptions () {
|
|
this.$http
|
|
.get(`/sys/user/deptOptions/getDeptAuthByUser`)
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.options = res.data.options
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
visibleChange (val) {
|
|
console.log(1111)
|
|
if (
|
|
this.dataForm.handleResultDTOS.length === 0 &&
|
|
this.dataForm.handlerDeptIdRule === '' &&
|
|
val === true
|
|
) {
|
|
return this.$message.error('请先选择操作人部门!')
|
|
}
|
|
// 处理选择【结案申请】时,隐藏居民处理意见
|
|
// if (this.postDataForm.handleCategory === 11) {
|
|
// this.hideResident = true;
|
|
// } else {
|
|
// this.hideResident = false;
|
|
// }
|
|
},
|
|
changeHandle (value, selectedData) {
|
|
let node = this.$refs.name.getCheckedNodes()[0]
|
|
|
|
console.log(node)
|
|
this.postDataForm.handlerDept = this.$refs[
|
|
'name'
|
|
].getCheckedNodes()[0].label
|
|
this.postDataForm.handlerDeptId = this.$refs[
|
|
'name'
|
|
].getCheckedNodes()[0].value
|
|
this.getHandleResultDTOS()
|
|
},
|
|
// 获取处理项
|
|
getHandleResultDTOS () {
|
|
this.dataForm.handleResultDTOS = []
|
|
this.dataForm.deptResultDTOS = []
|
|
this.dataForm.evaluateDeptDTOS = []
|
|
this.postDataForm.handleCategoryShow = ''
|
|
this.postDataForm.deptResultDTOS = []
|
|
this.postDataForm.evaluateDeptDTOS = []
|
|
this.deptResult = []
|
|
this.$http
|
|
.post(`/events/item/getHandleResultDTOS`, {
|
|
itemId: this.dataForm.id,
|
|
deptId: this.postDataForm.handlerDeptId
|
|
})
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.checkParentName = res.data.parentDeptName
|
|
|
|
if (res.data.typeKey == 'grid_party') {
|
|
this.postDataForm.outHandleAdvice = '您的诉求, ' + res.data.parentDeptName + '社区正在全力办理'
|
|
} else {
|
|
this.postDataForm.outHandleAdvice =
|
|
'您的诉求, ' + res.data.parentDeptName + '街道正在协调办理,请您耐心等待'
|
|
}
|
|
this.dataForm.handleResultDTOS = res.data.handleResultDTOS
|
|
this.typeKey = res.data.typeKey
|
|
if (
|
|
res.data.handleResultDTOS &&
|
|
res.data.handleResultDTOS.length > 0 &&
|
|
res.data.typeKey == 'grid_party'
|
|
) {
|
|
this.postDataForm.handleCategoryShow =
|
|
res.data.handleResultDTOS[0].processResult
|
|
}
|
|
this.dataForm.deptResultDTOS = res.data.deptResultDTOS
|
|
this.dataForm.evaluateDeptDTOS = res.data.evaluateDeptDTOS
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
initBmap (latitude, longitude) {
|
|
this.map = new BMap.Map('map')
|
|
const point = new BMap.Point(longitude, latitude)
|
|
var marker = new BMap.Marker(point)
|
|
this.map.addOverlay(marker)
|
|
this.map.centerAndZoom(point, 13)
|
|
this.map.enableScrollWheelZoom(true)
|
|
},
|
|
init () {
|
|
this.isAble = false
|
|
this.$nextTick(() => {
|
|
if (this.dataForm.id) {
|
|
this.postDataForm.handleAdvice = ''
|
|
this.postDataForm.outHandleAdvice = ''
|
|
this.postDataForm.handleCategoryShow = ''
|
|
this.postDataForm.deptResultDTOS = []
|
|
this.postDataForm.evaluateDeptDTOS = []
|
|
this.getInfo()
|
|
this.getCommentList()
|
|
this.getCategoryList()
|
|
}
|
|
})
|
|
},
|
|
clickImg (url) {
|
|
this.previewImgList = []
|
|
this.previewImgList.push(url)
|
|
},
|
|
// 获取信息
|
|
getInfo () {
|
|
this.$http
|
|
.get(`/events/item/${this.dataForm.id}`)
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.timeloading = false
|
|
this.dataForm = {
|
|
...this.dataForm,
|
|
...res.data
|
|
}
|
|
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => {
|
|
// if (index === arr.length - 1) {
|
|
// item.type = 'issue-project'
|
|
// } else {
|
|
// item.type = 'project'
|
|
// }
|
|
item.type = 'project' // 2022.9.4 需求变更
|
|
})
|
|
this.dataForm.issueProgressResultDTOS.forEach((item, index, arr) => {
|
|
if (index === arr.length - 1) {
|
|
item.type = 'init'
|
|
} else {
|
|
item.type = 'issue'
|
|
}
|
|
})
|
|
this.timeLineList = [
|
|
...this.dataForm.handleProgressResultDTOS,
|
|
...this.dataForm.issueProgressResultDTOS
|
|
]
|
|
this.$nextTick(() => {
|
|
this.timeLineList.forEach((item, index) => {
|
|
const oDiv = document.getElementById(`content${index}`)
|
|
const oBorder = oDiv.parentNode.parentNode.parentNode.firstChild
|
|
if (item.type === 'issue' || item.type === 'issue-project') {
|
|
oBorder.style.borderLeft = '1px solid #ffa546'
|
|
} else if (item.type === 'project') {
|
|
oBorder.style.borderLeft = '1px solid #009688'
|
|
}
|
|
})
|
|
})
|
|
this.initBmap(
|
|
this.dataForm.issueLatitude,
|
|
this.dataForm.issueLongitude
|
|
)
|
|
for (
|
|
let index = 0;
|
|
index < res.data.handleResultDTOS.length;
|
|
index++
|
|
) {
|
|
const handleResultDTO = res.data.handleResultDTOS[index]
|
|
if (handleResultDTO.select === true) {
|
|
this.dataForm.handleCategoryShow = handleResultDTO.processResult
|
|
}
|
|
}
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
deleteComment (val) {
|
|
this.$confirm('确定要屏蔽该评论吗?屏蔽后不可恢复。', '提示', {
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
type: 'warning'
|
|
})
|
|
.then(() => {
|
|
this.$http['post']('/events/item/deleteComment', {
|
|
commentIds: [val]
|
|
})
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.$message({
|
|
message: this.$t('prompt.success'),
|
|
type: 'success',
|
|
duration: 500,
|
|
onClose: () => {
|
|
this.getCommentList()
|
|
}
|
|
})
|
|
})
|
|
.catch(() => {})
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
pageSizeChangeHandleNew (val) {
|
|
this.pageIndex = 1
|
|
this.limitVal = val
|
|
this.getCommentList()
|
|
},
|
|
pageCurrentChangeHandleNew (val) {
|
|
this.pageIndex = val
|
|
this.getCommentList()
|
|
},
|
|
getCommentList () {
|
|
this.$http
|
|
.get('/events/item/comments', {
|
|
params: {
|
|
id: this.dataForm.id,
|
|
order: this.order,
|
|
orderField: this.orderField,
|
|
page: this.pageIndex,
|
|
limit: this.limitVal
|
|
}
|
|
})
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
this.commentsDTOs = []
|
|
this.total = 0
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.commentsDTOs = res.data.list
|
|
this.total = res.data.total
|
|
})
|
|
.catch(() => {})
|
|
},
|
|
|
|
// 表单提交
|
|
dataFormSubmitHandle: debounce(
|
|
function (type = '') {
|
|
this.postDataForm.categoryId = this.categoryIds[
|
|
this.categoryIds.length - 1
|
|
]
|
|
this.postDataForm.deptResultDTOS = []
|
|
for (let i = 0; i < this.deptResult.length; i++) {
|
|
for (let j = 0; j < this.dataForm.deptResultDTOS.length; j++) {
|
|
if (this.deptResult[i] === this.dataForm.deptResultDTOS[j].deptId) {
|
|
this.postDataForm.deptResultDTOS.push(
|
|
this.dataForm.deptResultDTOS[j]
|
|
)
|
|
break
|
|
}
|
|
}
|
|
}
|
|
this.postDataForm.id = this.dataForm.id
|
|
if (this.postDataForm.handleCategoryShow === '') {
|
|
return this.$message.error('请选择处理选项')
|
|
}
|
|
if (type == 11) {
|
|
if (this.postDataForm.handlePeopleName === '') {
|
|
return this.$message.error('请输入办理人姓名!')
|
|
}
|
|
if (this.postDataForm.handlePeopleMobile === '') {
|
|
return this.$message.error('请输入办理人办公电话!')
|
|
}
|
|
}
|
|
if (this.deptResultDTOSVisible) {
|
|
if (
|
|
this.postDataForm.deptResultDTOS === undefined ||
|
|
this.postDataForm.deptResultDTOS.length <= 0
|
|
) {
|
|
return this.$message.error('请选择流转对象')
|
|
}
|
|
} else {
|
|
this.postDataForm.deptResultDTOS = []
|
|
}
|
|
if (this.categoryVisible) {
|
|
if (
|
|
this.postDataForm.categoryId === undefined ||
|
|
this.postDataForm.categoryId === ''
|
|
) {
|
|
return this.$message.error('请选择所属类别')
|
|
}
|
|
}
|
|
if (
|
|
this.postDataForm.outHandleAdvice === '' &&
|
|
this.postDataForm.handleCategoryShow !== 11
|
|
) {
|
|
return this.$message.error('回复居民意见不能为空')
|
|
}
|
|
if (
|
|
this.postDataForm.outHandleAdvice.length > 500 &&
|
|
this.postDataForm.handleCategoryShow !== 11
|
|
) {
|
|
return this.$message.error('回复居民意见不能超过500字')
|
|
}
|
|
if (this.postDataForm.handleAdvice === '') {
|
|
return this.$message.error('项目处理意见不能为空')
|
|
}
|
|
if (this.postDataForm.handleAdvice.length > 500) {
|
|
return this.$message.error('项目处理意见不能超过500字')
|
|
}
|
|
if (this.evaluateDeptDTOSVisible) {
|
|
this.postDataForm.evaluateDeptDTOS = this.dataForm.evaluateDeptDTOS
|
|
if (
|
|
this.postDataForm.evaluateDeptDTOS.length !==
|
|
this.dataForm.evaluateDeptDTOS.length
|
|
) {
|
|
return this.$message.error('请完善满意度调查')
|
|
}
|
|
} else {
|
|
this.postDataForm.evaluateDeptDTOS = []
|
|
}
|
|
this.isAble = true
|
|
// 将对象遍历成数组
|
|
for (
|
|
let oimg = 0;
|
|
oimg < this.postDataForm.outHandleImagesPC.length;
|
|
oimg++
|
|
) {
|
|
this.postDataForm.outHandleImages[
|
|
oimg
|
|
] = this.postDataForm.outHandleImagesPC[oimg].url
|
|
}
|
|
for (
|
|
let himg = 0;
|
|
himg < this.postDataForm.handleImagesPC.length;
|
|
himg++
|
|
) {
|
|
this.postDataForm.handleImages[
|
|
himg
|
|
] = this.postDataForm.handleImagesPC[himg].url
|
|
}
|
|
let messageTitle = ''
|
|
if (type == 1) {
|
|
// 代表吹哨按钮
|
|
if (this.typeKey == 'community_party') {
|
|
messageTitle = '此案件尚未办结,确定吹哨给街道办理'
|
|
this.postDataForm.handleCategory = 15
|
|
} else if (this.typeKey == 'grid_party') {
|
|
messageTitle = '此案件尚未办结,确定吹哨给社区办理'
|
|
this.postDataForm.handleCategory = 1
|
|
}
|
|
} else {
|
|
messageTitle = '此案件已办结,确定申请结案'
|
|
this.postDataForm.handleCategory = 11
|
|
}
|
|
let imagesAttr = this.postDataForm.handleImagesPC
|
|
imagesAttr.forEach((item) => {
|
|
item.uid = item.uid + '77000'
|
|
})
|
|
this.postDataForm.outHandleImagesPC = imagesAttr
|
|
|
|
this.postDataForm.outHandleImages = this.postDataForm.handleImages
|
|
console.log(this.postDataForm)
|
|
|
|
this.$confirm(messageTitle, '提示', {
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
type: 'warning'
|
|
}).then(() => {
|
|
this.$http['post']('/events/item/itemHandleSubmit', this.postDataForm)
|
|
.then(({ data: res }) => {
|
|
if (res.code !== 0) {
|
|
this.isAble = false
|
|
return this.$message.error(res.msg)
|
|
}
|
|
this.$message({
|
|
message: this.$t('prompt.success'),
|
|
type: 'success',
|
|
duration: 500,
|
|
onClose: () => {
|
|
this.visible = false
|
|
this.$emit('refreshDataList')
|
|
}
|
|
})
|
|
this.$parent.selectComponent = 'ItemDeal'
|
|
})
|
|
.catch(() => {})
|
|
}).catch(() => { this.isAble = false })
|
|
},
|
|
1000,
|
|
{ leading: true, trailing: false }
|
|
)
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.hide .el-upload--picture-card {
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
<style lang="scss">
|
|
|
|
.project-handle {
|
|
.el-timeline {
|
|
padding-left: 9px;
|
|
font-size: 13px;
|
|
}
|
|
.el-textarea {
|
|
width: 600px !important;
|
|
}
|
|
.el-input {
|
|
width: 600px !important;
|
|
}
|
|
}
|
|
.el-form-item__label {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.userInfo{
|
|
display: flex;
|
|
.el-input {
|
|
width: 300px !important;
|
|
}
|
|
.el-form-item:nth-child(1){
|
|
.el-form-item__label{
|
|
text-align: left;
|
|
width: 80px !important;
|
|
}
|
|
.el-form-item__content{
|
|
width: 300px !important;
|
|
margin-left: 80px !important;
|
|
}
|
|
}
|
|
|
|
.el-form-item:nth-child(2){
|
|
.el-form-item__label{
|
|
text-align: left;
|
|
width: 140px !important;
|
|
}
|
|
.el-form-item__content{
|
|
width: 300px !important;
|
|
margin-left: 140px !important;
|
|
}
|
|
}
|
|
|
|
}
|
|
</style>
|
|
|
|
<style lang="scss" scoped>
|
|
.handleAdvice {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
.el-radio {
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
.el-radio:nth-child(1) {
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
margin-left: 30px;
|
|
}
|
|
}
|
|
.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;
|
|
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: #aaa;
|
|
}
|
|
&::-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);
|
|
}
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.refresh {
|
|
position: absolute;
|
|
top: -10px;
|
|
right: 0;
|
|
width: 35px;
|
|
height: 30px;
|
|
font-size: 23px;
|
|
line-height: 30px;
|
|
.el-icon-refresh {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|