Преглед изворни кода

Revert "feat: <运营商数据定制及分析>包权限分配人员限制解除"

This reverts commit 4514d413988f62db3e8d9fe1189541f35ee0531e.
cuiyalong пре 1 година
родитељ
комит
d1e52fc7e5
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      entbase-pc/src/views/ent/components/powerPerson.vue

+ 2 - 4
entbase-pc/src/views/ent/components/powerPerson.vue

@@ -152,12 +152,10 @@ export default {
     }),
     deal_personList: function () {
       const arr = JSON.parse(JSON.stringify(this.personList))
-      // <运营商数据定制及分析>产品只对已经分配的用户进行禁用。分配其他权限的用户仍然可以分配此权限
-      const excludeCustom = this.selectData?.product_type?.includes('运营商数据定制及分析')
       arr.list && arr.list.forEach((items, x) => {
         const list = []
         items.users.forEach(item => {
-          if (this.pagetype === 'manage' && !excludeCustom) {
+          if (this.pagetype === 'manage') {
             if(this.userPerson && this.userPerson.length !== 0) {
               this.userPerson.forEach((v) => {
                 if (v.phone === item.phone) {
@@ -168,7 +166,7 @@ export default {
             }
           }
           this.selectedList.forEach((val, i) => {
-            if (this.pagetype === 'manage' && !excludeCustom) {
+            if (this.pagetype === 'manage') {
               if(this.userPerson && this.userPerson.length !== 0) {
                 this.userPerson.forEach((v) => {
                   if (v.phone === val.phone) {