Commit 392cd190 authored by agping's avatar agping

后台 优化

parent 2e07eca7
......@@ -558,7 +558,6 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var formData = new FormData();
formData.append('type', 'exclusive_file');
formData.append('image', _this[0].files[0]);
console.log(formData);
$.ajax({
type: 'post',
url: '/index/uploadImg',
......
......@@ -47,19 +47,12 @@
待租
[% } %]
</td>
<!--<td>
[% if(it[item]["dish_name"] != "") { %]
[%= it[item]['dish_name'] %]
[% } %]
[% if(check_auth('index/addHousesAgentsDish')) { %]
<a data-toggle="modal" data-id='[%= it[item]["id"] %]' href="#modal-anch" class="btn1 btn-danger add_applies">修改</a>
[% } %]
</td>-->
<td>
[% if(it[item]["is_lock"] == 0 || check_auth('index/lockHouse') || it["item"]["auth_edit_exclusive"] == 1 || it["item"]["auth_edit_house"] == 1) { %]
<a class="btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]" href="#modal_shop_detail" data-id='[%= it[item]["id"] %]' data-toggle="modal">跟进/查看</a>
[% } %]
<a class="btn1 is_show_shoucang [%= sw(it[item]['is_collect']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
[%if(it[item]["is_collect"] == 1) { %]
......@@ -76,7 +69,6 @@
<a class="btn1 btn-default btn-default-show-caozuo">>>></a>
[% if(check_auth('index/houseEdit')) { %]
<a class="btn1 btn-success is_show btn-default-hide-display" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
[% if(it[item]["is_carefully_chosen"] == 0) { %]
......@@ -89,9 +81,6 @@
</a>
[% } %]
<!--[% if(check_auth('index/addHousesAgents')) { %]
<a class="btn1 btn-success anch" data-target="#modal-anch" data-toggle="modal" data-id='[%= it[item]["id"] %]'>设置案场权限人</a>
[% } %]-->
[% if(check_auth('/index/lockHouse')) { %]
<a class="btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
[%if(it[item]["is_lock"] == 0) { %]
......
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