6/10合并最新代码
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import TabsComponents from '@/components/tabs/tabs.vue'
|
||||
@@ -76,7 +76,7 @@ const statusTabs = [
|
||||
},
|
||||
{
|
||||
name: '待处理',
|
||||
value: 0
|
||||
value: 3
|
||||
},
|
||||
{
|
||||
name: '已完成',
|
||||
@@ -84,7 +84,7 @@ const statusTabs = [
|
||||
}
|
||||
]
|
||||
// 切换状态(全部/待分配/待解决/已完成)筛选
|
||||
const switchStatus = (value: number) => {
|
||||
const switchStatus = value => {
|
||||
activeStatus.value = value
|
||||
if (value === -1) {
|
||||
querySearch.value.status = undefined
|
||||
@@ -146,7 +146,7 @@ function resetList() {
|
||||
}
|
||||
|
||||
// actions
|
||||
function handleComplaint(id: string) {
|
||||
function handleComplaint(id) {
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/complaint/Details_handle?id=' + id
|
||||
})
|
||||
|
||||
@@ -68,7 +68,11 @@
|
||||
</view>
|
||||
|
||||
<!-- submit -->
|
||||
<view v-if="complainInfo.status === '0'" class="action_btn" @tap="handleSelecthouse">
|
||||
<view
|
||||
v-if="complainInfo.status === '0' || complainInfo.status === '1'"
|
||||
class="action_btn"
|
||||
@tap="handleSelecthouse"
|
||||
>
|
||||
<text>处理</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -12,11 +12,10 @@
|
||||
<view class="areabox">
|
||||
<textarea
|
||||
style="width: 100%; height: 100%; overflow: hidden"
|
||||
:value="form.handleContent"
|
||||
v-model="form.handleContent"
|
||||
:maxlength="-1"
|
||||
auto-height
|
||||
placeholder="请输入"
|
||||
@blur="handleBlur"
|
||||
placeholder-style="font-size:28rpx;"
|
||||
/>
|
||||
</view>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
lower-threshold="60"
|
||||
@scrolltolower="scrolltolower"
|
||||
>
|
||||
<radio-group @change="radioChange">
|
||||
<radio-group @change="radioChange" v-if="searchlist.length > 0">
|
||||
<label v-for="(item, index) in searchlist" :key="index">
|
||||
<view
|
||||
class="item flex items-center justify-between"
|
||||
@@ -55,6 +55,9 @@
|
||||
</view>
|
||||
</label>
|
||||
</radio-group>
|
||||
<view class="nodata" v-else>
|
||||
<text>暂无数据</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<!-- submit -->
|
||||
|
||||
@@ -208,12 +208,12 @@ const handleLogin = () => {
|
||||
title: '登录中...',
|
||||
mask: true
|
||||
})
|
||||
const push_cid = uni.getStorageSync('push_cid')
|
||||
const push_cid = uni.getStorageSync('push_cid')
|
||||
let params = {
|
||||
phone: phoneNumber.value,
|
||||
smsCode: verifyCode.value,
|
||||
scene: 'butler_login',
|
||||
cid:push_cid
|
||||
cid: push_cid
|
||||
}
|
||||
getLoginBySms(params)
|
||||
.then(res => {
|
||||
|
||||
@@ -42,6 +42,7 @@ import { ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import filePicker from '@/components/filePicker/filePicker.vue'
|
||||
import { ticketComputed } from '@/api/ticket.js'
|
||||
import { PushSingle } from '@/api/common.js'
|
||||
const form = ref({
|
||||
id: '',
|
||||
descrition: '',
|
||||
@@ -65,6 +66,7 @@ function handleSelecthouse() {
|
||||
ticketComputed(obj)
|
||||
.then(() => {
|
||||
uni.navigateBack()
|
||||
PushSingle()
|
||||
})
|
||||
.catch(() => {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user