事件上报

This commit is contained in:
liuye
2024-02-29 17:05:09 +08:00
parent 7363a7e398
commit 5e3d5b5f8c
41 changed files with 3479 additions and 0 deletions

View File

@@ -0,0 +1,249 @@
<template>
<div class="Add">
<div class="contents">
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
<u-form-item label="事件类型" prop="groupName" required :border-bottom="false" right-icon="arrow-right">
<span @click="show = true" class="right-span" :style="forms.groupName ? '' : 'color:#999;'">{{ forms.groupName || '请选择事件类型' }}</span>
<u-select v-model="show" :list="myList" value-name="id" label-name="groupName" @confirm="selectStatus"></u-select>
</u-form-item>
<u-form-item label="事件描述" prop="content" required :border-bottom="false" label-position="top" class="contents">
<u-input v-model="forms.content" placeholder="请输入事件描述..." type="textarea" auto-height height="100" maxlength="500"/>
</u-form-item>
<div class="line"></div>
<u-form-item label="上报位置" prop="mapInfo" required :border-bottom="false" right-icon="arrow-right" class="border">
<span @click="toMap" class="right-span" :style="forms.mapInfo.address ? '' : 'color:#999;'">{{ forms.mapInfo.address || '请选择上报位置' }}</span>
</u-form-item>
<u-form-item label="所属网格" prop="girdName" required :border-bottom="false">
<AiPagePicker type="gird" @select="confirmGird" valueObj nodeKey="id" formType="2" action="/app/appgirdmemberinfo/queryMyGirdList" class="right-span">
<AiMore v-model="forms.girdName" placeholder="请选择所属网格"/>
</AiPagePicker>
</u-form-item>
<div class="line"></div>
<u-form-item label="图片上传(最多9张)" prop="files" :border-bottom="false" class="avatars" label-position="top">
<AiUploader :def.sync="forms.files" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</u-form-item>
<div class="line"></div>
<u-form-item label="姓名" prop="name" required :border-bottom="false" class="border">
<u-input v-model="forms.name" placeholder="请输入姓名" />
</u-form-item>
<u-form-item label="联系方式" prop="phone" required :border-bottom="false" >
<u-input v-model="forms.phone" placeholder="请输入联系方式" />
</u-form-item>
<div class="line"></div>
</u-form>
</div>
<div class="btn" @click="confirm">
<span>提交</span>
</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: 'Add',
data() {
return {
forms: {
groupName: '',
groupId: '',
content: '',
mapInfo: {address: ''},
girdId: '',
girdCode: '',
girdName: '',
files: [],
name: '',
phone: '',
girdMemberId: '',
girdMemberName: ''
},
flag: false,
show: false,
myList: []
}
},
computed: {
...mapState(['user']),
},
onLoad() {
this.typeList()
this.forms.girdId = this.user.girdId
this.forms.girdCode = this.user.gridInfo.girdCode
this.forms.girdName = this.user.girdName
this.forms.girdMemberId = this.user.girdMemberId
this.forms.girdMemberName = this.user.name
},
onShow() {
document.title = '事件添加'
this.forms.name = this.user.name
this.forms.phone = this.user.phone
uni.$on('chooseLat', res => {
this.forms.mapInfo = {...res}
})
},
methods: {
typeList() {
this.$http.post(`/app/appclapeventgroupweiyang/list`, null, {
params: {
size: 9999,
},
}).then((res) => {
if (res.code == 0) {
this.myList = res.data.records
this.$forceUpdate()
}
})
},
selectStatus(e) {
this.forms.groupName = e[0].label
this.forms.groupId = e[0].value
},
confirmGird(v) {
this.forms.girdId = v.id
this.forms.girdCode = v.girdCode
this.forms.girdName = v.girdName
},
toMap() {
uni.navigateTo({url: `./Map`})
},
confirm() {
if(this.flag) return
if (!this.forms.groupName) {
return this.$u.toast('请选择事件类型')
}
if (!this.forms.content) {
return this.$u.toast('请输入事件描述')
}
if (!this.forms.mapInfo.address) {
return this.$u.toast('请选择上报位置')
}
if (!this.forms.girdName) {
return this.$u.toast('请选择所属网格')
}
if (!this.forms.name) {
return this.$u.toast('请输入姓名')
}
if (!this.forms.phone) {
return this.$u.toast('请输入手机号')
}
this.flag = true
this.$http.post(`/app/appclapeventinfoweiyang/addOrUpdate`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
if (res.code == 0) {
this.$u.toast('事件添加成功')
uni.$emit('getListInit')
setTimeout(() => {
uni.navigateBack()
}, 600)
}
})
},
},
}
</script>
<style scoped lang="scss">
.Add {
height: 100%;
.contents {
padding-bottom: 140px;
::v-deep .u-form {
.u-form-item {
// padding: 0 45px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
padding-bottom: 0;
.u-input {
text-align: right !important;
}
}
}
}
.u-form-item:first-child {
.u-form-item__body {
border-bottom: 1px solid #ddd;
}
}
.line {
height: 24px;
background: #f3f6f9;
}
.contents {
padding-bottom: 20px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
.u-input {
text-align: left !important;
}
}
}
}
.avatars {
padding-bottom: 20px !important;
.u-form-item__body {
// .default {
// width: 160px;
// height: 160px;
// }
}
}
}
}
.border {
::v-deep .u-form-item__body {
border-bottom: 1px solid #ddd;
}
}
.btn {
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
background: #3975c6;
padding: 34px 0;
text-align: center;
font-size: 32px;
font-weight: 500;
color: #ffffff;
}
.right-span {
display: inline-block;
width: 100%;
text-align: right;
::v-deep .u-icon__label {
font-size: 28px!important;
}
::v-deep .uicon-arrow-right{
color: #c0c4cc!important;
}
}
::v-deep .uni-input-placeholder {
color: #999!important;
font-size: 28px!important;
}
}
</style>

View File

@@ -0,0 +1,156 @@
<template>
<div class="AppPatrolReport">
<component v-if="refresh && isGridMember" :is="component" @change="onChange" :params="params" :ref="component"/>
<div class="tabs" v-if="isTab && isGridMember">
<div class="item" @click="tabClick(index, item.component)" v-for="(item, index) in tabs" :key="index">
<img :src="tabIndex == index ? item.activeImg : item.img" alt=""/>
<p :class="tabIndex == index ? 'color-3267F0' : ''">{{ item.text }}</p>
</div>
</div>
<div v-if="!isGridMember" class="empty">
<img src="./components/img/no-admin.png" alt="">
<p>没有网格员权限<br/>无法查看事件上报信息哦~</p>
</div>
</div>
</template>
<script>
import List from './List.vue'
import Statistics from './Statistics.vue'
import {mapState} from 'vuex'
export default {
name: 'AppPatrolReport',
appName: '事件上报',
data() {
return {
component: 'List',
params: {},
refresh: true,
tabIndex: 0,
tabs: [
{
img: require('./components/img/handle-icon.png'),
activeImg: require('./components/img/handle-icon-active.png'),
text: '办理',
component: 'List',
},
{
img: require('./components/img/statistics-icon.png'),
activeImg: require('./components/img/statistics-icon-active.png'),
text: '统计',
component: 'Statistics',
},
],
isTab: true,
}
},
computed: {
...mapState(['user']),
isGridMember() {
return this.user.girdCheckType > 0
}
},
components: {
List,
Statistics,
Set,
},
methods: {
onChange(e) {
this.params = e.params
this.component = e.type
},
tabClick(index, component) {
this.tabIndex = index
this.component = component
this.refresh = false
this.$nextTick(() => {
this.refresh = true
})
}
},
onShow() {
document.title = '事件上报'
uni.$on('hideTab', () => {
this.isTab = false
})
uni.$on('showTab', () => {
this.isTab = true
})
if (!this.tabIndex) {
this.$nextTick(() => this.$refs['List'].getListInit())
}
},
onReachBottom() {
if (!this.tabIndex) {
this.$nextTick(() => this.$refs['List'].nextPage())
}
},
}
</script>
<style lang="scss" scoped>
.AppPatrolReport {
height: 100%;
}
.tabs {
width: 100%;
height: 98px;
background: #fff;
border-top: 1px solid #ddd;
position: fixed;
bottom: 0;
left: 0;
display: flex;
.item {
flex: 1;
text-align: center;
box-sizing: border-box;
img {
width: 56px;
height: 56px;
margin-top: 8px;
}
p {
font-size: 22px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #c4cad4;
line-height: 8px;
}
.color-3267F0 {
color: #3267f0;
}
}
.item:nth-of-type(1) {
padding-left: 120px;
}
.item:nth-of-type(2) {
padding-right: 120px;
}
}
.empty {
text-align: center;
img {
width: 282px;
height: 306px;
margin: 136px auto 0;
}
p {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 40px;
}
}
</style>

View File

