| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view @click="showChangeRole" class="fs-23 flex a-center border1 w-154 h-38 j-center br-29"> |
| | | <image src="/static/home/切换@2x.png" mode="aspectFill" class="w-19 h-19 mr-8"></image> |
| | | 切换角色 |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="pt-38 pl-31 pr-31 flex flex-column"> |
| | | <view class="flex j-between a-center"> |
| | | <text class="color1 fs-31 font-bold">工作台</text> |
| | | <text class="color2 fs-27" @click="showData = !showData">查看更多</text> |
| | | <!-- <text class="color1 fs-31 font-bold">工作台</text> --> |
| | | <!-- <text class="color2 fs-27" @click="showData = !showData">查看更多</text> --> |
| | | <view @click="showData = !showData" class="fs-23 flex a-center border1 w-154 h-38 j-center br-29"> |
| | | <image src="/static/more.png" mode="aspectFill" class="w-19 h-19 mr-8"></image> |
| | | 更多功能 |
| | | </view> |
| | | <view @click="showChangeRole" class="fs-23 flex a-center border1 w-154 h-38 j-center br-29"> |
| | | <image src="/static/home/切换@2x.png" mode="aspectFill" class="w-19 h-19 mr-8"></image> |
| | | 切换角色 |
| | | </view> |
| | | </view> |
| | | <view class="flex flex-wrap j-between"> |
| | | <view class="pt-38 pb-38 bg1 w-333 br-19 mt-19 flex a-center relative" |
| | | <view class="flex flex-wrap j-between mt-23"> |
| | | <view class="pt-38 pb-38 bg1 w-333 br-19 flex a-center relative" |
| | | :class="userInfo.isPartymember === false && 'bg2'" @click="onClick()"> |
| | | <image v-if="userInfo.auditStatus === null" src="/static/home/注册@2x.png" mode="aspectFill" |
| | | class="w-112 h-85 absolute" style="right: -12rpx;top: -23rpx;"></image> |
| | |
| | | <image class="w-94 h-77 ml-38" src="/static/home/img7.png" mode=""></image> |
| | | <text class="ml-37 font-bold">党员证件</text> |
| | | </view> |
| | | <view class="pt-38 pb-38 bg1 w-333 flex br-19 mt-19 a-center" @click="goTopage()"> |
| | | <view class="pt-38 pb-38 bg1 w-333 flex br-19 a-center" @click="goTopage()"> |
| | | <image class="w-81 h-77 ml-38" src="/static/home/img2.png" mode=""></image> |
| | | <text class="ml-37 font-bold">诉求录入</text> |
| | | </view> |
| | |
| | | <image class="w-81 h-77 ml-38" src="/static/home/img4.png" mode=""></image> |
| | | <text class="ml-37 font-bold ">诉求列表</text> |
| | | </view> |
| | | <view class="pt-38 pb-38 bg1 w-333 br-19 mt-19 flex a-center"> |
| | | <!-- <view class="pt-38 pb-38 bg1 w-333 br-19 mt-19 flex a-center"> |
| | | <image class="w-79 h-77 ml-38" src="/static/home/img1.png" mode=""></image> |
| | | <text class="ml-37 font-bold">回访评价</text> |
| | | </view> |
| | | </view> --> |
| | | |
| | | <view class="pt-38 pb-38 bg1 w-333 br-19 mt-19 flex a-center" v-if="showData"> |
| | | <view class="pt-38 pb-38 bg1 w-333 br-19 mt-19 flex a-center"> |
| | | <image class="w-81 h-77 ml-38" src="/static/home/img8.png" mode=""></image> |
| | | <text class="ml-37 font-bold">统计分析</text> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="flex j-between a-center mt-38"> |
| | | <text class="color1">消息通知</text> |
| | | <!-- <text class="color1">消息通知</text> --> |
| | | </view> |
| | | <view class=" mt-15"> |
| | | <view class="flex a-center"> |
| | |
| | | |
| | | <view class="notice-tip flex a-center "> |
| | | <image src="/static/warnng@2x.png" class="w-31 h-31 mr-15" mode="aspectFill"></image> |
| | | 提交后会由上级部门进行审核,请留意审核结果 |
| | | 提交后会由{{accountLevel < 4 ? '上级工作专班' :'上级部门'}}进行审核,请留意审核结果 |
| | | </view> |
| | | |
| | | <view class="btn" @tap="problemReports">提交至上级部门</view> |
| | | <view class="btn" @tap="problemReports">{{accountLevel < 4 ? '提交至上级工作专班':'提交至上级部门'}}</view> |
| | | |
| | | </view> |
| | | </template> |
| | |
| | | content: '', |
| | | id: '', |
| | | detail: {}, |
| | | accountLevel: 1, //1、市级 2、区县 3、街道 4、社区 |
| | | }; |
| | | }, |
| | | onShow() { |
| | | this.accountLevel = uni.getStorageSync('userInfo').accountLevel || 1 |
| | | }, |
| | | onLoad(option) { |
| | | // option.id = 1 |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | // height: 106rpx; |
| | | background: linear-gradient( 270deg, rgba(255,241,0,0.5) 0%, rgba(255,249,172,0.25) 48%, rgba(255,255,255,0.2) 100%, #FFFFFF 100%); |
| | | background: linear-gradient(270deg, rgba(255, 241, 0, 0.5) 0%, rgba(255, 249, 172, 0.25) 48%, rgba(255, 255, 255, 0.2) 100%, #FFFFFF 100%); |
| | | box-shadow: 0rpx 0rpx 27rpx 0rpx rgba(0, 0, 0, 0.1); |
| | | border-radius: 19rpx; |
| | | align-items: center; |
| | |
| | | import { PageContainer, ProTable } from '@ant-design/pro-components'; |
| | | import { Button, Space } from 'antd'; |
| | | import { useRef } from 'react'; |
| | | import { Access, useAccess,history } from 'umi'; |
| | | import { Access, useAccess, history } from 'umi'; |
| | | import moment from 'moment'; |
| | | import { getList } from './service'; |
| | | import { exportExcell,downLoad } from '@/utils/utils'; |
| | | import { exportExcell, downLoad } from '@/utils/utils'; |
| | | |
| | | const Account = () => { |
| | | const actionRef = useRef(); |
| | |
| | | { |
| | | title: '发生时间', |
| | | dataIndex: 'time', |
| | | valueType:'dateRange', |
| | | valueType: 'dateRange', |
| | | render: (text, record) => { |
| | | return record.time ? moment(record.time).format('YYYY-MM-DD') : ''; |
| | | } |
| | |
| | | } |
| | | }, |
| | | { |
| | | title: '评价', |
| | | ellipsis: true, |
| | | hideInSearch: true, |
| | | dataIndex: 'complaintComment', |
| | | }, |
| | | { |
| | | title: '操作', |
| | | hideInSearch: true, |
| | | render: (text, record) => { |
| | | return ( |
| | | <Space> |
| | | { |
| | | <Access accessible={access['/complaint/detail']}> |
| | | <Access accessible={access['/complaint/detail']}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | |
| | | <div> |
| | | <PageContainer header={{ |
| | | breadcrumb: {}, |
| | | }} |
| | | title={'诉求管理'} |
| | | }} |
| | | title={'诉求管理'} |
| | | > |
| | | <ProTable |
| | | rowKey="id" |
| | |
| | | formRef={formRef} |
| | | request={async (params) => { |
| | | |
| | | if(params.time && params.time.length > 0) { |
| | | params.startTime =moment(params.time[0]).format('YYYY-MM-DD HH:mm:ss'); |
| | | params.endTime = moment(params.time[1]).format('YYYY-MM-DD 23:59:59'); |
| | | if (params.time && params.time.length > 0) { |
| | | params.startTime = moment(params.time[0]).format('YYYY-MM-DD HH:mm:ss'); |
| | | params.endTime = moment(params.time[1]).format('YYYY-MM-DD 23:59:59'); |
| | | delete params.time |
| | | }else{ |
| | | } else { |
| | | delete params.startTime |
| | | delete params.endTime |
| | | delete params.endTime |
| | | } |
| | | |
| | | |
| | | |
| | | return buildProTableDataSource(getList, params); |
| | | }} |
| | |
| | | type="primary" |
| | | onClick={() => { |
| | | const params = { |
| | | ...formRef.current.getFieldsValue(), |
| | | ...formRef.current.getFieldsValue(), |
| | | }; |
| | | exportExcell('诉求管理.xlsx', params, '/api/huacheng-sangeshenbian/complaint/export'); |
| | | }} |