Jelajahi Sumber

feat:"添加远程控制清洗功,添加P10和P20"

soobin 1 tahun lalu
induk
melakukan
92afb135fa

+ 0 - 1
package.json

@@ -17,7 +17,6 @@
     "@vant/area-data": "^1.5.0",
     "@vant/compat": "^1.0.0",
     "@vant/touch-emulator": "^1.4.0",
-    "airwallex-payment-elements": "latest",
     "axios": "^0.20.0",
     "better-scroll": "^2.3.0",
     "big.js": "^6.2.1",

+ 1 - 1
src/assets/language/en.json

@@ -549,7 +549,7 @@
     "position": "Position",
     "viewPositioning": "View positioning",
     "restartAndroid": "Restart touch screen",
-    "alramClean": "Machine clean reminder",
+    "alramClean": "Machine clean",
     "refrigeration": "Refrigeration mode",
     "keepFresh": "Fresh-keeping mode",
     "stir": "Stirring mode",

+ 1 - 1
src/assets/language/ja.json

@@ -566,7 +566,7 @@
         "position": "位置情報",
         "viewPositioning": "位置情報を見る",
         "restartAndroid": "画面を再起動",
-        "alramClean": "機器洗浄のお知らせ",
+        "alramClean": "機器洗浄",
         "refrigeration": "冷却モードです",
         "keepFresh": "鮮度保持モードです",
         "stir": "撹拌モードです",

+ 3 - 1
src/assets/language/zh.json

@@ -572,7 +572,7 @@
     "position": "定位",
     "viewPositioning": "查看定位",
     "restartAndroid": "重启触摸屏",
-    "alramClean": "设备清洗提醒",
+    "alramClean": "设备清洗",
     "refrigeration": "制冷模式",
     "keepFresh": "保鲜模式",
     "stir": "搅拌模式",