@@ -0,0 +1,247 @@
<template>
<div class="Transfer">
<div class="contents">
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
<u-form-item label="转交给" prop="status" required :border-bottom="false" class="first-form" right-icon="arrow-right" v-if="status == 1">
<u-input v-model="forms.name" placeholder="请选择转交人员" disabled @click="toSelectUser" />
</u-form-item>
<u-form-item label="事件分类" prop="groupName" required :border-bottom="false" right-icon="arrow-right" v-if="status != 1">
<!-- <u-input v-model="forms.groupName" placeholder="请选择事件分类" /> -->
<span @click="show = true" class="right-span" :style="forms.groupName ? '' : 'color:#999;'">{{ forms.groupName || '请选择事件分类' }}</span>
<u-select v-model="show" :list="myList" value-name="id" label-name="groupName" @confirm="selectStatus"></u-select>
</u-form-item>
<u-form-item :label="status == 4 ? '办结意见' : status == 3 ? '拒绝受理意见' : '办理意见'" prop="content" required :border-bottom="false" label-position="top"
class="contents">
<u-input v-model="forms.content" :placeholder="status == 3 ? '请写下拒绝受理意见…' : '请写下你的办结意见...'" type="textarea" auto-height height="100" maxlength="500"/>
</u-form-item>
<div class="line"></div>
<u-form-item label="图片上传(最多9张)" prop="files" :border-bottom="false" class="avatars" label-position="top">
<AiUploader :def.sync="forms.files" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</u-form-item>
</u-form>
</div>
<div class="btn" v-if="this.status == 1" @click="confirm">
<span>转交事件</span>
</div>
<div class="btn" v-if="this.status == 2" @click="confirm">
<span>拒绝受理</span>
</div>
<div class="btn" v-if="this.status == 3" @click="confirm">
<span>我已办结</span>
</div>
</div>
</template>
<script>
export default {
name: 'Content',
components: {},
props: {},
data() {
return {
forms: {
groupName: '',
groupId: '',
content: '',
files: [],
name: ''
},
flag: false,
show: false,
status: '', //1转交 2拒绝受理 3我已办结
myList: [],
id: '',
selectUser: {},
titleList: ['', '转交事件', '', '拒绝受理', '我已办结']
}
},
onLoad(option) {
this.status = option.status
this.id = option.id
this.forms.groupId = option.groupId
this.forms.groupName = option.groupName
this.typeList()
uni.$on('goback', (res) => {
this.selectUser = res
this.forms.girdId = res.girdId
this.forms.girdName = res.girdName
this.forms.girdMemberId = res.id
this.forms.girdMemberName = res.name
this.forms.name = `${res.girdName}${res.name ? '-' + res.name : ''}`
})
},
onShow() {
document.title = this.titleList[this.status]
},
methods: {
typeList() {
this.$http.post(`/app/apppatrolreportgroupv2/list`, null, {
params: {
size: 9999,
},
})
.then((res) => {
if (res.code == 0) {
this.myList = res.data.records
this.$forceUpdate()
}
})
},
confirm() {
if(this.flag) return
if (this.status == 1 && !this.forms.name) {
return this.$u.toast('请选择转交对象')
}
if (this.status != 1 && !this.forms.groupName) {
return this.$u.toast('请选择分类')
}
if (this.status != 1 && !this.forms.content) {
return this.$u.toast('请输入意见')
}
this.flag = true
this.submit()
},
submit() { //status 1转交 3拒绝受理 4我已办结
var url = '', successText = '', params = ''
if (this.status == 1) {
url = `/app/appclapeventinfoweiyang/transfer`
successText = '转交成功'
params = {
...this.forms,
// girdId: this.selectUser.id,
// girdName: this.selectUser.girdName,
}
// if (this.selectUser.name) { //选择的网格员
// params.girdId = this.selectUser.girdId
// params.girdMemberId = this.selectUser.id
// params.girdMemberName = this.selectUser.name
// }
}
if (this.status == 3) {
url = `/app/appclapeventinfoweiyang/finish`
successText = '拒绝成功'
params = {...this.forms, eventStatus: this.status}
}
if (this.status == 4) {
url = `/app/appclapeventinfoweiyang/finish`
successText = '办结成功'
params = {...this.forms, eventStatus: this.status}
}
params.id = this.id
this.$http.post(url, params).then((res) => {
if (res.code == 0) {
this.$u.toast(successText)
uni.$emit('updateDeatil')
uni.$emit('getListInit')
setTimeout(() => {
if (this.status == 1) {
uni.navigateBack({delta: 2})
} else {
uni.navigateBack()
}
}, 600)
}
})
},
selectStatus(e) {
this.forms.groupName = e[0].label
this.forms.groupId = e[0].value
},
toSelectUser() {
uni.navigateTo({url: `./SelectUser?detailId=${this.id}`})
},
},
}
</script>
<style scoped lang="scss">
.Transfer {
height: 100%;
.contents {
padding-bottom: 140px;
::v-deep .u-form {
.u-form-item {
// padding: 0 45px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
padding-bottom: 0;
.u-input {
text-align: right !important;
}
}
}
}
.u-form-item:first-child {
.u-form-item__body {
border-bottom: 1px solid #ddd;
}
}
.line {
height: 24px;
background: #f3f6f9;
}
.contents {
padding-bottom: 20px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
.u-input {
text-align: left !important;
}
}
}
}
.avatars {
padding-bottom: 20px !important;
.u-form-item__body {
// .default {
// width: 160px;
// height: 160px;
// }
}
}
}
}
.btn {
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
background: #3975c6;
padding: 34px 0;
text-align: center;
font-size: 32px;
font-weight: 500;
color: #ffffff;
}
.right-span {
display: inline-block;
width: 100%;
text-align: right;
}
::v-deep .AiPagePicker {
width: 100%;
text-align: right;
}
}
</style>

View File

