Commit 5de73c1f by 庄欣

完成

parent 2fafa841
...@@ -213,7 +213,7 @@ fetch(UI).then(function(res){ ...@@ -213,7 +213,7 @@ fetch(UI).then(function(res){
return res.json() return res.json()
}).then(final => { }).then(final => {
if (final.code.toString() === "100002") { if (final.code.toString() === "100002") {
$this.err = "请您先在网站登录,或者请确定您的操作权限"; $this.err = "请先登录,若登录账号没有操作权限,请向公司管理员申请";
} else if (final.code.toString() === "100001") { } else if (final.code.toString() === "100001") {
$this.err = ""; $this.err = "";
} }
...@@ -297,7 +297,7 @@ fetch(UI).then(function(res){ ...@@ -297,7 +297,7 @@ fetch(UI).then(function(res){
$this.showToast("操作成功"); $this.showToast("操作成功");
} else { } else {
if (res.code.toString() === "100002") { if (res.code.toString() === "100002") {
$this.err = "请您先在网站登录,或者请确定您的操作权限"; $this.err = "请先登录,若登录账号没有操作权限,请向公司管理员申请";
} else { } else {
$this.showToast(res.message); $this.showToast(res.message);
} }
...@@ -321,7 +321,7 @@ fetch(UI).then(function(res){ ...@@ -321,7 +321,7 @@ fetch(UI).then(function(res){
$this.showToast("操作成功"); $this.showToast("操作成功");
} else { } else {
if (res.code.toString() === "100002") { if (res.code.toString() === "100002") {
$this.err = "请您先在网站登录,或者请确定您的操作权限"; $this.err = "请先登录,若登录账号没有操作权限,请向公司管理员申请";
} else { } else {
$this.showToast(res.message); $this.showToast(res.message);
} }
...@@ -339,7 +339,7 @@ fetch(UI).then(function(res){ ...@@ -339,7 +339,7 @@ fetch(UI).then(function(res){
$this.showToast("操作成功"); $this.showToast("操作成功");
} else { } else {
if (res.code.toString() === "100002") { if (res.code.toString() === "100002") {
$this.err = "请您先在网站登录,或者请确定您的操作权限"; $this.err = "请先登录,若登录账号没有操作权限,请向公司管理员申请";
} else { } else {
$this.showToast(res.message); $this.showToast(res.message);
} }
...@@ -358,7 +358,7 @@ fetch(UI).then(function(res){ ...@@ -358,7 +358,7 @@ fetch(UI).then(function(res){
$this.showToast("操作成功"); $this.showToast("操作成功");
} else { } else {
if (res.code.toString() === "100002") { if (res.code.toString() === "100002") {
$this.err = "请您先在网站登录,或者请确定您的操作权限"; $this.err = "请先登录,若登录账号没有操作权限,请向公司管理员申请";
} else { } else {
$this.showToast(res.message); $this.showToast(res.message);
} }
......
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