|
@@ -45,7 +45,7 @@
|
|
|
<div class="table_box">
|
|
|
<HcTable :column="drafttableColumn" :datas="drafttableData" ui="hc-test-drop-table" isRowDrop isSort @row-drop="rowDropTap" @row-sort="rowSortTap">
|
|
|
<template #action="{row, index}">
|
|
|
- <el-button hc-btn type="primary" size="small">继续编辑</el-button>
|
|
|
+ <el-button hc-btn type="primary" size="small" @click="editinfoClick(row)">继续编辑</el-button>
|
|
|
<el-button hc-btn type="primary" size="small">删除</el-button>
|
|
|
</template>
|
|
|
</HcTable>
|
|
@@ -74,7 +74,7 @@ const tableColumn = [
|
|
|
{key: 'key8', name: '审批状态'},
|
|
|
{key: 'key9', name: '创建人'},
|
|
|
{key: 'key10', name: '创建时间'},
|
|
|
- {key: 'action', name: '操作',widths:120},
|
|
|
+ {key: 'action', name: '操作',widths:100},
|
|
|
|
|
|
|
|
|
]
|
|
@@ -148,7 +148,6 @@ const toImportTempClick=()=>{
|
|
|
|
|
|
}
|
|
|
//编辑出差申请
|
|
|
-
|
|
|
const addinfoClick=()=>{
|
|
|
router.push({
|
|
|
name: 'attendance-business-trip-info',
|
|
@@ -157,6 +156,15 @@ const addinfoClick=()=>{
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+const editinfoClick=(row)=>{
|
|
|
+ importModal.value=false
|
|
|
+ router.push({
|
|
|
+ name: 'attendance-business-trip-info',
|
|
|
+ query: {
|
|
|
+ type: 'edit'
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|
|
|
</style>
|