赵士淞
2023-03-21 bbc8655a1f8d987ea12a32f72bde6c9d616a9dae
eladmin-web-master/src/views/task/taskUser/index.vue
@@ -179,7 +179,7 @@
        <el-table-column v-if="checkPer(['admin','taskUser:edit','taskUser:del'])" label="操作" width="150px" align="center" fixed="right">
          <template slot-scope="scope">
            <udOperation
              v-if="userRolesLevelMin == roleLevelSuper || userRolesLevelMin == roleLevelGeneral || scope.row.projectLiableUserId == $store.state.user.user.id || scope.row.userId == $store.state.user.user.id"
              v-if="userRolesLevelMin == roleLevelSuper || userRolesLevelMin == roleLevelGeneral || scope.row.projectLiableUserIdList.indexOf($store.state.user.user.id) != -1 || scope.row.userId == $store.state.user.user.id"
              :data="scope.row"
              :permission="permission"
            />
@@ -524,7 +524,7 @@
          return item.id === this.form.projectId
        })
        // 判断是否是项目责任人
        if ((chooseProject.length === 1 && chooseProject[0].liableUserId === this.$store.state.user.user.id) || this.form.userId === this.$store.state.user.user.id) {
        if ((chooseProject.length === 1 && chooseProject[0].liableUserIdList.indexOf(this.$store.state.user.user.id) !== -1) || this.form.userId === this.$store.state.user.user.id) {
          return true
        } else {
          // 消息提示