diff --git a/src/utils/common.js b/src/utils/common.js
index 7106a25..7757c14 100644
--- a/src/utils/common.js
+++ b/src/utils/common.js
@@ -4,6 +4,7 @@ import router from '../router'
import Utils from './contact.js'
import preview from './preview'
import Vue from 'vue'
+import qs from 'qs'
export default {
// 原始记录预览
@@ -144,8 +145,11 @@ export default {
url: '/print/batchGeneratePDF',
method: 'post',
data: {
- ids: id,
+ ids: [id],
generateType: viewType
+ },
+ paramsSerializer: function(data) {
+ return qs.stringify(data, { indices: false })
}
}).then(() => {
console.info('重新生成成功')
diff --git a/src/views/borrow/returned.vue b/src/views/borrow/returned.vue
index baa0a1a..bae7b26 100644
--- a/src/views/borrow/returned.vue
+++ b/src/views/borrow/returned.vue
@@ -175,7 +175,7 @@ export default {
},
returnFn(row) {
console.log(row)
- const currentTime = this.formatter.getNowTime()
+ const currentTime = this.formatter.dateFormat('YYYY-MM-dd HH:mm:ss')
const data = {
guihuanTime: currentTime,
id: row.id,
diff --git a/src/views/user/user.vue b/src/views/user/user.vue
index d50bbc0..b0e39aa 100644
--- a/src/views/user/user.vue
+++ b/src/views/user/user.vue
@@ -367,7 +367,7 @@ export default {
method: 'post',
data: fd
}).then((data) => {
- this.tempUser.signImg = data
+ this.tempUser.signImg = [{ name: data }]
this.fileList = JSON.parse(data)
this.fileList[0].url = process.env.VUE_APP_IMG_URL + 'signImage/' + this.fileList[0].name
})
diff --git a/src/views/ysjl/3000/common/index.vue b/src/views/ysjl/3000/common/index.vue
index 6f05c65..b7d958b 100644
--- a/src/views/ysjl/3000/common/index.vue
+++ b/src/views/ysjl/3000/common/index.vue
@@ -689,7 +689,7 @@
-
+
-
+
-
-
-
-
-
-
-