Procházet zdrojové kódy

fix:补充查阅受限文件时候不查出已非有效文件

liujiayin před 2 roky
rodič
revize
e801c49f76
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/infosManage/fileIE.vue

+ 1 - 1
src/views/infosManage/fileIE.vue

@@ -268,7 +268,7 @@ export default {
       // 部门权限文件
       let buMenSql = `${selectSql}  t_wjxxb wj where wj.shi_fou_guo_shen_ ='有效' ${wheres2}`
       // 受限文件
-      let authoritySql = `${selectSql}  t_wjxxb wj WHERE wj.quan_xian_xin_xi_ like '%${this.userId}%'  ${wheres3} `
+      let authoritySql = `${selectSql}  t_wjxxb wj WHERE wj.shi_fou_guo_shen_ ='有效' and wj.quan_xian_xin_xi_ like '%${this.userId}%'  ${wheres3} `
       let sqlArr = [comSql, buMenSql, authoritySql]
       let oldRecordSql = `select * FROM t_ywyxjlb wj  LEFT JOIN lh_bm_ry ry ON ry.ry_id = wj.bian_zhi_ren_ where wj.bian_zhi_ren_='${this.userId}' ${wheres1}  order by bian_zhi_shi_jian desc`
       for (var i in Object.keys(this.fileTypesDatas)) {