|
|
@@ -423,15 +423,6 @@ export const data =
|
|
|
export function correlationSql(type, val) {
|
|
|
const sql = ``
|
|
|
const parm = { key: '', params: [] }
|
|
|
- const col = {
|
|
|
- jyrykhjlb: 'bei_kao_he_ren_yu',
|
|
|
- jyrykhjlbsz: 'kao_he_ren_',
|
|
|
- lhrynlqr: 'bei_shou_quan_ren',
|
|
|
- lhrypxjlb: 'peixunrenyuan',
|
|
|
- lhpxsqb: 'can_jia_ren_yuan_',
|
|
|
- kaoshijilu: 'examinee',
|
|
|
- tjbgb: 'xing_ming_'
|
|
|
- }
|
|
|
const colKey = {
|
|
|
jyrykhjlb: 'blrydakhtabcx',
|
|
|
jyrykhjlbsz: 'blrydakhsztabcx',
|
|
|
@@ -439,17 +430,20 @@ export function correlationSql(type, val) {
|
|
|
lhrypxjlb: 'blrydapxtabcx',
|
|
|
lhpxsqb: 'blrydwbpxtabcx',
|
|
|
kaoshijilu: 'blrydakstabcx',
|
|
|
- tjbgb: 'blrydasjcx'
|
|
|
+ tjbgb: 'blrydasjcx',
|
|
|
+ lhryjdjlb: 'blrydajdtabcx'
|
|
|
}
|
|
|
if (
|
|
|
type === 'jyrykhjlb' ||
|
|
|
type === 'jyrykhjlbsz' ||
|
|
|
type === 'lhrynlqr' ||
|
|
|
- type === 'lhpxsqb'
|
|
|
+ type === 'lhpxsqb' ||
|
|
|
+ type === 'lhryjdjlb'
|
|
|
) {
|
|
|
// sql = `select * from t_${type} where FIND_IN_SET('${val}',${col[type]}) and shi_fou_guo_shen_ = '已完成' `
|
|
|
parm.key = colKey[type]
|
|
|
parm.params = [val]
|
|
|
+ console.log('parm', parm)
|
|
|
} else if (type === 'kaoshijilu') {
|
|
|
parm.key = colKey[type]
|
|
|
parm.params = [val]
|
|
|
@@ -469,7 +463,7 @@ export const correlationConfig = {
|
|
|
jyrykhjlb: {
|
|
|
config: [
|
|
|
{
|
|
|
- label: '考核时机',
|
|
|
+ label: '评估时机',
|
|
|
width: '15%',
|
|
|
type: 'text',
|
|
|
field: 'kao_he_shi_ji_'
|
|
|
@@ -481,14 +475,14 @@ export const correlationConfig = {
|
|
|
field: 'gang_wei_lei_xing'
|
|
|
},
|
|
|
{
|
|
|
- label: '考核时间',
|
|
|
+ label: '评估时间',
|
|
|
width: '15%',
|
|
|
type: 'text',
|
|
|
field: 'bian_zhi_shi_jian'
|
|
|
},
|
|
|
{ label: '总分', width: '10%', type: 'text', field: 'zong_fen_' },
|
|
|
{
|
|
|
- label: '考核结果',
|
|
|
+ label: '评估结果',
|
|
|
width: '12%',
|
|
|
type: 'text',
|
|
|
field: 'kao_he_jie_guo_'
|
|
|
@@ -498,17 +492,82 @@ export const correlationConfig = {
|
|
|
],
|
|
|
dialog: [
|
|
|
[
|
|
|
- { name: '被考核人员', field: 'bei_kao_he_ren_yu', type: 'user' },
|
|
|
- { name: '考核时间', field: 'bian_zhi_shi_jian', type: 'text' }
|
|
|
+ { 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: '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: 'kao_he_jie_guo_', type: 'text' }
|
|
|
+ ],
|
|
|
+ [{ name: '附件', field: 'shang_chuan_fu_ji', type: 'file' }],
|
|
|
+ [{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ lhryjdjlb: {
|
|
|
+ config: [
|
|
|
+ {
|
|
|
+ label: '监督岗位',
|
|
|
+ width: '15%',
|
|
|
+ type: 'dialog',
|
|
|
+ field: 'jian_du_gang_wei_',
|
|
|
+ dialogKey: 'gwzzdhkrysqy'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '监督事由',
|
|
|
+ width: '10%',
|
|
|
+ type: 'text',
|
|
|
+ field: 'jian_du_shi_you_'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '监督方式',
|
|
|
+ width: '10%',
|
|
|
+ type: 'text',
|
|
|
+ field: 'jian_du_fang_shi_'
|
|
|
+ },
|
|
|
+ { label: '监督开始时间', width: '10%', type: 'text', field: 'jian_du_kai_shi_s' },
|
|
|
+ {
|
|
|
+ label: '监督结束时间',
|
|
|
+ width: '12%',
|
|
|
+ type: 'text',
|
|
|
+ field: 'jian_du_jie_shu_s'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '监督意见',
|
|
|
+ width: '12%',
|
|
|
+ type: 'text',
|
|
|
+ field: 'jie_guo_'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '发现问题描述',
|
|
|
+ width: '12%',
|
|
|
+ type: 'text',
|
|
|
+ field: 'fa_xian_wen_ti_mi'
|
|
|
+ },
|
|
|
+ { label: '附件', width: '14%', type: 'file', field: 'shang_chuan_fu_ji' },
|
|
|
+ { label: '表单', width: '14%', type: 'file', field: 'kuai_zhao_' }
|
|
|
+ ],
|
|
|
+ dialog: [
|
|
|
+ [
|
|
|
+ { name: '监督岗位', field: 'jian_du_gang_wei_', type: 'dialog', dialogKey: 'gwzzdhkrysqy' },
|
|
|
+ { name: '监督事由', field: 'jian_du_shi_you_', type: 'text' }
|
|
|
],
|
|
|
+ [
|
|
|
+ { name: '监督意见', field: 'jie_guo_', type: 'text' },
|
|
|
+ { name: '监督方式', field: 'jian_du_fang_shi_', type: 'text' },
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ { name: '检测单号', field: 'jian_ce_wei_tuo_d', type: 'text' },
|
|
|
+ { name: '检测日期', field: 'jian_ce_shi_jian_', type: 'text' },
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ { name: '监督开始时间', field: 'jian_du_kai_shi_s', type: 'text' },
|
|
|
+ { name: '监督结束时间', field: 'jian_du_jie_shu_s', type: 'text' }
|
|
|
+ ],
|
|
|
+ [{ name: '发现问题描述', field: 'fa_xian_wen_ti_mi', type: 'text' }],
|
|
|
[{ name: '附件', field: 'shang_chuan_fu_ji', type: 'file' }],
|
|
|
[{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
|
]
|
|
|
@@ -629,7 +688,7 @@ export const correlationConfig = {
|
|
|
{
|
|
|
label: '培训老师',
|
|
|
width: '12%',
|
|
|
- type: 'text',
|
|
|
+ type: 'user',
|
|
|
field: 'pei_xun_lao_shi_'
|
|
|
},
|
|
|
{
|
|
|
@@ -668,7 +727,7 @@ export const correlationConfig = {
|
|
|
{ name: '培训结束时间', field: 'pei_xun_jie_shu_s', type: 'text' }
|
|
|
],
|
|
|
[
|
|
|
- { name: '培训老师', field: 'pei_xun_lao_shi_', type: 'text' },
|
|
|
+ { name: '培训老师', field: 'pei_xun_lao_shi_', type: 'user' },
|
|
|
{ name: '培训地点', field: 'pei_xun_di_dian_', type: 'text' }
|
|
|
],
|
|
|
[{ name: '培训内容', field: 'pei_xun_xue_xi_ne', type: 'text' }],
|