Commit 7908e778 authored by agping's avatar agping

财务修改

parent 6c050b73
......@@ -38,7 +38,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
follow.house_id = $ (this).attr ("data-id");
console.log(follow.house_id);
});
$ (document).delegate ("#modal-rejected", "click", function () {//点击编辑
$ (document).delegate (".rejected", "click", function () {//点击驳回
follow.house_id = $ (this).attr ("data-id");
console.log(follow.house_id);
});
......
......@@ -358,7 +358,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$.ajax({
type: 'GET',
url: '/index/reportListBackout/5',
url: '/index/refundListAttache/0',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -368,17 +368,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if (data.code == 200) {
var doTtmpl = doT.template(document.getElementById('wait_backout_list_tpl').innerHTML);
$("#follow_list").html(doTtmpl(data.data.list));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj);
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// }
/*分页代码*/
add_page(data.data.total,pageNo,follow.pageSize,follow.getList);
......@@ -419,7 +408,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$.ajax({
type: 'GET',
url: '/index/reportListBackout/5',
url: '/index/refundListManager/1',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -429,17 +418,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if (data.code == 200) {
var doTtmpl = doT.template(document.getElementById('wait_backout_list_tpl').innerHTML);
$("#follow_list").html(doTtmpl(data.data.list));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj.level);
// if(user_info_obj.level==20 && $('.btn-info').index()==1){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// }
/*分页代码*/
add_page(data.data.total,pageNo,follow.pageSize,follow.getList);
......@@ -481,7 +459,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$.ajax({
type: 'GET',
url: '/index/reportListBackout/5',
url: '/index/refundListMajordomo/2',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -531,7 +509,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$.ajax({
type: 'GET',
url: '/index/reportListBackout/5',
url: '/index/refundListCashier/3',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -571,7 +549,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$.ajax({
type: 'GET',
url: '/index/reportListBackout/5',
url: '/index/refundListAttache/0',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -581,20 +559,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if (data.code == 200) {
var doTtmpl = doT.template(document.getElementById('wait_backout_list_tpl').innerHTML);
$("#follow_list").html(doTtmpl(data.data.list));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj.level);
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// };
/*分页代码*/
add_page(data.data.total,pageNo,follow.pageSize,follow.getList);
......
......@@ -9,7 +9,7 @@
<td>[%= it[item]['refund_money'] %]</td>
<td>[%= it[item]['card_no'] %]</td>
<td>
<a class="btn1 btn-success edit" href="#modal-rejected" data-toggle="modal" data-id='[%= it[item]["id"] %]'>驳回</a>
<a class="btn1 btn-success rejected" href="#modal-rejected" data-toggle="modal" data-id='[%= it[item]["id"] %]'>驳回</a>
<a class="btn1 btn-success is_pass" href="#modal-pass" data-toggle="modal" data-id='[%= it[item]["id"] %]'>通过</a>
<a class="btn1 btn-success timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["id"] %]'>时间轴</a>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment