|
@@ -352,13 +352,14 @@ export default {
|
|
|
},
|
|
|
createCom() {
|
|
|
let param = {
|
|
|
- n: this.fileName,
|
|
|
+ n: encodeURIComponent(this.fileName),
|
|
|
uid: this.$store.state.userInfo.userid,
|
|
|
};
|
|
|
this.ajax.post(this.$store.state.api + "/insertAeimFiles", param).then(
|
|
|
(res) => {
|
|
|
this.$message.success("创建成功");
|
|
|
this.dialogVisible = false;
|
|
|
+ this.getCompany();
|
|
|
},
|
|
|
(err) => {
|
|
|
console.log(err);
|
|
@@ -368,7 +369,7 @@ export default {
|
|
|
getCompany() {
|
|
|
this.isLoading = true;
|
|
|
let param = {
|
|
|
- n: this.fileNameSearch,
|
|
|
+ n: encodeURIComponent(this.fileNameSearch),
|
|
|
page: this.Page.nowPage,
|
|
|
lim: this.Page.lim,
|
|
|
};
|
|
@@ -418,9 +419,9 @@ export default {
|
|
|
},
|
|
|
getFile(val) {
|
|
|
let param = {
|
|
|
- n: this.fName,
|
|
|
+ n: encodeURIComponent(this.fName),
|
|
|
aid: this.fid,
|
|
|
- file: JSON.stringify(val),
|
|
|
+ file: encodeURIComponent(JSON.stringify(val)),
|
|
|
uid: this.$store.state.userInfo.userid,
|
|
|
};
|
|
|
this.ajax.post(this.$store.state.api + "/updateAeimFiles", param).then(
|
|
@@ -440,7 +441,7 @@ export default {
|
|
|
getCompanyFile() {
|
|
|
this.isLoading1 = true;
|
|
|
let param = {
|
|
|
- n: this.fileNameS,
|
|
|
+ n: encodeURIComponent(this.fileNameS),
|
|
|
pid: this.fid,
|
|
|
page: this.Page1.nowPage,
|
|
|
lim: this.Page1.lim,
|