@@ -1643,6 +1643,8 @@
     "successfully": "发送成功,请等待几秒后重新进入查看"
   },
   "alramClean": {
+    "openCleanFunction": "设备清洗功能:开启",
+    "closeCleanFunction": "设备清洗功能:关闭",
     "openStatus": "设备清洗提醒开关状态:开启",
     "closeStatus": "设备清洗提醒开关状态:关闭",
     "tips": "提醒",

+ 10 - 0
src/service/device/index.js

@@ -245,4 +245,14 @@ export function restartScreen(params) {
 // 远程切换雪糕机工作模式
 export function changeWorkingMode(params) {
     return axios.get(`/SZWL-SERVER/tEquipment/updateWorkingMode`, { params })
+}
+
+// 修改睡眠描述
+export function changeCleanFunction(params) {
+    return axios.get(`/SZWL-SERVER/tEquipmentDesc/updateCleanFunction`, { params })
+}
+
+// 获取机器开关机状态
+export function getOnOffStatus(params) {
+    return axios.post(`/SZWL-SERVER/tEquipment/onOffStatus?${stringToUrl(params)}`, params)
 }

+ 2 - 3
src/styles/device/index.less

@@ -249,7 +249,6 @@
               .clickable-link {
                 cursor: pointer;
                 font-size: 12px;
-                width: 240px;
                 line-height: 20px;
               }
 
@@ -383,10 +382,10 @@
               .c-text-12 {
                 display: inline-block;
                 /* 将行内文本转为块级元素 */
-                padding: 8px 8px;
+                padding: 5px 8px;
                 /* 添加内边距 */
                 background-color: #df5e4c;
-                border-radius: 10px;
+                border-radius: 15px;
                 /* 添加圆角效果 */
                 color: #fff;
                 /* 设置文本颜色 */

+ 93 - 93
src/views/Hpp.vue

@@ -59,8 +59,8 @@
 </template>
 
 <script>
-import { redirectToCheckout, loadAirwallex } from 'airwallex-payment-elements';
-import { useRoute } from "vue-router";
+// import { redirectToCheckout, loadAirwallex } from 'airwallex-payment-elements';
+// import { useRoute } from "vue-router";
 // import { useI18n } from "vue-i18n";
 // import { ref } from 'vue';
 import sHeader from "@/components/SimpleHeader";
@@ -72,104 +72,104 @@ export default {
 	setup() {
 		// const { t } = useI18n();
 		// 将语言始终设置为英文
-		const curLang = localStorage.getItem('curLang');
-		if (curLang !== 'en') {
-			// 将 urllang 设置为 "en"
-			localStorage.setItem('curLang', 'en');
-		}
+		// const curLang = localStorage.getItem('curLang');
+		// if (curLang !== 'en') {
+		// 	// 将 urllang 设置为 "en"
+		// 	localStorage.setItem('curLang', 'en');
+		// }
 
 
-		const urlParams = new URLSearchParams(window.location.href.split('?')[1]);
-		// console.log("urlParams是>>>" + urlParams.toString());
-		const productsName = urlParams.get('productName');
-		// console.log("productsName的value是:::" + productsName);
-		const productsNum = urlParams.get('productsNum');
-		const totalPrice = urlParams.get('totalPrice');
+		// const urlParams = new URLSearchParams(window.location.href.split('?')[1]);
+		// // console.log("urlParams是>>>" + urlParams.toString());
+		// const productsName = urlParams.get('productName');
+		// // console.log("productsName的value是:::" + productsName);
+		// const productsNum = urlParams.get('productsNum');
+		// const totalPrice = urlParams.get('totalPrice');
 
 
-		const mode = 'payment';
-		const route = useRoute();
+		// const mode = 'payment';
+		// const route = useRoute();
 		// console.log("route.query.intent_id>>>>>>>" + route.query.intent_id);
-		const redirectHppForCheckout = () => {
-			redirectToCheckout({
-				env: 'demo',
-				mode,
-				currency: route.query.currency,
-				intent_id: route.query.intent_id,
-				client_secret: route.query.client_secret,
-				//主题
-				theme: {
-					fonts: [
-						{
-							src: 'https://checkout.airwallex.com/fonts/CircularXXWeb/CircularXXWeb-Regular.woff2',
-							family: 'AxLLCircular',
-							weight: 400,
-						},
-					],
-				},
-				// successUrl: 'https://www.baidu.com', // 支付成功跳转页面
-				// failUrl: 'https://www.baidu.com', // 支付失败跳转页面
-				logoUrl: '', //支付页面展示商户LOGO
-			});
-		};
-		const redirectHppForRecurring = () => {
-			redirectToCheckout({
-				env: 'demo',
-				// mode,
-				// currency,
-				// client_secret,
-				recurringOptions: {
-					card: {
-						next_triggered_by: 'customer',
-						merchant_trigger_reason: 'scheduled',
-						// currency,
-					},
-				},
-				theme: {
-					fonts: [
-						{
-							src: 'https://checkout.airwallex.com/fonts/CircularXXWeb/CircularXXWeb-Regular.woff2',
-							family: 'AxLLCircular',
-							weight: 400,
-						},
-					],
-				},
-				// successUrl: 'https://www.google.com',
-				// failUrl: 'https://www.google.com',
-			});
-		};
-		loadAirwallex({
-			env: 'demo', // Can choose other production environments, 'staging | 'demo' | 'prod'
-		});
-		const redirectHpp = async () => {
-			try {
-				await loadAirwallex({
-					env: 'demo',
-				});
-				if (mode === 'payment') {
-					redirectHppForCheckout();
-				} else if (mode === 'recurring') {
-					redirectHppForRecurring();
-				}
-			} catch (error) {
-				window.alert('There was an error with HPP redirection', error);
-			}
-		};
+		// const redirectHppForCheckout = () => {
+		// 	redirectToCheckout({
+		// 		env: 'demo',
+		// 		mode,
+		// 		currency: route.query.currency,
+		// 		intent_id: route.query.intent_id,
+		// 		client_secret: route.query.client_secret,
+		// 		//主题
+		// 		theme: {
+		// 			fonts: [
+		// 				{
+		// 					src: 'https://checkout.airwallex.com/fonts/CircularXXWeb/CircularXXWeb-Regular.woff2',
+		// 					family: 'AxLLCircular',
+		// 					weight: 400,
+		// 				},
+		// 			],
+		// 		},
+		// 		// successUrl: 'https://www.baidu.com', // 支付成功跳转页面
+		// 		// failUrl: 'https://www.baidu.com', // 支付失败跳转页面
+		// 		logoUrl: '', //支付页面展示商户LOGO
+		// 	});
+		// };
+		// const redirectHppForRecurring = () => {
+		// 	redirectToCheckout({
+		// 		env: 'demo',
+		// 		// mode,
+		// 		// currency,
+		// 		// client_secret,
+		// 		recurringOptions: {
+		// 			card: {
+		// 				next_triggered_by: 'customer',
+		// 				merchant_trigger_reason: 'scheduled',
+		// 				// currency,
+		// 			},
+		// 		},
+		// 		theme: {
+		// 			fonts: [
+		// 				{
+		// 					src: 'https://checkout.airwallex.com/fonts/CircularXXWeb/CircularXXWeb-Regular.woff2',
+		// 					family: 'AxLLCircular',
+		// 					weight: 400,
+		// 				},
+		// 			],
+		// 		},
+		// 		// successUrl: 'https://www.google.com',
+		// 		// failUrl: 'https://www.google.com',
+		// 	});
+		// };
+		// loadAirwallex({
+		// 	env: 'demo', // Can choose other production environments, 'staging | 'demo' | 'prod'
+		// });
+		// const redirectHpp = async () => {
+		// 	try {
+		// 		await loadAirwallex({
+		// 			env: 'demo',
+		// 		});
+		// 		if (mode === 'payment') {
+		// 			redirectHppForCheckout();
+		// 		} else if (mode === 'recurring') {
+		// 			redirectHppForRecurring();
+		// 		}
+		// 	} catch (error) {
+		// 		window.alert('There was an error with HPP redirection', error);
+		// 	}
+		// };
 
-		const cancelOrder = async () => {
-			// 返回浏览器历史记录上一页
-			window.history.back();
-		}
+		// const cancelOrder = async () => {
+		// 	// 返回浏览器历史记录上一页
+		// 	window.history.back();
+		// }
 
-		return {
-			redirectHpp,
-			redirectHppForCheckout,
-			redirectHppForRecurring,
-			productsName,
-			productsNum,
-			totalPrice,
-			cancelOrder,
-		};
+		// return {
+		// 	redirectHpp,
+		// 	redirectHppForCheckout,
+		// 	redirectHppForRecurring,
+		// 	productsName,
+		// 	productsNum,
+		// 	totalPrice,
+		// 	cancelOrder,
+		// };
 	}
 };
 

+ 16 - 0
src/views/advertManage/adSet.vue

@@ -202,6 +202,22 @@ export default {
         id: "330en",
       },
       {
+        name: "P10",
+        id: "P10",
+      },
+      {
+        name: "P10en",
+        id: "P10en",
+      },
+      {
+        name: "P20",
+        id: "P20",
+      },
+      {
+        name: "P20en",
+        id: "P20en",
+      },
+      {
         name: "P30",
         id: "P30",
       },

+ 16 - 0
src/views/advertManage/advertRule/add1.vue

@@ -286,6 +286,22 @@ export default {
         id: "330en",
       },
       {
+        name: "P10",
+        id: "P10",
+      },
+      {
+        name: "P10en",
+        id: "P10en",
+      },
+      {
+        name: "P20",
+        id: "P20",
+      },
+      {
+        name: "P20en",
+        id: "P20en",
+      },
+      {
         name: "P30",
         id: "P30",
       },

+ 16 - 0
src/views/advertManage/advertRule/screen.vue

@@ -125,6 +125,22 @@ export default {
         id: "330en",
       },
       {
+        name: "P10",
+        id: "P10",
+      },
+      {
+        name: "P10en",
+        id: "P10en",
+      },
+      {
+        name: "P20",
+        id: "P20",
+      },
+      {
+        name: "P20en",
+        id: "P20en",
+      },
+      {
         name: "P30",
         id: "P30",
       },

+ 16 - 0
src/views/apkManage/add.vue

@@ -201,6 +201,22 @@ export default {
         id: "280en",
       },
       {
+        name: "P10ch",
+        id: "P10ch",
+      },
+      {
+        name: "P10en",
+        id: "P10en",
+      },
+      {
+        name: "P20ch",
+        id: "P20ch",
+      },
+      {
+        name: "P20en",
+        id: "P20en",
+      },
+      {
         name: "P30ch",
         id: "P30ch",
       },

+ 39 - 2
src/views/device/alramClean/index.vue

@@ -8,6 +8,13 @@
                 <span class="c-text-color c-text-14">{{ equipmentName }}</span>
             </div>
         </div>
+        <van-cell center
+            :title="cleanFunction == true ? $t('alramClean.openCleanFunction') : $t('alramClean.closeCleanFunction')" size="large"
+            title-style="color: #404d74;">
+            <template #right-icon>
+                <van-switch :model-value="cleanFunction" @update:model-value="cleanFunctionStatus" size="24" />
+            </template>
+        </van-cell>
         <van-cell v-if="showCheckBtn" center
             :title="checked ? $t('alramClean.openStatus') : $t('alramClean.closeStatus')" size="large"
             title-style="color: #404d74;">
@@ -21,7 +28,7 @@
 
 <script>
 // 导入接口
-import { updateAlarmCleanStatus, getAlarmClean } from '@/service/device/index';
+import { updateAlarmCleanStatus, getAlarmClean, changeCleanFunction } from '@/service/device/index';
 import sHeader from "@/components/SimpleHeader";
 import { ref } from "@vue/reactivity";
 import { onMounted } from '@vue/runtime-core';
@@ -48,6 +55,8 @@ export default {
         const checked = ref(true);
         const showCheckBtn = ref(true)
 
+        const cleanFunction = ref(false);
+
         // 刚进页面
         onMounted(() => {
             // 加载样式
@@ -56,10 +65,12 @@ export default {
             const name = route.query.name || "";
             clientId.value = route.query.clientId || "";
             // console.log("route.query.clientId>>>", route.query.clientId);
+            cleanFunction.value = route.query.cleanFunction || false;
             if (equipmentId) {
                 equipmentName.value = name;
             }
             getList(clientId.value);
+            console.log(cleanFunction.value)
 
         });
 
@@ -84,6 +95,30 @@ export default {
         }
 
 
+        const cleanFunctionStatus = (newValue) => {
+            const params = {
+                equipmentId: equipmentId.value,
+                cleanFunction: newValue ? '1' : '0',
+            };
+            showConfirmDialog({
+                title: t('alramClean.tips'),
+                message: t('alramClean.content'),
+            }).then(async () => {
+                const { data } = await changeCleanFunction(params);
+                if (data.code) {
+                    // checked.value = newValue;
+                    showToast(t('alramClean.successfully'));
+                    setTimeout(() => {
+                        router.go(-1);
+                    }, 1500);
+                } else {
+                    showFailToast(data.message);
+                }
+            }).catch((error) => {
+                console.log(error);
+            });
+        }
+
         const updateStatus = (newValue) => {
             const params = {
                 clientId: clientId.value,
@@ -116,7 +151,9 @@ export default {
             switchStates,
             checked,
             updateStatus,
-            showCheckBtn
+            showCheckBtn,
+            cleanFunction,
+            cleanFunctionStatus
         };
     },
 };

+ 2 - 2
src/views/device/deviceOper.vue

@@ -215,7 +215,7 @@
         <div class="operText">{{ $t("device.viewPositioning") }}</div>
       </div> -->
       <!-- 设备清洗提醒 -->
-      <div class="operItem" @click="alramCleanClk()">
+      <div class="operItem" v-if="device.machineType === '0' || device.machineType === null" @click="alramCleanClk()">
         <div class="operIcon">
           <img class="operImg" src="../../assets/device/operIcon/alramClean.png" />
         </div>
@@ -293,7 +293,7 @@ export default {
     const alramCleanClk = () => {
       router.push({
         path: "alramClean",
-        query: { deviceId: device.value.id, name: device.value.name, clientId: device.value.clientId },
+        query: { deviceId: device.value.id, name: device.value.name, clientId: device.value.clientId, cleanFunction: device.value.cleanFunction },
       });
     };
     const { t } = useI18n();

+ 8 - 0
src/views/device/deviceSearch.vue

@@ -229,6 +229,14 @@ export default {
         value: 'MG280',
       },
       {
+        text: "P10",
+        value: "P10",
+      },
+      {
+        text: "P20",
+        value: "P20",
+      },
+      {
         text: 'P30',
         value: 'P30',
       },

+ 32 - 30
src/views/device/index.vue

@@ -84,22 +84,22 @@
                 <!-- 温湿度 -->
                 <span v-if="(item.machineType == '0' || item.machineType == null) && item.equimentType != 'P30'"
                   class="txt1 o-mt-10" :style="{
-                    color: item.furnaceTm <= 100 && item.eqeStatus == 1 ? '#ff0033' : '',
-                    fontSize: item.furnaceTm <= 100 && item.eqeStatus == 1 ? '18px' : ''
-                  }">
-                  {{ $t("device.furnaceHeadTemperature") + ':' +
-                    item.furnaceTm
-                    + $t("device.degree") }}
+        color: item.furnaceTm <= 100 && item.eqeStatus == 1 ? '#ff0033' : '',
+        fontSize: item.furnaceTm <= 100 && item.eqeStatus == 1 ? '0.5rem' : ''
+      }">
+                  {{ $t("device.furnaceHeadTemperature") + ':' + (item.furnaceTm ? item.furnaceTm : '0') +
+        $t("device.degree")
+                  }}
                 </span>
                 <span v-if="(item.machineType == '0' || item.machineType == null) && item.equimentType != 'P30'"
                   class="txt1 o-mt-10">
-                  {{ $t("device.temperatureInCabinet") + ':' + item.cabinetTm
-                    + $t("device.degree") }}
+                  {{ $t("device.temperatureInCabinet") + ':' + (item.cabinetTm ? item.cabinetTm : '0')
+        + $t("device.degree") }}
                 </span>
                 <span v-if="(item.machineType == '0' || item.machineType == null) && item.equimentType != 'P30'"
                   class="txt1 o-mt-10">
-                  {{ $t("device.humidityInCabinet") + ':' + item.cabinetHd
-                    + $t("device.humidity") }}
+                  {{ $t("device.humidityInCabinet") + ':' + (item.cabinetHd ? item.cabinetHd : '0')
+        + $t("device.humidity") }}
                 </span>
                 <span v-if="item.machineType == '1' && item.equimentType == 'P30'" class="txt1 o-mt-10">
                   {{ $t("device.cornGeneratorTemperature") + ':' + (item.cabinetTm ? item.cabinetTm : '0') +
@@ -124,12 +124,12 @@
                   <!-- 所属商家 -->
                   <!-- <span class="txt1 o-mt-10">{{ $t("device.affiliatedMerchants") }}:{{ item.adminUserName }}</span> -->
                   <div v-if="user.type < 2" class="contentWord kBordBott">{{ $t("device.affiliatedMerchants") }}:{{
-                    item.adminUserName }}
+        item.adminUserName }}
                   </div>
                   <!-- 睡眠状态 -->
                   <div class="contentWord kBordBott">
                     <span class="word o-mr-10">{{ $t("device.sleepState") }}:{{ item.isSleep ? $t("device.sleeping") :
-                      $t("device.notSleeping") }}</span>
+        $t("device.notSleeping") }}</span>
                     <van-switch :model-value="item.isSleep" size="18px" @click="changeSleep(item)" />
                   </div>
                   <!-- 睡眠描述 -->
@@ -146,7 +146,7 @@
                     </van-field>
                     <div class="l-flex-RC" v-else>
                       <span class="word o-mr-10">{{ item.sleepDesc == null ? $t("device.SuspendBusiness") :
-                        item.sleepDesc
+        item.sleepDesc
                         }}</span>
                       <van-button type="primary" @click="editSleepDesc()">{{ $t("device.modify") }}</van-button>
                     </div>
@@ -160,7 +160,7 @@
                   <div class="contentWord kBordBott" v-if="item.machineType == null || item.machineType == '0'">
                     <span class="word">
                       {{ (item.machineType == '0' || item.machineType == null) ? $t("device.furnHeadStatus") :
-                        $t("device.deviceStatus") }}:
+        $t("device.deviceStatus") }}:
                       {{ item.eqeStatus === 1 ? $t("device.opened") : $t("device.closed") }}
                     </span>
                     <div class="o-ml-10">
