...
|
...
|
@@ -95,7 +95,11 @@ g = new common.grid({ |
|
|
var HtmArr = [];
|
|
|
|
|
|
HtmArr.push('<div>');
|
|
|
|
|
|
var uri = '/shop/decorator/modulartool?shopId=' + item.shopId;
|
|
|
uri += '&shopName=' + encodeURIComponent(item.shopName);
|
|
|
uri += '&appType=' + (+t.active ? 1 : 0);
|
|
|
HtmArr.push('<a href="' + uri + '" target="_blank" class="btn btn-primary btn-xs">APP装修</a>');
|
|
|
HtmArr.push('<a href="/supplier/store/decorationDetail/'+item.shopId+'/'+item.shopsType+'/editor/" class="btn btn-info btn-xs">PC装修</a>');
|
|
|
if(+item.decoratorStatus == 2) {
|
|
|
// 店铺装修模板发布之后,才涉及开店、关店
|
|
|
if(+item.shopStatus == 1){
|
...
|
...
|
@@ -105,12 +109,6 @@ g = new common.grid({ |
|
|
HtmArr.push('<a data-shop-id="'+item.shopId+'" href="javascript:void(0);" class="openshops btn btn-success btn-xs">开店</a>');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
var uri = '/shop/decorator/modulartool?shopId=' + item.shopId;
|
|
|
uri += '&shopName=' + encodeURIComponent(item.shopName);
|
|
|
uri += '&appType=' + (+t.active ? 1 : 0);
|
|
|
HtmArr.push('<a href="' + uri + '" target="_blank" class="btn btn-primary btn-xs">APP装修</a>');
|
|
|
HtmArr.push('<a href="/supplier/store/decorationDetail/'+item.shopId+'/'+item.shopsType+'/editor/" target="_blank" class="btn btn-info btn-xs">PC装修</a>');
|
|
|
HtmArr.push('</div>');
|
|
|
return HtmArr.join('');
|
|
|
}}
|
...
|
...
|
|