oa初步完成

This commit is contained in:
2024-11-16 20:08:00 +08:00
parent 17ef95ebae
commit 76403c1cf8
35 changed files with 1157 additions and 93 deletions

View File

@@ -166,11 +166,22 @@
<el-button
size="mini"
type="text"
v-if="scope.row.projectStatus === '0'"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['oa:project:edit']"
>实施
</el-button>
<el-button
size="mini"
type="text"
v-if="scope.row.projectStatus === '0'"
icon="el-icon-edit"
@click="handleClosure(scope.row)"
v-hasPermi="['oa:project:edit']"
>结项
</el-button>
<el-button
size="mini"
type="text"
@@ -1757,6 +1768,14 @@ export default {
this.loading = false;
});
},
/** 前往结项页面 */
handleClosure(row){
const projectId = row.projectId;
// 前往项目结项报告
this.$router.push('/project/closure/detail/'+projectId)
},
/** 导出按钮操作 */
handleExport() {
this.download('oa/project/export', {
@@ -1769,7 +1788,6 @@ export default {
if (query !== '') {
this.queryLoading = true;
listWorker().then(res=>{
console.log(res.rows)
this.workerList = res.rows.filter(item => {
return item.nickName.toLowerCase()
.indexOf(query.toLowerCase()) > -1;