|
|
@@ -422,14 +422,14 @@ export const data = '{"id":"","shiFouGuoShen":"已编制","jiaoYuId":"1315704890
|
|
|
export function correlationSql (type, val) {
|
|
|
let sql = ``
|
|
|
const col = {
|
|
|
- jyrykhjlb: 'bei_kao_he_ren_yu',
|
|
|
+ khjlqrb: 'bei_kao_he_ren_',
|
|
|
lhrynlqr: 'bei_shou_quan_ren',
|
|
|
lhrypxjlb: 'peixunrenyuan',
|
|
|
lhpxsqb: 'can_jia_ren_yuan_',
|
|
|
kaoshijilu: 'examinee',
|
|
|
tjbgb: 'xing_ming_'
|
|
|
}
|
|
|
- if (type === 'jyrykhjlb' || type === 'lhrynlqr' || type === 'lhpxsqb') {
|
|
|
+ if (type === 'khjlqrb' || 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 = '已完成' ORDER BY createTime asc`
|
|
|
@@ -441,41 +441,41 @@ export function correlationSql (type, val) {
|
|
|
return sql
|
|
|
}
|
|
|
export const correlationConfig = {
|
|
|
- jyrykhjlb: {
|
|
|
+ khjlqrb: {
|
|
|
config: [
|
|
|
- { label: '考核时机', width: '15%', type: 'text', field: 'kao_he_shi_ji_' },
|
|
|
- { label: '岗位类型', width: '10%', type: 'text', field: 'gang_wei_lei_xing' },
|
|
|
+ // { label: '考核时机', width: '15%', type: 'text', field: 'kao_he_shi_ji_' },
|
|
|
+ { label: '考核类型', width: '10%', type: 'text', field: 'kao_he_lei_bie_' },
|
|
|
{ label: '考核时间', width: '15%', type: 'text', field: 'bian_zhi_shi_jian' },
|
|
|
- { label: '总分', width: '10%', type: 'text', field: 'zong_fen_' },
|
|
|
+ // { label: '总分', width: '10%', type: 'text', field: 'zong_fen_' },
|
|
|
{ label: '考核结果', width: '12%', type: 'text', field: 'kao_he_jie_guo_' },
|
|
|
- { label: '附件', width: '14%', type: 'file', field: 'shang_chuan_fu_ji' },
|
|
|
+ { label: '附件', width: '14%', type: 'file', field: 'fu_jian_' },
|
|
|
{ label: '表单', width: '14%', type: 'file', field: 'kuai_zhao_' }
|
|
|
|
|
|
],
|
|
|
dialog: [
|
|
|
- [{ name: '被考核人员', field: 'bei_kao_he_ren_yu', type: 'user' }, { name: '考核时间', field: 'bian_zhi_shi_jian', type: 'text' }],
|
|
|
- [{ name: '考核时机', field: 'kao_he_shi_ji_', type: 'text' }, { name: '总分', field: 'zong_fen_', type: 'text' }],
|
|
|
- [{ name: '岗位类型', field: 'gang_wei_lei_xing', type: 'text' }, { name: '考核结果', field: 'kao_he_jie_guo_', type: 'text' }],
|
|
|
+ [{ name: '被考核人员', field: 'bei_kao_he_ren_', type: 'user' }, { name: '编制时间', field: 'bian_zhi_shi_jian', type: 'text' }],
|
|
|
+ // [{ name: '考核时机', field: 'kao_he_shi_ji_', type: 'text' }, { name: '总分', field: 'zong_fen_', type: 'text' }],
|
|
|
+ [{ name: '考核类型', field: 'kao_he_lei_bie_', type: 'text' }, { name: '考核结果', field: 'kao_he_jie_guo_', type: 'text' }],
|
|
|
[{ name: '附件', field: 'shang_chuan_fu_ji', type: 'file' }],
|
|
|
[{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
|
]
|
|
|
},
|
|
|
lhrynlqr: {
|
|
|
config: [
|
|
|
- { label: '授权使用设备', width: '20%', type: 'dialog', field: 'shou_quan_shi_yon', dialogKey: 'sbwxdhk' },
|
|
|
- { label: '授权岗位', width: '16%', type: 'dialog', field: 'shou_quan_gang_we', dialogKey: 'gwzzdhkrysqy' },
|
|
|
- { 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: 'kao_he_jie_guo_' },
|
|
|
+ { label: '授权使用设备', width: '20%', type: 'dialog', field: 'shou_quan_shi_yon', dialogKey: 'mjsbdjmcdhk' },
|
|
|
+ { label: '授权岗位', width: '16%', type: 'dialog', 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' },
|
|
|
+ { label: '能力确认', width: '10%', type: 'text', field: 'neng_li_que_ren_' },
|
|
|
{ label: '附件', width: '12%', type: 'file', field: 'shang_chuan_fu_ji' },
|
|
|
{ label: '表单', width: '12%', type: 'file', field: 'kuai_zhao_' }
|
|
|
|
|
|
],
|
|
|
dialog: [
|
|
|
- [{ name: '授权使用设备', field: 'shou_quan_shi_yon', type: 'dialog', dialogKey: 'sbwxdhk' }, { name: '能力评估结果', field: 'kao_he_jie_guo_', type: 'text' }],
|
|
|
- [{ name: '授权岗位', field: 'shou_quan_gang_we', type: 'dialog', dialogKey: 'gwzzdhkrysqy' }, { name: '考核日期', field: 'kao_he_shi_jian_', type: 'text' }],
|
|
|
- [{ name: '审核人', field: 'shen_he_ren_', type: 'user' }, { name: '检验专业', field: 'jian_yan_zhuan_ye', type: 'text' }],
|
|
|
- [{ name: '考核记录', field: 'xuan_ze_kao_he_ji', type: 'dialog', dialogKey: 'jyrykhdhkrysqy' }, { name: '是否合格', field: 'shi_fou_he_ge_', type: 'text' }],
|
|
|
+ [{ name: '授权使用设备', field: 'shou_quan_shi_yon', type: 'dialog', dialogKey: 'mjsbdjmcdhk' }, { name: '能力确认', field: 'kao_he_jie_guo_', type: 'text' }],
|
|
|
+ [{ name: '授权岗位', field: 'shou_quan_gang_we', type: 'dialog', dialogKey: 'gwzzdhk' }, { name: '编制时间', field: 'bian_zhi_shi_jian', type: 'text' }],
|
|
|
+ // [{ name: '审核人', field: 'shen_he_ren_', type: 'user' }, { name: '检验专业', field: 'jian_yan_zhuan_ye', type: 'text' }],
|
|
|
+ // [{ name: '考核记录', field: 'xuan_ze_kao_he_ji', type: 'dialog', dialogKey: 'jyrykhdhkrysqy' }, { name: '是否合格', field: 'shi_fou_he_ge_', type: 'text' }],
|
|
|
[{ name: '附件', field: 'shang_chuan_fu_ji', type: 'file' }],
|
|
|
[{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
|
]
|