提交 eeb26e6e authored 作者: Ras's avatar Ras

更新表单传图片自动刷新

上级 47a212ca
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
<script> <script>
window._CONFIG = {}; window._CONFIG = {};
window._CONFIG['domianURL'] = 'http://lf.lingqingkeji.com:8080/wmssystem'; window._CONFIG['domianURL'] = 'http://lf.lingqingkeji.com:8080/wmssystem';
// window._CONFIG['domianURL'] = 'http://192.168.1.17:8080/wmssystem'; // window._CONFIG['domianURL'] = 'http://192.168.1.21:8080/wmssystem';
window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas'; window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas';
window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview' window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview'
window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static'; window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static';
......
...@@ -192,6 +192,8 @@ ...@@ -192,6 +192,8 @@
} }
], ],
url: { url: {
///basedata/iostDeliveryRecord/list 原本
///basedata/iostDeliveryManagement/list 测试
list: "/basedata/iostDeliveryRecord/list", list: "/basedata/iostDeliveryRecord/list",
exportXlsUrl: "/basedata/iostDeliveryRecord/exportXls", exportXlsUrl: "/basedata/iostDeliveryRecord/exportXls",
}, },
...@@ -248,6 +250,7 @@ ...@@ -248,6 +250,7 @@
}); });
}, },
exportDeliveryNotePdf(record){ exportDeliveryNotePdf(record){
console.log(record.id)
let url = `${window._CONFIG['domianURL']}/basedata/iostDeliveryNote/exportDeliveryNotePdf`; let url = `${window._CONFIG['domianURL']}/basedata/iostDeliveryNote/exportDeliveryNotePdf`;
downFile(url, {deliveryRecordId:record.id}).then((data) => downFile(url, {deliveryRecordId:record.id}).then((data) =>
{ {
...@@ -269,6 +272,7 @@ ...@@ -269,6 +272,7 @@
let url = `${window._CONFIG['domianURL']}/basedata/iostDeliveryNote/exportDeliveryNotePicPdf`; let url = `${window._CONFIG['domianURL']}/basedata/iostDeliveryNote/exportDeliveryNotePicPdf`;
downFile(url, {deliveryRecordId:record.id}).then((data) => downFile(url, {deliveryRecordId:record.id}).then((data) =>
{ {
console.log(record)
console.log("data") console.log("data")
console.log(data) console.log(data)
if (!data) { if (!data) {
......
...@@ -206,7 +206,6 @@ ...@@ -206,7 +206,6 @@
deleteBatch: "/basedata/iostDeliveryRecord/deleteBatch", deleteBatch: "/basedata/iostDeliveryRecord/deleteBatch",
exportXlsUrl: "/basedata/iostDeliveryRecord/exportXls", exportXlsUrl: "/basedata/iostDeliveryRecord/exportXls",
importExcelUrl: "basedata/iostDeliveryRecord/importExcel", importExcelUrl: "basedata/iostDeliveryRecord/importExcel",
}, },
dictOptions:{}, dictOptions:{},
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论