Merge branch 'master' of http://gitea.bugtc.com/zhouyanli/property-manager-side
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
/**
|
||||
* @Description: 抽离 公共基础地址
|
||||
* @Author: Zy
|
||||
* @Date: 2026-05-18 15:36:10
|
||||
* @LastEditor: Zy
|
||||
* @LastEditTime: 2026-07-20 14:29:10
|
||||
*/
|
||||
let baseUrl = ''
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = 'http://192.168.1.6:8080' // 开发环境
|
||||
// baseUrl = 'https://wuyeapi.ckdzkj.com' // 开发环境
|
||||
} else {
|
||||
baseUrl = 'https://wuyeapi.ckdzkj.com' // 生产环境
|
||||
// baseUrl = 'https://wuyeapi.bugtc.com' // 生产环境
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"name" : "花开管家",
|
||||
"appid" : "__UNI__5F224F3",
|
||||
"description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。",
|
||||
"versionName" : "1.0.2",
|
||||
"versionCode" : 102,
|
||||
"versionName" : "1.0.3",
|
||||
"versionCode" : 103,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"usingComponents" : true,
|
||||
|
||||
@@ -222,6 +222,7 @@ function scrolltolower() {
|
||||
line-height: 40rpx;
|
||||
margin-bottom: 20rpx;
|
||||
letter-spacing: 0rpx;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.detailsMan {
|
||||
font-weight: 400;
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="label"> 问题描述 </view>
|
||||
<view class="value">
|
||||
<view class="value" style="word-wrap: break-word; overflow: auto">
|
||||
<text>{{ complainInfo.problemDes }} </text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -208,6 +208,7 @@ function handlePrivew(items, index) {
|
||||
min-height: 100rpx;
|
||||
.label {
|
||||
width: 226rpx;
|
||||
min-width: 226rpx;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
<view class="items checkout flex items-center" @tap="handleClick">
|
||||
<view class="label">处理人员</view>
|
||||
<view class="value ellipsis">
|
||||
<text>{{ checkoutinfo.userName ? checkoutinfo.userName : '请选择' }}</text>
|
||||
<view class="username">
|
||||
<text>{{ checkoutinfo.userName ? checkoutinfo.userName : '请选择' }}</text>
|
||||
</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="items">
|
||||
@@ -13,8 +16,8 @@
|
||||
<textarea
|
||||
style="width: 100%; height: 100%; overflow: hidden"
|
||||
v-model="form.handleContent"
|
||||
:maxlength="-1"
|
||||
auto-height
|
||||
maxlength="200"
|
||||
placeholder="请输入"
|
||||
placeholder-style="font-size:28rpx;"
|
||||
/>
|
||||
@@ -29,8 +32,9 @@
|
||||
|
||||
<script setup lang="ts" key="handle">
|
||||
import { ref } from 'vue'
|
||||
import { onLoad, onUnload } from '@dcloudio/uni-app'
|
||||
import { onLoad, onUnload, onShow } from '@dcloudio/uni-app'
|
||||
import { putComplainProcess } from '@/api/complain'
|
||||
import { getSettingInfo } from '../../api/api.js'
|
||||
|
||||
const checkoutinfo = ref({
|
||||
userName: '',
|
||||
@@ -40,10 +44,19 @@ const form = ref({
|
||||
complaintId: '',
|
||||
handleContent: ''
|
||||
})
|
||||
let userIsAccount = true
|
||||
/** 获取用户信息 */
|
||||
function getUserInfo() {
|
||||
getSettingInfo().then(res => {
|
||||
checkoutinfo.value.userName = res.data.nickName
|
||||
})
|
||||
}
|
||||
|
||||
onLoad(options => {
|
||||
if (options && options.handleId && options.handleId.trim()) {
|
||||
form.value.complaintId = options.handleId
|
||||
}
|
||||
getUserInfo()
|
||||
})
|
||||
|
||||
// 选择处理人员
|
||||
@@ -54,6 +67,7 @@ function handleClick() {
|
||||
backData: (data: { userName: string; userId: string }) => {
|
||||
checkoutinfo.value.userName = decodeURIComponent(data.userName)
|
||||
checkoutinfo.value.userId = data.userId
|
||||
userIsAccount = false
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -65,14 +79,22 @@ function handleBlur(e) {
|
||||
|
||||
// 处理投诉 提交
|
||||
function handleSelecthouse() {
|
||||
if (checkoutinfo.value.userId) {
|
||||
if (userIsAccount || checkoutinfo.value.userId) {
|
||||
uni.showLoading({
|
||||
mask: true,
|
||||
title: '处理投诉中'
|
||||
})
|
||||
putComplainProcess({
|
||||
id: form.value.complaintId,
|
||||
handleContent: form.value.handleContent,
|
||||
handleId: checkoutinfo.value.userId
|
||||
}).then(() => {
|
||||
uni.navigateBack()
|
||||
})
|
||||
.then(() => {
|
||||
uni.navigateBack()
|
||||
})
|
||||
.finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'error',
|
||||
@@ -94,6 +116,28 @@ function handleSelecthouse() {
|
||||
height: 100rpx;
|
||||
line-height: 100rpx;
|
||||
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
.ellipsis {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.username {
|
||||
flex: 1;
|
||||
word-wrap: break-word;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
margin-right: 10rpx;
|
||||
margin-left: 10rpx;
|
||||
width: 16rpx;
|
||||
height: 16rpx;
|
||||
border: 1rpx solid #353535;
|
||||
transform: rotate(45deg);
|
||||
border-bottom-color: transparent;
|
||||
border-left-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
.label {
|
||||
width: 128rpx;
|
||||
|
||||
@@ -405,7 +405,7 @@ onUnload(() => {
|
||||
background: #f53f3f;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-size: 10rpx;
|
||||
font-size: 20rpx;
|
||||
line-height: 30rpx;
|
||||
border-radius: 50%;
|
||||
padding: 3rpx;
|
||||
|
||||
Reference in New Issue
Block a user