Commit d8920e5d authored by “yiyousong”'s avatar “yiyousong”

perf: 优化部门管理

parent 5ccf12d5
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
}, },
action: { action: {
type: String, type: String,
default: "/api/base/file/commonupload", default: "/base/file/commonupload",
}, },
}, },
......
...@@ -296,6 +296,8 @@ export default { ...@@ -296,6 +296,8 @@ export default {
// 站点事项搜索 // 站点事项搜索
onSearchMatter() { onSearchMatter() {
this.siteMatterTable.page = 1; this.siteMatterTable.page = 1;
this.matterKeys = [];
this.matterRows = [];
this.getSiteMatterData(); this.getSiteMatterData();
}, },
// 获取窗口事项列表 // 获取窗口事项列表
...@@ -408,7 +410,7 @@ export default { ...@@ -408,7 +410,7 @@ export default {
let { code, msg } = res.data; let { code, msg } = res.data;
if (code === 1) { if (code === 1) {
_this.$message.success(msg); _this.$message.success(msg);
this.allDel = []; this.allDel = "";
_this.getWindowmatterData(); _this.getWindowmatterData();
} }
}, },
......
...@@ -31,8 +31,8 @@ const assetsCDN = { ...@@ -31,8 +31,8 @@ const assetsCDN = {
], ],
}; };
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer") const BundleAnalyzerPlugin =
.BundleAnalyzerPlugin; require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
module.exports = { module.exports = {
publicPath: "./", publicPath: "./",
outputDir: "dist", outputDir: "dist",
...@@ -49,6 +49,10 @@ module.exports = { ...@@ -49,6 +49,10 @@ module.exports = {
}, },
// cookieDomainRewrite: 'localhost', // cookieDomainRewrite: 'localhost',
}, },
"/base": {
target: process.env.VUE_APP_API_BASE_URL,
changeOrigin: true,
},
"/file": { "/file": {
//此处要与 /services/api.js 中的 API_PROXY_PREFIX 值保持一致 //此处要与 /services/api.js 中的 API_PROXY_PREFIX 值保持一致
target: process.env.VUE_APP_API_BASE_URL, target: process.env.VUE_APP_API_BASE_URL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment