mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
feat:合并
This commit is contained in:
@@ -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: {},
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user