From f52085a9bc8c61cf7097426d7a6b2985d890da68 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期三, 12 七月 2023 16:52:34 +0800
Subject: [PATCH] 增加用户隐私协议,验质增加字段,优化ws
---
pages/customer-page/customer-index/customer-index.vue | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index e7df02e..49837bf 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -2,7 +2,7 @@
<view class="">
<view class="customer-index">
<view class="customer-index-body">
- <!-- 寰呴鍙栧拰杞彂鎻愮叅鍗� -->
+ <!-- 寰呴鍙栧拰杞彂閫氱煡鍗� -->
<view class="wait-collection"
:style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/customerbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
</view>
@@ -72,9 +72,9 @@
</view>
</view>
- <!-- 鍘嗗彶鎻愮叅鍗� -->
+ <!-- 鍘嗗彶閫氱煡鍗� -->
<view class="history-numbers">
- <combined-title title="鍘嗗彶鎻愮叅鍗�"></combined-title>
+ <combined-title title="鍘嗗彶閫氱煡鍗�"></combined-title>
<scroll-view :scroll-top="scrollTop"
scroll-y="true"
class="scroll-Y"
@@ -111,7 +111,7 @@
v-else-if="roleType == 2">{{ item.carNumSurplus }}</view>
</view>
<view class="third-line">
- <view class="third-line_text">鎻愮叅鍗曚釜鏁�:</view>
+ <view class="third-line_text">閫氱煡鍗曚釜鏁�:</view>
<view class="third-line_num">{{ item.tmCount }}</view>
</view>
</view>
@@ -163,7 +163,6 @@
<script>
import { onlineurl } from '@/api/request.js'
- import card from '@/components/card/card.vue';
import combinedTitle from '@/components/combined-title/combined-title.vue';
import { customerId } from '@/utils/status';
export default {
@@ -174,7 +173,6 @@
}
},
components: {
- card,
combinedTitle
},
watch: {
@@ -194,7 +192,7 @@
data() {
return {
orderPlanData: [],
- show: false, // 棰嗗彇鎻愮叅鍗曞脊鍑烘
+ show: false, // 棰嗗彇閫氱煡鍗曞脊鍑烘
receiveNum: null,
getOrderNum: {
num: '',
@@ -214,7 +212,7 @@
showMoreData: false,
cars2: "",
carNum: "",
- // 鍓╀綑鐨勬彁鐓ゅ崟鏁伴噺
+ // 鍓╀綑鐨勯�氱煡鍗曟暟閲�
carNumSurplus: '',
canClick: false,
onlineurl: ''
@@ -240,7 +238,7 @@
}
});
},
- // 鑾峰彇鍘嗗彶鎻愮叅鍗�
+ // 鑾峰彇鍘嗗彶閫氱煡鍗�
getJhOrderPlanDataPage() {
uni.showLoading({
title: '鍔犺浇涓�'
@@ -265,7 +263,7 @@
this.pageCurrent++;
this.getJhOrderPlanDataPage();
},
- //fix 鐐瑰嚮鎻愮叅鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
+ //fix 鐐瑰嚮閫氱煡鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
ArrSet(Arr, id) {
var obj = {};
const arrays = Arr.reduce((setArr, item) => {
@@ -313,7 +311,7 @@
*/
receiveClick(item) {
this.show = true;
- this.getOrderNum.id = item.id; // 鑾峰彇棰嗗彇鎻愮叅鍗曠殑id
+ this.getOrderNum.id = item.id; // 鑾峰彇棰嗗彇閫氱煡鍗曠殑id
this.cars2 = item.cars2
this.carNum = item.carNum
},
@@ -326,15 +324,15 @@
console.log('杈撳叆妗�', e);
this.canClick = e > (this.carNum - this.cars2)
if (this.canClick) {
- this.$u.toast('宸茶秴杩囧綋鍓嶆棩璁″垝鎻愮叅鍗曟暟閲�,璇烽噸鏂拌緭鍏�')
+ this.$u.toast('宸茶秴杩囧綋鍓嶆棩璁″垝閫氱煡鍗曟暟閲�,璇烽噸鏂拌緭鍏�')
}
},
- // 鎻愮叅鍗曡鎯�
+ // 閫氱煡鍗曡鎯�
cardBodyClick(v) {
uni
.navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2?v.cars2:""}` });
},
- // 鐐瑰嚮鍘嗗彶鎻愮叅鍗曡幏鍙栬鎯�
+ // 鐐瑰嚮鍘嗗彶閫氱煡鍗曡幏鍙栬鎯�
faYundetail(v) {
uni.navigateTo({
url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}&coalName=${v.coalName}&deptName=${v.deptName}`
--
Gitblit v1.9.1