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