master
lion 2 years ago
parent 058bc1b16d
commit 0abbcc676e

@ -2,14 +2,14 @@
<div class="container"> <div class="container">
<!-- 查询配置 --> <!-- 查询配置 -->
<div style="padding: 0px 20px"> <div style="padding: 0px 20px">
<iframe v-if="showiframe" ref="iframe" :src="url" width="100%" :height="myHeight+'px'" frameborder="0"></iframe> <!-- <iframe v-if="showiframe" ref="iframe" :src="url" width="100%" :height="myHeight+'px'" frameborder="0"></iframe> -->
<!-- <div ref="lxHeader"> <div ref="lxHeader">
<LxHeader icon="md-apps" text="法律法规" style="margin-bottom: 10px; border: 0px;"> <LxHeader icon="md-apps" text="法律法规" style="margin-bottom: 10px; border: 0px;">
<div slot="content"></div> <div slot="content"></div>
</LxHeader> </LxHeader>
</div> --> </div>
@ -47,7 +47,8 @@
let res = await getOatoken() let res = await getOatoken()
this.url = this.url =
`${process.env.VUE_APP_OUT_URL}/oa/admin/regulation/show?category_id=38&oatoken=${res.oatoken}` `${process.env.VUE_APP_OUT_URL}/oa/admin/regulation/show?category_id=38&oatoken=${res.oatoken}`
this.showiframe = true this.showiframe = true
let oaurl = window.open(this.url,'oaurl')
}, },
} }
}; };

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin_test', outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin',
assetsDir: 'static', assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development', lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,

Loading…
Cancel
Save