diff --git a/src/App.vue b/src/App.vue index 37e4c4697..5fe6d98af 100644 --- a/src/App.vue +++ b/src/App.vue @@ -47,7 +47,7 @@ export default { created() { const project = getSessionStorage('project'); if (project) { - document.querySelector("link[rel*='icon']").href = ProjectIcon[this.project]; + document.querySelector("link[rel*='icon']").href = loginInfo[project].linkIcon || ProjectIcon[project]; } }, mounted() { diff --git a/src/api/script.js b/src/api/script.js index 0d66e269c..51f3414b0 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -110,3 +110,12 @@ export function getScriptByIdBasic(id) { method: 'get' }); } + +/** 切换剧本的仿真成员 */ +export function changeScriptRole(group, memberId) { + return request({ + url: `/api/scriptSimulation/${group}/${memberId}/switch`, + method: 'put' + }); +} + diff --git a/src/assets/icon/bottom_jyd.png b/src/assets/icon/bottom_jyd.png new file mode 100644 index 000000000..57932c78a Binary files /dev/null and b/src/assets/icon/bottom_jyd.png differ diff --git a/src/assets/icon/favicon_jyd.png b/src/assets/icon/favicon_jyd.png new file mode 100644 index 000000000..a468108d6 Binary files /dev/null and b/src/assets/icon/favicon_jyd.png differ diff --git a/src/assets/icon/link_jyd.png b/src/assets/icon/link_jyd.png new file mode 100644 index 000000000..3d56e6019 Binary files /dev/null and b/src/assets/icon/link_jyd.png differ diff --git a/src/assets/iscs_icon/acs_door.png b/src/assets/iscs_icon/acs_door.png new file mode 100644 index 000000000..545c6624a Binary files /dev/null and b/src/assets/iscs_icon/acs_door.png differ diff --git a/src/assets/iscs_icon/afc_AVM.png b/src/assets/iscs_icon/afc_AVM.png new file mode 100644 index 000000000..30a205f88 Binary files /dev/null and b/src/assets/iscs_icon/afc_AVM.png differ diff --git a/src/assets/iscs_icon/afc_BOM.png b/src/assets/iscs_icon/afc_BOM.png new file mode 100644 index 000000000..ef7a1a064 Binary files /dev/null and b/src/assets/iscs_icon/afc_BOM.png differ diff --git a/src/assets/iscs_icon/afc_door.png b/src/assets/iscs_icon/afc_door.png new file mode 100644 index 000000000..60f7828bf Binary files /dev/null and b/src/assets/iscs_icon/afc_door.png differ diff --git a/src/assets/iscs_icon/net_computer.png b/src/assets/iscs_icon/net_computer.png new file mode 100644 index 000000000..cf4dac15a Binary files /dev/null and b/src/assets/iscs_icon/net_computer.png differ diff --git a/src/assets/iscs_icon/net_front-end.png b/src/assets/iscs_icon/net_front-end.png new file mode 100644 index 000000000..8404e122b Binary files /dev/null and b/src/assets/iscs_icon/net_front-end.png differ diff --git a/src/assets/iscs_icon/net_interchanger.png b/src/assets/iscs_icon/net_interchanger.png new file mode 100644 index 000000000..1b89ad140 Binary files /dev/null and b/src/assets/iscs_icon/net_interchanger.png differ diff --git a/src/assets/iscs_icon/net_server.png b/src/assets/iscs_icon/net_server.png new file mode 100644 index 000000000..39c99b201 Binary files /dev/null and b/src/assets/iscs_icon/net_server.png differ diff --git a/src/assets/iscs_icon/psd_close_door.png b/src/assets/iscs_icon/psd_close_door.png new file mode 100644 index 000000000..a96f98658 Binary files /dev/null and b/src/assets/iscs_icon/psd_close_door.png differ diff --git a/src/assets/iscs_icon/psd_door.png b/src/assets/iscs_icon/psd_door.png new file mode 100644 index 000000000..619cadc00 Binary files /dev/null and b/src/assets/iscs_icon/psd_door.png differ diff --git a/src/assets/iscs_icon/psd_none_door.png b/src/assets/iscs_icon/psd_none_door.png new file mode 100644 index 000000000..f5862dcc9 Binary files /dev/null and b/src/assets/iscs_icon/psd_none_door.png differ diff --git a/src/assets/iscs_icon/psd_open_door.png b/src/assets/iscs_icon/psd_open_door.png new file mode 100644 index 000000000..4424ef412 Binary files /dev/null and b/src/assets/iscs_icon/psd_open_door.png differ diff --git a/src/components/PopMenu/item.vue b/src/components/PopMenu/item.vue index ab24713ae..7e1acef42 100644 --- a/src/components/PopMenu/item.vue +++ b/src/components/PopMenu/item.vue @@ -9,7 +9,7 @@