@@ -0,0 +1,697 @@
<template>
<div class="Detail">
<div class="header-top">
<div class="avatars" v-if="data.name">{{ data.name.substring(data.name.length, data.name.length - 2) }}</div>
<div class="right">
<div class="names">{{ data.name }}的上报</div>
<div class="times">{{ data.createTime }}</div>
</div>
</div>
<div class="header-middle">
<div class="titles">{{ data.content }}</div>
<span class="status" :class="`status`+data.eventStatus" v-if="data.eventStatus"> {{ $dict.getLabel('weiyangEventStatus', data.eventStatus) }}</span>
<div class="card">
<span class="card-left">事件类型</span>
<span class="card-right">{{ data.groupName }}</span>
</div>
<div class="card">
<span class="card-left">事件来源</span>
<span class="card-right">{{ $dict.getLabel('weiyangEventType', data.type) }}</span>
</div>
<div class="card">
<span class="card-left">所属网格</span>
<span class="card-right">{{ data.girdName }}</span>
</div>
<div class="card">
<span class="card-left">联系方式</span>
<span class="card-right">
<span> {{ data.phone }}</span>
<u-icon name="phone-fill" color="#3D94FB" @click="callPhone(data.phone)"></u-icon>
</span>
</div>
<div class="card">
<span class="card-left">上报地址</span>
<span class="card-right">
<span>{{ data.address }}</span>
</span>
</div>
<!-- 暂时先去掉 -->
<!-- <div class="card">
<span class="card-left">上报来源</span>
<span class="card-right">三角湖居民社群 李毅 小程序填报三角湖居民社群 李毅 小程序填报三角湖居民社群 李毅 小程序填报</span>
</div> -->
<div class="cards">
<span class="card-left" style="color:#999">照片</span>
</div>
<img :src="item.url" alt="" v-for="(item, i) in data.files" :key="i" @click="previewImage(data.files, item.url)"/>
</div>
<div class="header-middle" v-if="data.judgeName">
<div class="text-title">事件研判</div>
<span class="risk-level" :class="`level`+data.judgeRiskLevel">{{ $dict.getLabel('weiyangRiskLevel', data.judgeRiskLevel) }}</span>
<div class="card">
<span class="card-left">当事人姓名</span>
<span class="card-right">{{ data.judgeName }}</span>
</div>
<div class="card">
<span class="card-left">性别</span>
<span class="card-right">{{ $dict.getLabel('sex', data.judgeSex) }}</span>
</div>
<div class="card">
<span class="card-left">联系电话</span>
<span class="card-right">{{ data.judgePhone }}</span>
</div>
<div class="card">
<span class="card-left">家庭住址</span>
<span class="card-right">{{data.judgeAddress}}</span>
</div>
<div class="card not-line">
<span class="card-left">排查内容</span>
<span class="card-right">
<span v-for="(item, index) in data.judgeRiskList" :key="index">
<span v-if="index > 0">,</span>{{ $dict.getLabel('weiyangRisk', item) }}
</span>
</span>
</div>
</div>
<div class="header-middle" v-if="data.mediateAreaName">
<div class="text-title">调解信息</div>
<div class="card">
<span class="card-left">调解主体</span>
<span class="card-right">{{ data.mediateAreaName }}</span>
</div>
<div class="card">
<span class="card-left">调解员</span>
<span class="card-right">{{ data.mediatePerson }}</span>
</div>
<div class="card">
<span class="card-left">调解时间</span>
<span class="card-right">{{ data.mediateDate }}</span>
</div>
<div class="card">
<span class="card-left">涉及金额</span>
<span class="card-right">{{data.mediateAmount}}</span>
</div>
<div class="card">
<span class="card-left">参加人</span>
<span class="card-right">{{data.mediateMember || '无'}}</span>
</div>
<div class="card">
<span class="card-left">调处思路措施及主要经过</span>
<span class="card-right">{{data.mediateInfo}}</span>
</div>
<div class="card not-line">
<span class="card-left">调处结果</span>
<span class="card-right">调解成功</span>
</div>
</div>
<div class="header-bottom">
<div class="line"></div>
<div class="plan">
<div class="nav">
<div>办理进度</div>
<!-- <span> ({{ detailStatus.label }})</span> -->
<span :class="`status`+data.eventStatus" v-if="data.eventStatus"> ({{ $dict.getLabel('weiyangEventStatus', data.eventStatus) }})</span>
</div>
<div class="cards" v-for="(item, index) in process" :key="index">
<div class="cardss">
<div class="cardss-left">
<span v-text="formatName(item.systemExplain)"/>
</div>
<div class="cardss-right">
<div class="cardsss-right-left">
<div class="cardssss-right-left-top">
<span v-text="item.systemExplain"/>
<div style="color: #2ea222; font-size: 16px; margin-top: 5px" v-text="item.statusLabel"/>
</div>
</div>
<div class="cardees-right-right">{{ item.doTime }}</div>
</div>
<div class="lines"/>
</div>
<div class="cardes-msg-top" v-if="item.doExplain">{{ item.doExplain }}</div>
<div class="imgs">
<img :src="e.url" alt="" v-for="(e, index) in item.files" :key="index" @click="previewImage(item.files, e.url)"/>
</div>
</div>
</div>
</div>
<div class="fixedBtn" v-if="data.rightType < 3 && data.rightType != null">
<div class="flex-btn" v-if="data.rightType == 0">
<div class="refuse" @click="toContent(3)">拒绝受理</div>
<div class="confirm" @click="toContent(4)">我来受理</div>
</div>
<div class="change-btn" v-if="data.rightType == 1" @click="toContent(2)">前往办理</div>
<div class="flex-btn" v-if="data.rightType == 2">
<div @click="toContent(1)">转交事件</div>
<div class="confirm" @click="toContent(5)">前往办理</div>
</div>
<!-- <div class="endDoIt" v-if="data.rightType == 1" @click="toContent(3)">前往办理</div>
<div class="status00" v-if="data.rightType == 2">
<div class="columns border-r" @click="toContent(1)">
<img src="./components/img/zhuanjiao.png" alt="" />
<span class="hint">转交事件</span>
</div>
<div class="doIt" @click="toContent(3)">前往办理</div>
</div> -->
</div>
<AiEvaluation v-show="false" v-model="evaluation" :bid="data.id"/>
<u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="doThings"></u-modal>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: 'Detail',
props: {},
data() {
return {
data: {},
id: '',
doItShow: false,
evaluation: {},
isShowBtn: false
}
},
computed: {
...mapState(['user']),
detailStatus: v => {
const status = !v.evaluation.id ? v.data.eventStatus : 'evaluation'
return {
cls: 'status' + status,
label: !v.evaluation.id ? v.$dict.getLabel('weiyangEventStatus', v.data.eventStatus) : "已评价"
}
},
process() {
const getAvatar = str => str?.substring(str?.length, str?.length - 2)
const list = this.data.processList.map(e => ({
...e,
avatar: getAvatar(e.girdMemberName),
statusLabel: this.$dict.getLabel('weiyangDoStatus', e.doStatus)
}))
if (this.evaluation.id) {
const {id, createUserName, score, files, createTime: doTime, content: doExplain} = this.evaluation
list.splice(0, 0, {
id, doTime, doExplain,
statusLabel: `${score}星评价`,
avatar: getAvatar(createUserName),
systemExplain: `${createUserName}完成评价`,
files: files
})
}
return list
}
},
watch: {},
onLoad(o) {
// this.isShowBtn = o.isShowBtn == 1 ? true : false
this.id = o.id
this.$dict.load('weiyangEventStatus', 'weiyangDoStatus', 'weiyangEventType', 'sex', 'weiyangRisk', 'weiyangRiskLevel').then(() => {
this.getDetail()
})
uni.$on('updateDeatil', () => {
this.getDetail()
})
},
onShow() {
document.title = '事件上报'
},
methods: {
getDetail() {
this.$http.post(`/app/appclapeventinfoweiyang/queryDetailById?id=${this.id}`).then((res) => {
if (res?.data) {
this.data = res.data
if(this.data.judgeRisk) {
this.data.judgeRiskList = this.data.judgeRisk.split(',')
}
}
})
},
callPhone(phone) {
uni.makePhoneCall({phoneNumber: phone})
},
doThings() {
this.$http.post(`/app/appresidentreportinfov2/finivsh`, {
id: this.id,
eventStatus: 1
}).then((res) => {
if (res.code == 0) {
this.$u.toast('受理成功')
this.getDetail()
}
})
},
toContent(status) { // 1转交2研判3拒绝4办结5调解
// if(status == 3 && !this.data.doRight) {
// return this.$u.toast('没有办理权限')
// }
if(status == 1 || status == 3 || status == 4) {
uni.navigateTo({url: `./Content?status=${status}&groupId=${this.data.groupId}&groupName=${this.data.groupName}&id=${this.id}`})
}
if(status == 2) {
uni.navigateTo({url: `./JudgeContent?id=${this.id}`})
}
if(status == 5) {
uni.navigateTo({url: `./MediateContent?id=${this.id}`})
}
},
previewImage(images, img) {
uni.previewImage({
urls: images.map(v => v.url),
current: img
})
},
formatName(name) {
if (name == undefined) {
return
}
return name.substr(0, 2)
},
},
}
</script>
<style scoped lang="scss">
uni-page-body {
height: 100%;
padding-top: 26px;
}
.Detail {
height: 100%;
.header-top {
display: flex;
padding: 32px 32px 0;
background-color: #fff;
.avatars {
width: 80px;
height: 80px;
line-height: 80px;
background: #3975c6;
border-radius: 50%;
color: #fff;
text-align: center;
font-size: 28px;
font-weight: 500;
margin-right: 16px;
}
.right {
.names {
font-size: 32px;
font-weight: 500;
}
.times {
margin-top: 10px;
font-size: 28px;
color: #999999;
}
}
}
.header-middle {
padding: 0 32px 10px 32px;
position: relative;
background-color: #fff;
margin-bottom: 32px;
.titles {
padding: 32px 0;
line-height: 56px;
word-break: break-all;
font-size: 40px;
font-weight: 600;
}
.text-title {
line-height: 44px;
font-family: PingFangSC-SNaNpxibold;
font-weight: 600;
font-size: 32px;
color: #333;
letter-spacing: 0;
padding: 26px 0;
}
.risk-level {
position: absolute;
top: 28px;
right: 32px;
line-height: 40px;
font-family: PingFangSC-Regular;
font-size: 28px;
}
.level1 {
color: #3D88F5;
}
.level2 {
color: #52C75B;
}
.level3 {
color: #FF883C;
}
.level4 {
color: #FF3C3C;
}
.status {
display: inline-block;
margin-bottom: 14px;
padding: 4px 8px;
font-size: 26px;
color: #ffffff;
border-radius: 8px;
}
.status0 {
background: #ff883c;
}
.status1, .status2 {
background: #1aaaff;
}
.status3 {
background: #42d784;
}
.status4 {
background: #ff4466;
}
.card {
display: flex;
justify-content: space-between;
padding: 34px 0;
border-bottom: 1px solid #ddd;
.card-left {
width: 210px;
font-size: 32px;
color: #999;
word-break: break-all;
}
.card-right {
font-size: 32px;
width: calc(100% - 228px);
text-align: right;
word-break: break-all;
.u-icon {
margin-left: 8px;
}
}
}
.not-line {
border-bottom: none;
}
// .card:last-child {
// border-bottom: none;
// }
.cards {
padding: 34px 0;
}
img {
width: 225px;
height: 226px;
margin-right: 8px;
}
img:nth-of-type(3n) {
margin-right: 0;
}
}
.header-bottom {
padding-bottom: 80px;
.line {
height: 16px;
background: #f3f6f9;
}
.plan {
padding: 0 32px;
background-color: #fff;
.nav {
padding: 26px 0;
div {
display: inline-block;
line-height: 44px;
font-family: PingFangSC-SNaNpxibold;
font-weight: 600;
font-size: 32px;
color: #333;
}
span {
display: inline-block;
line-height: 44px;
margin-left: 8px;
}
.status0 {
color: #ff883c;
}
.status1, .status2 {
color: #1aaaff;
}
.status3 {
color: #42d784;
}
.status4 {
color: #ff4466;
}
}
.cards {
position: relative;
padding-bottom: 80px;
background-color: #fff;
.cardss {
display: flex;
justify-content: space-between;
.cardss-left {
position: relative;
width: 80px;
height: 80px;
text-align: center;
line-height: 80px;
color: #fff;
background: #197df0;
border: 1px solid #dddddd;
border-radius: 50%;
font-size: 28px;
z-index: 9;
// img {
// width: 100%;
// height: 100%;
// border-radius: 50%;
// }
.avatarIcon {
position: absolute;
bottom: 0;
right: 0;
width: 38px;
height: 38px;
}
}
.cardss-right {
width: calc(100% - 110px);
display: flex;
justify-content: space-between;
.cardsss-right-left {
.cardssss-right-left-top {
width: 300px;
overflow: hidden;
text-overflow: ellipsis;
font-size: 32px;
}
.cardssss-right-left-bottom {
margin-top: 10px;
font-size: 28px;
color: #666666;
}
}
.cardees-right-right {
font-size: 28px;
color: #999999;
}
}
.lines {
position: absolute;
top: 0;
left: 40px;
width: 4px;
height: 100%;
background: #eeeeee;
}
}
.cardes-msg-top {
font-size: 28px;
color: #343d65;
margin-top: 10px;
margin-left: 110px;
}
.imgs {
margin-top: 10px;
margin-left: 110px;
img {
width: 136px;
height: 136px;
border-radius: 4px;
margin-right: 12px;
}
img:nth-of-type(3n) {
margin-right: 0;
}
}
}
.cards:last-child {
.lines {
width: 0;
height: 0;
}
}
}
}
.fixedBtn {
background: #fff;
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
z-index: 999;
.flex-btn {
display: flex;
justify-content: space-between;
line-height: 112px;
div {
flex: 1;
font-family: PingFangSC-Regular;
font-size: 36px;
text-align: center;
color: #333;
}
.refuse {
color: #FF3C3C;
}
.confirm {
color: #fff;
background-color: #3975c6;
}
}
.change-btn {
background: #3975c6;
text-align: center;
padding: 34px 0;
font-size: 32px;
font-weight: 500;
color: #ffffff;
}
.status00 {
display: flex;
.columns {
display: flex;
flex-direction: column;
align-items: center;
width: 22%;
padding: 16px 0;
border-top: 1px solid #ddd;
img {
width: 44px;
height: 42px;
}
.hint {
margin-top: 4px;
font-size: 28px;
color: #666666;
}
}
.border-r {
border-right: 1px solid #ddd;
}
.doIt {
width: 56%;
background: #3975c6;
text-align: center;
line-height: 112px;
font-size: 36px;
font-weight: 500;
color: #fff;
}
}
}
}
</style>

