|
@@ -298,15 +298,39 @@ var vm = new Vue({
|
|
|
vm.handleReset('formValidate');
|
|
|
},
|
|
|
handleSuccessListPicUrl: function (res, file) {
|
|
|
+ if (res.code=="500" && res.msg=="没有权限,请联系管理员授权"){
|
|
|
+ this.$Notice.warning({
|
|
|
+ title: res.msg,
|
|
|
+ desc: "无上传文件的权限,请联系管理员授权"
|
|
|
+ });
|
|
|
+ }
|
|
|
vm.brand.listPicUrl = file.response.url;
|
|
|
},
|
|
|
handleSuccessPicUrl: function (res, file) {
|
|
|
+ if (res.code=="500" && res.msg=="没有权限,请联系管理员授权"){
|
|
|
+ this.$Notice.warning({
|
|
|
+ title: res.msg,
|
|
|
+ desc: "无上传文件的权限,请联系管理员授权"
|
|
|
+ });
|
|
|
+ }
|
|
|
vm.brand.picUrl = file.response.url;
|
|
|
},
|
|
|
handleSuccessAppListPicUrl: function (res, file) {
|
|
|
+ if (res.code=="500" && res.msg=="没有权限,请联系管理员授权"){
|
|
|
+ this.$Notice.warning({
|
|
|
+ title: res.msg,
|
|
|
+ desc: "无上传文件的权限,请联系管理员授权"
|
|
|
+ });
|
|
|
+ }
|
|
|
vm.brand.appListPicUrl = file.response.url;
|
|
|
},
|
|
|
handleSuccessNewPicUrl: function (res, file) {
|
|
|
+ if (res.code=="500" && res.msg=="没有权限,请联系管理员授权"){
|
|
|
+ this.$Notice.warning({
|
|
|
+ title: res.msg,
|
|
|
+ desc: "无上传文件的权限,请联系管理员授权"
|
|
|
+ });
|
|
|
+ }
|
|
|
vm.brand.newPicUrl = file.response.url;
|
|
|
},
|
|
|
handleFormatError: function (file) {
|