|
@@ -14,6 +14,7 @@ Page({
|
|
|
methodsList: ['上游', '下游', '双向合作'],
|
|
|
showType: '',
|
|
|
throttle: true, //截流
|
|
|
+ fisadministrator: (wx.getStorageSync('userData').fisadministrator == 1) ? false : true,
|
|
|
},
|
|
|
/* 遮罩层点击关闭 */
|
|
|
closeTheDropDown() {
|
|
@@ -84,6 +85,10 @@ Page({
|
|
|
},
|
|
|
/* 下拉 */
|
|
|
dropDown() {
|
|
|
+ if (this.data.fisadministrator) return wx.showToast({
|
|
|
+ title: '当前账号无权限操作',
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
this.setData({
|
|
|
dropDownList: true
|
|
|
})
|
|
@@ -93,6 +98,10 @@ Page({
|
|
|
detail
|
|
|
}) {
|
|
|
const that = this;
|
|
|
+ if (this.data.fisadministrator) return wx.showToast({
|
|
|
+ title: '当前账号无权限操作',
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
this.closeTheDropDown()
|
|
|
if (this.data.checked) {
|
|
|
wx.showModal({
|