View File

@@ -0,0 +1,246 @@
<template>
<div class="JudgeContent">
<u-collapse-item title="家庭信息" :open="true">
<div class="contents">
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
<u-form-item label="户主姓名" prop="judgeName" required >
<u-input type="text" v-model="forms.judgeName" placeholder="请输入" input-align="right" />
</u-form-item>
<u-form-item label="性别" prop="judgeSex" required right-icon="arrow-right">
<u-input type="text" v-model="forms.judgeSexText" placeholder="请选择" disabled @click="isShowSex=true" input-align="right" />
<u-select v-model="isShowSex" :list="$dict.getDict('sex')" value-name="dictValue" label-name="dictName" @confirm="selectSex"></u-select>
</u-form-item>
<u-form-item label="联系电话" prop="judgePhone" required >
<u-input type="text" v-model="forms.judgePhone" placeholder="请输入" input-align="right" />
</u-form-item>
<u-form-item label="家庭住址" prop="judgeAddress" required>
<u-input type="text" v-model="forms.judgeAddress" placeholder="请输入" input-align="right" />
</u-form-item>
</u-form>
</div>
</u-collapse-item>
<div class="list-content">
<div class="title">排查内容</div>
<div class="item" v-for="(item, index) in riskList" :key="index">
<div class="left">
<u-icon name="checkmark-circle-fill" color="#3399FF" size="46" v-if="item.isCheck" @click="riskClick(index, false)"></u-icon>
<span v-else @click="riskClick(index, true)"></span>
</div>
<div class="right">
{{ item.dictName }}
</div>
</div>
</div>
<div class="btn" @click="confirm">
<span>提交</span>
</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: 'JudgeContent',
components: {},
props: {},
data() {
return {
forms: {
judgeName: '',
judgeSex: '',
judgeSexText: '',
judgePhone: '',
judgeAddress: '',
judgeRiskList: []
},
id: '',
isShowSex: false,
riskList: []
}
},
computed: {
...mapState(['user']),
},
onLoad(option) {
this.id = option.id
this.$dict.load('sex', 'weiyangRisk').then(() => {
this.riskList = this.$dict.getDict('weiyangRisk')
this.riskList.map((item) => {
item.isCheck = false
})
})
},
onShow() {
document.title = '研判分析'
},
methods: {
selectSex (e) {
this.forms.judgeSex = e[0].value
this.forms.judgeSexText = e[0].label
},
riskClick(index, status) {
this.riskList[index].isCheck = status
this.$forceUpdate()
},
confirm() {
if(this.flag) return
this.forms.judgeRiskList = []
this.riskList.map((item) => {
if(item.isCheck) {
this.forms.judgeRiskList.push(item.dictValue)
}
})
if (!this.forms.judgeName) {
return this.$u.toast('请输入户主姓名')
}
if (!this.forms.judgeSexText) {
return this.$u.toast('请选择性别')
}
if (!this.forms.judgePhone) {
return this.$u.toast('请输入联系电话')
}
if (!this.forms.judgeAddress) {
return this.$u.toast('请输入家庭住址')
}
if (!this.forms.judgeRiskList.length) {
return this.$u.toast('请选择排查内容')
}
this.flag = true
this.submit()
},
submit() {
var params = {...this.forms}
params.id = this.id
params.judgeRisk = this.forms.judgeRiskList.join(',')
this.$http.post(`/app/appclapeventinfoweiyang/judge`, {...params}).then((res) => {
if (res.code == 0) {
this.$u.toast('提交成功!')
uni.$emit('updateDeatil')
uni.$emit('getListInit')
setTimeout(() => {
uni.navigateBack()
}, 600)
}
})
},
},
}
</script>
<style scoped lang="scss">
.JudgeContent {
height: 100%;
.u-form-item__body {
border-bottom: 1px solid #ddd;
}
.contents {
padding-bottom: 24px;
::v-deep .u-form {
.u-form-item {
// padding: 0 45px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
padding-bottom: 0;
.u-input {
// text-align: right !important;
}
}
}
}
}
}
::v-deep .u-collapse-head {
padding: 32px;
box-sizing: border-box;
background-color: #fff;
border-bottom: 1px solid #D8DDE6;
.u-collapse-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 34px;
color: #000;
}
}
.list-content {
.title {
line-height: 112px;
background: #FFF;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 34px;
color: #000;
padding-left: 32px;
box-sizing: border-box;
border-bottom: 1px solid #D8DDE6;
}
.item {
padding: 28px 32px;
background-color: #fff;
margin-bottom: 24px;
.left {
display: inline-block;
width: calc(100% - 622px);
span {
display: inline-block;
width: 36px;
height: 36px;
background: #FFF;
border: 1px solid #B3B3B3;
border-radius: 50%;
vertical-align: middle;
}
::v-deep .u-icon {
vertical-align: middle;
}
}
.right {
display: inline-block;
width: 622px;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 28px;
color: #000;
text-align: justify;
line-height: 44px;
vertical-align: middle;
}
}
}
.btn {
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
background: #3975c6;
padding: 34px 0;
text-align: center;
font-size: 32px;
font-weight: 500;
color: #ffffff;
}
.right-span {
display: inline-block;
width: 100%;
text-align: right;
}
::v-deep .AiPagePicker {
width: 100%;
text-align: right;
}
}
</style>

View File