@@ -173,9 +173,10 @@
                     <van-button type="primary">开门</van-button>
                   </span> -->
                   <!-- 定位: -->
-                  <span v-if="item.latitude" class="contentWord kBordBott l-flex-LC justify-space-between">
-                    <span class="word">{{ $t("device.position") }}:</span>
-                    <a class="clickable-link" @click="viewPosiClk(item)">{{ item.fullName }}</a>
+                  <span v-if="item.latitude" class="contentWord kBordBott">
+                    <!-- <span class="word"></span> -->
+                    <a class="clickable-link" @click="viewPosiClk(item)">{{ $t("device.position") }}:{{ item.fullName
+                      }}</a>
                   </span>
                   <template v-if="item.isMaterialUse === '1' && (item.machineType == '0' || item.machineType == null)">
                     <van-row justify="space-between" class="sugarTxt kBordBott">
@@ -194,8 +195,8 @@
                     </van-row>
                     <div class="sugarTxt kBordBott">
                       <span>{{ $t("device.stick") }}:{{
-                        Format_calcuDecial(item.stick)
-                      }}%</span>
+        Format_calcuDecial(item.stick)
+      }}%</span>
                     </div>
                     <van-row gutter="20" class="sugarTxt kBordBott">
                       <van-col>
@@ -209,25 +210,26 @@
                     <span class="contentWord kBordBott">
                       <span class="l-flex-RC">{{ $t("device.oneKeyFeed") }}:
                         <van-button class="replenishment" @click="replenishmentClk(item)" type="primary">{{
-                          $t("device.replenishment") }}
+        $t("device.replenishment") }}
                         </van-button>
                       </span>
                     </span>
                   </template>
                   <!-- 最近刷新时间 -->
                   <span class="contentWord kBordBott">{{ $t("device.lastRefreshTime") }}:{{
-                    showDateTime(item.lastUpdateTime)
-                  }}</span>
+        showDateTime(item.lastUpdateTime)
+      }}</span>
                   <!-- 音量 -->
                   <span v-if="item.machineType != '2'" class="contentWord kBordBott">{{ $t("device.volume") }}:{{
-                    item.volume }}</span>
+        item.volume }}</span>
                   <!-- 报警内容 -->
                   <div class="alert-item kBordBott" v-for="itemAlarm in item.alarmList" :key="itemAlarm">
                     <div class="alert-info o-pr-5">
                       <span style="display: block;">{{ $t("device.time") }} : {{ showDateTime(itemAlarm.occurrenceTime)
                         }}
                       </span>
