|
@@ -425,6 +425,7 @@ export function correlationSql(type, val) {
|
|
|
const parm = { key: '', params: [] }
|
|
const parm = { key: '', params: [] }
|
|
|
const col = {
|
|
const col = {
|
|
|
jyrykhjlb: 'bei_kao_he_ren_yu',
|
|
jyrykhjlb: 'bei_kao_he_ren_yu',
|
|
|
|
|
+ jyrykhjlbsz: 'kao_he_ren_',
|
|
|
lhrynlqr: 'bei_shou_quan_ren',
|
|
lhrynlqr: 'bei_shou_quan_ren',
|
|
|
lhrypxjlb: 'peixunrenyuan',
|
|
lhrypxjlb: 'peixunrenyuan',
|
|
|
lhpxsqb: 'can_jia_ren_yuan_',
|
|
lhpxsqb: 'can_jia_ren_yuan_',
|
|
@@ -433,13 +434,19 @@ export function correlationSql(type, val) {
|
|
|
}
|
|
}
|
|
|
const colKey = {
|
|
const colKey = {
|
|
|
jyrykhjlb: 'blrydakhtabcx',
|
|
jyrykhjlb: 'blrydakhtabcx',
|
|
|
|
|
+ jyrykhjlbsz: 'blrydakhsztabcx',
|
|
|
lhrynlqr: 'blrydasqtabcx',
|
|
lhrynlqr: 'blrydasqtabcx',
|
|
|
lhrypxjlb: 'blrydapxtabcx',
|
|
lhrypxjlb: 'blrydapxtabcx',
|
|
|
lhpxsqb: 'blrydwbpxtabcx',
|
|
lhpxsqb: 'blrydwbpxtabcx',
|
|
|
kaoshijilu: 'blrydakstabcx',
|
|
kaoshijilu: 'blrydakstabcx',
|
|
|
tjbgb: 'blrydasjcx'
|
|
tjbgb: 'blrydasjcx'
|
|
|
}
|
|
}
|
|
|
- if (type === 'jyrykhjlb' || type === 'lhrynlqr' || type === 'lhpxsqb') {
|
|
|
|
|
|
|
+ if (
|
|
|
|
|
+ type === 'jyrykhjlb' ||
|
|
|
|
|
+ type === 'jyrykhjlbsz' ||
|
|
|
|
|
+ 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_ = '已完成' `
|
|
|
parm.key = colKey[type]
|
|
parm.key = colKey[type]
|
|
|
parm.params = [val]
|
|
parm.params = [val]
|
|
@@ -506,6 +513,43 @@ export const correlationConfig = {
|
|
|
[{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
[{ name: '表单', field: 'kuai_zhao_', type: 'file' }]
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
|
|
+ jyrykhjlbsz: {
|
|
|
|
|
+ config: [
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '编制时间',
|
|
|
|
|
+ width: '25%',
|
|
|
|
|
+ type: 'text',
|
|
|
|
|
+ field: 'bian_zhi_shi_jian'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '表单名称',
|
|
|
|
|
+ width: '30%',
|
|
|
|
|
+ type: 'text',
|
|
|
|
|
+ field: 'biao_dan_ming_che'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '表单模板',
|
|
|
|
|
+ width: '40%',
|
|
|
|
|
+ type: 'file',
|
|
|
|
|
+ field: 'biao_dan_mo_ban_'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '考核人',
|
|
|
|
|
+ width: '15%',
|
|
|
|
|
+ type: 'user',
|
|
|
|
|
+ field: 'kao_he_ren_'
|
|
|
|
|
+ }
|
|
|
|
|
+ // { label: '附件', width: '14%', type: 'file', field: 'shang_chuan_fu_ji' },
|
|
|
|
|
+ ],
|
|
|
|
|
+ dialog: [
|
|
|
|
|
+ [
|
|
|
|
|
+ { name: '考核人', field: 'kao_he_ren_', type: 'user' },
|
|
|
|
|
+ { name: '编制时间', field: 'bian_zhi_shi_jian', type: 'text' }
|
|
|
|
|
+ ],
|
|
|
|
|
+ [{ name: '表单名称', field: 'biao_dan_ming_che', type: 'text' }],
|
|
|
|
|
+ [{ name: '表单模板', field: 'biao_dan_mo_ban_', type: 'file' }]
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
lhrynlqr: {
|
|
lhrynlqr: {
|
|
|
config: [
|
|
config: [
|
|
|
{
|
|
{
|