@@ -0,0 +1,350 @@
<template>
<div class="list-content">
<AiTopFixed>
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff"
@change="change"></u-tabs>
<div class="select-top">
<div class="tab-item">
<AiPagePicker type="gird" valueObj nodeKey="id" formType="2" @select="handleSelectGird" action="/app/appgirdmemberinfo/queryMyGirdList">
<AiMore v-model="searchGrid.girdName" icon="arrow-down" placeholder="所属网格"/>
<!-- <span :class="searchGrid.girdName ? 'grid-name' : 'grid-name color-999'">{{searchGrid.girdName || '所属网格'}}</span>
<u-icon name="close-circle" color="#999" size="34" style="margin-left: 4px" v-if="searchGrid.girdName" @click.stop="clearGrid" />
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px" v-else /> -->
</AiPagePicker>
</div>
<div class="tab-item" @click="showType = true">
<AiMore v-model="eventStatusText" icon="arrow-down" placeholder="办件状态"/>
</div>
<u-select v-model="showType" :list="$dict.getDict('weiyangEventStatus')" value-name="dictValue" label-name="dictName" @confirm="confirm"></u-select>
</div>
</AiTopFixed>
<template>
<AiCard v-for="(item, i) in datas" :key="i" @click.native="goDetail(item, 1)">
<template #custom>
<div class="card-top">
<div class="titles">{{ item.content }}</div>
<span class="item-type">{{ $dict.getLabel('weiyangEventType', item.type) }}</span>
<div class="types">
<span>事件类型</span>
<span class="gards-right">{{ item.groupName }}</span>
</div>
<div class="gards">
<span>所属网格</span>
<span class="gards-right">{{ item.girdName }}</span>
</div>
</div>
<div class="bottom-flex">
<div class="status" :class="`status`+item.eventStatus">
<span class="icon"></span>
<span>
{{ $dict.getLabel('weiyangEventStatus', item.eventStatus) }}
</span>
</div>
<div class="risk-level">
<span class="`level`+item.judgeRiskLevel">{{ $dict.getLabel('weiyangRiskLevel', item.judgeRiskLevel) }}</span>
</div>
</div>
</template>
</AiCard>
<AiEmpty v-if="!datas.length"></AiEmpty>
</template>
<div class="pad-b120" v-if="datas.length"></div>
<AiAdd @add="add" v-if="user.gridInfo.id"/>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
props: {},
data() {
return {
datas: [],
tabList: [
{
name: '全部待办',
},
{
name: '办件历史',
},
],
currentTabs: 0,
current: 1,
pages: 0,
searchGrid: {girdName: '', girdCode: ''},
showType: false,
eventStatus: '',
eventStatusText: '',
isAdd: true,
}
},
computed: {
...mapState(['user']),
},
onLoad() {
},
onShow() {
document.title = '事件上报'
// this.searchGrid.girdId = this.user.girdId
// this.searchGrid.girdName = this.user.girdName
this.current = 1
this.getList()
},
created() {
this.$dict.load('weiyangEventStatus', 'weiyangEventType', 'weiyangRiskLevel').then(() => {
this.getList()
// this.getIsAdd()
})
},
methods: {
getListInit() {
this.current = 1
this.getList()
},
nextPage() {
this.current++
this.getList()
},
getList() {
let {current, eventStatus} = this
this.$http.post(`/app/appclapeventinfoweiyang/list`, null, {
params: {
size: 10,
current,
eventStatus,
girdCode: this.searchGrid.girdCode,
searchType: this.currentTabs,
},
}).then((res) => {
if (res.code == 0) {
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
this.pages = res.data.pages
this.$forceUpdate()
}
})
},
confirm(e) {
if (this.showType) {
this.eventStatus = e[0].value
this.eventStatusText = e[0].label
}
this.current = 1
this.getList()
},
handleSelectGird(v) {
console.log(v)
this.searchGrid = v
this.current = 1
this.getList()
},
clearGrid() {
this.searchGrid = {girdName: ''}
this.current = 1
this.getList()
},
goDetail(item) {
uni.navigateTo({url: `./Detail?id=${item.id}&isShowBtn=1`})
},
change(index) {
this.current = 1
this.datas = []
this.eventStatus = ''
this.currentTabs = index
this.getList()
},
linkTo(url) {
uni.navigateTo({url})
},
add() {
uni.navigateTo({url: './Add'})
},
getIsAdd() {
this.$http.post(`/app/apppatrolreportinfov2/checkGirdMemberUser`).then((res) => {
if (res.code == 0) {
this.isAdd = res.data
}
})
},
},
}
</script>
<style scoped lang="scss">
.list-content {
height: 100%;
padding: 0;
width: 100vw;
.select-top {
background: #fff;
display: flex;
padding: 24px 0;
.tab-item {
flex: 1;
text-align: center;
line-height: 48px;
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
img {
width: 32px;
height: 32px;
margin-left: 8px;
vertical-align: middle;
}
}
.tab-item:nth-of-type(1) {
border-right: 1px solid #eee;
}
}
::v-deep .AiTopFixed .content {
padding: 0;
}
::v-deep .AiCard {
background: #f3f6f9;
padding: 24px 40px 0 32px;
.start {
background: #fff;
border-radius: 16px;
.card-top {
padding: 32px;
position: relative;
.titles {
width: 480px;
margin-bottom: 24px;
font-size: 32px;
font-weight: 500;
color: #333333;
line-height: 1.4;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.item-type {
position: absolute;
top: 32px;
right: 32px;
padding: 4px 10px;
line-height: 34px;
font-family: PingFangSC-Regular;
font-size: 24px;
color: #3D88F5;
background-color: #EBF3FD;
}
.gards {
margin-top: 8px;
font-size: 26px;
}
.gards-right {
margin-left: 32px;
color: #333333;
}
}
.bottom-flex {
display: flex;
justify-content: space-between;
border-top: 1px solid #dddddd;
}
.risk-level {
padding: 32px;
span {
display: inline-block;
line-height: 40px;
font-family: PingFangSC-Regular;
font-size: 28px;
}
.level1 {
color: #3D88F5;
}
.level2 {
color: #52C75B;
}
.level3 {
color: #FF883C;
}
.level4 {
color: #FF3C3C;
}
}
.status {
padding: 32px;
.icon {
display: inline-block;
width: 8px;
height: 8px;
vertical-align: middle;
margin-right: 8px;
}
}
.status0 {
color: #ff883c;
.icon {
background: #ff883c;
}
}
.status1, .status2 {
color: #1aaaff;
.icon {
background: #1aaaff;
}
}
.status3 {
color: #42d784;
.icon {
background: #42d784;
}
}
.status4 {
color: #ff4466;
.icon {
background: #ff4466;
}
}
}
}
// ::v-deep .AiCard:last-child {
// padding-bottom: 24px;
// }
.pad-b120 {
background-color: #f3f6f9;
padding-bottom: 120px;
}
.grid-name {
display: inline-block;
font-size: 32px;
color: #333;
}
}
</style>

View File

@@ -0,0 +1,321 @@
<template>
<div class="map">
<!-- <div class="build-btn locate" @click="getLocale">
<img src="https://cdn.cunwuyun.cn/dvcp/h5/Location2.png" alt=""/>
当前<br>位置
</div> -->
<div class="address-search">
<div class="address-search__wrapper">
<image src="./components/img/search.png" />
<input placeholder-style="color: #98A6B6" placeholder="搜索地点" v-model="address" @input="onChange">
</div>
</div>
<scroll-view scroll-y scroll-into-view="address-item1" v-if="addressList.length">
<div class="address-item" :id="'address-item' + index" v-for="(item, index) in addressList" :key="index" @click="chooseAddress(index)">
<div class="left">
<h2>{{ item.title }}</h2>
<p>{{ item.address }}</p>
</div>
<!-- <div class="right" :class="[currIndex === index ? 'active' : '']"></div> -->
</div>
</scroll-view>
<div class="map-content">
<AiTMap :map.sync="map" :lib.sync="lib" :ops="ops" :libraries="['service', 'tools']"/>
</div>
<div class="footer">
<div class="btn" @click="confirm">确认定位</div>
</div>
</div>
</template>
<script>
import {mapState, mapActions} from 'vuex'
export default {
data() {
return {
ops: {},
lib: null,
map: null,
markerLayer: '',
isFlag: false,
latLng: {lat: '', lng: ''},
address: '',
addressList: []
}
},
computed: {...mapState(['user'])},
mounted() {
this.initMap()
},
onShow() {
document.title = "选择上报位置"
},
methods: {
...mapActions(['injectJWeixin']),
initMap(retryTimes = 0) { //初始化地图
this.$nextTick(() => {
let {map} = this
if (map) {
map.setZoom(15)
map.on("click", (evt) => {
this.handleMapClick(evt)
});
} else {
if (retryTimes < 10)
setTimeout(() => {
this.initMap(++retryTimes)
}, 500)
else console.error("地图渲染失败")
}
})
},
onChange () {
if (this.timeout) {
clearTimeout(this.timeout)
}
this.timeout = setTimeout(() => {
this.currIndex = -1
new this.lib.service.Suggestion({
pageSize: 20
}).getSuggestions({
keyword: this.address
}).then(res => {
this.addressList = []
if (res.data.length) {
this.addressList = res.data
}
})
}, 500)
},
getAddress () {
new this.lib.service.Search({
pageSize: 20
}).explore({
center: this.latLng,
radius: 2000,
orderBy: '_distance'
}).then(res => {
this.addressList = []
if (res.data.length) {
this.addressList = res.data
}
})
},
chooseAddress (index) {
this.address = this.addressList[index].address
this.latLng = {lat: this.addressList[index].location.lat, lng: this.addressList[index].location.lng}
this.addMarker(this.addressList[index].location)
},
addMarker (position) {
if (this.marker) {
this.marker.setMap(null)
this.marker = null
}
this.marker = new this.lib.MultiMarker({
id: 'marker-layer',
map: this.map,
styles: {
marker: new this.lib.MarkerStyle({
width: 30,
height: 45,
anchor: { x: 10, y: 30 }
}),
},
geometries: [{
id: 'marker',
styleId: 'marker',
position: position,
properties: {
title: 'marker'
}
}]
})
this.easeTo(position)
},
easeTo (position) {
this.map.easeTo({
center: position,
zoom: 17
},
{ duration: 500 })
},
handleMapClick(evt) {
console.log(evt)
let {lib: TMap, map} = this
if (this.markerLayer) {
this.markerLayer.setMap(null);
}
this.markerLayer = new TMap.MultiMarker({id: 'marker-layer', map});
this.markerLayer.add({
position: evt.latLng
});
this.latLng = evt.latLng
var geocoder = new TMap.service.Geocoder();
geocoder.getAddress({ location: this.latLng }).then((result) => {
this.address = result.result.address;
});
},
confirm() {
if (!this.latLng.lat) {
return this.$u.toast(`未获取到定位信息,无法定位`)
}
uni.$emit('chooseLat', {
lat: this.latLng.lat,
lng: this.latLng.lng,
address: this.address
})
uni.navigateBack({
delta: 1
})
},
}
}
</script>
<style lang="scss" scoped>
uni-page-body {
height: 100%;
}
.map {
height: 100vh;
.build-btn {
width: 80px;
height: 160px;
background: #FFF;
box-shadow: 0 4px 8px 0 rgba(138, 138, 138, 0.5);
border-radius: 8px;
position: fixed;
bottom: 136px;
right: 24px;
z-index: 99999;
padding: 16px 16px 0;
box-sizing: border-box;
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #666;
line-height: 30px;
&.locate {
transform: translateY(calc(-100% - 20px));
}
img {
width: 48px;
height: 48px;
margin-bottom: 8px;
}
}
.map-content {
width: 100%;
height: 100%;
}
.footer {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 99999;
display: flex;
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
height: 112px;
line-height: 112px;
text-align: center;
.click {
flex: 1;
color: #333;
background-color: #fff;
}
.btn {
flex: 2;
background: #1365DD;
color: #FFF;
}
}
.address-search {
display: flex;
align-items: center;
height: 100px;
padding: 0 32px;
.address-search__wrapper {
display: flex;
align-items: center;
width: 100%;
height: 72px;
padding: 0 32px;
background: #F6F7F9;
border-radius: 36px;
image {
width: 48px;
height: 48px;
}
input {
flex: 1;
font-size: 26px;
color: #333;
}
}
}
scroll-view {
height: 400px;
padding: 0 32px;
.address-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 32px 0;
border-bottom: 1px solid #EEEEEE;
&:last-child {
border: none;
}
.left {
flex: 1;
margin-right: 20px;
}
.right {
flex-shrink: 1;
width: 32px;
height: 32px;
border-radius: 50%;
border: 4px solid #CCCCCC;
transition: all ease 0.3s;
&.active {
border: 10px solid #1365DD;
}
}
h2 {
margin-bottom: 20px;
color: #222222;
font-weight: 600;
font-size: 34px;
}
p {
line-height: 1.2;
color: #999999;
font-size: 28px;
}
}
}
}
</style>

