|
@@ -2,11 +2,7 @@
|
|
<div class="body">
|
|
<div class="body">
|
|
<div class="container">
|
|
<div class="container">
|
|
<div class="leftBar" style="height: 100%">
|
|
<div class="leftBar" style="height: 100%">
|
|
- <sidebarL
|
|
|
|
- @getPer="getPer"
|
|
|
|
- @AddAppJson="AddAppJson"
|
|
|
|
- ref="sidebarLRef"
|
|
|
|
- ></sidebarL>
|
|
|
|
|
|
+ <sidebarL @getPer="getPer" @AddAppJson="AddAppJson" ref="sidebarLRef"></sidebarL>
|
|
</div>
|
|
</div>
|
|
<div class="table-container">
|
|
<div class="table-container">
|
|
<div class="top">
|
|
<div class="top">
|
|
@@ -19,22 +15,16 @@
|
|
</div>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person">
|
|
<div class="person_name">
|
|
<div class="person_name">
|
|
- <img
|
|
|
|
- @click="openData()"
|
|
|
|
- style="
|
|
|
|
|
|
+ <img @click="openData()" style="
|
|
width: 40px;
|
|
width: 40px;
|
|
height: 40px;
|
|
height: 40px;
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- "
|
|
|
|
- :src="
|
|
|
|
- roleUser.headportrait
|
|
|
|
|
|
+ " :src="roleUser.headportrait
|
|
? roleUser.headportrait
|
|
? roleUser.headportrait
|
|
: require('../assets/img/toux2.png')
|
|
: require('../assets/img/toux2.png')
|
|
- "
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ " alt="" />
|
|
<div class="personInfo">
|
|
<div class="personInfo">
|
|
<div class="personInfoTit">
|
|
<div class="personInfoTit">
|
|
{{ roleUser.username }}
|
|
{{ roleUser.username }}
|
|
@@ -44,41 +34,26 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- @click="handleLogout"
|
|
|
|
- style="margin-left: 20px"
|
|
|
|
- >退出</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button type="text" @click="handleLogout" style="margin-left: 20px">退出</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- 首页 -->
|
|
<!-- 首页 -->
|
|
- <homepageL
|
|
|
|
- @AddAppJson="AddAppJson"
|
|
|
|
- v-show="!appSign"
|
|
|
|
- ref="homepageLRef"
|
|
|
|
- ></homepageL>
|
|
|
|
|
|
+ <homepageL @AddAppJson="AddAppJson" v-show="!appSign" ref="homepageLRef"></homepageL>
|
|
|
|
|
|
<!-- 循环数组展示iframe -->
|
|
<!-- 循环数组展示iframe -->
|
|
<div v-for="(item, index) in AppJSon" :key="index">
|
|
<div v-for="(item, index) in AppJSon" :key="index">
|
|
<!-- {{ item }} -->
|
|
<!-- {{ item }} -->
|
|
<div style="height: calc(100vh - 60px)" v-show="item.stateL">
|
|
<div style="height: calc(100vh - 60px)" v-show="item.stateL">
|
|
- <iframe
|
|
|
|
- allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
|
- frameborder="no"
|
|
|
|
- style="border: 0; width: 100%; height: calc(100vh - 60px)"
|
|
|
|
- :src="item.json"
|
|
|
|
- :ref="item.toolId"
|
|
|
|
- >
|
|
|
|
|
|
+ <iframe allow="camera *; microphone *;display-capture;midi;encrypted-media;" frameborder="no"
|
|
|
|
+ style="border: 0; width: 100%; height: calc(100vh - 60px)" :src="item.json"
|
|
|
|
+ :ref="item.toolId">
|
|
</iframe>
|
|
</iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div
|
|
|
|
- v-if="loading"
|
|
|
|
- style="
|
|
|
|
|
|
+ <div v-if="loading" style="
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
@@ -88,16 +63,9 @@
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-items: center;
|
|
- "
|
|
|
|
- >
|
|
|
|
- <div
|
|
|
|
- style="display: flex; flex-direction: column; align-items: center"
|
|
|
|
- >
|
|
|
|
- <img
|
|
|
|
- style="height: 75px; transform: scale(2)"
|
|
|
|
- src="../assets/img/cocoloading.gif"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ ">
|
|
|
|
+ <div style="display: flex; flex-direction: column; align-items: center">
|
|
|
|
+ <img style="height: 75px; transform: scale(2)" src="../assets/img/cocoloading.gif" alt="" />
|
|
<div style="color: #0354d7">拼命加载中...</div>
|
|
<div style="color: #0354d7">拼命加载中...</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -206,9 +174,9 @@ export default {
|
|
});
|
|
});
|
|
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
-
|
|
|
|
- console.log('this.$refs.appRef.contentWindow.document.body;',this.$refs[val.toolId][0].contentWindow.document.body);
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ console.log('this.$refs.appRef.contentWindow.document.body;', this.$refs[val.toolId][0].contentWindow.document.body);
|
|
|
|
+
|
|
if (!this.$refs[val.toolId][0].contentWindow.document.body) {
|
|
if (!this.$refs[val.toolId][0].contentWindow.document.body) {
|
|
this.$refs[val.toolId][0].contentWindow.location.reload();
|
|
this.$refs[val.toolId][0].contentWindow.location.reload();
|
|
}
|
|
}
|
|
@@ -305,6 +273,18 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ if (perData.admin.CampusF.appList) {
|
|
|
|
+ perData.admin.CampusF.appList.forEach((i, index) => {
|
|
|
|
+ let _index = toolList.findIndex((i2) => i.id == i2.id);
|
|
|
|
+ if (_index != -1) {
|
|
|
|
+ let _setData = toolList[_index];
|
|
|
|
+ _setData.setIcon = i.setIcon;
|
|
|
|
+ perData.admin.CampusF.toolList[index] = _setData;
|
|
|
|
+ } else {
|
|
|
|
+ console.log("无应用", i);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
perData.admin.index.list.forEach((i, index) => {
|
|
perData.admin.index.list.forEach((i, index) => {
|
|
let _index = toolList.findIndex((i2) => i == i2.id);
|
|
let _index = toolList.findIndex((i2) => i == i2.id);
|
|
if (_index != -1) {
|
|
if (_index != -1) {
|
|
@@ -365,12 +345,14 @@ export default {
|
|
height: 60px;
|
|
height: 60px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
+
|
|
.topCon {
|
|
.topCon {
|
|
display: flex;
|
|
display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
.body {
|
|
.body {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -378,6 +360,7 @@ export default {
|
|
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
}
|
|
}
|
|
|
|
+
|
|
.title {
|
|
.title {
|
|
font-family: PingFang SC;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
@@ -388,14 +371,17 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
gap: 11px;
|
|
gap: 11px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.person {
|
|
.person {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
.person_name {
|
|
.person_name {
|
|
display: flex;
|
|
display: flex;
|
|
gap: 9px;
|
|
gap: 9px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.personInfo {
|
|
.personInfo {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
@@ -403,6 +389,7 @@ export default {
|
|
padding: 5px 0 2px;
|
|
padding: 5px 0 2px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
+
|
|
.personInfoTit {
|
|
.personInfoTit {
|
|
font-family: PingFang SC;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
@@ -410,6 +397,7 @@ export default {
|
|
line-height: 100%;
|
|
line-height: 100%;
|
|
color: #000000;
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
+
|
|
.personInfoBri {
|
|
.personInfoBri {
|
|
font-family: PingFang SC;
|
|
font-family: PingFang SC;
|
|
font-weight: 300;
|
|
font-weight: 300;
|
|
@@ -417,14 +405,17 @@ export default {
|
|
line-height: 100%;
|
|
line-height: 100%;
|
|
color: #969ba3;
|
|
color: #969ba3;
|
|
}
|
|
}
|
|
|
|
+
|
|
.container {
|
|
.container {
|
|
display: flex;
|
|
display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
}
|
|
}
|
|
-.container >>> .el-loading-mask {
|
|
|
|
|
|
+
|
|
|
|
+.container>>>.el-loading-mask {
|
|
z-index: 0;
|
|
z-index: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
.table-container {
|
|
.table-container {
|
|
/* display: flex;
|
|
/* display: flex;
|
|
flex: 1;
|
|
flex: 1;
|
|
@@ -433,6 +424,7 @@ export default {
|
|
background-color: #f9fafb;
|
|
background-color: #f9fafb;
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
+
|
|
.leftBar {
|
|
.leftBar {
|
|
/* box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px 6px rgb(0 0 0 / 0.1); */
|
|
/* box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px 6px rgb(0 0 0 / 0.1); */
|
|
/* overflow: visible; */
|
|
/* overflow: visible; */
|