|
@@ -26,7 +26,7 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
|
- <el-button @click="getArticalList" type="primary">搜索</el-button>
|
|
|
+ <el-button @click="getArticalList" type="primary">搜索 </el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
|
|
@@ -98,6 +98,7 @@ export default {
|
|
|
},
|
|
|
watch:{
|
|
|
'searchInfo.keyword'(val){
|
|
|
+ console.log("watch", val)
|
|
|
this.getArticalList()
|
|
|
}
|
|
|
},
|
|
@@ -124,14 +125,17 @@ export default {
|
|
|
filters:{
|
|
|
toDatetime
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ created() {
|
|
|
+ console.log("created", this.$route.keepAlive)
|
|
|
this.getArticalList();
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions("user", ["logout"]),
|
|
|
download( row ){
|
|
|
// let articalId = row.articalId
|
|
|
- download( `/api/artical/downloadFile/${articalId}`)
|
|
|
+ // download( `/api/artical/downloadFile/${articalId}`)
|
|
|
+ let query= {articalId: row.articalId }
|
|
|
+ this.$router.push( {path: '/file-info', query})
|
|
|
// window.open( `http://smoa.ndjsxh.cn:8888/api/downloadFile/${articalId}`)
|
|
|
},
|
|
|
editFile( row ){
|