Explorar o código

调整人员模块人员评估和人员授权显示

zhonghuizhen hai 9 meses
pai
achega
298067364e
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  1. 6 4
      src/views/component/personnelFile/constants/simulated.js

+ 6 - 4
src/views/component/personnelFile/constants/simulated.js

@@ -423,14 +423,17 @@ export const data =
 export function correlationSql(type, val) {
     let sql = ``;
     const col = {
-        khjlqrb: "bei_kao_he_ren_",
+        //khjlqrb: "bei_kao_he_ren_",
+        khjlqrb: "bei_kao_he_ren_yu",
         lhrynlqr: "bei_shou_quan_ren",
         lhrypxjlb: "peixunrenyuan",
         lhpxsqb: "can_jia_ren_yuan_",
         kaoshijilu: "examinee",
         tjbgb: "xing_ming_",
     };
-    if (type === "khjlqrb" || type === "lhrynlqr" || type === "lhpxsqb") {
+    if (type === "khjlqrb") {
+        sql = `select * from t_jyrykhjlb where FIND_IN_SET('${val}',${col[type]}) and shi_fou_guo_shen_ = '已完成'`;
+    }else if (type === "lhrynlqr" || type === "lhpxsqb") {
         sql = `select * from t_${type} where FIND_IN_SET('${val}',${col[type]}) and shi_fou_guo_shen_ = '已完成' `;
     } else if (type === "kaoshijilu") {
         sql = `select * from v_examination where FIND_IN_SET('${val}',${col[type]}) and paperState = '已完成' and examType!='自主考核' ORDER BY createTime asc`;
@@ -493,9 +496,8 @@ export const correlationConfig = {
             {
                 label: "授权岗位",
                 width: "16%",
-                type: "dialog",
+                type: "position",
                 field: "shou_quan_gang_we",
-                dialogKey: "gwzzdhk",
             },
             // { label: '审核人', width: '10%', type: 'user', field: 'shen_he_ren_' },
             // { label: '检验专业', width: '10%', type: 'text', field: 'jian_yan_zhuan_ye' },