| | |
| | | # 智云迈思L-MOM管理系统/开发环境 |
| | | # VUE_APP_BASE_API = 'http://localhost:81/API/' |
| | | # VUE_APP_BASE_API = 'http://47.96.97.237/API/' |
| | | VUE_APP_BASE_API = 'http://220.189.218.155:9010/API/' |
| | | # VUE_APP_BASE_API = 'http://220.189.218.155:9010/API/' |
| | | VUE_APP_BASE_API = 'http://localhost:8082/LuBaoAPI/' |
| | | # 路由懒加载 |
| | | VUE_CLI_BABEL_TRANSPILE_MODULES = true |
| | |
| | | title: "导入", |
| | | isUploading: false, |
| | | updateSupport: 0, |
| | | url: "http://47.96.97.237/API/Gy_Customer/Gy_Customer_Excel", |
| | | url: "", |
| | | }, |
| | | uploadData: [], |
| | | uploadTableLoading: false, |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.upload.url = this.baseURL + "Gy_Customer/Gy_Customer_Excel"; |
| | | this.fetchData(); |
| | | }, |
| | | methods: { |
| | | fetchData() { |
| | | axios |
| | | .get( |
| | | "http://47.96.97.237/API/Web/GetUser?UserName=001&PassWord=123456&HOrgName=100038" |
| | | ) |
| | | .get(this.baseURL + "Web/GetUser", { |
| | | params: { |
| | | UserName: sessionStorage.getItem("UserName") || "admin", |
| | | PassWord: "123456", |
| | | HOrgName: sessionStorage.getItem("OrganizationID") || "100038" |
| | | } |
| | | }) |
| | | .then((response) => { |
| | | let data = response.data.data[0]; |
| | | this.user = data.Czymc; |
| | |
| | | updateSupport: 0, |
| | | // 设置上传的请求头部 |
| | | // headers: { Authorization: "Bearer " + getToken() }, |
| | | // 上传的地址 |
| | | url: "http://47.96.97.237/API/Gy_Source/Gy_Source_Excel", |
| | | url: "", |
| | | }, |
| | | uploadData: [], |
| | | alluploadList: [], |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | // set upload URL from configured baseURL |
| | | this.upload.url = this.baseURL + "Gy_Source/Gy_Source_Excel"; |
| | | this.riqiChange(); |
| | | this.get_HProjectList(); |
| | | this.get_HDeptNameList(); |
| | |
| | | subDisabled: false,//编辑页面保存按钮是否禁用(true禁用,false可用) |
| | | OperationType: null,//保存类型(新增1修改3) |
| | | HInterID: null, |
| | | baseURL: 'http://47.96.97.237/API', |
| | | //baseURL: 'http://47.96.97.237/API', |
| | | baseURL: process.env.VUE_APP_BASE_API, |
| | | user: 'admin', |
| | | currentRow: [], |
| | | lastSelectedRowIndex: null, // 用于记录上次点击的行索引 |