-                      <span>{{ $t("device.alarmContent") }} : {{ itemAlarm.alarmContent }}</span>
+                      {{ $t("device.alarmContent") }} : <span style="color: #ff0033; font-weight: 600;"> {{
+        itemAlarm.alarmContent }}</span>
                     </div>
                     <!-- <div class="lineCon"></div>
                     <div class="alert-actions">
@@ -244,16 +246,16 @@
                     <!-- 详细信息 -->
                     <div class="l-flex-RC" @click="deviceSet(item)">
                       <span class="c-text-12">{{
-                        $t("device.editDevice")
-                      }}</span>
+        $t("device.editDevice")
+      }}</span>
                       <div class="box2 flex-col"></div>
                     </div>
 
                     <!-- 远程操作 -->
                     <div class="l-flex-RC" @click="deviceOprShow(item)">
                       <span class="c-text-12">{{
-                        $t("device.commonOperations")
-                      }}</span>
+        $t("device.commonOperations")
+      }}</span>
                       <div class="box2 flex-col"></div>
                     </div>
                   </div>
@@ -262,8 +264,8 @@
                 <div class="bd6 l-flex-center o-ptb-7" @click="item.checkType = !item.checkType">
                   <div class="l-flex-RC">
                     <span class="info2 o-mr-5">{{
-                      item.checkType ? $t("device.stow") : $t("device.seeMore")
-                    }}</span>
+        item.checkType ? $t("device.stow") : $t("device.seeMore")
+                      }}</span>
                     <div class="group2 flex-col" :class="{ checkType: item.checkType }"></div>
                   </div>
                 </div>

