loulijun2021
2022-07-16 392f9468875a8721c17c4e15c288333017cac4a1
src/views/jcsz/jsqd.vue
@@ -104,23 +104,25 @@
            sortable="custom"
          />
          <el-table-column
            prop="lm_date"
            prop="is_user"
            label="关联用户"
            width="120"
            sortable="custom"
          >
            <template slot-scope="{row}">
              <i class="el-icon-user-solid" @click="userClick(row)" />
              <i v-if="row.is_user==='Y'" class="el-icon-user-solid" @click="userClick(row)" />
              <i v-if="row.is_user==='N'" class="el-icon-user-solid" style="color: #E4E7ED" @click="userClick(row)" />
            </template>
          </el-table-column>
          <el-table-column
            prop="lm_date"
            prop="is_right"
            label="分配权限"
            sortable="custom"
            width="120"
          >
            <template slot-scope="{row}">
              <i class="el-icon-share" @click="rightClick(row)" />
              <i v-if="row.is_right==='Y'" class="el-icon-share" @click="rightClick(row)" />
              <i v-if="row.is_right==='N'" class="el-icon-share" style="color: #E4E7ED" @click="rightClick(row)" />
            </template>
          </el-table-column>
          <el-table-column
@@ -941,6 +943,7 @@
      const res = await SaveRoleAssoctUser(userMultipleArr, this.dialogFormUser.rolecode)
      if (res.code === '200') {
        this.$message.success('保存成功!')
        await this.getRoleSearch()
        this.userDialogVisible = false
      }
    },
@@ -1188,6 +1191,7 @@
      const res = await SaveUserAssoctRight(rightSubmit, rolecode, usercode)
      if (res.code === '200') {
        this.$message.success('保存成功!')
        await this.getRoleSearch()
        this.dialogVisibleRight = false
      }
    },