Commit e2b43ad9 authored by wangxl's avatar wangxl

44

parent 05d7e479
......@@ -584,8 +584,8 @@ export default {
},
},
batch: {
getBatchListByPage (params) {
return fetch(`/v1/science-admin/com-batch/getBatchListByPage`, params)
getListByPage (params) {
return fetch(`/v1/science-admin/com-batch/getListByPage`, params)
},
addBatch (params) {
return fetch('/v1/science-admin/com-batch/addBatch', params, 'post', 'json')
......
......@@ -243,7 +243,7 @@ export const routes = [
meta: { title: '系统设置', icon: 'el-icon-s-tools' },
hidden: false,
children: [
{ path: '/timeSet/taskTimeSet', name: '合同书时间设置', component: () => import('@/views/timeSet/taskTimeSet/Index.vue'), meta: { title: '合同书时间设置', icon: '', noCache: true } },
{ path: '/timeSet/task', name: '合同书时间设置', component: () => import('@/views/timeSet/taskTimeSet/Index.vue'), meta: { title: '合同书时间设置', icon: '', noCache: true } },
{ path: '/setting/batch', name: '申报批次设置', component: () => import('@/views/timeSet/batch/Index.vue'), meta: { title: '申报批次设置', icon: '', noCache: true } },
{ path: '/system/evaluationStandard', name: '年度评审标准设置', component: () => import('@/views/system/evaluationStandard/index.vue'), meta: { title: '年度评审标准设置', icon: '', noCache: true } },
//后台
......
......@@ -56,8 +56,8 @@ export default {
moment,
getListByPage () {
this.loading = true
let par = { projType: getType(), pageIndex: this.pagination.pageIndex, pageSize: this.pagination.pageSize }
this.$api.batch.getBatchListByPage(par).then(({ data = {} }) => {
let par = { projType: getType(), timeType: 1, pageIndex: this.pagination.pageIndex, pageSize: this.pagination.pageSize }
this.$api.batch.getListByPage(par).then(({ data = {} }) => {
if (data) {
const { dataList = [], total = 0 } = data
this.tableData = dataList
......
......@@ -54,8 +54,8 @@ export default {
moment,
getListByPage () {
this.loading = true
let par = { projType: getType(), pageIndex: this.pagination.pageIndex, pageSize: this.pagination.pageSize }
this.$api.batch.getBatchListByPage(par).then(({ data = {} }) => {
let par = { projType: getType(), timeType: 2, pageIndex: this.pagination.pageIndex, pageSize: this.pagination.pageSize }
this.$api.batch.getListByPage(par).then(({ data = {} }) => {
if (data) {
const { dataList = [], total = 0 } = data
this.tableData = dataList
......
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