加了注释,更爱了iframe地址

Lvtianfang
李劲龙 2 years ago
parent 64eda390c6
commit 11ca7dc86a

@ -24,7 +24,15 @@ export default {
}; };
}, },
mounted() { mounted() {
/*
sudo mv ggfw-dangan.zip /usr/share/nginx/html/ggfw-dangan MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下
cd /usr/share/nginx/html/ggfw-dangan 移动到文件夹下
unzip ggfw-dangan.zip -d . 解压
rm ./html.zip 删除当前目录下的压缩包 弹出确定删除 y 并回车
*/
}, },
}; };
</script> </script>

@ -3,7 +3,7 @@ import request from "@/utils/request";
//获取用户信息 //获取用户信息
export function getselfInfo() { export function getselfInfo() {
return request({ return request({
// baseURL: location.origin, baseURL: location.origin,
url: "/api/admin/user/getSelfInfo", url: "/api/admin/user/getSelfInfo",
method: "GET", method: "GET",
}); });

@ -3,7 +3,7 @@
<!-- <span>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span> --> <!-- <span>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span> -->
<!-- <iframe src="https://dev-mssm-liaoning.imian.org.cn/ggfw/#/firmContent/drugInfo" frameborder="0" style="width: 100%;height: 100%;"></iframe> --> <!-- <iframe src="https://dev-mssm-liaoning.imian.org.cn/ggfw/#/firmContent/drugInfo" frameborder="0" style="width: 100%;height: 100%;"></iframe> -->
<iframe <iframe
:src="url" :src="Url"
frameborder="0" frameborder="0"
style="width: 100%; height: 100%" style="width: 100%; height: 100%"
ref="iframes" ref="iframes"
@ -17,12 +17,11 @@ export default {
iframViewStyle: { iframViewStyle: {
height: "", height: "",
}, },
url: `https://dev-mssm-liaoning.imian.org.cn/ggfw-iframe/#/productinformation?type=${ Url: `${location.origin}/ggfw-iframe/#/productinformation?type=${
this.$route.query.type this.$route.query.type
}&flag=${this.$route.query.flag}&data=${ }&flag=${this.$route.query.flag}&data=${
this.$route.query.data this.$route.query.data
}&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}`, }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}`,
// url: `https://dev-mssm-liaoning.imian.org.cn/ggfw-iframe/#/productinformation`
// url: `http://localhost:81?type=${this.$route.query.type}&flag=${ // url: `http://localhost:81?type=${this.$route.query.type}&flag=${
// this.$route.query.flagyppzwh // this.$route.query.flagyppzwh
// }&data=${this.$route.query.data}&token=${localStorage.getItem( // }&data=${this.$route.query.data}&token=${localStorage.getItem(

Loading…
Cancel
Save