View File

@@ -0,0 +1,220 @@
<template>
<div class="MediateContent">
<div class="contents">
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
<u-form-item label="调解主体" prop="mediateAreaId" required right-icon="arrow-right" class="area">
<AiAreaPicker :areaId="user.areaId" v-model="forms.mediateAreaId" :name.sync="forms.mediateAreaName">
<img src="components/img/local-icon.png" alt="">
<span class="label" v-if="forms.mediateAreaName">{{ forms.mediateAreaName }}</span>
<span v-else class="color-999">请选择</span>
</AiAreaPicker>
</u-form-item>
<div class="line"></div>
<u-form-item label="调解员" prop="mediatePerson" required >
<u-input type="text" v-model="forms.mediatePerson" placeholder="请输入" input-align="right" />
</u-form-item>
<div class="line"></div>
<u-form-item label="调解时间" prop="mediateDate" required right-icon="arrow-right">
<u-input type="text" v-model="forms.mediateDate" placeholder="请选择" disabled @click="isShowDate=true" input-align="right" />
<u-calendar v-model="isShowDate" @change="onDateChange" mode="date"></u-calendar>
</u-form-item>
<div class="line"></div>
<u-form-item label="涉及金额" prop="mediateAmount" required >
<u-input type="text" v-model="forms.mediateAmount" placeholder="请输入" input-align="right" />
</u-form-item>
<div class="line"></div>
<u-form-item label="参加人" prop="mediateMember" required>
<u-input type="text" v-model="forms.mediateMember" placeholder="请输入" input-align="right" />
</u-form-item>
<div class="line"></div>
<u-form-item label="调处思路、措施及主要经过" prop="mediateInfo" required label-position="top" class="mediate-info">
<u-input v-model="forms.mediateInfo" placeholder="请输入" type="textarea" auto-height height="100" maxlength="500"/>
</u-form-item>
</u-form>
</div>
<div class="btn" @click="confirm">
<span>我已办结</span>
</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: 'MediateContent',
components: {},
props: {},
data() {
return {
forms: {
mediateAreaId: '',
mediateAreaName: '',
mediatePerson: '',
mediateDate: '',
mediateAmount: '',
mediateMember: '',
mediateInfo: ''
},
id: '',
isShowDate: false,
}
},
computed: {
...mapState(['user']),
},
onLoad(option) {
this.id = option.id
},
onShow() {
document.title = '我已办结'
},
methods: {
onDateChange (e) {
console.log(e)
this.forms.mediateDate = e.result
},
confirm() {
if(this.flag) return
if (!this.forms.mediateAreaId) {
return this.$u.toast('请选择调解主体')
}
if (!this.forms.mediatePerson) {
return this.$u.toast('请输入调解员')
}
if (!this.forms.mediateDate) {
return this.$u.toast('请选择调解时间')
}
if (!this.forms.mediateAmount) {
return this.$u.toast('请输入涉及金额')
}
if (!this.forms.mediateMember) {
return this.$u.toast('请输入参加人')
}
if (!this.forms.mediateInfo) {
return this.$u.toast('请输入调处思路、措施及主要经过')
}
this.flag = true
this.submit()
},
submit() {
var params = {...this.forms}
params.id = this.id
this.$http.post(`/app/appclapeventinfoweiyang/finish`, {...this.forms, id: this.id, eventStatus: '3'}).then((res) => {
if (res.code == 0) {
this.$u.toast('办结成功!')
uni.$emit('updateDeatil')
uni.$emit('getListInit')
setTimeout(() => {
uni.navigateBack()
}, 600)
}
})
},
},
}
</script>
<style scoped lang="scss">
.MediateContent {
height: 100%;
.u-form-item__body {
border-bottom: 1px solid #ddd;
}
.contents {
padding-bottom: 140px;
::v-deep .u-form {
.u-form-item {
// padding: 0 45px !important;
.u-form-item__body {
.u-form-item--right__content__slot {
padding-bottom: 0;
.u-input {
// text-align: right !important;
}
}
}
}
.line {
height: 24px;
background: #f3f6f9;
}
.avatars {
padding-bottom: 20px !important;
.u-form-item__body {
// .default {
// width: 160px;
// height: 160px;
// }
}
}
}
}
.mediate-info {
padding-bottom: 20px !important;
.u-form-item__body {
border-bottom: none;
// .u-form-item--right__content__slot {
// .u-input {
// text-align: left !important;
// }
// }
}
}
.area {
.u-form-item--right__content__slot {
width: 100%;
.AiAreaPicker {
width: 100%;
text-align: right;
.color-999 {
color: rgb(192, 196, 204);
}
}
}
}
.btn {
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
background: #3975c6;
padding: 34px 0;
text-align: center;
font-size: 32px;
font-weight: 500;
color: #ffffff;
}
.right-span {
display: inline-block;
width: 100%;
text-align: right;
}
::v-deep .AiPagePicker {
width: 100%;
text-align: right;
}
}
</style>

View File

