|
|
@ -21,17 +21,17 @@ |
|
|
|
|
|
|
|
|
|
|
|
<template #tableTitle> |
|
|
|
<el-button type="primary" @click="handleCreate" v-if="isShowByRoles('projectContact')"> 新增入库项目</el-button> |
|
|
|
<el-button type="primary" @click="handleBatchImport" v-if="isShowByRoles('manageOrg')"> |
|
|
|
<el-button type="primary" round @click="handleCreate" v-if="isShowByRoles('projectContact')"> 新增入库项目</el-button> |
|
|
|
<el-button type="primary" round @click="handleBatchImport" v-if="isShowByRoles('manageOrg')"> |
|
|
|
批量导入入库项目</el-button> |
|
|
|
<el-button type="primary" @click="handleBatchdownload"> 导出项目</el-button> |
|
|
|
<el-button type="primary" round @click="handleBatchdownload"> 导出项目</el-button> |
|
|
|
</template> |
|
|
|
<template #toolbar> |
|
|
|
<el-button type="primary" @click="handleumodifyinfo()" v-if="isShowByRoles('projectContact')"> |
|
|
|
<el-button type="primary" round @click="handleumodifyinfo()" v-if="isShowByRoles('projectContact')"> |
|
|
|
变更项目信息</el-button> |
|
|
|
<el-button type="primary" @click="handleAddSubProject()" v-if="isShowByRoles('projectContact')"> |
|
|
|
<el-button type="primary" round @click="handleAddSubProject()" v-if="isShowByRoles('projectContact')"> |
|
|
|
新增子项目</el-button> |
|
|
|
<el-button color="#626aef" :dark="true" @click="openModfiyInfoPage()">项目修改记录</el-button> |
|
|
|
<el-button color="#626aef" round :dark="true" @click="openModfiyInfoPage()">项目修改记录</el-button> |
|
|
|
</template> |
|
|
|
</BasicTable> |
|
|
|
|
|
|
@ -117,7 +117,9 @@ const [registerTable, { reload, getForm, getSelectRows, clearSelectedRowKeys }] |
|
|
|
}, |
|
|
|
beforeFetch(param) { |
|
|
|
clearSelectedRowKeys() |
|
|
|
param.stage = "0" |
|
|
|
if(param.stage == undefined||param.stage == null){ |
|
|
|
param.stage = "0" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
rowSelection: { type: 'radio' }, |
|
|
|