This commit is contained in:
hezhengao 2024-04-08 15:46:21 +08:00
parent faa72e654f
commit c0268e8304
2 changed files with 8 additions and 4 deletions

View File

@ -68,9 +68,8 @@ export const constantRoutes = [
children: [
{
path: 'index',
component: () => import('@/views/index'),
component: () => import('@/views/abuwx/wxuser/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
},

View File

@ -35,7 +35,12 @@
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="项目名称" align="center" prop="projectName" />
<el-table-column label="项目概况" align="center" prop="projectOverview" />
<el-table-column label="附件上传" align="center" prop="remark" />
<el-table-column label="附件上传" align="center" prop="remark">
<template slot-scope="scope">
<button v-if="scope.row.remark">下载</button>
<span v-else>无附件</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
@ -85,7 +90,7 @@
<script>
import { listProject, getProject, delProject, addProject, updateProject } from "@/api/abuwx/project";
import upload from '@/components/FileUploadTp/index.vue'
import upload from '@/components/FileUpload/index.vue'
import VueQr from 'vue-qr'
// import { Base64 } from "js-base64";
export default {