|
|
|
@ -3739,7 +3739,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
$scope.uploadAgreementFile = function (file) {
|
|
|
|
|
if (file != null) {
|
|
|
|
|
if (file.size > 10 * 1024 * 1024) {
|
|
|
|
|
commonDialog.alert({title: 'Error', content: '文件大小不能超过5MB,请压缩后重试', type: 'error'})
|
|
|
|
|
commonDialog.alert({title: 'Error', content: '文件大小不能超过10MB,请压缩后重试', type: 'error'})
|
|
|
|
|
} else {
|
|
|
|
|
$scope.agreementFileProgress = {value: 0};
|
|
|
|
|
Upload.upload({
|
|
|
|
|