feat:合并

This commit is contained in:
lixg
2023-02-28 17:03:45 +08:00
4 changed files with 66 additions and 73 deletions

View File

@@ -53,16 +53,17 @@ export default createStore({
},
//获取组织树
getOrgtreeList(state, data) {
state.orgtreeList = data
state.orgtreeList = data;
},
SET_DICT(state, { key, data }) {
state[key] = data
state[key] = data;
},
SET_MEMBER_INFO(state, data) {
state.memberInitInfo = data
state.memberInitInfo = data;
},
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) {
state.projectTemplateId = projectTemplateId;
@@ -71,7 +72,6 @@ export default createStore({
state.menus = permissions;
}
},
actions: {},
modules: {},

View File

@@ -13,16 +13,13 @@
<iframe
id="iframe"
style="width: 100%; height: 100%"
:src="iframeUrl + '/course/manages'"
:src="iframeUrl + '/course/manages?page=manage'"
frameborder="0"
name="myframe"
security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
></iframe>
<OnlineClassModelStudent ref="stuRef"></OnlineClassModelStudent>
<div @click="test">
测试
</div>
</div>
</template>
<script setup>
@@ -35,10 +32,6 @@ const stuRef = ref()
onMounted(() => {
window.openSelectStu = stuRef.value.openDrawer
})
function test() {
window.openSelectStu()
}
</script>
<style lang="scss">
.courseManage {

View File

@@ -3,7 +3,7 @@
<iframe
id="iframe"
style="width: 100%; height: 100%"
:src="`${BOE_URL}/iframe/ugroup/manages`"
:src="`${BOE_URL}/pc/iframe/ugroup/manages`"
name="myframe"
security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"