@@ -0,0 +1,323 @@
<template>
<div class="SelectUser">
<div class="header-middle">
<div class="hint">
<span v-for="(item, index) in slectList" :key="index"><span v-if="index" style="margin:0 4px;">/</span><span style="color:#3F8DF5" @click="girdNameClick(item, index)">{{item.girdName}}</span></span>
</div>
<div class="showTypes" v-if="!userList.length">
<div v-if="treeList.length > 0">
<div class="cards" v-for="(item, index) in treeList" :key="index" @click="itemClick(item, index)">
<div class="imges">
<!-- <span>
<img src="./components/img/xzh.png" alt="" class="imgselect" v-if="item.isChecked" @click.stop="girdClick(item, index)" />
<img src="./components/img/xz.png" alt="" class="imgselect" v-else @click.stop="girdClick(item, index)" />
</span> -->
<img src="./components/img/gird--select-icon.png" alt="" class="avatras" />
</div>
<div class="rightes">
<div class="applicationNames">{{ item.girdName }}</div>
<img src="./components/img/right-icon.png" alt="" class="imgs" />
</div>
</div>
</div>
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
</div>
<div class="showUsers" v-else>
<div v-if="userList.length > 0">
<div class="cards" v-for="(e, index) in userList" :key="index">
<div class="imges">
<img src="./components/img/xzh.png" alt="" class="imgselect" v-if="e.isChecked" @click="userClick(e, index)" />
<img src="./components/img/xz.png" alt="" class="imgselect" v-else @click="userClick(e, index)" />
<img src="./components/img/tx@2x.png" alt="" class="avatras" />
</div>
<div class="rights">
<div class="applicationNames">{{ e.name }}</div>
<div class="idNumbers">{{ e.phone }}</div>
</div>
</div>
</div>
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
</div>
</div>
<div class="subBtn" @click="submit">
<div>确定选择</div>
</div>
</div>
</template>
<script>
export default {
name: 'SelectUser',
data() {
return {
selectUser: {},
allData: null,
treeList: [],
slectList: [],
userList: [],
detailId: ''
}
},
onLoad(option) {
this.detailId = option.detailId
this.getTree()
},
onShow() {
document.title = '选择人员'
},
methods: {
getTree() {
this.slectList = []
this.$http.post(`/app/apppatrolreportinfov2/listGirdInfoByTransfer?id=${this.detailId}`).then((res) => {
if (res?.data) {
this.allData = res.data
this.treeInit()
}
})
},
treeInit() {
// if(this.allData[0].girdLevel == 2) {
// if(this.allData[0].girdMemberList && this.allData[0].girdMemberList.length) {
// this.userList = this.allData[0].girdMemberList
// this.userList.map((item) => {
// item.isChecked = false
// })
// }
// }else {
// this.treeList = this.allData[0].girdList
// }
var obj = {
girdName: '可选范围',
id: '',
}
this.slectList.push(obj)
this.treeList = this.allData
},
itemClick(row, index) {
if(!this.treeList[index].girdMemberList.length) {
return this.$u.toast('该网格下暂无网格员')
}
var obj = {
girdName: row.girdName,
id: row.id,
}
this.slectList.push(obj)
this.searckGird(index)
},
searckGird(index) {
this.userList = this.treeList[index].girdMemberList
},
girdNameClick(row, index) {
this.userList = []
if(!index) { //第一级别
this.slectList = []
this.treeInit()
}else {
var list = []
this.slectList.map((item, i) => {
if(i <= index) {
list.push(item)
}
})
this.slectList = list
this.searckGird(row)
}
},
girdClick(row, index) {
if (this.treeList[index].isChecked) {//取消
this.treeList[index].isChecked = false
this.selectUser = {}
} else {
this.treeList.map((item) => {
item.isChecked = false
})
this.treeList[index].isChecked = true
this.selectUser = row
}
this.$forceUpdate()
},
userClick(row, index) {
if (this.userList[index].isChecked) {//取消
this.userList[index].isChecked = false
this.selectUser = {}
} else {
this.userList.map((item) => {
item.isChecked = false
})
this.userList[index].isChecked = true
this.selectUser = row
}
this.$forceUpdate()
},
submit() {
if (this.selectUser.id != null) {
uni.$emit('goback', this.selectUser)
uni.navigateBack()
} else {
return this.$u.toast('请选择网格员')
}
},
}
}
</script>
<style scoped lang="scss">
.SelectUser {
height: 100%;
background: #fff;
.header-top {
background: #fff;
padding: 20px 32px;
}
.header-middle {
padding-bottom: 140px;
.hint {
padding: 28px 20px 28px 32px;
line-height: 56px;
box-shadow: 0px 1px 0px 0px #e4e5e6;
font-size: 30px;
font-weight: 500;
word-break: break-all;
}
.showTypes {
.empty-div {
height: 16px;
background: #f5f5f5;
}
.cards {
display: flex;
align-items: center;
height: 120px;
line-height: 120px;
// background: pink;
padding: 0 0 0 32px;
.imges {
display: flex;
align-items: center;
// width: 200px;
.imgselect {
width: 48px;
height: 48px;
vertical-align: middle;
}
.avatras {
width: 74px;
height: 74px;
border-radius: 8px;
margin-left: 36px;
}
}
img {
width: 74px;
height: 74px;
border-radius: 8px;
}
.rightes {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-left: 32px;
border-bottom: 1px solid #e4e5e6;
.applicationNames {
font-size: 36px;
font-weight: 500;
color: #333333;
}
.imgs {
width: 40px;
height: 40px;
margin-right: 20px;
}
}
}
}
.showUsers {
.cards {
display: flex;
align-items: center;
height: 120px;
line-height: 120px;
// background: pink;
padding: 0 0 0 32px;
.imges {
display: flex;
align-items: center;
width: 200px;
.imgselect {
width: 48px;
height: 48px;
}
.avatras {
width: 74px;
height: 74px;
border-radius: 8px;
margin-left: 36px;
}
}
.rights {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-left: 32px;
border-bottom: 1px solid #e4e5e6;
padding-right: 40px;
.applicationNames {
font-size: 36px;
font-weight: 500;
color: #333333;
}
.idNumbers {
color: #666;
}
}
}
}
}
.subBtn {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 118px;
background: #f4f8fb;
div {
width: 192px;
height: 80px;
line-height: 80px;
text-align: center;
background: #1365dd;
border-radius: 4px;
font-size: 32px;
color: #fff;
margin: 20px 34px 0 0;
float: right;
}
}
}
</style>

View File