+ 0 - 12
src/views/orderCenter/index.vue

@@ -274,7 +274,6 @@
         <van-field v-if="orderType === '3'" v-model="cofficentForm.refundReason" rows="2" autosize label="退款原因"
           type="textarea" maxlength="30" :clearable="true" placeholder="请输入退款原因" show-word-limit />
         <div class="btnFooter">
-          <!-- <van-checkbox class="checkAllBtn o-mt-5" v-model="checkedAll" @click="checkAll">全选</van-checkbox> -->
           <span></span>
           <div class="o-mt-5">
             <span class="">{{ $t('orderCenter.totalRefund') }}:</span>
@@ -418,13 +417,6 @@ export default {
         } else {
           isChecked.value[index] = false;
         }
-        // if (isChecked.value[index]) {
-        //   isChecked.value[index] = !isChecked.value[index]
-        //   checkedAll.value = false;
-        // } else {
-        //   isChecked.value[index] = !isChecked.value[index]
-        //   checkedAll.value = true;
-        // }
       })
     }
     // 点击确定按钮
@@ -448,13 +440,9 @@ export default {
         return;
       }
       showConfirmDialog({
-        // title: "提示",
         message: t('orderCenter.refundCheck'),
       }).then(() => {
-        // isLoading.value = true; // 开始加载
         refundAjax();
-        // isLoading.value = false; // 加载完成
-
         kDialogRef.value.closeDialog();
       }).catch(() => {
         return;