考勤明细修改审批、考勤明细修改记录增加上传文件附件

This commit is contained in:
lSun 2025-02-24 10:48:37 +08:00
parent 23dbd68fad
commit e1b128ff4c
4 changed files with 9 additions and 9 deletions

View File

@ -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'

View File

@ -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_)
//

View File

@ -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_)
//

View File

@ -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())