1
zzzz
2024-04-10 30b66d0839bf1768738ae82e81aac7023554901b
1
9 files modified
38 ■■■■■ changed files
src/locales/en.js 3 ●●●● patch | view | raw | blame | history
src/locales/hanyu.js 2 ●●● patch | view | raw | blame | history
src/locales/india.js 1 ●●●● patch | view | raw | blame | history
src/locales/riyu.js 2 ●●● patch | view | raw | blame | history
src/locales/taiyu.js 2 ●●● patch | view | raw | blame | history
src/locales/tw.js 4 ●●● patch | view | raw | blame | history
src/locales/zh.js 2 ●●● patch | view | raw | blame | history
src/page/trading/buy.vue 12 ●●●● patch | view | raw | blame | history
src/page/user/Warehouse.vue 10 ●●●●● patch | view | raw | blame | history
src/locales/en.js
@@ -265,7 +265,6 @@
    "You have not verified KYC yet, please verify KYC before placing an order",
  hj139: "Are you sure you want to close the position",
  hj140: "Failed to close the position, not within the trading hours",
  hj141: "Profit and loss",
  hj142: "Switch index account",
  hj143: "Switch Shanghai and Shenzhen accounts",
  hj144: "Change password",
@@ -701,7 +700,7 @@
    "You have not authenticated your real name yet. Please authenticate your real name first before placing an order.",
  hj139: "Are you sure you want to close your position?",
  hj140: "Failed to close position, not within trading hours",
  hj141: "profit and loss",
  hj141: "Profit and loss ratio",
  hj142: "Switch index account",
  hj143: "Switch between Shanghai and Shenzhen accounts",
  hj144: "change Password",
src/locales/hanyu.js
@@ -264,7 +264,7 @@
    "아직 실명인증이 완료되지 않았습니다. 주문 전 실명 인증을 먼저 해주시기 바랍니다",
  hj139: "정말로 포지션을 종료하시겠습니까?",
  hj140: "거래 시간 내에 포지션을 청산하지 못했습니다",
  hj141: "이익과 손실",
  hj141: "손익률",
  hj142: "인덱스 계정 전환",
  hj143: "상하이 계정과 선전 계정 간 전환",
  hj144: "비밀번호 변경",
src/locales/india.js
@@ -692,7 +692,6 @@
    "आपने अभी तक अपना वास्तविक नाम प्रमाणित नहीं किया है। ऑर्डर देने से पहले कृपया अपना वास्तविक नाम प्रमाणित करें।",
  hj139: "क्या आप वाकई अपनी स्थिति बंद करना चाहते हैं?",
  hj140: "ट्रेडिंग घंटों के भीतर स्थिति बंद करने में विफल",
  hj141: "लाभ और हानि",
  hj142: "सूचकांक खाता स्विच करें",
  hj143: "शंघाई और शेन्ज़ेन खातों के बीच स्विच करें",
  hj144: "पासवर्ड बदलें",
src/locales/riyu.js
@@ -264,7 +264,7 @@
    "  まだ本名認証がされていませんので、ご注文前に必ず本名認証を行ってください。",
  hj139: "  ポジションを閉じてもよろしいですか?",
  hj140: "  取引時間内ではなく、ポジションを決済できませんでした。",
  hj141: "  利益と損失",
  hj141: "損益率",
  hj142: "  インデックスアカウントを切り替え",
  hj143: "  上海と深センのアカウントを切り替えます。",
  hj144: "  パスワードを変更する",
src/locales/taiyu.js
@@ -264,7 +264,7 @@
    "คุณยังไม่ได้ยืนยันชื่อจริงของคุณ โปรดตรวจสอบชื่อจริงของคุณก่อนทำการสั่งซื้อ",
  hj139: "คุณแน่ใจหรือไม่ว่าต้องการปิดตำแหน่งของคุณ?",
  hj140: "ไม่สามารถปิดตำแหน่งได้ ไม่ใช่ภายในชั่วโมงการซื้อขาย",
  hj141: "กำไรและขาดทุน",
  hj141: "อัตรากำไรและขาดทุน",
  hj142: "สลับบัญชีดัชนี",
  hj143: "สลับระหว่างบัญชีเซี่ยงไฮ้และเซินเจิ้น",
  hj144: "เปลี่ยนรหัสผ่าน",
src/locales/tw.js
@@ -404,8 +404,7 @@
  hj140: "平倉失敗,不在交易時段內",
  hj141: "盈虧",
  hj141: "盈虧率",
  hj142: "切換指數帳戶",
  hj143: "切換滬深帳戶",
@@ -934,7 +933,6 @@
  hj138: "您還未實名認證,請先實名認證了再下單",
  hj139: "您確定要平倉嗎",
  hj140: "平倉失敗,不在交易時段",
  hj141: "盈虧",
  hj142: "切換指數帳戶",
  hj143: "切換滬深帳戶",
  hj144: "修改密碼",
src/locales/zh.js
@@ -262,7 +262,7 @@
  hj138: "您还未实名认证,请先实名认证了再下单",
  hj139: "您确定要平仓吗",
  hj140: "平仓失败,不在交易时段内",
  hj141: "盈亏",
  hj141: "盈亏率",
  hj142: "切换指数账户",
  hj143: "切换沪深账户",
  hj144: "修改密码",
src/page/trading/buy.vue
@@ -465,7 +465,7 @@
          elAlertType: "success",
        });
        this.getUserInfo();
        this.$router.push("/warehouse?index=1");
        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
      } else {
        this.$store.commit("elAlertShow", {
          elAlertShow: true,
@@ -543,13 +543,7 @@
        } else {
          buyType = 0;
        }
        if (this.bayType == "US") {
          this.$router.push("/warehouse?index=1&buyType=" + buyType);
        } else if (this.bayType == "MAS") {
          this.$router.push("/warehouse?index=0&buyType=" + buyType);
        } else {
          this.$router.push("/warehouse");
        }
        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
      } else {
        if (data.msg.indexOf("不在交易时段内") > -1) {
          this.$store.commit("elAlertShow", {
@@ -576,7 +570,7 @@
          elAlertType: "success",
        });
        this.getUserInfo();
        this.$router.push("/warehouse?index=0");
        this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
      } else {
        this.$store.commit("elAlertShow", {
          elAlertShow: true,
src/page/user/Warehouse.vue
@@ -94,13 +94,11 @@
    this.getMoneys();
  },
  mounted() {
    if (this.$route.query.index == "0") {
      let arr = this.tabsArr.filter((item) => item.name == 4)[0];
    if (this.$route.query.buyType) {
      let arr = this.tabsArr.filter(
        (item) => item.laber == this.$route.query.buyType
      )[0];
      this.onClick(arr);
    } else if (this.$route.query.index == "1") {
      let arr = this.tabsArr.filter((item) => item.name == 2)[0];
      this.onClick(arr);
    } else {
    }
  },
  methods: {