提交 ae4a336e authored 作者: thy's avatar thy

浏览器选项

上级 dfb6d7f0
...@@ -364,8 +364,8 @@ systemStructure.cdn.memory != '' " ...@@ -364,8 +364,8 @@ systemStructure.cdn.memory != '' "
</li> </li>
<li :class="{'box-nav-title':true,'active':isOpen5}" @click="open5"> <li :class="{'box-nav-title':true,'active':isOpen5}" @click="open5">
迁移策略 迁移策略
<img v-show="rto == -1 && rpo == -1" src="./img/noform.png" alt /> <img v-show="rto == '' && rpo == ''" src="./img/noform.png" alt />
<img v-show="rto != -1 || rpo != -1" src="./img/doform.png" alt /> <img v-show="rto != '' || rpo != ''" src="./img/doform.png" alt />
</li> </li>
<li :class="{'box-nav-title':true,'active':isOpen6}" @click="open6"> <li :class="{'box-nav-title':true,'active':isOpen6}" @click="open6">
额外申请 额外申请
...@@ -2955,7 +2955,6 @@ export default { ...@@ -2955,7 +2955,6 @@ export default {
{ code: 4, des: "", name: "ASP", version: "" }, { code: 4, des: "", name: "ASP", version: "" },
{ code: 5, des: "", name: "HTML", version: "" }, { code: 5, des: "", name: "HTML", version: "" },
{ code: 6, des: "", name: "JQuery框架", version: "" }, { code: 6, des: "", name: "JQuery框架", version: "" },
{ code: 7, des: "", name: "Spring框架", version: "" },
{ code: 8, des: "", name: "Angular框架", version: "" }, { code: 8, des: "", name: "Angular框架", version: "" },
{ code: 9, des: "", name: "VUE框架", version: "" }, { code: 9, des: "", name: "VUE框架", version: "" },
{ code: 10, des: "", name: "React框架", version: "" }, { code: 10, des: "", name: "React框架", version: "" },
...@@ -3246,8 +3245,8 @@ export default { ...@@ -3246,8 +3245,8 @@ export default {
performance: "", performance: "",
otherContent: "" otherContent: ""
}, },
rpo: -1, //迁移策略 rpo: '', //迁移策略
rto: -1, //迁移策略 rto: '', //迁移策略
apply: { apply: {
reason: "", reason: "",
cost: "" cost: ""
...@@ -3431,8 +3430,8 @@ export default { ...@@ -3431,8 +3430,8 @@ export default {
this.database.safe != "" || this.database.safe != "" ||
this.database.performance != "" || this.database.performance != "" ||
this.database.otherContent != "" || this.database.otherContent != "" ||
this.rto != -1 || this.rto != '' ||
this.rpo != -1 || this.rpo != '' ||
this.apply.reason != "" || this.apply.reason != "" ||
this.apply.cost != "" || this.apply.cost != "" ||
this.browser.browserPlugs.length > 1 || this.browser.browserPlugs.length > 1 ||
...@@ -3773,16 +3772,20 @@ export default { ...@@ -3773,16 +3772,20 @@ export default {
else { else {
if(res.data.browser[key][i].code < 7){ if(res.data.browser[key][i].code < 7){
res.data.browser[key][i].des = 'wu' res.data.browser[key][i].des = 'wu'
arr.push(res.data.browser[key][i].code);
arr2.push(res.data.browser[key][i]);
}else{
//thyking res.data.browser[key][i].des = "nmsl";
arr.push(res.data.browser[key][i].code);
arr2.push(res.data.browser[key][i]);
this.cities.map(item => {
if (item.code == res.data.browser[key][i].code) {
item.des = res.data.browser[key][i].des
}
return item;
});
} }
//thyking res.data.browser[key][i].des = "nmsl";
arr.push(res.data.browser[key][i].code);
arr2.push(res.data.browser[key][i]);
this.cities.map(item => {
if (item.code == res.data.browser[key][i].code) {
item.des = res.data.browser[key][i].des
}
return item;
});
} }
} }
setTimeout(() => { setTimeout(() => {
...@@ -4284,8 +4287,15 @@ export default { ...@@ -4284,8 +4287,15 @@ export default {
// if (res.data.rto != -1) { // if (res.data.rto != -1) {
// this.rto = res.data.rto; // this.rto = res.data.rto;
// } // }
this.rpo = res.data.rpo if(res.data.rpo == -1){
this.rto = res.data.rto this.rpo = ''
}
if(res.data.rto == -1){
this.rto = ''
}
// this.rpo = res.data.rpo
// this.rto = res.data.rto
Object.keys(this.form).forEach(key => { Object.keys(this.form).forEach(key => {
if (res.data[key] != -1) { if (res.data[key] != -1) {
this.form[key] = res.data[key]; this.form[key] = res.data[key];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论