@@ -19,7 +19,7 @@ const devPathSrc = path.resolve(__dirname, "../../../src"); // node_modules应
// let devModules = ["index", "statisticalReport", "appoint", "TMS"];
// let devModules = ["index", "statisticalReport", "TMS", "appoint"];
-let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS","inward","RMS"];
+let devModules = ["all"];
// let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS","inward","RMS"];
@@ -65,14 +65,14 @@ let proxyTable = {
},
// 所有数据的请求域名地址
"/api/v1": {
- target: "http://localhost:8019",
+ target: "http://172.16.33.166:80",
ws: true,
pathRewrite: {
"^/api/v1": "/api/v1"
}
"/views/api/v1": {
"^/views/api/v1": "/api/v1"
@@ -291,9 +291,9 @@ export default {
beforeUpload(file) {
this.upBool = true;
- const isLt2M = file.size < 1024 * 1024 * 0.5;
+ const isLt2M = file.size < 1024 * 1024 * 1;
if (!isLt2M) {
- this.$message.error("上传文件大小不能超过500kb!");
+ this.$message.error("上传文件大小不能超过1MB!");
} else {
let size = file.size / 1024;
let _URL = window.URL || window.webkitURL;
@@ -89,6 +89,23 @@
</el-tabs>
<vxe-modal width="549px" height="731px" v-model="isShow" show-footer>
<div class="demo-image__preview">
+ <div
+ class="href"
+ style="
+ margin-left: 80px;
+ text-align: center;
+ font-family: fangsong;
+ font-weight: 300;
+ font-size:18px;
+ "
+ >
+ 如果加载失败,请尝试<a
+ style="color: red"
+ :href="src"
+ download="货权转移.pdf"
+ >点此下载pdf</a
+ </div>
<el-image
style="height: 731px; text-align: center"
:src="src"