瀏覽代碼

订单新增年份参数

hzj18279462576@163.com 11 月之前
父節點
當前提交
60ba3c3665
共有 4 個文件被更改,包括 26436 次插入5309 次删除
  1. 二進制
      dist.zip
  2. 25013 4245
      package-lock.json
  3. 7 5
      src/api/order.js
  4. 1416 1059
      src/views/order/index.vue

二進制
dist.zip


文件差異過大導致無法顯示
+ 25013 - 4245
package-lock.json


+ 7 - 5
src/api/order.js

@@ -5,7 +5,7 @@ export function getTableData(forData) {
 	let data = new FormData()
 	data.append('page', forData.page)
 	data.append('rows', forData.rows)
-	
+
 	if (typeof forData.key != 'undefined') {
 		data.append('key', forData.key)
 	}
@@ -39,7 +39,9 @@ export function getTableData(forData) {
 	if (typeof forData.status != 'undefined') {
 		data.append('status', forData.status)
 	}
-	
+	if (typeof forData.create_year != 'undefined') {
+		data.append('create_year', forData.create_year)
+	}
 	return request({
 		url: '/booklist.action',
 		method: 'post',
@@ -99,7 +101,7 @@ export function tongji(forData) {
 		data.append('h_type', forData.h_type)
 	}
 	data.append('date', forData.date)
-	
+
 	return request({
 		url: '/houseday_tj.action',
 		method: 'post',
@@ -110,7 +112,7 @@ export function tongji(forData) {
 // 下载
 export function downloadExcel(forData) {
 	let data = new FormData()
-	
+
 	if (typeof forData.key != 'undefined') {
 		data.append('key', forData.key)
 	}
@@ -150,4 +152,4 @@ export function downloadExcel(forData) {
 		method: 'post',
 		data
 	})
-}
+}

文件差異過大導致無法顯示
+ 1416 - 1059
src/views/order/index.vue