This commit is contained in:
hezhengao 2024-04-30 10:19:16 +08:00
parent 9a26bd1064
commit 019aeb4ac2
6 changed files with 15 additions and 12 deletions

View File

@ -45,6 +45,7 @@
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
"highlight.js": "9.18.5",
"js-base64": "^3.7.7",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1",

View File

@ -38,6 +38,7 @@ import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
import Print from 'vue-print-nb'
import { Base64 } from 'js-base64'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
@ -48,7 +49,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.$Base64 = Base64;
// 全局组件挂载
Vue.component('DictTag', DictTag)
Vue.component('Pagination', Pagination)

View File

@ -6,7 +6,7 @@ import errorCode from '@/utils/errorCode'
import { tansParams, blobValidate } from "@/utils/ruoyi";
import cache from '@/plugins/cache'
import { saveAs } from 'file-saver'
import { Base64 } from 'js-base64'
let downloadLoadingInstance;
// 是否显示重新登录
export let isRelogin = { show: false };

View File

@ -18,14 +18,14 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<!-- <el-button-->
<!-- type="primary"-->
<!-- plain-->
<!-- icon="el-icon-plus"-->
<!-- size="mini"-->
<!-- @click="handleAdd"-->
<!-- v-hasPermi="['abuwx:information:add']"-->
<!-- >新增</el-button>-->
<!-- <el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['abuwx:information:add']"
>新增</el-button> -->
</el-col>
<el-col :span="1.5">
<el-button

View File

@ -242,6 +242,7 @@ export default {
},
/** 提交按钮 */
submitForm() {
this.form.content=this.$Base64.encode(this.form.content)
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {

View File

@ -36,7 +36,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `https://xiaofangweibao.jsxinyuansu.com`,//lc
target: `http://192.168.3.12:8080`,//lc
target: `http://192.168.3.13:8080`,//lc
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''