考勤明细修改审批、考勤明细修改记录增加上传文件附件
This commit is contained in:
parent
23dbd68fad
commit
e1b128ff4c
|
|
@ -94,3 +94,9 @@ new Vue({
|
|||
store,
|
||||
render: h => h(App)
|
||||
})
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
* @type {string}
|
||||
*/
|
||||
Vue.prototype.$baseUrl = 'http://192.168.0.14:8001/gzatt-api/system/statics'
|
||||
|
|
|
|||
|
|
@ -540,10 +540,7 @@ export default {
|
|||
var filePath = this.getFilePath(filesVoList, type);
|
||||
var fileName = this.getFileName(filesVoList, type);
|
||||
|
||||
var url_="http://192.168.0.14:8100/statics" + filePath +"?token="+ getToken();
|
||||
|
||||
console.log("http://192.168.0.14:8100/statics" + filePath +"?token="+ getToken())
|
||||
console.log("http://192.168.0.14:1810/statics" + filePath +"?token="+ getToken())
|
||||
var url_=this.$baseUrl + filePath +"?token="+ getToken();
|
||||
// var url_ = "http://127.0.0.1:1810/statics" + filePath +"?token="+ getToken();
|
||||
// window.open(url_)
|
||||
// 根据文件路径打开预览窗口
|
||||
|
|
|
|||
|
|
@ -869,10 +869,7 @@ export default {
|
|||
var filePath = this.getFilePath(filesVoList, type);
|
||||
var fileName = this.getFileName(filesVoList, type);
|
||||
|
||||
var url_="http://192.168.0.14:8100/statics" + filePath +"?token="+ getToken();
|
||||
|
||||
console.log("http://192.168.0.14:8100/statics" + filePath +"?token="+ getToken())
|
||||
console.log("http://192.168.0.14:1810/statics" + filePath +"?token="+ getToken())
|
||||
var url_=this.$baseUrl + filePath +"?token="+ getToken();
|
||||
// var url_ = "http://127.0.0.1:1810/statics" + filePath +"?token="+ getToken();
|
||||
// window.open(url_)
|
||||
// 根据文件路径打开预览窗口
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ export default {
|
|||
var filePath = this.getFilePath(filesVoList, type);
|
||||
var fileName = this.getFileName(filesVoList, type);
|
||||
|
||||
var url_="http://192.168.0.14:8001/gzatt-api/system/statics" + filePath +"?token="+ getToken();
|
||||
var url_=this.$baseUrl + filePath +"?token="+ getToken();
|
||||
|
||||
console.log("http://192.168.0.14:8100/statics" + filePath +"?token="+ getToken())
|
||||
console.log("http://192.168.0.14:1810/statics" + filePath +"?token="+ getToken())
|
||||
|
|
|
|||
Loading…
Reference in New Issue