@ -543,11 +543,7 @@ export default {
}
},
init() {
axios.get("./config.json").then(res => {
// 基础地址
let response = res.data.BASE_URL;
this.uploadFileUrl = response + "/udiwms/bussinessType/file/upload";
});
this.uploadFileUrl = process.env.VUE_APP_BASE_API + "/udiwms/bussinessType/file/upload";
this.headers = {
ADMIN_ID: store.getters.adminId,
ADMIN_TOKEN: store.getters.token,
@ -17,7 +17,7 @@
icon="el-icon-refresh"
@click="onReset"
>重置</el-button>
<el-button type="primary" icon="search" @click="onSubmit"
<el-button type="primary" icon="el-icon-search" @click="onSubmit"
>查询
</el-button
>