档案移交申请
This commit is contained in:
parent
9144a584c6
commit
ea411b153d
|
|
@ -0,0 +1,37 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 档案移交申请列表
|
||||
export function getTransferApplyListApi(params) {
|
||||
return request({
|
||||
url: '/smartArchives/transferApply/getTransferApplyList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
}
|
||||
|
||||
// 新增档案移交申请
|
||||
export function saveTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/smartArchives/transferApply/saveTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑档案移交申请
|
||||
export function editTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/smartArchives/transferApply/editTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除档案移交申请
|
||||
export function delTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/smartArchives/transferApply/delTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
<el-table-column
|
||||
align="center"
|
||||
label="操作"
|
||||
:min-width="dynamicWidth"
|
||||
:width="handleColWidth"
|
||||
:show-overflow-tooltip="false"
|
||||
v-if="handleShow && showOperation"
|
||||
>
|
||||
|
|
@ -340,6 +340,8 @@ export default {
|
|||
columnCheckList: [],
|
||||
// 操作列最小宽度
|
||||
dynamicWidth: 0,
|
||||
// 操作列固定宽度,防止列数过少导致过宽
|
||||
handleColWidth: 250,
|
||||
// 自增id
|
||||
idCount: 1,
|
||||
// 日期查询条件 字段名称
|
||||
|
|
@ -393,7 +395,7 @@ export default {
|
|||
this.getTableList()
|
||||
},
|
||||
updated() {
|
||||
// 更新时重新计算操作列需要的最小宽度 确保展示无误
|
||||
// 若需要自适应最小宽度,可启用下行;当前使用固定宽度 handleColWidth
|
||||
this.dynamicWidth = this.getOperatorWidth()
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<!-- 项目管理 -->
|
||||
<!-- 档案移交申请 -->
|
||||
<div class="app-container">
|
||||
<TableModel :formLabel="formLabel" :showOperation="true" :showRightTools="true" ref="proTableRef"
|
||||
:columnsList="columnsList" :request-api="getProListAPI">
|
||||
|
|
|
|||
Loading…
Reference in New Issue