|
|
@@ -12,6 +12,7 @@
|
|
|
:row-handle="listConfig.rowHandle"
|
|
|
:pagination="pagination"
|
|
|
:loading="loading"
|
|
|
+ :index-row="false"
|
|
|
@action-event="handleAction"
|
|
|
@sort-change="handleSortChange"
|
|
|
@pagination-change="handlePaginationChange"
|
|
|
@@ -61,7 +62,7 @@ export default {
|
|
|
{ key: 'search', icon: 'ibps-icon-search', label: '查询', type: 'primary' }
|
|
|
],
|
|
|
searchForm: {
|
|
|
- labelWidth: 100,
|
|
|
+ labelWidth: 60,
|
|
|
forms: [
|
|
|
{ prop: 'Q^bian_zhi_ren_^S', label: '申请人', fieldType: 'select', options: userOption },
|
|
|
{ prop: ['Q^bian_zhi_shi_jian^DL', 'Q^bian_zhi_shi_jian^DG'], label: '申请时间', fieldType: 'daterange' },
|
|
|
@@ -72,15 +73,15 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
columns: [
|
|
|
- { prop: 'bian_zhi_ren_', label: '申请人', tags: userOption, width: 80 },
|
|
|
+ { prop: 'bian_zhi_ren_', label: '申请人', tags: userOption, width: 100 },
|
|
|
{ prop: 'bian_zhi_shi_jian', label: '申请时间', dateFormat: 'yyyy-MM-dd HH:mm', sortable: 'custom', width: 140 },
|
|
|
- // { prop: 'shenHeRen', label: '审核人', tags: userOption, dataType: 'stringArray', separator: ',', minWidth: 100 },
|
|
|
- // { prop: 'shenHeShiJian', label: '审核时间', dateFormat: 'yyyy-MM-dd HH:mm', sortable: 'custom', width: 140 },
|
|
|
+ { prop: 'shen_he_ren_', label: '审批人', tags: userOption, dataType: 'stringArray', separator: ',', width: 200 },
|
|
|
+ { prop: 'shen_he_shi_jian_', label: '审批时间', dateFormat: 'yyyy-MM-dd HH:mm', sortable: 'custom', width: 140 },
|
|
|
{ prop: 'zhuang_tai_', label: '状态', width: 90 },
|
|
|
- { prop: 'bu_ka_ri_qi_', label: '补卡日期', dateFormat: 'yyyy-MM-dd', sortable: 'custom', width: 80 },
|
|
|
- { prop: 'bu_ka_shi_jian_', label: '补卡时间', dateFormat: 'HH:mm', sortable: 'custom', width: 80 },
|
|
|
- { prop: 'bu_ka_ban_ci_', label: '补卡班次', width: 80 },
|
|
|
- { prop: 'bu_ka_shi_you_', label: '补卡事由', width: 300 },
|
|
|
+ { prop: 'bu_ka_ri_qi_', label: '补卡日期', dateFormat: 'yyyy-MM-dd', sortable: 'custom', width: 100 },
|
|
|
+ { prop: 'bu_ka_shi_jian_', label: '补卡时间', dateFormat: 'HH:mm', sortable: 'custom', width: 100 },
|
|
|
+ { prop: 'bu_ka_ban_ci_', label: '补卡班次', width: 100 },
|
|
|
+ { prop: 'bu_ka_shi_you_', label: '补卡事由', minWidth: 300 }
|
|
|
// { prop: 'fu_jian_', label: '说明附件', width: 150 }
|
|
|
],
|
|
|
rowHandle: {
|
|
|
@@ -132,7 +133,7 @@ export default {
|
|
|
const { first, second } = this.$store.getters.level || {}
|
|
|
const searchParam = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
|
|
|
searchParam['Q^di_dian_^S'] = second || first
|
|
|
- searchParam['Q^shen_he_ren_^S'] = this.$store.getters.userId
|
|
|
+ searchParam['Q^shen_he_ren_^SL'] = this.$store.getters.userId
|
|
|
return ActionUtils.formatParams(searchParam, this.pagination, this.sorts)
|
|
|
},
|
|
|
getSearchSql () {
|
|
|
@@ -212,6 +213,7 @@ export default {
|
|
|
if (key === 'agree') {
|
|
|
status = '已通过'
|
|
|
}
|
|
|
+ const time = self.$common.getFormatDate()
|
|
|
const submitData = {
|
|
|
banCiZhuangTai: data.ban_ci_zhuang_tai || '',
|
|
|
bianZhiRen: data.bian_zhi_ren_ || '',
|
|
|
@@ -230,7 +232,7 @@ export default {
|
|
|
paiBanId: data.pai_ban_id_ || '',
|
|
|
paiBanJiLuId: data.pai_ban_ji_lu_id_ || '',
|
|
|
shenHeRen: data.shen_he_ren_ || '',
|
|
|
- shenHeShiJian: data.shen_he_shi_jian_ || '',
|
|
|
+ shenHeShiJian: time || '',
|
|
|
shenHeYiJian: data.shen_he_yi_jian_ || '',
|
|
|
tenantId: data.tenant_id_ || '',
|
|
|
updateBy: data.update_by_ || '',
|