Commit 36bcae4d authored by 冷玲鹏's avatar 冷玲鹏

课程管理-立项

parent 23d319af
...@@ -159,7 +159,7 @@ export const constantRoutes = [ ...@@ -159,7 +159,7 @@ export const constantRoutes = [
children: [{ children: [{
path: '/log/operLog', path: '/log/operLog',
name: 'Operlog', name: 'Operlog',
component: () => import('@/views/monitor/operLog/index.vue'), component: () => import('@/views/monitor/operLog/projectInitiation.vue'),
meta: { title: '操作日志', icon: 'dashboard' } meta: { title: '操作日志', icon: 'dashboard' }
}] }]
}*/ }*/
...@@ -274,7 +274,7 @@ export const constantRoutes = [ ...@@ -274,7 +274,7 @@ export const constantRoutes = [
children: [{ children: [{
path: '/workflow/group', path: '/workflow/group',
name: 'Group', name: 'Group',
component: () => import('@/views/workflow/group/index.vue'), component: () => import('@/views/workflow/group/projectInitiation.vue'),
meta: { title: '业务分组', icon: 'dashboard' } meta: { title: '业务分组', icon: 'dashboard' }
}, },
{ {
...@@ -306,7 +306,7 @@ export const constantRoutes = [ ...@@ -306,7 +306,7 @@ export const constantRoutes = [
{ {
path: '/workflow/workFlowInstance', path: '/workflow/workFlowInstance',
name: 'WorkFlowInstance', name: 'WorkFlowInstance',
component: () => import('@/views/workflow/workFlowInstance/index.vue'), component: () => import('@/views/workflow/workFlowInstance/projectInitiation.vue'),
meta: { title: '流程实例', icon: 'dashboard' } meta: { title: '流程实例', icon: 'dashboard' }
} }
] ]
...@@ -318,7 +318,7 @@ export const constantRoutes = [ ...@@ -318,7 +318,7 @@ export const constantRoutes = [
// children: [{ // children: [{
// path: '/uiStandard/info', // path: '/uiStandard/info',
// name: 'uiStandardInfo', // name: 'uiStandardInfo',
// component: () => import('@/views/uiStandard/index.vue'), // component: () => import('@/views/uiStandard/projectInitiation.vue'),
// meta: { title: 'ui标准', icon: 'dashboard' } // meta: { title: 'ui标准', icon: 'dashboard' }
// }] // }]
// }, // },
......
...@@ -119,8 +119,15 @@ ...@@ -119,8 +119,15 @@
<el-table-column min-width="160" label="状态" prop="status" align="center" :show-overflow-tooltip="true" /> <el-table-column min-width="160" label="状态" prop="status" align="center" :show-overflow-tooltip="true" />
<el-table-column min-width="120" label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column min-width="120" label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.status === '验收完成' || scope.row.status === '立项评审中'" icon="el-icon-search" /> <el-button
<el-button v-else icon="el-icon-edit-outline" /> v-if="scope.row.status === '验收完成' || scope.row.status === '立项评审中'"
icon="el-icon-search"
/>
<el-button
v-else
icon="el-icon-edit-outline"
@click="projectInitiation(scope.row)"
/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -142,7 +149,10 @@ ...@@ -142,7 +149,10 @@
<script> <script>
import commonField from '@/utils/commonField' import commonField from '@/utils/commonField'
// 文件描述
// allTopics(所有课程列表页)
// analysisReport(分析报告按钮跳转页)
// approvalProcess(申报流程) ①projectInitiation(立项)
export default { export default {
data() { data() {
return { return {
...@@ -152,6 +162,7 @@ export default { ...@@ -152,6 +162,7 @@ export default {
loading: false, loading: false,
// 显示搜索条件 // 显示搜索条件
showSearch: true, showSearch: true,
// 列表数据
courseInfoList: [ courseInfoList: [
{ {
id: 1, id: 1,
...@@ -378,6 +389,14 @@ export default { ...@@ -378,6 +389,14 @@ export default {
exportDeclarationSummaryTable() { exportDeclarationSummaryTable() {
this.queryParams.page = 1 this.queryParams.page = 1
this.getList() this.getList()
},
/** 立项(课题管理员初审,申报完成)操作按钮*/
projectInitiation(row) {
console.log('row', row)
this.$router.push({
path: '/projectManagement/approvalProcess/projectInitiation',
query: {}
})
} }
} }
} }
......
...@@ -234,6 +234,7 @@ export default { ...@@ -234,6 +234,7 @@ export default {
}) })
}, },
barChart() { barChart() {
// 柱形图
const option = { const option = {
legend: {}, legend: {},
tooltip: {}, tooltip: {},
......
...@@ -282,7 +282,7 @@ import { roleDeptTreeSelect } from '@/api/system/dept' ...@@ -282,7 +282,7 @@ import { roleDeptTreeSelect } from '@/api/system/dept'
// import Coolbutton from '@/components/coolbutton' // import Coolbutton from '@/components/coolbutton'
import { getDataCache, setDataCache } from '@/assets/js/filterData' import { getDataCache, setDataCache } from '@/assets/js/filterData'
import commonField from '@/utils/commonField' import commonField from '@/utils/commonField'
// import Coolbutton from '@/components/coolbutton/index.vue' // import Coolbutton from '@/components/coolbutton/projectInitiation.vue'
export default { export default {
name: 'Role', name: 'Role',
// components: { Coolbutton }, // components: { Coolbutton },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment