|
|
@@ -30,6 +30,8 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
|
|
|
$scope.tagStoreWithTag = tagStoreWithTag;
|
|
|
|
|
|
+ $scope.showImg = showImg;
|
|
|
+
|
|
|
active();
|
|
|
|
|
|
/**
|
|
|
@@ -125,6 +127,23 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查看大图
|
|
|
+ *
|
|
|
+ * @param imgUrl 图片链接
|
|
|
+ */
|
|
|
+ function showImg(imgUrl) {
|
|
|
+ var src = imgUrl, box = $('#image-box'), modal = $('.modal-content');
|
|
|
+ box.show();
|
|
|
+ box.find('img').attr('src', src);
|
|
|
+ box.find('a').click(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ box.dblclick(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
}]);
|
|
|
|
|
|
/**
|
|
|
@@ -144,6 +163,8 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
$scope.onUploadDisposeInfo = onUploadDisposeInfo;
|
|
|
$scope.deleteDisposeInfo = deleteDisposeInfo;
|
|
|
|
|
|
+ $scope.showImg = showImg;
|
|
|
+
|
|
|
active();
|
|
|
|
|
|
/**
|
|
|
@@ -213,7 +234,7 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- // TODO huxz 处置店铺违规处置上传证明
|
|
|
+ // 处置店铺违规处置上传证明
|
|
|
if ($scope.disposeProof && $scope.disposeProof.length > 0) {
|
|
|
$scope.violations.disposeProof = $scope.disposeProof.filter(function (proof) {
|
|
|
return proof.url && proof.url !== '';
|
|
|
@@ -236,6 +257,23 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查看大图
|
|
|
+ *
|
|
|
+ * @param imgUrl 图片链接
|
|
|
+ */
|
|
|
+ function showImg(imgUrl) {
|
|
|
+ var src = imgUrl, box = $('#image-box'), modal = $('.modal-content');
|
|
|
+ box.show();
|
|
|
+ box.find('img').attr('src', src);
|
|
|
+ box.find('a').click(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ box.dblclick(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
}]);
|
|
|
|
|
|
/**
|
|
|
@@ -356,6 +394,8 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
$scope.wantRestoreStore = wantRestoreStore;
|
|
|
$scope.confirmRestoreStore = confirmRestoreStore;
|
|
|
|
|
|
+ $scope.showImg = showImg;
|
|
|
+
|
|
|
/**
|
|
|
* 设置审核信息
|
|
|
*/
|
|
|
@@ -437,6 +477,23 @@ define([ 'ngResource', 'common/query/storeViolations', 'ngTable', 'ngSanitize',
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查看大图
|
|
|
+ *
|
|
|
+ * @param imgUrl 图片链接
|
|
|
+ */
|
|
|
+ function showImg(imgUrl) {
|
|
|
+ var src = imgUrl, box = $('#image-box'), modal = $('.modal-content');
|
|
|
+ box.show();
|
|
|
+ box.find('img').attr('src', src);
|
|
|
+ box.find('a').click(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ box.dblclick(function(){
|
|
|
+ box.hide();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
}]);
|
|
|
|
|
|
});
|