|
@@ -120,21 +120,21 @@
|
120
|
120
|
uni.hideLoading();
|
121
|
121
|
if (result.state == 200) {
|
122
|
122
|
this.infoDATA = result.result;
|
123
|
|
- if (this.loginUser.dept.id != this.infoDATA.launch.id) {
|
124
|
|
- uni.showModal({
|
125
|
|
- title: '提示',
|
126
|
|
- content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
|
127
|
|
- "】,您不能进行操作",
|
128
|
|
- showCancel: false,
|
129
|
|
- success: function(res) {
|
130
|
|
- if (res.confirm) {
|
131
|
|
- console.log('用户点击确定');
|
132
|
|
- } else if (res.cancel) {
|
133
|
|
- console.log('用户点击取消');
|
134
|
|
- }
|
135
|
|
- }
|
136
|
|
- });
|
137
|
|
- }
|
|
123
|
+ // if (this.loginUser.dept.id != this.infoDATA.launch.id) {
|
|
124
|
+ // uni.showModal({
|
|
125
|
+ // title: '提示',
|
|
126
|
+ // content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
|
|
127
|
+ // "】,您不能进行操作",
|
|
128
|
+ // showCancel: false,
|
|
129
|
+ // success: function(res) {
|
|
130
|
+ // if (res.confirm) {
|
|
131
|
+ // console.log('用户点击确定');
|
|
132
|
+ // } else if (res.cancel) {
|
|
133
|
+ // console.log('用户点击取消');
|
|
134
|
+ // }
|
|
135
|
+ // }
|
|
136
|
+ // });
|
|
137
|
+ // }
|
138
|
138
|
} else {
|
139
|
139
|
uni.showToast({
|
140
|
140
|
icon: "none",
|
|
@@ -154,21 +154,21 @@
|
154
|
154
|
uni.hideLoading();
|
155
|
155
|
if (res.status == 200) {
|
156
|
156
|
this.infoDATA = res.data;
|
157
|
|
- if (this.loginUser.dept.id != this.infoDATA.launch.id) {
|
158
|
|
- uni.showModal({
|
159
|
|
- title: '提示',
|
160
|
|
- content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
|
161
|
|
- "】,您不能进行操作",
|
162
|
|
- showCancel: false,
|
163
|
|
- success: function(res) {
|
164
|
|
- if (res.confirm) {
|
165
|
|
- console.log('用户点击确定');
|
166
|
|
- } else if (res.cancel) {
|
167
|
|
- console.log('用户点击取消');
|
168
|
|
- }
|
169
|
|
- }
|
170
|
|
- });
|
171
|
|
- }
|
|
157
|
+ // if (this.loginUser.dept.id != this.infoDATA.launch.id) {
|
|
158
|
+ // uni.showModal({
|
|
159
|
+ // title: '提示',
|
|
160
|
+ // content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
|
|
161
|
+ // "】,您不能进行操作",
|
|
162
|
+ // showCancel: false,
|
|
163
|
+ // success: function(res) {
|
|
164
|
+ // if (res.confirm) {
|
|
165
|
+ // console.log('用户点击确定');
|
|
166
|
+ // } else if (res.cancel) {
|
|
167
|
+ // console.log('用户点击取消');
|
|
168
|
+ // }
|
|
169
|
+ // }
|
|
170
|
+ // });
|
|
171
|
+ // }
|
172
|
172
|
} else {
|
173
|
173
|
uni.showToast({
|
174
|
174
|
icon: "none",
|