mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:合并
This commit is contained in:
@@ -53,16 +53,17 @@ export default createStore({
|
|||||||
},
|
},
|
||||||
//获取组织树
|
//获取组织树
|
||||||
getOrgtreeList(state, data) {
|
getOrgtreeList(state, data) {
|
||||||
state.orgtreeList = data
|
state.orgtreeList = data;
|
||||||
},
|
},
|
||||||
SET_DICT(state, { key, data }) {
|
SET_DICT(state, { key, data }) {
|
||||||
state[key] = data
|
state[key] = data;
|
||||||
},
|
},
|
||||||
SET_MEMBER_INFO(state, data) {
|
SET_MEMBER_INFO(state, data) {
|
||||||
state.memberInitInfo = data
|
state.memberInitInfo = data;
|
||||||
},
|
},
|
||||||
SET_USER(state, userInfo) {
|
SET_USER(state, userInfo) {
|
||||||
state.userInfo = userInfo
|
userInfo.avatar = userInfo.avatar?.includes(process.env.VUE_APP_FILE_PATH) ? userInfo.avatar : (process.env.VUE_APP_FILE_PATH + userInfo.avatar);
|
||||||
|
state.userInfo = userInfo;
|
||||||
},
|
},
|
||||||
SET_projectTemplateId(state, projectTemplateId) {
|
SET_projectTemplateId(state, projectTemplateId) {
|
||||||
state.projectTemplateId = projectTemplateId;
|
state.projectTemplateId = projectTemplateId;
|
||||||
@@ -71,7 +72,6 @@ export default createStore({
|
|||||||
state.menus = permissions;
|
state.menus = permissions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
actions: {},
|
actions: {},
|
||||||
modules: {},
|
modules: {},
|
||||||
|
|||||||
@@ -13,16 +13,13 @@
|
|||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
:src="iframeUrl + '/course/manages'"
|
:src="iframeUrl + '/course/manages?page=manage'"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
<OnlineClassModelStudent ref="stuRef"></OnlineClassModelStudent>
|
<OnlineClassModelStudent ref="stuRef"></OnlineClassModelStudent>
|
||||||
<div @click="test">
|
|
||||||
测试
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
@@ -35,10 +32,6 @@ const stuRef = ref()
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
window.openSelectStu = stuRef.value.openDrawer
|
window.openSelectStu = stuRef.value.openDrawer
|
||||||
})
|
})
|
||||||
|
|
||||||
function test() {
|
|
||||||
window.openSelectStu()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.courseManage {
|
.courseManage {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
:src="`${BOE_URL}/iframe/ugroup/manages`"
|
:src="`${BOE_URL}/pc/iframe/ugroup/manages`"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||||
|
|||||||
Reference in New Issue
Block a user