Browse Source

修改按钮样式

master
zhouhaibin 4 months ago
parent
commit
814a3bbfa4
  1. 16
      src/views/projectLib/projectInfo/index.vue

16
src/views/projectLib/projectInfo/index.vue

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

Loading…
Cancel
Save