diff --git a/application/admin/controller/AdvanceCharge.php b/application/admin/controller/AdvanceCharge.php
new file mode 100644
index 0000000..2ec1dff
--- /dev/null
+++ b/application/admin/controller/AdvanceCharge.php
@@ -0,0 +1,40 @@
+model = new \app\admin\model\AdvanceCharge;
+
+ }
+
+ public function import()
+ {
+ parent::import();
+ }
+
+ /**
+ * 默认生成的控制器所继承的父类中有index/add/edit/del/multi五个基础方法、destroy/restore/recyclebin三个回收站方法
+ * 因此在当前控制器中可不用编写增删改查的代码,除非需要自己控制这部分逻辑
+ * 需要将application/admin/library/traits/Backend.php中对应的方法复制到当前控制器,然后进行修改
+ */
+
+
+}
diff --git a/application/admin/controller/CfChannelInfo.php b/application/admin/controller/CfChannelInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/CfHotelInfo.php b/application/admin/controller/CfHotelInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/CfItem.php b/application/admin/controller/CfItem.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/CfRoomInfo.php b/application/admin/controller/CfRoomInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/CfRoomPlan.php b/application/admin/controller/CfRoomPlan.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/CfSuplierInfo.php b/application/admin/controller/CfSuplierInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/Deposit.php b/application/admin/controller/Deposit.php
new file mode 100644
index 0000000..c366abd
--- /dev/null
+++ b/application/admin/controller/Deposit.php
@@ -0,0 +1,40 @@
+model = new \app\admin\model\Deposit;
+
+ }
+
+ public function import()
+ {
+ parent::import();
+ }
+
+ /**
+ * 默认生成的控制器所继承的父类中有index/add/edit/del/multi五个基础方法、destroy/restore/recyclebin三个回收站方法
+ * 因此在当前控制器中可不用编写增删改查的代码,除非需要自己控制这部分逻辑
+ * 需要将application/admin/library/traits/Backend.php中对应的方法复制到当前控制器,然后进行修改
+ */
+
+
+}
diff --git a/application/admin/controller/OrderHotel.php b/application/admin/controller/OrderHotel.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/OrderItem.php b/application/admin/controller/OrderItem.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/OrderMain.php b/application/admin/controller/OrderMain.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/PaymentOrder.php b/application/admin/controller/PaymentOrder.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/Purchase.php b/application/admin/controller/Purchase.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/PurchasePrice.php b/application/admin/controller/PurchasePrice.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/ReceiptOrder.php b/application/admin/controller/ReceiptOrder.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Baidumap.php b/application/admin/controller/example/Baidumap.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Bootstraptable.php b/application/admin/controller/example/Bootstraptable.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Colorbadge.php b/application/admin/controller/example/Colorbadge.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Controllerjump.php b/application/admin/controller/example/Controllerjump.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Customform.php b/application/admin/controller/example/Customform.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Customsearch.php b/application/admin/controller/example/Customsearch.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Cxselect.php b/application/admin/controller/example/Cxselect.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Echarts.php b/application/admin/controller/example/Echarts.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Multitable.php b/application/admin/controller/example/Multitable.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Relationmodel.php b/application/admin/controller/example/Relationmodel.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Tablelink.php b/application/admin/controller/example/Tablelink.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/example/Tabletemplate.php b/application/admin/controller/example/Tabletemplate.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/advance_charge.php b/application/admin/lang/zh-cn/advance_charge.php
new file mode 100644
index 0000000..810a15c
--- /dev/null
+++ b/application/admin/lang/zh-cn/advance_charge.php
@@ -0,0 +1,16 @@
+ 'ID',
+ 'Del_flag' => '是否删除',
+ 'Create_time' => '创建时间',
+ 'Update_time' => '更新时间',
+ 'Create_id' => '创建用户id',
+ 'Group_id' => '创建部门id',
+ 'Supplier_id' => '供应商id',
+ 'Balance' => '操作后的当前余额',
+ 'Payment_ids' => '付款账单ids',
+ 'Memo' => '备注',
+ 'File' => '上传文件',
+ 'Money' => '支出或存入'
+];
diff --git a/application/admin/lang/zh-cn/cf_channel_info.php b/application/admin/lang/zh-cn/cf_channel_info.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/cf_hotel_info.php b/application/admin/lang/zh-cn/cf_hotel_info.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/cf_item.php b/application/admin/lang/zh-cn/cf_item.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/cf_room_info.php b/application/admin/lang/zh-cn/cf_room_info.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/cf_room_plan.php b/application/admin/lang/zh-cn/cf_room_plan.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/cf_suplier_info.php b/application/admin/lang/zh-cn/cf_suplier_info.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/deposit.php b/application/admin/lang/zh-cn/deposit.php
new file mode 100644
index 0000000..ae667f7
--- /dev/null
+++ b/application/admin/lang/zh-cn/deposit.php
@@ -0,0 +1,15 @@
+ 'ID',
+ 'Del_flag' => '是否删除',
+ 'Create_time' => '创建时间',
+ 'Update_time' => '更新时间',
+ 'Create_id' => '创建用户id',
+ 'Group_id' => '创建部门id',
+ 'Payee_id' => '收款方id(供应商)',
+ 'Memo' => '备注',
+ 'File' => '上传文件地址',
+ 'Status' => '状态:1:已付款;2:回收中;3:已回收',
+ 'Amount' => '押金金额'
+];
diff --git a/application/admin/lang/zh-cn/order_hotel.php b/application/admin/lang/zh-cn/order_hotel.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/order_item.php b/application/admin/lang/zh-cn/order_item.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/order_main.php b/application/admin/lang/zh-cn/order_main.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/payment_order.php b/application/admin/lang/zh-cn/payment_order.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/purchase.php b/application/admin/lang/zh-cn/purchase.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/purchase_price.php b/application/admin/lang/zh-cn/purchase_price.php
old mode 100644
new mode 100755
diff --git a/application/admin/lang/zh-cn/receipt_order.php b/application/admin/lang/zh-cn/receipt_order.php
old mode 100644
new mode 100755
diff --git a/application/admin/model/AdvanceCharge.php b/application/admin/model/AdvanceCharge.php
new file mode 100644
index 0000000..b475693
--- /dev/null
+++ b/application/admin/model/AdvanceCharge.php
@@ -0,0 +1,40 @@
+ [],
+ 'edit' => [],
+ ];
+
+}
diff --git a/application/admin/validate/CfChannelInfo.php b/application/admin/validate/CfChannelInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/CfHotelInfo.php b/application/admin/validate/CfHotelInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/CfItem.php b/application/admin/validate/CfItem.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/CfRoomInfo.php b/application/admin/validate/CfRoomInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/CfRoomPlan.php b/application/admin/validate/CfRoomPlan.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/CfSuplierInfo.php b/application/admin/validate/CfSuplierInfo.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/Deposit.php b/application/admin/validate/Deposit.php
new file mode 100644
index 0000000..498f15f
--- /dev/null
+++ b/application/admin/validate/Deposit.php
@@ -0,0 +1,27 @@
+ [],
+ 'edit' => [],
+ ];
+
+}
diff --git a/application/admin/validate/OrderHotel.php b/application/admin/validate/OrderHotel.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/OrderItem.php b/application/admin/validate/OrderItem.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/OrderMain.php b/application/admin/validate/OrderMain.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/PaymentOrder.php b/application/admin/validate/PaymentOrder.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/Purchase.php b/application/admin/validate/Purchase.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/PurchasePrice.php b/application/admin/validate/PurchasePrice.php
old mode 100644
new mode 100755
diff --git a/application/admin/validate/ReceiptOrder.php b/application/admin/validate/ReceiptOrder.php
old mode 100644
new mode 100755
diff --git a/application/admin/view/advance_charge/add.html b/application/admin/view/advance_charge/add.html
new file mode 100644
index 0000000..1e6b9d8
--- /dev/null
+++ b/application/admin/view/advance_charge/add.html
@@ -0,0 +1,84 @@
+
diff --git a/application/admin/view/advance_charge/edit.html b/application/admin/view/advance_charge/edit.html
new file mode 100644
index 0000000..773c999
--- /dev/null
+++ b/application/admin/view/advance_charge/edit.html
@@ -0,0 +1,84 @@
+
diff --git a/application/admin/view/advance_charge/index.html b/application/admin/view/advance_charge/index.html
new file mode 100644
index 0000000..d6867d2
--- /dev/null
+++ b/application/admin/view/advance_charge/index.html
@@ -0,0 +1,35 @@
+
+ {:build_heading()}
+
+
+
diff --git a/application/admin/view/cf_channel_info/add.html b/application/admin/view/cf_channel_info/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_channel_info/edit.html b/application/admin/view/cf_channel_info/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_channel_info/index.html b/application/admin/view/cf_channel_info/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_hotel_info/add.html b/application/admin/view/cf_hotel_info/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_hotel_info/edit.html b/application/admin/view/cf_hotel_info/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_hotel_info/index.html b/application/admin/view/cf_hotel_info/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_item/add.html b/application/admin/view/cf_item/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_item/edit.html b/application/admin/view/cf_item/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_item/index.html b/application/admin/view/cf_item/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_info/add.html b/application/admin/view/cf_room_info/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_info/edit.html b/application/admin/view/cf_room_info/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_info/index.html b/application/admin/view/cf_room_info/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_plan/add.html b/application/admin/view/cf_room_plan/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_plan/edit.html b/application/admin/view/cf_room_plan/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_room_plan/index.html b/application/admin/view/cf_room_plan/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_suplier_info/add.html b/application/admin/view/cf_suplier_info/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_suplier_info/edit.html b/application/admin/view/cf_suplier_info/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/cf_suplier_info/index.html b/application/admin/view/cf_suplier_info/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/deposit/add.html b/application/admin/view/deposit/add.html
new file mode 100644
index 0000000..ced2687
--- /dev/null
+++ b/application/admin/view/deposit/add.html
@@ -0,0 +1,78 @@
+
diff --git a/application/admin/view/deposit/edit.html b/application/admin/view/deposit/edit.html
new file mode 100644
index 0000000..ab6cbe2
--- /dev/null
+++ b/application/admin/view/deposit/edit.html
@@ -0,0 +1,78 @@
+
diff --git a/application/admin/view/deposit/index.html b/application/admin/view/deposit/index.html
new file mode 100644
index 0000000..f4a5690
--- /dev/null
+++ b/application/admin/view/deposit/index.html
@@ -0,0 +1,35 @@
+
+ {:build_heading()}
+
+
+
diff --git a/application/admin/view/example/baidumap/index.html b/application/admin/view/example/baidumap/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/baidumap/map.html b/application/admin/view/example/baidumap/map.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/bootstraptable/detail.html b/application/admin/view/example/bootstraptable/detail.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/bootstraptable/index.html b/application/admin/view/example/bootstraptable/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/colorbadge/index.html b/application/admin/view/example/colorbadge/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/controllerjump/index.html b/application/admin/view/example/controllerjump/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/customform/index.html b/application/admin/view/example/customform/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/customsearch/index.html b/application/admin/view/example/customsearch/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/cxselect/index.html b/application/admin/view/example/cxselect/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/echarts/index.html b/application/admin/view/example/echarts/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/multitable/index.html b/application/admin/view/example/multitable/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/relationmodel/index.html b/application/admin/view/example/relationmodel/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/tablelink/index.html b/application/admin/view/example/tablelink/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/example/tabletemplate/index.html b/application/admin/view/example/tabletemplate/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_hotel/add.html b/application/admin/view/order_hotel/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_hotel/edit.html b/application/admin/view/order_hotel/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_hotel/index.html b/application/admin/view/order_hotel/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_item/add.html b/application/admin/view/order_item/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_item/edit.html b/application/admin/view/order_item/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_item/index.html b/application/admin/view/order_item/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_main/add.html b/application/admin/view/order_main/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_main/edit.html b/application/admin/view/order_main/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/order_main/index.html b/application/admin/view/order_main/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/payment_order/add.html b/application/admin/view/payment_order/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/payment_order/edit.html b/application/admin/view/payment_order/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/payment_order/index.html b/application/admin/view/payment_order/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase/add.html b/application/admin/view/purchase/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase/edit.html b/application/admin/view/purchase/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase/index.html b/application/admin/view/purchase/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase_price/add.html b/application/admin/view/purchase_price/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase_price/edit.html b/application/admin/view/purchase_price/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/purchase_price/index.html b/application/admin/view/purchase_price/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/receipt_order/add.html b/application/admin/view/receipt_order/add.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/receipt_order/edit.html b/application/admin/view/receipt_order/edit.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/receipt_order/index.html b/application/admin/view/receipt_order/index.html
old mode 100644
new mode 100755
diff --git a/application/extra/addons.php b/application/extra/addons.php
index f7f90e9..2177468 100755
--- a/application/extra/addons.php
+++ b/application/extra/addons.php
@@ -3,12 +3,7 @@
return [
'autoload' => false,
'hooks' => [],
- 'route' => [
- '/example$' => 'example/index/index',
- '/example/d/[:name]' => 'example/demo/index',
- '/example/d1/[:name]' => 'example/demo/demo1',
- '/example/d2/[:name]' => 'example/demo/demo2',
- ],
+ 'route' => [],
'priority' => [],
'domain' => '',
];
diff --git a/public/assets/js/addons.js b/public/assets/js/addons.js
index 37cec86..d2c1d20 100755
--- a/public/assets/js/addons.js
+++ b/public/assets/js/addons.js
@@ -1,15 +1,3 @@
define([], function () {
- require.config({
- paths: {
- 'async': '../addons/example/js/async',
- 'BMap': ['//api.map.baidu.com/api?v=2.0&ak=mXijumfojHnAaN2VxpBGoqHM'],
- },
- shim: {
- 'BMap': {
- deps: ['jquery'],
- exports: 'BMap'
- }
- }
-});
-
+
});
\ No newline at end of file
diff --git a/public/assets/js/backend/advance_charge.js b/public/assets/js/backend/advance_charge.js
new file mode 100644
index 0000000..afb2e98
--- /dev/null
+++ b/public/assets/js/backend/advance_charge.js
@@ -0,0 +1,61 @@
+define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
+
+ var Controller = {
+ index: function () {
+ // 初始化表格参数配置
+ Table.api.init({
+ extend: {
+ index_url: 'advance_charge/index' + location.search,
+ add_url: 'advance_charge/add',
+ edit_url: 'advance_charge/edit',
+ del_url: 'advance_charge/del',
+ multi_url: 'advance_charge/multi',
+ import_url: 'advance_charge/import',
+ table: 'advance_charge',
+ }
+ });
+
+ var table = $("#table");
+
+ // 初始化表格
+ table.bootstrapTable({
+ url: $.fn.bootstrapTable.defaults.extend.index_url,
+ pk: 'id',
+ sortName: 'id',
+ columns: [
+ [
+ {checkbox: true},
+ {field: 'id', title: __('Id')},
+ {field: 'del_flag', title: __('Del_flag'), formatter: Table.api.formatter.flag},
+ {field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'update_time', title: __('Update_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'create_id', title: __('Create_id')},
+ {field: 'group_id', title: __('Group_id')},
+ {field: 'supplier_id', title: __('Supplier_id')},
+ {field: 'balance', title: __('Balance'), operate:'BETWEEN'},
+ {field: 'payment_ids', title: __('Payment_ids'), operate: 'LIKE'},
+ {field: 'memo', title: __('Memo'), operate: 'LIKE'},
+ {field: 'file', title: __('File'), operate: false},
+ {field: 'money', title: __('Money'), operate:'BETWEEN'},
+ {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
+ ]
+ ]
+ });
+
+ // 为表格绑定事件
+ Table.api.bindevent(table);
+ },
+ add: function () {
+ Controller.api.bindevent();
+ },
+ edit: function () {
+ Controller.api.bindevent();
+ },
+ api: {
+ bindevent: function () {
+ Form.api.bindevent($("form[role=form]"));
+ }
+ }
+ };
+ return Controller;
+});
\ No newline at end of file
diff --git a/public/assets/js/backend/cf_channel_info.js b/public/assets/js/backend/cf_channel_info.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/cf_hotel_info.js b/public/assets/js/backend/cf_hotel_info.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/cf_item.js b/public/assets/js/backend/cf_item.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/cf_room_info.js b/public/assets/js/backend/cf_room_info.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/cf_room_plan.js b/public/assets/js/backend/cf_room_plan.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/cf_suplier_info.js b/public/assets/js/backend/cf_suplier_info.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/deposit.js b/public/assets/js/backend/deposit.js
new file mode 100644
index 0000000..eb52f59
--- /dev/null
+++ b/public/assets/js/backend/deposit.js
@@ -0,0 +1,60 @@
+define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
+
+ var Controller = {
+ index: function () {
+ // 初始化表格参数配置
+ Table.api.init({
+ extend: {
+ index_url: 'deposit/index' + location.search,
+ add_url: 'deposit/add',
+ edit_url: 'deposit/edit',
+ del_url: 'deposit/del',
+ multi_url: 'deposit/multi',
+ import_url: 'deposit/import',
+ table: 'deposit',
+ }
+ });
+
+ var table = $("#table");
+
+ // 初始化表格
+ table.bootstrapTable({
+ url: $.fn.bootstrapTable.defaults.extend.index_url,
+ pk: 'id',
+ sortName: 'id',
+ columns: [
+ [
+ {checkbox: true},
+ {field: 'id', title: __('Id')},
+ {field: 'del_flag', title: __('Del_flag'), formatter: Table.api.formatter.flag},
+ {field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'update_time', title: __('Update_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'create_id', title: __('Create_id')},
+ {field: 'group_id', title: __('Group_id')},
+ {field: 'payee_id', title: __('Payee_id')},
+ {field: 'memo', title: __('Memo'), operate: 'LIKE'},
+ {field: 'file', title: __('File'), operate: false},
+ {field: 'status', title: __('Status')},
+ {field: 'amount', title: __('Amount'), operate:'BETWEEN'},
+ {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
+ ]
+ ]
+ });
+
+ // 为表格绑定事件
+ Table.api.bindevent(table);
+ },
+ add: function () {
+ Controller.api.bindevent();
+ },
+ edit: function () {
+ Controller.api.bindevent();
+ },
+ api: {
+ bindevent: function () {
+ Form.api.bindevent($("form[role=form]"));
+ }
+ }
+ };
+ return Controller;
+});
\ No newline at end of file
diff --git a/public/assets/js/backend/example/baidumap.js b/public/assets/js/backend/example/baidumap.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/bootstraptable.js b/public/assets/js/backend/example/bootstraptable.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/colorbadge.js b/public/assets/js/backend/example/colorbadge.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/controllerjump.js b/public/assets/js/backend/example/controllerjump.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/customform.js b/public/assets/js/backend/example/customform.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/customsearch.js b/public/assets/js/backend/example/customsearch.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/cxselect.js b/public/assets/js/backend/example/cxselect.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/echarts.js b/public/assets/js/backend/example/echarts.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/multitable.js b/public/assets/js/backend/example/multitable.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/relationmodel.js b/public/assets/js/backend/example/relationmodel.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/tablelink.js b/public/assets/js/backend/example/tablelink.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/example/tabletemplate.js b/public/assets/js/backend/example/tabletemplate.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/order_hotel.js b/public/assets/js/backend/order_hotel.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/order_item.js b/public/assets/js/backend/order_item.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/order_main.js b/public/assets/js/backend/order_main.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/payment_order.js b/public/assets/js/backend/payment_order.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/purchase.js b/public/assets/js/backend/purchase.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/purchase_price.js b/public/assets/js/backend/purchase_price.js
old mode 100644
new mode 100755
diff --git a/public/assets/js/backend/receipt_order.js b/public/assets/js/backend/receipt_order.js
old mode 100644
new mode 100755
diff --git a/runtime/cache/4e/819c837d54a6ed09abc77a8560a66f.php b/runtime/cache/4e/819c837d54a6ed09abc77a8560a66f.php
old mode 100755
new mode 100644
diff --git a/runtime/cache/cb/78ef4a9130f39208ff10858ddd8377.php b/runtime/cache/cb/78ef4a9130f39208ff10858ddd8377.php
deleted file mode 100644
index 8993ffb..0000000
--- a/runtime/cache/cb/78ef4a9130f39208ff10858ddd8377.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:17:{i:0;a:18:{s:2:"id";i:1;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:9:"dashboard";s:5:"title";s:9:"Dashboard";s:4:"icon";s:15:"fa fa-dashboard";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:14:"Dashboard tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:3:"kzt";s:6:"pinyin";s:10:"kongzhitai";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:143;s:6:"status";s:6:"normal";}i:1;a:18:{s:2:"id";i:2;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:7:"general";s:5:"title";s:7:"General";s:4:"icon";s:10:"fa fa-cogs";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"cggl";s:6:"pinyin";s:14:"changguiguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:137;s:6:"status";s:6:"normal";}i:2;a:18:{s:2:"id";i:3;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:8:"category";s:5:"title";s:8:"Category";s:4:"icon";s:10:"fa fa-leaf";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:13:"Category tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"flgl";s:6:"pinyin";s:12:"fenleiguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:119;s:6:"status";s:6:"normal";}i:3;a:18:{s:2:"id";i:9;s:4:"type";s:4:"file";s:3:"pid";i:5;s:4:"name";s:10:"auth/admin";s:5:"title";s:5:"Admin";s:4:"icon";s:10:"fa fa-user";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:10:"Admin tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:5:"glygl";s:6:"pinyin";s:16:"guanliyuanguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:118;s:6:"status";s:6:"normal";}i:4;a:18:{s:2:"id";i:10;s:4:"type";s:4:"file";s:3:"pid";i:5;s:4:"name";s:13:"auth/adminlog";s:5:"title";s:9:"Admin log";s:4:"icon";s:14:"fa fa-list-alt";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:14:"Admin log tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:5:"glyrz";s:6:"pinyin";s:15:"guanliyuanrizhi";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:113;s:6:"status";s:6:"normal";}i:5;a:18:{s:2:"id";i:11;s:4:"type";s:4:"file";s:3:"pid";i:5;s:4:"name";s:10:"auth/group";s:5:"title";s:5:"Group";s:4:"icon";s:11:"fa fa-group";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:10:"Group tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:3:"jsz";s:6:"pinyin";s:7:"juesezu";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:109;s:6:"status";s:6:"normal";}i:6;a:18:{s:2:"id";i:12;s:4:"type";s:4:"file";s:3:"pid";i:5;s:4:"name";s:9:"auth/rule";s:5:"title";s:4:"Rule";s:4:"icon";s:10:"fa fa-bars";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:9:"Rule tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"cdgz";s:6:"pinyin";s:11:"caidanguize";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:104;s:6:"status";s:6:"normal";}i:7;a:18:{s:2:"id";i:5;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:4:"auth";s:5:"title";s:4:"Auth";s:4:"icon";s:11:"fa fa-group";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"qxgl";s:6:"pinyin";s:14:"quanxianguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:99;s:6:"status";s:6:"normal";}i:8;a:18:{s:2:"id";i:6;s:4:"type";s:4:"file";s:3:"pid";i:2;s:4:"name";s:14:"general/config";s:5:"title";s:6:"Config";s:4:"icon";s:9:"fa fa-cog";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:11:"Config tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"xtpz";s:6:"pinyin";s:12:"xitongpeizhi";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:60;s:6:"status";s:6:"normal";}i:9;a:18:{s:2:"id";i:7;s:4:"type";s:4:"file";s:3:"pid";i:2;s:4:"name";s:18:"general/attachment";s:5:"title";s:10:"Attachment";s:4:"icon";s:18:"fa fa-file-image-o";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:15:"Attachment tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"fjgl";s:6:"pinyin";s:12:"fujianguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:53;s:6:"status";s:6:"normal";}i:10;a:18:{s:2:"id";i:8;s:4:"type";s:4:"file";s:3:"pid";i:2;s:4:"name";s:15:"general/profile";s:5:"title";s:7:"Profile";s:4:"icon";s:10:"fa fa-user";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"grzl";s:6:"pinyin";s:11:"gerenziliao";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:34;s:6:"status";s:6:"normal";}i:11;a:18:{s:2:"id";i:4;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:5:"addon";s:5:"title";s:5:"Addon";s:4:"icon";s:12:"fa fa-rocket";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:10:"Addon tips";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"cjgl";s:6:"pinyin";s:13:"chajianguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}i:12;a:18:{s:2:"id";i:66;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:4:"user";s:5:"title";s:4:"User";s:4:"icon";s:17:"fa fa-user-circle";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"hygl";s:6:"pinyin";s:13:"huiyuanguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}i:13;a:18:{s:2:"id";i:67;s:4:"type";s:4:"file";s:3:"pid";i:66;s:4:"name";s:9:"user/user";s:5:"title";s:4:"User";s:4:"icon";s:10:"fa fa-user";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"hygl";s:6:"pinyin";s:13:"huiyuanguanli";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}i:14;a:18:{s:2:"id";i:73;s:4:"type";s:4:"file";s:3:"pid";i:66;s:4:"name";s:10:"user/group";s:5:"title";s:10:"User group";s:4:"icon";s:11:"fa fa-users";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"hyfz";s:6:"pinyin";s:12:"huiyuanfenzu";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}i:15;a:18:{s:2:"id";i:79;s:4:"type";s:4:"file";s:3:"pid";i:66;s:4:"name";s:9:"user/rule";s:5:"title";s:9:"User rule";s:4:"icon";s:14:"fa fa-circle-o";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"hygz";s:6:"pinyin";s:12:"huiyuanguize";s:10:"createtime";i:1491635035;s:10:"updatetime";i:1491635035;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}i:16;a:18:{s:2:"id";i:85;s:4:"type";s:4:"file";s:3:"pid";i:0;s:4:"name";s:15:"cf_channel_info";s:5:"title";s:12:"渠道配置";s:4:"icon";s:14:"fa fa-circle-o";s:3:"url";s:0:"";s:9:"condition";s:0:"";s:6:"remark";s:0:"";s:6:"ismenu";i:1;s:8:"menutype";N;s:6:"extend";s:0:"";s:2:"py";s:4:"qdpz";s:6:"pinyin";s:11:"qudaopeizhi";s:10:"createtime";i:1633968635;s:10:"updatetime";i:1633968635;s:5:"weigh";i:0;s:6:"status";s:6:"normal";}}
\ No newline at end of file
diff --git a/runtime/temp/04b81db960ce2559962730517cf513e4.php b/runtime/temp/04b81db960ce2559962730517cf513e4.php
deleted file mode 100755
index 730bd82..0000000
--- a/runtime/temp/04b81db960ce2559962730517cf513e4.php
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/runtime/temp/24771b5cefd8cd95c9e4d74129978553.php b/runtime/temp/24771b5cefd8cd95c9e4d74129978553.php
deleted file mode 100755
index 860f7d6..0000000
--- a/runtime/temp/24771b5cefd8cd95c9e4d74129978553.php
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ' . $wait . ''); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/runtime/temp/33f380b7cf54163227aa2f0d43372405.php b/runtime/temp/33f380b7cf54163227aa2f0d43372405.php
deleted file mode 100755
index 837f3e1..0000000
--- a/runtime/temp/33f380b7cf54163227aa2f0d43372405.php
+++ /dev/null
@@ -1,473 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- check('dashboard')): ?>
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/runtime/temp/4bb0dbba04b42621c075286dc9b78426.php b/runtime/temp/4bb0dbba04b42621c075286dc9b78426.php
deleted file mode 100755
index ac099d6..0000000
--- a/runtime/temp/4bb0dbba04b42621c075286dc9b78426.php
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/runtime/temp/8c9fe957ee8d910ccf94c0f670a36348.php b/runtime/temp/8c9fe957ee8d910ccf94c0f670a36348.php
deleted file mode 100755
index cce8415..0000000
--- a/runtime/temp/8c9fe957ee8d910ccf94c0f670a36348.php
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-