商品控制、新增矿机等增删改查 加联调功能都已完成
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
</li>
|
||||
<!-- <li>{{ $t(`home.historicalAnnouncement`) }}</li>
|
||||
<li>{{ $t(`home.commonProblem`) }}</li> -->
|
||||
<li > <span @click="jumpPage3(`/submitWorkOrder`)">{{ $t(`home.submitWorkOrder`) }}</span></li>
|
||||
<li > <span @click="jumpPage4(`/submitWorkOrder`)">{{ $t(`home.submitWorkOrder`) }}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</el-col>
|
||||
@@ -276,44 +276,52 @@ export default {
|
||||
this.$router.push(`/${lang}/rate`);
|
||||
|
||||
},
|
||||
jumpPage3(path){
|
||||
jumpPage3(path){
|
||||
|
||||
|
||||
console.log(path,1366565);
|
||||
console.log(path,1366565);
|
||||
|
||||
|
||||
const lang = this.$i18n.locale;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (path === '/AccessMiningPool') {
|
||||
const coin = this.currencyList.find(item => item.value === this.activeItemCoin.value);
|
||||
if (!coin) return;
|
||||
let jumpName = coin.path.charAt(0).toUpperCase() + coin.path.slice(1) //name跳转 首字母大写
|
||||
console.log(jumpName,1366565,coin);
|
||||
let url = `/${lang}/AccessMiningPool`
|
||||
// 使用 name 进行导航,避免重复的路由参数
|
||||
this.$router.push({
|
||||
name:'AccessMiningPool',
|
||||
params: {
|
||||
coin: this.activeItemCoin.value,
|
||||
imgUrl: this.activeItemCoin.imgUrl
|
||||
},
|
||||
|
||||
replace: false // 保留历史记录,允许回退
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
// 移除开头的斜杠,统一处理路径格式
|
||||
// const cleanPath = path.startsWith('/') ? path.slice(1) : path;
|
||||
let cleanPath = `/${lang}/AccessMiningPool`
|
||||
this.$router.push(cleanPath);
|
||||
}
|
||||
|
||||
|
||||
|
||||
const lang = this.$i18n.locale;
|
||||
},
|
||||
jumpPage4(){
|
||||
const lang = this.$i18n.locale;
|
||||
this.$router.push(`/${lang}/submitWorkOrder`);
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (path === '/AccessMiningPool') {
|
||||
const coin = this.currencyList.find(item => item.value === this.activeItemCoin.value);
|
||||
if (!coin) return;
|
||||
let jumpName = coin.path.charAt(0).toUpperCase() + coin.path.slice(1) //name跳转 首字母大写
|
||||
console.log(jumpName,1366565,coin);
|
||||
let url = `/${lang}/AccessMiningPool`
|
||||
// 使用 name 进行导航,避免重复的路由参数
|
||||
this.$router.push({
|
||||
name:'AccessMiningPool',
|
||||
params: {
|
||||
coin: this.activeItemCoin.value,
|
||||
imgUrl: this.activeItemCoin.imgUrl
|
||||
},
|
||||
|
||||
replace: false // 保留历史记录,允许回退
|
||||
});
|
||||
|
||||
} else {
|
||||
// 移除开头的斜杠,统一处理路径格式
|
||||
// const cleanPath = path.startsWith('/') ? path.slice(1) : path;
|
||||
let cleanPath = `/${lang}/AccessMiningPool`
|
||||
this.$router.push(cleanPath);
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
handleCommand(item) {},
|
||||
handleScroll(event) {
|
||||
if (this.$route.path == "/") {
|
||||
|
||||
@@ -90,7 +90,7 @@ export const AccessMiningPool_zh = {
|
||||
estimatedTimeMona:"≈ 2.5小时",
|
||||
estimatedTimeAlph:"500分钟",
|
||||
estimatedTimeEnx:"",
|
||||
describeNexa:"例如1-1日获得了1000000 NEXA奖励,则该笔奖励会在大约7天之后(1-8日)支付,具体取决于实际区块高度",
|
||||
describeNexa:"例如1月1日获得了1000000 NEXA奖励,则该笔奖励会在大约7天之后(1月8日)支付,具体取决于实际区块高度",
|
||||
describeAlph:"alph是固定成熟时间,而非区块高度",
|
||||
describeGrs:"",
|
||||
describeDgbs:"",
|
||||
@@ -197,7 +197,7 @@ export const AccessMiningPool_en = {
|
||||
estimatedTimeMona:"≈ 2.5 hours",
|
||||
estimatedTimeAlph:" 500 minutes",
|
||||
estimatedTimeEnx:"",
|
||||
describeNexa:"For example, if a 1,000,000 NEXA reward was earned on 1-1, that reward will be paid out approximately 7 days later (1-8), depending on actual block heights",
|
||||
describeNexa:"For example, if you receive a reward of 1000000 NEXA on January 1st, the reward will be paid approximately 7 days later (January 8th), depending on the actual block height",
|
||||
describeAlph:"alph is a fixed maturity time, not a block height",
|
||||
describeGrs:"",
|
||||
describeDgbs:"",
|
||||
|
||||
@@ -356,7 +356,7 @@ export default {
|
||||
stompClient: null,
|
||||
wsConnected: false,
|
||||
userEmail: "", // 当前客服邮箱
|
||||
userType: 1, // 0或者1 游客或者登录用户
|
||||
userType: 2, // 0或者1 游客或者登录用户
|
||||
|
||||
loadingHistory: false, // 是否正在加载历史消息
|
||||
userViewHistory: false, // 用户是否在浏览历史
|
||||
|
||||
Reference in New Issue
Block a user