zhuli 2 miesięcy temu
rodzic
commit
c4b7ae22ff

+ 1 - 1
src/views/dynamicManagement/reviewAppeal.vue

@@ -194,7 +194,7 @@
             type="textarea"
             :rows="6"
             placeholder="请输入回复内容"
-            maxlength="500"
+            maxlength="300"
             show-word-limit
           />
         </el-form-item>

+ 26 - 25
src/views/home/components/go-examine.vue

@@ -8,12 +8,12 @@
       <div class="expire">店铺到期时间:{{ expireDate }}</div>
     </div>
 
-    <div class="verify-row">
+    <!-- <div class="verify-row">
       <el-input outline="none" v-model="voucherCode" placeholder="请输入劵码" class="verify-input" maxlength="30" clearable />
       <el-button type="primary" class="verify-btn" @click="handleVerify"> 验 券 </el-button>
-    </div>
+    </div> -->
 
-    <div class="stats">
+    <!-- <div class="stats">
       <div class="wallet">
         <div class="stat-card">
           <div class="stat-title">店铺钱包(元)</div>
@@ -41,7 +41,7 @@
         </div>
         <el-image :src="homeIncome" class="walletImg" />
       </div>
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -72,32 +72,33 @@ const walletAmount = ref(0);
 const todayOrders = ref(0);
 const todayRevenue = ref(0);
 onMounted(() => {
+  storeName.value = localGet("storeName") || "店铺名称";
   getOrder();
   getInCome();
-  getMyMoney();
-  getStoreDetail();
+  // getMyMoney();
+  // getStoreDetail();
 });
 
-const getStoreDetail = async () => {
-  let param = {
-    id: userInfo.storeId
-  };
-  const res: any = await getDetail(param as any);
-  if (res.code == 200) {
-    console.log(1);
-    storeName.value = res.data.storeName;
-  }
-};
+// const getStoreDetail = async () => {
+//   let param = {
+//     id: userInfo.storeId
+//   };
+//   const res: any = await getDetail(param as any);
+//   if (res.code == 200) {
+//     console.log(res.data)
+//     storeName.value = res.data.storeName;
+//   }
+// };
 //可提现金额
-const getMyMoney = async () => {
-  let param = {
-    storeId: userInfo.storeId
-  };
-  const res: any = await getAccountBalance(param as any);
-  if (res.code == 200) {
-    walletAmount.value = res.data.cashOutMoney; //cashOutMoney  可提现金额减未审核通过的金额
-  }
-};
+// const getMyMoney = async () => {
+//   let param = {
+//     storeId: userInfo.storeId
+//   };
+//   const res: any = await getAccountBalance(param as any);
+//   if (res.code == 200) {
+//     walletAmount.value = res.data.cashOutMoney; //cashOutMoney  可提现金额减未审核通过的金额
+//   }
+// };
 // const getMyMoney = async () => {
 //   const res: any = await getMerchantByPhone({ phone: userInfo.phone });
 //   if (res.code == 200) {