Commit a5f71958 authored by agping's avatar agping

1

parent 96f635f9
......@@ -377,7 +377,7 @@
let that = this;
that.axios({
method: 'get',
url: 'broker/collectionListByBargainId',
url: 'office/collectionListByBargainId',
responseType: 'json',
data: {
bargain_id: that.bargain_id,
......@@ -398,7 +398,7 @@
let _this = this;
_this.axios({
method: 'get',
url: 'broker/bargainDetail',
url: 'office/bargainDetail',
responseType: 'json',
data: {
bargain_id: _this.bargain_id,
......
......@@ -846,7 +846,7 @@ define(['doT', 'text!temp/office_building_list_template_tpl.html', 'css!style/ho
$("#modal-dujia").removeClass("yz");
$.ajax({
'type': 'GET',
'url': '/index/getExclusive',
'url': '/office_index/getExclusive',
data: {
"houses_id": business.house_id
},
......@@ -964,12 +964,12 @@ define(['doT', 'text!temp/office_building_list_template_tpl.html', 'css!style/ho
var url = "" ;
if ( business.is_exclusive_type == 0 ){
if ( business.auth_edit_exclusive == 0 ) {
url = "/index/editExclusive"
url = "/office_index/editExclusive"
} else {
url = "/index/addExclusive"
url = "/office_index/addExclusive"
}
} else if (business.is_exclusive_type == 1){
url = "/index/editExclusive"
url = "/office_index/editExclusive"
} else {
// nothing to do ;
}
......
......@@ -115,9 +115,7 @@
[% } %]
[% if(it[item]["is_can_edit_only_contract"] == 0) { %]
<!--<a class="btn1 btn-success dujia btn-default-hide-display" href="#modal-dujia" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-exclusive='[%= it[item]["auth_edit_exclusive"] %]'>是否独家</a>
--> [% } %]
<a class="btn1 btn-success dujia btn-default-hide-display" href="#modal-dujia" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-exclusive='[%= it[item]["auth_edit_exclusive"] %]'>是否独家</a>
<!--[% if(check_auth('index/houseDel')) { %]-->
[% if((it[item]["status"] != 3)){ %]
......
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