20201112
0
public/.htaccess
Normal file
BIN
public/articlefile/20200720/a5199f88c4108028b497a3a3a478b379.doc
Normal file
BIN
public/articlefile/20200811/296dfe7245ba48e8b84b3c9836601e9d.doc
Normal file
BIN
public/articlefile/20201015/433b5caa02d291cf78ff84e0fd8d149c.doc
Normal file
BIN
public/articlezip/20200717/7b9c8b3364cb824178315917a3de1d77.zip
Normal file
BIN
public/articlezip/20200720/93422705d0e89a581c3dc7db7bb269ae.zip
Normal file
BIN
public/articlezip/20200720/c8cbb9e0a88ffbc1b5945f5a42e073ce.rar
Normal file
BIN
public/articlezip/20200811/f9060e50b59ad92321560acd9f431113.pdf
Normal file
BIN
public/articlezip/20200825/b7a66190890e6ce669af6adfdd02a84a.rar
Normal file
BIN
public/articlezip/20200825/d7d8fee90678e28f1f0dcf0ba0200876.rar
Normal file
BIN
public/coverLetter/20200629/0a342f2d1d1ed50a1c52b262c3fb6de8.doc
Normal file
BIN
public/coverLetter/20200629/0f321e17140a4cea39c42cda4d54f694.doc
Normal file
BIN
public/coverLetter/20200629/63d9c5c4dc8506aeff96111636eeca9b.doc
Normal file
BIN
public/coverLetter/20200629/686f4d6a7fbc50347353b5a69ffe9365.doc
Normal file
BIN
public/coverLetter/20200629/76afeb6bbc89976b78aeaa4c40c02120.doc
Normal file
BIN
public/coverLetter/20200629/954300d1db646abc992906ed52da104b.doc
Normal file
BIN
public/coverLetter/20200629/fb9c691dc69c82d021c76d9d671e1825.doc
Normal file
266
public/coverLetter/20200701/0524219cc49fb1b1cfa4d70272ae50e0.vue
Normal file
@@ -0,0 +1,266 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="crumbs">
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<i class="el-icon-lx-cascades"></i> 稿件列表
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="handle-box">
|
||||
<el-select v-model="query.journal" placeholder="Please select journal">
|
||||
<el-option
|
||||
v-for="item in items"
|
||||
:key="item.journal_id"
|
||||
:label="item.title"
|
||||
:value="item.journal_id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<!-- <el-select v-model="query.address" placeholder="期刊" class="handle-select mr10">
|
||||
<el-option key="1" label="广东省" value="广东省"></el-option>
|
||||
<el-option key="2" label="湖南省" value="湖南省"></el-option>
|
||||
</el-select>-->
|
||||
<el-input v-model="query.name" placeholder="标题" class="handle-input mr10"></el-input>
|
||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">搜索</el-button>
|
||||
<el-button type="primary" icon="el-icon-circle-plus-outline" @click="addArticle">新增</el-button>
|
||||
</div>
|
||||
<el-table
|
||||
:data="tableData"
|
||||
border
|
||||
stripe
|
||||
class="table"
|
||||
ref="multipleTable"
|
||||
header-cell-class-name="table-header"
|
||||
>
|
||||
<el-table-column prop="article_id" label="ID" width="55" align="center"></el-table-column>
|
||||
<el-table-column prop="title" label="title" align="center"></el-table-column>
|
||||
<el-table-column prop="journalname" label="journal" align="center"></el-table-column>
|
||||
<!-- <el-table-column label="头像(查看大图)" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-image
|
||||
class="table-td-thumb"
|
||||
:src="scope.row.thumb"
|
||||
:preview-src-list="[scope.row.thumb]"
|
||||
></el-image>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column prop="address" label="地址"></el-table-column> -->
|
||||
<!-- <el-table-column label="状态" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-tag
|
||||
:type="scope.row.state==='成功'?'success':(scope.row.state==='失败'?'danger':'')"
|
||||
>{{scope.row.state}}</el-tag>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
|
||||
<el-table-column prop="state" label="statue" :formatter="stateFormat" align="center"></el-table-column>
|
||||
<el-table-column label="操作" width="180" align="center">
|
||||
<!-- <template slot-scope="scope">
|
||||
<el-button
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleEdit(scope.$index, scope.row)"
|
||||
>编辑</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
class="red"
|
||||
@click="handleDelete(scope.$index, scope.row)"
|
||||
>删除</el-button>
|
||||
</template>-->
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="pagination">
|
||||
<el-pagination
|
||||
background
|
||||
layout="total, prev, pager, next"
|
||||
:current-page="query.pageIndex"
|
||||
:page-size="query.pageSize"
|
||||
:total="Total"
|
||||
@current-change="handlePageChange"
|
||||
></el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 编辑弹出框 -->
|
||||
<!-- <el-dialog title="编辑" :visible.sync="editVisible" width="30%">
|
||||
<el-form ref="form" :model="form" label-width="70px">
|
||||
<el-form-item label="用户名">
|
||||
<el-input v-model="form.name"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="地址">
|
||||
<el-input v-model="form.address"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="editVisible = false">取 消</el-button>
|
||||
<el-button type="primary" @click="saveEdit">确 定</el-button>
|
||||
</span>
|
||||
</el-dialog>-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
items: '',
|
||||
query: {
|
||||
username: localStorage.getItem('ms_username'),
|
||||
journal: 1,
|
||||
name: '',
|
||||
pageIndex: 1,
|
||||
pageSize: 10
|
||||
},
|
||||
tableData: [],
|
||||
multipleSelection: [],
|
||||
delList: [],
|
||||
editVisible: false,
|
||||
Total: 0
|
||||
// form: {},
|
||||
// idx: -1,
|
||||
// id: -1
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.initselect();
|
||||
this.getdate();
|
||||
},
|
||||
methods: {
|
||||
//初始化期刊选项
|
||||
initselect() {
|
||||
this.$api
|
||||
.post('api/Article/getJournal')
|
||||
.then(res => {
|
||||
this.items = res;
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
// 获取数据
|
||||
getdate() {
|
||||
this.$api
|
||||
.post('api/Article/getArticle', this.query)
|
||||
.then(res => {
|
||||
this.Total = res.total;
|
||||
this.tableData = res.data;
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
// 触发搜索按钮
|
||||
handleSearch() {
|
||||
this.$set(this.query, 'pageIndex', 1);
|
||||
this.getdate();
|
||||
},
|
||||
//跳转到增加稿件页面
|
||||
addArticle() {
|
||||
this.$router.push('/form');
|
||||
},
|
||||
//格式化状态输出
|
||||
stateFormat(row, column) {
|
||||
let str = '';
|
||||
switch(row.state){
|
||||
case 0:
|
||||
str = '投稿中';
|
||||
break;
|
||||
case 1:
|
||||
str = '已受理';
|
||||
break;
|
||||
case 2:
|
||||
str = '送审中';
|
||||
break;
|
||||
case 3:
|
||||
str = '拒稿';
|
||||
break;
|
||||
case 4:
|
||||
str = '退修中';
|
||||
break;
|
||||
case 5:
|
||||
str = '已录用';
|
||||
break;
|
||||
default:
|
||||
str = 'error!!'
|
||||
}
|
||||
return str;
|
||||
},
|
||||
// // 删除操作
|
||||
// handleDelete(index, row) {
|
||||
// // 二次确认删除
|
||||
// this.$confirm('确定要删除吗?', '提示', {
|
||||
// type: 'warning'
|
||||
// })
|
||||
// .then(() => {
|
||||
// this.$message.success('删除成功');
|
||||
// this.tableData.splice(index, 1);
|
||||
// })
|
||||
// .catch(() => {});
|
||||
// },
|
||||
// // 多选操作
|
||||
// handleSelectionChange(val) {
|
||||
// this.multipleSelection = val;
|
||||
// },
|
||||
// delAllSelection() {
|
||||
// const length = this.multipleSelection.length;
|
||||
// let str = '';
|
||||
// this.delList = this.delList.concat(this.multipleSelection);
|
||||
// for (let i = 0; i < length; i++) {
|
||||
// str += this.multipleSelection[i].name + ' ';
|
||||
// }
|
||||
// this.$message.error(`删除了${str}`);
|
||||
// this.multipleSelection = [];
|
||||
// },
|
||||
// // 编辑操作
|
||||
// handleEdit(index, row) {
|
||||
// this.idx = index;
|
||||
// this.form = row;
|
||||
// this.editVisible = true;
|
||||
// },
|
||||
// // 保存编辑
|
||||
// saveEdit() {
|
||||
// this.editVisible = false;
|
||||
// this.$message.success(`修改第 ${this.idx + 1} 行成功`);
|
||||
// this.$set(this.tableData, this.idx, this.form);
|
||||
// },
|
||||
// 分页导航
|
||||
handlePageChange(val) {
|
||||
this.$set(this.query, 'pageIndex', val);
|
||||
this.getdate();
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.handle-box {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.handle-select {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.handle-input {
|
||||
width: 300px;
|
||||
display: inline-block;
|
||||
}
|
||||
.table {
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
}
|
||||
.red {
|
||||
color: #ff0000;
|
||||
}
|
||||
.mr10 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.table-td-thumb {
|
||||
display: block;
|
||||
margin: auto;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
</style>
|
||||
BIN
public/coverLetter/20200701/0f0c582719021638482c1b0632c779c3.jpg
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
BIN
public/coverLetter/20200701/1c6047f79f47512c8963b3ded24c9713.doc
Normal file
BIN
public/coverLetter/20200701/699b98f5cbdabef4d9a2517291ff8f6a.doc
Normal file
BIN
public/coverLetter/20200701/b99b97a5c354b37874e35665879030aa.doc
Normal file
BIN
public/coverLetter/20200701/c68af025d0d1f34b1b6b515cb9dd7601.doc
Normal file
BIN
public/coverLetter/20200702/6311a6476bc0fc8c9d86ca7d64f48966.doc
Normal file
BIN
public/coverLetter/20200702/649d04916e5b0918fe5b79bef3c56665.doc
Normal file
BIN
public/coverLetter/20200702/940953ad1069cdf70186a53c791c14c2.doc
Normal file
BIN
public/coverLetter/20200703/632873b3d643b808ad696589116c0560.doc
Normal file
BIN
public/coverLetter/20200703/ded801726929dff55a548cd3fa1e004c.doc
Normal file
BIN
public/coverLetter/20200707/135423c0dee3fc47b19a7fbdf8a4b04e.doc
Normal file
BIN
public/coverLetter/20200715/95306f3d19af07c02b0d098d7684e77e.doc
Normal file
BIN
public/coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc
Normal file
BIN
public/coverLetter/20200805/14aa133c976feddb7bd2f658d7a7850b.pdf
Normal file
BIN
public/coverLetter/20200805/3c14f07a74e1e34cd61d236fbdb38e2e.doc
Normal file
BIN
public/coverLetter/20200805/4df0afbd4af3823ce96b884424981028.doc
Normal file
BIN
public/coverLetter/20200805/840b7469770124796bc761792f2c63ca.pdf
Normal file
BIN
public/coverLetter/20200806/4e21a574d6a5b2f3b3caf3368cc8a9c3.pdf
Normal file
BIN
public/coverLetter/20200811/679e18bdf8e5253f92f74749cd44537d.pdf
Normal file
BIN
public/coverLetter/20200811/b5b43ef02ced074762d143c001663d4c.doc
Normal file
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
23
public/index.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// [ 应用入口文件 ]
|
||||
|
||||
// 定义应用目录
|
||||
define('APP_PATH', __DIR__ . '/../application/');
|
||||
// 加载框架引导文件
|
||||
require __DIR__ . '/../thinkphp/start.php';
|
||||
|
||||
//跨越解决
|
||||
header("Access-Control-Allow-Origin:*");
|
||||
header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
|
||||
header("Access-Control-Allow-Headers:DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding");
|
||||
|
||||
BIN
public/journalicon/20201112/03bfe480bd8faf51c3b97e6d8d60caeb.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
BIN
public/journalicon/20201112/065d1f42ce23c45c5f3769db08d6726d.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/0ee59fc353622c7957e0410cd2e4ece9.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/0fe751d9d5c8ecf2b137d0fe478a0f3f.png
Normal file
|
After Width: | Height: | Size: 198 KiB |
BIN
public/journalicon/20201112/1ad29762fe0cb10fc039409da92a616c.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/journalicon/20201112/1c401efde6757d774ff7d6b2ad54793e.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
BIN
public/journalicon/20201112/1d11395a880a8c99438960648abf4fb7.jpg
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
public/journalicon/20201112/307aa889d20c648c07abdf89b798f10b.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/journalicon/20201112/30ca9788aa0f5af3d3dc144eda66b5f4.jpg
Normal file
|
After Width: | Height: | Size: 805 KiB |
BIN
public/journalicon/20201112/386a78947d74919a9607fb5ce8051fb3.jpg
Normal file
|
After Width: | Height: | Size: 805 KiB |
BIN
public/journalicon/20201112/3909f5c11442649c32574365e4aff8da.png
Normal file
|
After Width: | Height: | Size: 531 KiB |
BIN
public/journalicon/20201112/3d30b27dbada6470f2b97001c3ea3e12.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
BIN
public/journalicon/20201112/42d53304f5a5ad922aae29ae38201997.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/journalicon/20201112/4952fabe02f5a10cf2b776d9ee791c7d.png
Normal file
|
After Width: | Height: | Size: 531 KiB |
BIN
public/journalicon/20201112/4aa24fb6abb6df374815f380693c539e.png
Normal file
|
After Width: | Height: | Size: 531 KiB |
BIN
public/journalicon/20201112/4af3d5ce18da5a4bdf365d6b09bd40a4.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
public/journalicon/20201112/5a12b2d454845cc4e6e0cb64833736aa.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/5b2c2f192248038bc722e60ace7ab879.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/5d4ae62c98baaef6301a8683df926fa1.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/5f5c6fb3daa43a308acb1c663843a418.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/journalicon/20201112/620e23f8b74a538e38e77776101161b9.jpg
Normal file
|
After Width: | Height: | Size: 786 KiB |