diff --git a/api/apiRoute.js b/api/apiRoute.js
index 06904fa..7c91198 100644
--- a/api/apiRoute.js
+++ b/api/apiRoute.js
@@ -425,6 +425,15 @@ export default {
})
},
+ //学生-意见反馈-添加
+ xy_userFeedbackAdd(data = {}) {
+ let url = '/userFeedback/add'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
+
+
diff --git a/components/AQ/AQUplodeImgMulti.vue b/components/AQ/AQUplodeImgMulti.vue
index eeef305..da3793e 100644
--- a/components/AQ/AQUplodeImgMulti.vue
+++ b/components/AQ/AQUplodeImgMulti.vue
@@ -27,6 +27,11 @@ import {Api_url} from "../../common/config";
},
props: {
//父组件参数
+ //上传文件接口的url
+ uploadApiUrl:{
+ type: String,
+ default: `${Api_url}/file/image`
+ },
//表单名称
inputName: {
type: String,
@@ -48,7 +53,8 @@ import {Api_url} from "../../common/config";
return {
inputName: this.inputName,
inputValue: this.inputValue,
- maxFileNum: this.maxFileNum
+ maxFileNum: this.maxFileNum,
+ uploadApiUrl: this.uploadApiUrl
};
}
},
@@ -99,7 +105,7 @@ import {Api_url} from "../../common/config";
},
//上传接口地址
- uploadApiUrl: `${Api_url}/file/image`,
+ // uploadApiUrl: `${Api_url}/file/image`,
// 上传图片的样式
imageStyles: {
@@ -168,7 +174,7 @@ import {Api_url} from "../../common/config";
console.log('xxx',_arr)
this.fileList.push(_arr)
console.log('上传成功2',_arr);
- this.filePathArr.push(res.data.path)
+ this.filePathArr.push(res.data.url)
//上传成功
this.emitUploadSuccess(this.filePathArr)
}else{
diff --git a/pages/common/feedback.vue b/pages/common/feedback.vue
index 7b07849..c66557d 100644
--- a/pages/common/feedback.vue
+++ b/pages/common/feedback.vue
@@ -5,28 +5,28 @@
-
+
上传图片
-
-
-
-
-
-
+
+
+
+
+
-
- 反馈的相关问题会第一时间通过邮箱解答。
-
+
+
+
提交
@@ -34,9 +34,13 @@