Commit 3a6dd32d by bingobo

修改【跳转微应用】

1 parent ebda329f
The file could not be displayed because it is too large.
...@@ -434,9 +434,9 @@ ...@@ -434,9 +434,9 @@
</div> </div>
</div> </div>
<p class="midBtn"> <p class="midBtn">
<span @click="goToMicroServe">跳转微应用</span>
<span @click="cancelSS()">取消</span><span @click="saveSS()">保存</span <span @click="cancelSS()">取消</span><span @click="saveSS()">保存</span
><span @click="saveSubmit()">提交</span> ><span @click="saveSubmit()">提交</span>
<span @click="goToMicroServe">跳转微应用</span>
</p> </p>
</el-dialog> </el-dialog>
</div> </div>
...@@ -1402,6 +1402,7 @@ h3 { ...@@ -1402,6 +1402,7 @@ h3 {
margin: 20px auto; margin: 20px auto;
// margin-top: 20px; // margin-top: 20px;
span { span {
cursor: pointer;
display: inline-block; display: inline-block;
width: 80px; width: 80px;
height: 29px; height: 29px;
......
...@@ -381,8 +381,10 @@ ...@@ -381,8 +381,10 @@
</div> </div>
</div> </div>
<p class="midBtn"> <p class="midBtn">
<span @click="cancelSS()">取消</span>
<span @click="saveSS()">保存</span>
<span @click="saveSubmit()">提交</span>
<span @click="goToMicroServe">跳转微应用</span> <span @click="goToMicroServe">跳转微应用</span>
<span @click="cancelSS()">取消</span><span @click="saveSS()">保存</span><span @click="saveSubmit()">提交</span>
</p> </p>
</el-dialog> </el-dialog>
</div> </div>
...@@ -1905,6 +1907,7 @@ h3 { ...@@ -1905,6 +1907,7 @@ h3 {
// margin-top: 20px; // margin-top: 20px;
span { span {
cursor: pointer;
display: inline-block; display: inline-block;
width: 80px; width: 80px;
height: 29px; height: 29px;
......
...@@ -97,6 +97,7 @@ export default { ...@@ -97,6 +97,7 @@ export default {
children: [ children: [
{ {
name: "张宇", name: "张宇",
loginName: "zhangyu",
code: "zhangyu", code: "zhangyu",
children: [], children: [],
}, },
...@@ -108,12 +109,14 @@ export default { ...@@ -108,12 +109,14 @@ export default {
children: [ children: [
{ {
name: "李一鸣", name: "李一鸣",
loginName: "liyiming",
code: "liyiming", code: "liyiming",
children: [], children: [],
}, },
{ {
name: "王美玲", name: "王美玲",
loginName: "wangmeiling",
code: "wangmeiling", code: "wangmeiling",
children: [], children: [],
...@@ -126,20 +129,20 @@ export default { ...@@ -126,20 +129,20 @@ export default {
children: [ children: [
{ {
name: "孟德建", name: "孟德建",
loginName: "mengdejian",
code: "mengdejian", code: "mengdejian",
children: [], children: [],
}, },
{ {
name: "李文博", name: "李文博",
loginName: "liwenbo",
code: "liwenbo", code: "liwenbo",
children: [], children: [],
}, },
{ {
name: "章轲", name: "章轲",
loginName: "zhangke",
code: "zhangke", code: "zhangke",
children: [], children: [],
}, },
], ],
...@@ -151,6 +154,8 @@ export default { ...@@ -151,6 +154,8 @@ export default {
children: [ children: [
{ {
name: "魏征", name: "魏征",
loginName: 'weizheng',
id: 'wqwdasdasdasd',
code: "weizheng", code: "weizheng",
children: [], children: [],
}, },
...@@ -273,7 +278,7 @@ export default { ...@@ -273,7 +278,7 @@ export default {
// val.erji = "二级"; // val.erji = "二级";
// } // }
// }) // })
this.menuList = restRoutes // this.menuList = restRoutes
// console.log(2222, souYeRoute, restRoutes); // console.log(2222, souYeRoute, restRoutes);
this.wholeRoutes = {souYeRoute, restRoutes} this.wholeRoutes = {souYeRoute, restRoutes}
} }
...@@ -785,7 +790,7 @@ export default { ...@@ -785,7 +790,7 @@ export default {
const resRoutes = routes[0].children; const resRoutes = routes[0].children;
const souYeRoute = resRoutes.filter((item) => item.name === "首页"); const souYeRoute = resRoutes.filter((item) => item.name === "首页");
const restRoutes = resRoutes.filter((item) => item.name !== "首页"); const restRoutes = resRoutes.filter((item) => item.name !== "首页");
this.menuList = restRoutes // this.menuList = restRoutes
// console.log(2222, souYeRoute, restRoutes); // console.log(2222, souYeRoute, restRoutes);
this.wholeRoutes = {souYeRoute, restRoutes} this.wholeRoutes = {souYeRoute, restRoutes}
} }
...@@ -820,6 +825,7 @@ export default { ...@@ -820,6 +825,7 @@ export default {
}, },
clicksub(a, b) { clicksub(a, b) {
// console.log("选怎", a, b); // console.log("选怎", a, b);
// sessionStorage.setItem("userloginname", b.loginName);
// sessionStorage.setItem("author", b.code); // sessionStorage.setItem("author", b.code);
// sessionStorage.setItem("authorName", a.id); // sessionStorage.setItem("authorName", a.id);
// sessionStorage.setItem("authorCName", b.name); // sessionStorage.setItem("authorCName", b.name);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!