@@ -0,0 +1,424 @@
<template>
<div class="statistics">
<AiTopFixed>
<div class="select-gird">
<AiPagePicker type="gird" valueObj nodeKey="id" formType="2" @select="handleSelectGird" class="right-span"
action="/app/apppatrolreportinfo/listByInfo">
<AiMore v-model="selectGird.girdName" icon="arrow-right" placeholder="选择网格"/>
</AiPagePicker>
</div>
</AiTopFixed>
<div class="statstics-content">
<div class="info-content">
<div class="title">概况总览</div>
<div class="el-row">
<div class="item" v-for="(item, index) in todayList" :key="index" @click="toList(item)">
<h2>{{ item.value }}</h2>
<p>{{ item.label }}</p>
</div>
</div>
</div>
<div class="info-content">
<div class="title">事件办结率</div>
<div class="echart-content" id="finish" v-if="showFinish"></div>
<div class="num" v-if="showFinish">{{ finshNum || 0 }}%</div>
<AiEmpty v-else></AiEmpty>
</div>
<div class="info-content">
<div class="title">事件上报趋势图</div>
<AiEmpty v-if="!trendData.length"></AiEmpty>
<div class="echart-content" id="trend" v-else></div>
</div>
<div class="info-content">
<div class="title">巡查事件分类
<!-- <div class="type-select" :style="statusInfo.name ? '' : 'color:#999;'" @click="show=true">{{statusInfo.name || '请选择'}}<u-icon name="arrow-right"></u-icon></div> -->
<u-select v-model="show" :list="$dict.getDict('clapEventStatusHistory')" value-name="dictValue"
label-name="dictName" @confirm="selectStatus"></u-select>
</div>
<AiEmpty v-if="!typeData.length"></AiEmpty>
<div class="echart-content" id="type" v-else></div>
</div>
<div class="pad-b120"></div>
</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
import echarts from 'echarts'
export default {
props: {},
data() {
return {
todayList: [],
selectGird: {id: '', girdName: ''},
finishChart: null,
trendChart: null,
typeChart: null,
show: false,
finishData: [],
showFinish: false,
finshNum: '',
trendData: [],
trendDataX: [],
typeData: [],
statusInfo: {name: '', eventStatus: ''},
}
},
computed: {
...mapState(['user']),
},
created() {
this.getGirdInfo()
},
methods: {
getStatistics() {
this.todayList = [], this.finishData = [], this.trendDataX = [], this.trendData = [], this.typeData = [], this.showFinish = false
this.$http.post(`/app/apppatrolreportinfov2/countByGirdId?girdId=${this.selectGird.id}&eventStatus=${this.statusInfo.eventStatus}`).then((res) => {
if (res.code == 0) {
Object.keys(res.data.allCountMap).forEach((key) => {
var info = {
label: key,
value: res.data.allCountMap[key]
}
this.todayList.push(info)
})
Object.keys(res.data.finishCountMap).forEach((key) => {
var info = {
name: key,
value: res.data.finishCountMap[key]
}
if (res.data.finishCountMap[key] > 0) {
this.showFinish = true
}
this.finishData.push(info)
})
if (this.showFinish) {
var num = res.data.finishCountMap['累计事件办结'] / res.data.finishCountMap['累计事件上报']
this.finshNum = Number(num * 100).toFixed(2)
}
res.data.dateCountList.map((item) => {
this.trendData.push(item.ecount)
this.trendDataX.push(item.ymd)
})
res.data.groupList.map((item) => {
var info = {
name: item.groupName,
value: item.totalNum
}
this.typeData.push(info)
})
this.$nextTick(() => {
if (this.showFinish) {
this.finishChartInit()
}
if (this.trendData.length) {
this.trendChartInit()
}
if (this.typeData.length) {
this.typeChartInit()
}
})
}
})
},
getGirdInfo() {
this.$http.post(`/app/apppatrolreportinfo/getRootByGirdMember`).then((res) => {
if (res.code == 0) {
this.selectGird.girdName = res.data.girdName
this.selectGird.id = res.data.id
this.$dict.load('clapEventStatusHistory').then(() => {
this.getStatistics()
})
}
})
},
finishChartInit() {
this.finishChart = echarts.init(document.getElementById('finish'))
var option = {
tooltip: {
trigger: 'item'
},
series: [
{
name: '事件办结率',
type: 'pie',
radius: ['30%', '60%'],
itemStyle: {
normal: {
color: function (colors) {
var colorList = ['#7E94F6', '#85E3D5', '#2891FF'];
return colorList[colors.dataIndex];
}
},
},
data: this.finishData,
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)',
}
}
}
]
};
this.finishChart.setOption(option)
},
trendChartInit() {
this.trendChart = echarts.init(document.getElementById('trend'))
var option2 = {
grid: {
left: '5%',
right: '5%',
bottom: '3%',
containLabel: true
},
xAxis: {
type: 'category',
boundaryGap: false,
axisLine: {
lineStyle: {
color: '#E1E5EF', //x轴的颜色
width: 1, //轴线的宽度
},
},
axisLabel: {
show: true,
textStyle: {
color: '#666',
},
},
data: this.trendDataX
},
yAxis: {
axisLine: { //y轴
show: false
},
axisTick: {
show: false
},
axisLabel: {
show: true,
textStyle: {
color: '#666',
},
},
type: 'value',
},
tooltip: {
trigger: 'axis'
},
series: [
{
data: this.trendData,
type: 'line',
areaStyle: {//覆盖区域的渐变色
normal: {
color: {
type: 'linear', x: 0, y: 0, x2: 0, y2: 1,
colorStops: [
{
offset: 0, color: 'rgba(58,132,255, 0.8)' // 0% 处的颜色
},
{
offset: 1, color: 'rgba(58,132,255, 0)' // 100% 处的颜色
}
],
global: false // 缺省为 false
},
}
},
lineStyle: {
normal: {
color: '#2891FF'
}
},
itemStyle: {
normal: {
color: '#2891FF',
}
}
}
]
};
this.trendChart.setOption(option2)
},
typeChartInit() {
this.typeChart = echarts.init(document.getElementById('type'))
var option3 = {
tooltip: {
trigger: 'item'
},
series: [
{
name: '巡查事件分类',
type: 'pie',
radius: ['0%', '70%'],
itemStyle: {
normal: {
color: function (colors) {
var colorList = ['#2891FF', '#FF8700', '#83B5F7', '#7E94F6', '#85E3D5', '#2891FF'];
return colorList[colors.dataIndex];
}
},
},
data: this.typeData,
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)',
}
}
}
]
};
this.typeChart.setOption(option3)
},
selectStatus(e) {
this.statusInfo.name = e[0].label
this.statusInfo.eventStatus = e[0].value
this.getStatistics()
},
handleSelectGird(v) {
this.selectGird = v || {}
this.getStatistics()
},
toList(row) {
var searchType = '', typeList = ['', '', '累计上报', '今日上报', '今日办结', '办理中']
typeList.map((item, index) => {
if (item == row.label) {
return searchType = index
}
})
uni.navigateTo({url: `./StatisticsList?title=${row.label}&searchType=${searchType}&girdId=${this.selectGird.id}`})
}
},
}
</script>
<style scoped lang="scss">
.statistics {
background-color: #F3F7F8;
.statstics-content {
padding: 30px 30px 0;
}
::v-deep .AiTopFixed {
.content {
background-color: #3975C6;
color: #fff;
}
.icon-img {
width: 48px;
height: 48px;
}
}
::v-deep .AiMore {
span {
color: #fff;
}
}
.info-content {
width: 100%;
background: #FFF;
border-radius: 16px;
margin-bottom: 24px;
position: relative;
padding-bottom: 32px;
.title {
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333;
line-height: 48px;
padding: 24px 16px 24px 24px;
img {
float: right;
width: 40px;
height: 40px;
}
.type-select {
font-size: 26px;
position: absolute;
top: 20px;
right: 32px;
width: calc(100% - 250px);
text-align: right;
line-height: 48px;
}
}
.el-row {
display: flex;
padding: 32px 0 60px 0;
.item {
flex: 1;
text-align: center;
h2 {
font-size: 64px;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #3B424A;
line-height: 64px;
margin-bottom: 8px;
}
p {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 40px;
}
}
}
.echart-content {
width: 100%;
height: 500px;
}
.num {
position: absolute;
left: 50%;
top: 320px;
margin-left: -100px;
font-size: 40px;
font-weight: 600;
width: 200px;
text-align: center;
}
}
.pad-b120 {
background-color: #F3F7F8;
padding-bottom: 120px;
}
}
</style>

View File

@@ -0,0 +1,246 @@
<template>
<div class="list-content">
<template>
<AiCard v-for="(item, i) in datas" :key="i" @click.native="goDetail(item, 1)">
<template #custom>
<div class="card-top">
<div class="titles">{{ item.content }}</div>
<div class="types">
<span>事件类型</span>
<span class="types-right">{{ item.groupName }}</span>
</div>
<div class="types">
<span>事件来源</span>
<span class="types-right">{{ $dict.getLabel('residentEventSource', item.eventSource) }}</span>
</div>
<div class="gards">
<span>所属网格</span>
<span class="gards-right">{{ item.girdName }}</span>
</div>
</div>
<div class="status" :class="item.eventStatus == 0 ? 'status0' : item.eventStatus == 1 ? 'status1' : item.eventStatus == 2 ? 'status2' : 'status3'"
v-if="item.eventStatus">
<span class="icon"></span>
<span>
{{ $dict.getLabel('clapEventStatus', item.eventStatus) }}
</span>
</div>
</template>
</AiCard>
<AiEmpty v-if="!datas.length"></AiEmpty>
</template>
<div class="pad-b120" v-if="datas.length"></div>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
props: {},
data() {
return {
datas: [],
current: 1,
pages: 0,
searchType: '',
title: '',
girdId: ''
}
},
computed: {
...mapState(['user']),
listType() {
return this.$dict.getDict('clapEventStatusAll')
}
},
onLoad(options) {
console.log(options)
this.searchType = options.searchType
this.title = options.title
this.girdId = options.girdId
},
onShow() {
document.title = this.title
this.current = 1
this.getList()
},
created() {
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
this.getList()
})
},
methods: {
getListInit() {
this.current = 1
this.getList()
},
nextPage() {
this.current++
this.getList()
},
getList() {
let {current, girdId, searchType} = this
this.$http.post(`/app/apppatrolreportinfov2/listByStatus`, null, {
params: {
size: 10,
current,
girdId,
searchType
},
}).then((res) => {
if (res.code == 0) {
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
this.pages = res.data.pages
this.$forceUpdate()
}
})
},
goDetail(item) {
uni.navigateTo({url: `./Detail?id=${item.id}&isShowBtn=0`})
},
},
onReachBottom() {
this.nextPage()
}
}
</script>
<style scoped lang="scss">
.list-content {
height: 100%;
padding: 0;
width: 100vw;
.select-top {
background: #fff;
display: flex;
padding: 24px 0;
.tab-item {
flex: 1;
text-align: center;
line-height: 48px;
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
img {
width: 32px;
height: 32px;
margin-left: 8px;
vertical-align: middle;
}
}
.tab-item:nth-of-type(1) {
border-right: 1px solid #eee;
}
}
::v-deep .AiTopFixed .content {
padding: 0;
}
::v-deep .AiCard {
background: #f3f6f9;
padding: 24px 40px 0 32px;
.start {
background: #fff;
border-radius: 16px;
.card-top {
padding: 32px;
.titles {
margin-bottom: 34px;
font-size: 32px;
font-weight: 500;
color: #333333;
line-height: 1.4;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.types,
.gards {
margin-top: 8px;
font-size: 26px;
.types-right,
.gards-right {
margin-left: 32px;
color: #333333;
}
}
}
.status {
padding: 32px;
border-top: 1px solid #dddddd;
.icon {
display: inline-block;
width: 8px;
height: 8px;
vertical-align: middle;
margin-right: 8px;
}
}
.status0 {
color: #ff883c;
.icon {
background: #ff883c;
}
}
.status1 {
color: #1aaaff;
.icon {
background: #1aaaff;
}
}
.status2 {
color: #42d784;
.icon {
background: #42d784;
}
}
.status3 {
color: #ff4466;
.icon {
background: #ff4466;
}
}
}
}
// ::v-deep .AiCard:last-child {
// padding-bottom: 24px;
// }
.pad-b120 {
background-color: #f3f6f9;
padding-bottom: 120px;
}
.grid-name {
display: inline-block;
font-size: 32px;
color: #333;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB